Home
last modified time | relevance | path

Searched refs:GetCurrentAccountId (Results 1 - 25 of 75) sorted by relevance

123

/foundation/bundlemanager/app_domain_verify/frameworks/common/src/bms/
H A Dbundle_info_query.cpp35 int32_t userId = GetCurrentAccountId(); in GetBundleInfo()
71 int32_t BundleInfoQuery::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AppDomainVerify::BundleInfoQuery
93 "GetCurrentAccountId failed, no osAccountIds now."); in GetCurrentAccountId()
/foundation/ability/form_fwk/test/unittest/fms_form_util_test/
H A Dfms_form_util_test.cpp186 * @tc.desc: Verify GetCurrentAccountId
195 auto result = FormUtil::GetCurrentAccountId(); in HWTEST_F()
216 * @tc.desc: Verify GetCurrentAccountId
225 auto result = FormUtil::GetCurrentAccountId(); in HWTEST_F()
232 * @tc.desc: Verify GetCurrentAccountId
241 auto result = FormUtil::GetCurrentAccountId(); in HWTEST_F()
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_common_event.cpp166 int32_t accountId = Singleton<AccessibleAbilityManagerService>::GetInstance().GetCurrentAccountId(); in HandlePackageRemoved()
179 int32_t accountId = Singleton<AccessibleAbilityManagerService>::GetInstance().GetCurrentAccountId(); in HandlePackageAdd()
192 int32_t accountId = Singleton<AccessibleAbilityManagerService>::GetInstance().GetCurrentAccountId(); in HandlePackageChanged()
/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/
H A Dmock_form_util.cpp34 int FormUtil::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AppExecFwk::FormUtil
36 GTEST_LOG_(INFO) << "GetCurrentAccountId called " << g_currentAccountId; in GetCurrentAccountId()
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_test/
H A Dmock_form_util.cpp36 int FormUtil::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AppExecFwk::FormUtil
38 GTEST_LOG_(INFO) << "GetCurrentAccountId called " << getCurrentAccountId; in GetCurrentAccountId()
/foundation/bundlemanager/app_domain_verify/frameworks/common/include/bms/
H A Dbundle_info_query.h29 static int32_t GetCurrentAccountId();
/foundation/resourceschedule/work_scheduler/utils/native/include/
H A Dwork_sched_utils.h32 static int32_t GetCurrentAccountId();
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/
H A Dnetfirewall_service_test.cpp289 int ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId()); in HWTEST_F()
300 int ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId()); in HWTEST_F()
311 NETMGR_EXT_LOG_I("delete userid id = %{public}d ", instance_->GetCurrentAccountId()); in HWTEST_F()
312 int ret = NetFirewallRuleManager::GetInstance().DeleteNetFirewallRuleByUserId(instance_->GetCurrentAccountId()); in HWTEST_F()
325 DelayedSingleton<NetFirewallService>::GetInstance()->GetCurrentAccountId(); in HWTEST_F()
441 int userId = instance_->GetCurrentAccountId(); in HWTEST_F()
445 ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId()); in HWTEST_F()
476 int userId = instance_->GetCurrentAccountId(); in HWTEST_F()
495 int userId = instance_->GetCurrentAccountId(); in HWTEST_F()
700 int32_t userId = instance_->GetCurrentAccountId(); in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/
H A Daccount_delegate_normal_impl.cpp37 std::string AccountDelegateNormalImpl::GetCurrentAccountId() const in GetCurrentAccountId() function in OHOS::DistributedKv::AccountDelegateNormalImpl
89 return GetCurrentAccountId() != AccountSA::DEFAULT_OHOS_ACCOUNT_UID; in IsLoginAccount()
117 account.harmonyAccountId = GetCurrentAccountId(); in SubscribeAccountEvent()
H A Daccount_delegate_default_impl.h24 std::string GetCurrentAccountId() const override;
H A Daccount_delegate_default_impl.cpp27 std::string AccountDelegateDefaultImpl::GetCurrentAccountId() const in GetCurrentAccountId() function in OHOS::DistributedKv::AccountDelegateDefaultImpl
H A Daccount_delegate_normal_impl.h29 std::string GetCurrentAccountId() const override;
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_utils.cpp106 int32_t UPMSUtils::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AAFwk::UPMSUtils
164 AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, GetCurrentAccountId(), appInfo))) { in CheckIsSystemAppByBundleName()
237 auto userId = GetCurrentAccountId(); in GetAppIdByBundleName()
255 auto userId = GetCurrentAccountId(); in GetTokenIdByBundleName()
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dmock_form_db_cache.cpp54 formDBInfo.providerUserId = FormUtil::GetCurrentAccountId(); in GetAllFormInfo()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dmock_form_util.cpp46 int FormUtil::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AppExecFwk::FormUtil
48 GTEST_LOG_(INFO) << "GetCurrentAccountId called " << getCurrentAccountId; in GetCurrentAccountId()
/foundation/ability/form_fwk/services/include/
H A Dform_util.h98 static int GetCurrentAccountId();
/foundation/ability/ability_runtime/services/uripermmgr/include/
H A Duri_permission_utils.h30 static int32_t GetCurrentAccountId();
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/
H A Daccount_delegate_test.cpp181 * @tc.name: GetCurrentAccountId
187 HWTEST_F(AccountDelegateTest, GetCurrentAccountId, TestSize.Level0) in HWTEST_F()
189 auto accountId = AccountDelegate::GetInstance()->GetCurrentAccountId(); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_free_install_operator.cpp62 want, flag, FormUtil::GetCurrentAccountId(), abilityInfo, freeInstallStatusCallBack_)) { in StartFreeInstall()
H A Dform_render_mgr.cpp55 AccountSA::OsAccountManager::IsOsAccountVerified(FormUtil::GetCurrentAccountId(), isVerified); in GetFormRenderState()
166 int32_t userId = FormUtil::GetCurrentAccountId(); in PostOnUnlockTask()
198 int32_t userId = FormUtil::GetCurrentAccountId(); in NotifyScreenOn()
339 hostUserId = FormUtil::GetCurrentAccountId(); in CleanFormHost()
H A Dform_share_mgr.cpp118 int32_t userId = FormUtil::GetCurrentAccountId(); in HandleRecvFormShareInfoFromRemoteTask()
229 int32_t userId = FormUtil::GetCurrentAccountId(); in StartFormUser()
265 auto userId = FormUtil::GetCurrentAccountId(); in IsExistFormPackage()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dmock_form_db_cache.cpp77 record.providerUserId = FormUtil::GetCurrentAccountId(); in GetDBRecord()
/foundation/resourceschedule/work_scheduler/utils/native/src/
H A Dwork_sched_utils.cpp27 int32_t WorkSchedUtils::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::WorkScheduler::WorkSchedUtils
46 WS_HILOGE("GetCurrentAccountId failed, no osAccountIds now."); in GetCurrentAccountId()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/account/
H A Daccount_delegate.h62 API_EXPORT virtual std::string GetCurrentAccountId() const = 0;
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_rule_manager.cpp185 NetFirewallDbHelper::GetInstance().QueryEnabledFirewallRules(GetCurrentAccountId(), appUid, rules); in DeleteNetFirewallRuleByAppId()
511 int32_t NetFirewallRuleManager::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::NetManagerStandard::NetFirewallRuleManager
527 auto userId = GetCurrentAccountId(); in OpenOrCloseNativeFirewall()
549 auto userId = GetCurrentAccountId(); in DistributeRulesToNative()

Completed in 11 milliseconds

123