Home
last modified time | relevance | path

Searched refs:userIds (Results 1 – 12 of 12) sorted by relevance

/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/
Dapp_usage_event_factory.cpp55 std::vector<int32_t> userIds; in Create() local
56 GetAllCreatedOsAccountIds(userIds); in Create()
57 if (userIds.empty()) { in Create()
64 for (auto userId : userIds) { in Create()
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_service.cpp168 std::vector<int32_t> userIds; in GetCurrentUserId() local
169 (void)IInnerOsAccountManager::GetInstance().QueryActiveOsAccountIds(userIds); in GetCurrentUserId()
170 if (userIds.empty()) { in GetCurrentUserId()
174 userId = userIds[0]; in GetCurrentUserId()
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
Dtdd_util.cpp80 std::vector<int32_t> userIds; in GetCurrentUserId() local
81 auto ret = OsAccountManager::QueryActiveOsAccountIds(userIds); in GetCurrentUserId()
82 if (ret != ErrorCode::NO_ERROR || userIds.empty()) { in GetCurrentUserId()
86 return userIds[0]; in GetCurrentUserId()
/base/account/os_account/services/accountmgr/src/
Daccount_mgr_service.cpp78 std::vector<int32_t> userIds; in GetCallingUserID() local
79 (void)IInnerOsAccountManager::GetInstance().QueryActiveOsAccountIds(userIds); in GetCallingUserID()
80 if (userIds.empty()) { in GetCallingUserID()
83 userId = userIds[0]; in GetCallingUserID()
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_subscriber_manager_test.cpp428 int32_t userIds = 90; in HWTEST_F() local
429 record->eventSubscribeInfo->SetUserId(userIds); in HWTEST_F()
472 int32_t userIds = -1; in HWTEST_F() local
473 record->eventSubscribeInfo->SetUserId(userIds); in HWTEST_F()
498 int32_t userIds = 101; in HWTEST_F() local
499 record->eventSubscribeInfo->SetUserId(userIds); in HWTEST_F()
/base/customization/enterprise_device_management/services/edm/include/
Ddevice_policies_storage_rdb.h43 bool QueryAllUserId(std::vector<int32_t> &userIds);
/base/account/os_account/frameworks/account_iam/src/
Daccount_iam_client.cpp459 std::vector<int32_t> userIds; in GetCurrentUserId() local
460 if ((OsAccountManager::QueryActiveOsAccountIds(userIds) != ERR_OK) || userIds.empty()) { in GetCurrentUserId()
464 userId = userIds[0]; in GetCurrentUserId()
/base/inputmethod/imf/services/src/
Dinput_method_system_ability.cpp139 std::vector<int32_t> userIds; in Init() local
140 if (BlockRetry(RETRY_INTERVAL, BLOCK_RETRY_TIMES, [&userIds]() -> bool { in Init()
141 return OsAccountManager::QueryActiveOsAccountIds(userIds) == ERR_OK && !userIds.empty(); in Init()
143 userId_ = userIds[0]; in Init()
/base/account/os_account/services/accountmgr/src/domain_account/
Dinner_domain_account_manager.cpp227 std::vector<int32_t> userIds; in AuthWithPopup() local
228 (void)IInnerOsAccountManager::GetInstance().QueryActiveOsAccountIds(userIds); in AuthWithPopup()
229 if (userIds.empty()) { in AuthWithPopup()
233 userId = userIds[0]; in AuthWithPopup()
/base/customization/enterprise_device_management/services/edm/src/
Ddevice_policies_storage_rdb.cpp270 bool DevicePoliciesStorageRdb::QueryAllUserId(std::vector<int32_t> &userIds) in QueryAllUserId() argument
291 userIds.push_back(userId); in QueryAllUserId()
Denterprise_device_mgr_ability.cpp288 std::vector<int32_t> userIds; in InitAllPolices() local
294 devicePolicies->QueryAllUserId(userIds); in InitAllPolices()
295 for (auto userId : userIds) { in InitAllPolices()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp314 std::vector<int32_t> userIds; in InitUsersOnBoot() local
315 … if (AccountSA::OsAccountManager::QueryActiveOsAccountIds(userIds) != ERR_OK || userIds.empty()) { in InitUsersOnBoot()
319 …HILOG_INFO("WallpaperService::get current userIds success, Current userId: %{public}d", userIds[0]… in InitUsersOnBoot()
320 for (auto userId : userIds) { in InitUsersOnBoot()