Home
last modified time | relevance | path

Searched refs:GetCurrentUserId (Results 1 – 19 of 19) sorted by relevance

/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_service.cpp34 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/
Daccount_iam_client.cpp72 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/
Dlocation_config_manager_test.cpp42 bool ret = CommonUtils::GetCurrentUserId(userId); in GetLocationSwitchConfigPath()
124 CommonUtils::GetCurrentUserId(userId);
Dlocator_background_proxy_test.cpp306 CommonUtils::GetCurrentUserId(userId);
349 CommonUtils::GetCurrentUserId(userId);
364 CommonUtils::GetCurrentUserId(userId);
378 CommonUtils::GetCurrentUserId(userId);
Dlocator_service_test.cpp1280 CommonUtils::GetCurrentUserId(userId);
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
Dtdd_util.cpp75 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/
Dtdd_util.h65 static int32_t GetCurrentUserId();
/base/useriam/user_auth_framework/services/core/src/
Dtemplate_cache_manager.cpp38 int32_t GetCurrentUserId() in GetCurrentUserId() function
146 int32_t userId = GetCurrentUserId(); in Subscribe()
/base/usb/usb_manager/services/native/src/
Dusb_right_manager.cpp120 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/
Denterprise_device_mgr_ability.cpp759 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/
Daccount_iam_service.h53 bool GetCurrentUserId(int32_t &userId);
/base/location/services/location_locator/locator/source/
Dlocation_config_manager.cpp93 bool ret = CommonUtils::GetCurrentUserId(userId); in GetLocationSwitchConfigPath()
104 bool ret = CommonUtils::GetCurrentUserId(userId); in GetPrivacyTypeConfigPath()
Dlocator_background_proxy.cpp45 CommonUtils::GetCurrentUserId(curUserId_); in LocatorBackgroundProxy()
/base/usb/usb_manager/services/native/include/
Dusb_right_manager.h78 void GetCurrentUserId(int32_t &uid);
/base/account/os_account/interfaces/innerkits/account_iam/native/include/
Daccount_iam_client.h288 bool GetCurrentUserId(int32_t &userId);
/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp187 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/
Dcommon_utils.h172 static bool GetCurrentUserId(int &userId);
/base/customization/enterprise_device_management/services/edm/include/
Denterprise_device_mgr_ability.h85 int32_t GetCurrentUserId();
/base/location/test/location_common/source/
Dcommon_utils_test.cpp249 EXPECT_EQ(true, CommonUtils::GetCurrentUserId(userId));