Home
last modified time | relevance | path

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

/ohos5.0/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()
62 if (osAccounts.empty()) { in DeleteLastOsAccount()
78 std::vector<OsAccountInfo> osAccounts; in DumpLastOsAccount() local
79 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in DumpLastOsAccount()
83 if (osAccounts.empty()) { in DumpLastOsAccount()
99 std::vector<OsAccountInfo> osAccounts; in SwitchToFirstOsAccount() local
100 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts); in SwitchToFirstOsAccount()
104 if (osAccounts.empty()) { in SwitchToFirstOsAccount()
120 std::vector<OsAccountInfo> osAccounts; in SwitchToLastOsAccount() local
[all …]
H A Daccount_command_set_module_test.cpp90 std::vector<OsAccountInfo> osAccounts; variable
91 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts);
94 ASSERT_GT(osAccounts.size(), SIZE_ONE);
95 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId());
117 std::vector<OsAccountInfo> osAccounts; variable
118 ErrCode result = OsAccountManager::QueryAllCreatedOsAccounts(osAccounts);
121 ASSERT_GT(osAccounts.size(), SIZE_ONE);
122 std::string localAccountId = std::to_string(osAccounts.rbegin()->GetLocalId());