Home
last modified time | relevance | path

Searched refs:accountInfos (Results 1 - 5 of 5) sorted by relevance

/base/security/asset/services/os_dependency/src/
H A Dos_account_wrapper.cpp49 std::vector<OHOS::AccountSA::OsAccountInfo> accountInfos = {}; in GetUserIds() local
50 int32_t ret = OHOS::AccountSA::OsAccountManager::QueryAllCreatedOsAccounts(accountInfos); in GetUserIds()
55 if (accountInfos.empty()) { in GetUserIds()
56 LOGE("[FATAL]accountInfos is empty"); in GetUserIds()
60 std::transform(accountInfos.begin(), accountInfos.end(), std::back_inserter(userIdsVec), in GetUserIds()
76 std::vector<OHOS::AccountSA::OsAccountInfo> accountInfos = {}; in GetUsersSize() local
77 int32_t ret = OHOS::AccountSA::OsAccountManager::QueryAllCreatedOsAccounts(accountInfos); in GetUsersSize()
82 if (accountInfos.empty()) { in GetUsersSize()
83 LOGE("[FATAL]accountInfos i in GetUsersSize()
[all...]
/base/useriam/user_auth_framework/test/fuzztest/dummy/
H A Dmock_ipc_common.cpp70 std::vector<OHOS::AccountSA::OsAccountInfo> accountInfos = {}; in GetAllUserId() local
71 ErrCode ret = AccountSA::OsAccountManager::QueryAllCreatedOsAccounts(accountInfos); in GetAllUserId()
77 if (accountInfos.empty()) { in GetAllUserId()
78 IAM_LOGE("accountInfos count %{public}zu", accountInfos.size()); in GetAllUserId()
82 std::transform(accountInfos.begin(), accountInfos.end(), std::back_inserter(userIds), in GetAllUserId()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
H A Dmock_ipc_common.cpp70 std::vector<OHOS::AccountSA::OsAccountInfo> accountInfos = {}; in GetAllUserId() local
71 ErrCode ret = AccountSA::OsAccountManager::QueryAllCreatedOsAccounts(accountInfos); in GetAllUserId()
77 if (accountInfos.empty()) { in GetAllUserId()
78 IAM_LOGE("accountInfos count %{public}zu", accountInfos.size()); in GetAllUserId()
82 std::transform(accountInfos.begin(), accountInfos.end(), std::back_inserter(userIds), in GetAllUserId()
/base/useriam/user_auth_framework/services/core/src/
H A Dipc_common.cpp102 std::vector<OHOS::AccountSA::OsAccountInfo> accountInfos = {}; in GetAllUserId() local
103 ErrCode ret = AccountSA::OsAccountManager::QueryAllCreatedOsAccounts(accountInfos); in GetAllUserId()
109 if (accountInfos.empty()) { in GetAllUserId()
110 IAM_LOGE("accountInfos count %{public}zu", accountInfos.size()); in GetAllUserId()
114 std::transform(accountInfos.begin(), accountInfos.end(), std::back_inserter(userIds), in GetAllUserId()
/base/location/frameworks/location_common/common/source/
H A Dcommon_utils.cpp147 std::vector<AccountSA::OsAccountInfo> accountInfos; in GetAllUserId() local
148 int ret = AccountSA::OsAccountManager::QueryAllCreatedOsAccounts(accountInfos); in GetAllUserId()
153 for (auto &info : accountInfos) { in GetAllUserId()

Completed in 3 milliseconds