/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/ |
D | app_usage_event_factory.cpp | 55 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/ |
D | account_iam_service.cpp | 168 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/ |
D | tdd_util.cpp | 80 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/ |
D | account_mgr_service.cpp | 78 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/ |
D | common_event_subscriber_manager_test.cpp | 428 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/ |
D | device_policies_storage_rdb.h | 43 bool QueryAllUserId(std::vector<int32_t> &userIds);
|
/base/account/os_account/frameworks/account_iam/src/ |
D | account_iam_client.cpp | 459 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/ |
D | input_method_system_ability.cpp | 139 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/ |
D | inner_domain_account_manager.cpp | 227 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/ |
D | device_policies_storage_rdb.cpp | 270 bool DevicePoliciesStorageRdb::QueryAllUserId(std::vector<int32_t> &userIds) in QueryAllUserId() argument 291 userIds.push_back(userId); in QueryAllUserId()
|
D | enterprise_device_mgr_ability.cpp | 288 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/ |
D | wallpaper_service.cpp | 314 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()
|