Home
last modified time | relevance | path

Searched refs:osAccounts (Results 1 - 2 of 2) sorted by relevance

/base/account/os_account/tools/test/moduletest/acm/
H A Daccount_command_util.cpp58 std::vector<OsAccountInfo> osAccounts; in DeleteLastOsAccount() local
59 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in DeleteLastOsAccount()
61 GTEST_LOG_(INFO) << "AccountCommandUtil::DeleteLastOsAccount osAccounts size = " << osAccounts.size(); in DeleteLastOsAccount()
62 if (osAccounts.empty()) { in DeleteLastOsAccount()
66 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId()); in DeleteLastOsAccount()
78 std::vector<OsAccountInfo> osAccounts; in DumpLastOsAccount() local
79 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in DumpLastOsAccount()
81 GTEST_LOG_(INFO) << "AccountCommandUtil::DumpLastOsAccount osAccounts size = " << osAccounts in DumpLastOsAccount()
99 std::vector<OsAccountInfo> osAccounts; SwitchToFirstOsAccount() local
120 std::vector<OsAccountInfo> osAccounts; SwitchToLastOsAccount() local
[all...]
H A Daccount_command_set_module_test.cpp90 std::vector<OsAccountInfo> osAccounts; in HWTEST_F() local
91 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in HWTEST_F()
94 ASSERT_GT(osAccounts.size(), SIZE_ONE); in HWTEST_F()
95 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId()); in HWTEST_F()
117 std::vector<OsAccountInfo> osAccounts; in HWTEST_F() local
118 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in HWTEST_F()
121 ASSERT_GT(osAccounts.size(), SIZE_ONE); in HWTEST_F()
122 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId()); in HWTEST_F()

Completed in 2 milliseconds