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/
Daccount_command_util.cpp48 std::vector<OsAccountInfo> osAccounts; in DeleteLastOsAccount() local
49 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in DeleteLastOsAccount()
51 …GTEST_LOG_(INFO) << "AccountCommandUtil::DeleteLastOsAccount osAccounts size = " << osAccounts.siz… in DeleteLastOsAccount()
52 if (osAccounts.empty()) { in DeleteLastOsAccount()
56 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId()); in DeleteLastOsAccount()
68 std::vector<OsAccountInfo> osAccounts; in DumpLastOsAccount() local
69 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in DumpLastOsAccount()
71 …GTEST_LOG_(INFO) << "AccountCommandUtil::DumpLastOsAccount osAccounts size = " << osAccounts.size(… in DumpLastOsAccount()
73 if (osAccounts.empty()) { in DumpLastOsAccount()
77 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId()); in DumpLastOsAccount()
[all …]
Daccount_command_set_module_test.cpp67 std::vector<OsAccountInfo> osAccounts; variable
68 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts);
71 ASSERT_GT(osAccounts.size(), SIZE_ONE);
72 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId());
94 std::vector<OsAccountInfo> osAccounts; variable
95 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts);
98 ASSERT_GT(osAccounts.size(), SIZE_ONE);
99 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId());