/base/account/os_account/services/accountmgr/src/account_iam/ |
D | account_iam_service.cpp | 34 if ((userId == 0) && (!GetCurrentUserId(userId))) { in OpenSession() 43 if ((userId == 0) && (!GetCurrentUserId(userId))) { in CloseSession() 54 if ((userId == 0) && (!GetCurrentUserId(userId))) { in AddCredential() 65 if ((userId == 0) && (!GetCurrentUserId(userId))) { in UpdateCredential() 74 if ((userId == 0) && (!GetCurrentUserId(userId))) { in Cancel() 84 if ((userId == 0) && (!GetCurrentUserId(userId))) { in DelCred() 95 if ((userId == 0) && (!GetCurrentUserId(userId))) { in DelUser() 105 if ((userId == 0) && (!GetCurrentUserId(userId))) { in GetCredentialInfo() 115 if ((userId == 0) && (!GetCurrentUserId(userId))) { in AuthUser() 143 if ((userId == 0) && (!GetCurrentUserId(userId))) { in GetProperty() [all …]
|
/base/account/os_account/frameworks/account_iam/src/ |
D | account_iam_client.cpp | 72 if ((userId == 0) && (!GetCurrentUserId(userId))) { in AddCredential() 96 if ((userId == 0) && (!GetCurrentUserId(userId))) { in UpdateCredential() 120 if ((userId == 0) && (!GetCurrentUserId(userId))) { in DelCred() 140 if ((userId == 0) && (!GetCurrentUserId(userId))) { in DelUser() 208 if ((userId == 0) && (!GetCurrentUserId(userId))) { in AuthUser() 296 if (!GetCurrentUserId(userId)) { in RegisterPINInputer() 457 bool AccountIAMClient::GetCurrentUserId(int32_t &userId) in GetCurrentUserId() function in OHOS::AccountSA::AccountIAMClient
|
/base/location/test/location_locator/source/ |
D | location_config_manager_test.cpp | 42 bool ret = CommonUtils::GetCurrentUserId(userId); in GetLocationSwitchConfigPath() 124 CommonUtils::GetCurrentUserId(userId);
|
D | locator_background_proxy_test.cpp | 306 CommonUtils::GetCurrentUserId(userId); 349 CommonUtils::GetCurrentUserId(userId); 364 CommonUtils::GetCurrentUserId(userId); 378 CommonUtils::GetCurrentUserId(userId);
|
D | locator_service_test.cpp | 1280 CommonUtils::GetCurrentUserId(userId);
|
/base/inputmethod/imf/test/unittest/cpp_test/common/src/ |
D | tdd_util.cpp | 75 int32_t TddUtil::GetCurrentUserId() in GetCurrentUserId() function in OHOS::MiscServices::TddUtil 96 HapInfoParams infoParams = { .userID = GetCurrentUserId(), in AllocTestTokenID() 119 HapInfoParams infoParams = { .userID = GetUserIdByBundleName(bundleName, GetCurrentUserId()), in GetTestTokenID()
|
/base/inputmethod/imf/test/unittest/cpp_test/common/include/ |
D | tdd_util.h | 65 static int32_t GetCurrentUserId();
|
/base/useriam/user_auth_framework/services/core/src/ |
D | template_cache_manager.cpp | 38 int32_t GetCurrentUserId() in GetCurrentUserId() function 146 int32_t userId = GetCurrentUserId(); in Subscribe()
|
/base/usb/usb_manager/services/native/src/ |
D | usb_right_manager.cpp | 120 GetCurrentUserId(uid); in HasRight() 156 GetCurrentUserId(uid); in AddDeviceRight() 188 GetCurrentUserId(uid); in RemoveDeviceRight() 366 void UsbRightManager::GetCurrentUserId(int32_t &uid) in GetCurrentUserId() function in OHOS::USB::UsbRightManager 424 GetCurrentUserId(uid); in CleanUpRightExpired() 611 GetCurrentUserId(uid); in TidyUpRight()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_ability.cpp | 759 int32_t EnterpriseDeviceMgrAbility::GetCurrentUserId() in GetCurrentUserId() function in OHOS::EDM::EnterpriseDeviceMgrAbility 837 …d_ptr<Admin> deviceAdmin = adminMgr_->GetAdminByPkgName(admin.GetBundleName(), GetCurrentUserId()); in HandleDevicePolicy() 855 …eviceAdmin->adminInfo_.adminType_ != AdminType::SUB_SUPER_ADMIN && userId != GetCurrentUserId())) { in HandleDevicePolicy() 917 …_ptr<Admin> deviceAdmin = adminMgr_->GetAdminByPkgName(admin->GetBundleName(), GetCurrentUserId()); in CheckGetPolicyPermission() 944 adminMgr_->GetEnabledAdmin(AdminType::NORMAL, normalList, GetCurrentUserId()); in GetEnabledAdmin() 971 … = adminMgr_->IsSuperOrSubSuperAdmin(admin.GetBundleName()) ? DEFAULT_USER_ID : GetCurrentUserId(); in GetEnterpriseInfo() 993 … = adminMgr_->IsSuperOrSubSuperAdmin(admin.GetBundleName()) ? DEFAULT_USER_ID : GetCurrentUserId(); in SetEnterpriseInfo() 1029 … = adminMgr_->IsSuperOrSubSuperAdmin(admin.GetBundleName()) ? DEFAULT_USER_ID : GetCurrentUserId(); in SubscribeManagedEvent() 1039 … = adminMgr_->IsSuperOrSubSuperAdmin(admin.GetBundleName()) ? DEFAULT_USER_ID : GetCurrentUserId(); in UnsubscribeManagedEvent() 1051 …red_ptr<Admin> adminItem = adminMgr_->GetAdminByPkgName(admin.GetBundleName(), GetCurrentUserId()); in VerifyManagedEvent() [all …]
|
/base/account/os_account/services/accountmgr/include/account_iam/ |
D | account_iam_service.h | 53 bool GetCurrentUserId(int32_t &userId);
|
/base/location/services/location_locator/locator/source/ |
D | location_config_manager.cpp | 93 bool ret = CommonUtils::GetCurrentUserId(userId); in GetLocationSwitchConfigPath() 104 bool ret = CommonUtils::GetCurrentUserId(userId); in GetPrivacyTypeConfigPath()
|
D | locator_background_proxy.cpp | 45 CommonUtils::GetCurrentUserId(curUserId_); in LocatorBackgroundProxy()
|
/base/usb/usb_manager/services/native/include/ |
D | usb_right_manager.h | 78 void GetCurrentUserId(int32_t &uid);
|
/base/account/os_account/interfaces/innerkits/account_iam/native/include/ |
D | account_iam_client.h | 288 bool GetCurrentUserId(int32_t &userId);
|
/base/location/frameworks/location_common/common/source/ |
D | common_utils.cpp | 187 bool CommonUtils::GetCurrentUserId(int &userId) in GetCurrentUserId() function in OHOS::Location::CommonUtils 347 bool ret = GetCurrentUserId(userId); in CheckAppInstalled()
|
/base/location/interfaces/inner_api/include/ |
D | common_utils.h | 172 static bool GetCurrentUserId(int &userId);
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | enterprise_device_mgr_ability.h | 85 int32_t GetCurrentUserId();
|
/base/location/test/location_common/source/ |
D | common_utils_test.cpp | 249 EXPECT_EQ(true, CommonUtils::GetCurrentUserId(userId));
|