Home
last modified time | relevance | path

Searched refs:GetCurrentAccountId (Results 1 – 25 of 73) sorted by relevance

123

/ohos5.0/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_utils.cpp107 int32_t UPMSUtils::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AAFwk::UPMSUtils
165 AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, GetCurrentAccountId(), appInfo))) { in CheckIsSystemAppByBundleName()
184 AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, GetCurrentAccountId(), appInfo))) { in GetBundleApiTargetVersion()
255 auto userId = GetCurrentAccountId(); in GetAppIdByBundleName()
273 auto userId = GetCurrentAccountId(); in GetTokenIdByBundleName()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_util_test/
H A Dfms_form_util_test.cpp195 auto result = FormUtil::GetCurrentAccountId();
225 auto result = FormUtil::GetCurrentAccountId();
241 auto result = FormUtil::GetCurrentAccountId();
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_common_event.cpp166 …nt32_t accountId = Singleton<AccessibleAbilityManagerService>::GetInstance().GetCurrentAccountId(); in HandlePackageRemoved()
179 …nt32_t accountId = Singleton<AccessibleAbilityManagerService>::GetInstance().GetCurrentAccountId(); in HandlePackageAdd()
192 …nt32_t accountId = Singleton<AccessibleAbilityManagerService>::GetInstance().GetCurrentAccountId(); in HandlePackageChanged()
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/common/src/bms/
H A Dbundle_info_query.cpp36 int32_t userId = GetCurrentAccountId(); in GetBundleInfo()
72 int32_t BundleInfoQuery::GetCurrentAccountId() in GetCurrentAccountId() function in OHOS::AppDomainVerify::BundleInfoQuery
/ohos5.0/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/
H A Dnetfirewall_service_test.cpp289 int ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId());
300 int ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId());
311 NETMGR_EXT_LOG_I("delete userid id = %{public}d ", instance_->GetCurrentAccountId());
312 …FirewallRuleManager::GetInstance().DeleteNetFirewallRuleByUserId(instance_->GetCurrentAccountId());
325 DelayedSingleton<NetFirewallService>::GetInstance()->GetCurrentAccountId();
441 int userId = instance_->GetCurrentAccountId();
445 ret = instance_->AddDefaultNetFirewallRule(instance_->GetCurrentAccountId());
476 int userId = instance_->GetCurrentAccountId();
495 int userId = instance_->GetCurrentAccountId();
700 int32_t userId = instance_->GetCurrentAccountId();
/ohos5.0/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;
/ohos5.0/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
/ohos5.0/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
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/common/include/bms/
H A Dbundle_info_query.h29 static int32_t GetCurrentAccountId();
/ohos5.0/foundation/resourceschedule/work_scheduler/utils/native/include/
H A Dwork_sched_utils.h32 static int32_t GetCurrentAccountId();
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp121 auto userId = GetCurrentAccountId(); in Init()
315 auto userId = GetCurrentAccountId(); in Clear()
498 auto userId = GetCurrentAccountId(); in IsDataAged()
530 info.userId = GetCurrentAccountId(); in GetAppInfo()
1170 auto userId = GetCurrentAccountId(); in HasPasteData()
1381 auto userId = GetCurrentAccountId(); in GetLocalMimeTypes()
1404 auto userId = GetCurrentAccountId(); in HasLocalDataType()
1441 auto userId = GetCurrentAccountId(); in IsRemoteData()
1456 auto userId = GetCurrentAccountId(); in GetDataSource()
1933 auto userId = GetCurrentAccountId(); in DumpData()
[all …]
/ohos5.0/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
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_render_mgr.cpp55 AccountSA::OsAccountManager::IsOsAccountVerified(FormUtil::GetCurrentAccountId(), isVerified); in GetFormRenderState()
166 int32_t userId = FormUtil::GetCurrentAccountId(); in PostOnUnlockTask()
264 int32_t userId = FormUtil::GetCurrentAccountId(); in NotifyScreenOn()
310 int32_t userId = FormUtil::GetCurrentAccountId(); in SetVisibleChange()
442 hostUserId = FormUtil::GetCurrentAccountId(); in CleanFormHost()
H A Dform_free_install_operator.cpp62 want, flag, FormUtil::GetCurrentAccountId(), abilityInfo, freeInstallStatusCallBack_)) { in StartFreeInstall()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dmock_form_db_cache.cpp54 formDBInfo.providerUserId = FormUtil::GetCurrentAccountId(); in GetAllFormInfo()
/ohos5.0/foundation/ability/form_fwk/services/include/
H A Dform_util.h98 static int GetCurrentAccountId();
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/
H A Daccount_delegate_test.cpp187 HWTEST_F(AccountDelegateTest, GetCurrentAccountId, TestSize.Level0)
189 auto accountId = AccountDelegate::GetInstance()->GetCurrentAccountId();
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp162 …Dir = CONTEXT_DATA_APP + currArea_ + CONTEXT_FILE_SEPARATOR + std::to_string(GetCurrentAccountId()) in GetDatabaseDirWithCheck()
313 …r = CONTEXT_DATA_APP + currArea_ + CONTEXT_FILE_SEPARATOR + std::to_string(GetCurrentAccountId()) + in GetAllTempDir()
342 dir = CONTEXT_DISTRIBUTEDFILES_BASE_BEFORE + std::to_string(GetCurrentAccountId()) + in GetDistributedFilesDir()
411 int accountId = GetCurrentAccountId(); in CreateModuleContext()
515 int accountId = GetCurrentAccountId(); in CreateSystemHspModuleResourceManager()
581 int accountId = GetCurrentAccountId(); in GetBundleInfo()
647 …r = CONTEXT_DATA_APP + currArea_ + CONTEXT_FILE_SEPARATOR + std::to_string(GetCurrentAccountId()) + in GetBaseDir()
661 int ContextImpl::GetCurrentAccountId() const in GetCurrentAccountId() function in OHOS::AbilityRuntime::ContextImpl
713 int accountId = GetCurrentAccountId(); in CreateBundleContext()
759 int accountId = GetCurrentAccountId(); in CreateBundleContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_deal.cpp147 …EXT_DEAL_DATA_APP + currArea_ + CONTEXT_DEAL_FILE_SEPARATOR + std::to_string(GetCurrentAccountId()) in GetDatabaseDir()
236 int ContextDeal::GetCurrentAccountId() const in GetCurrentAccountId() function in OHOS::AppExecFwk::ContextDeal
479 … std::to_string(GetCurrentAccountId()) + CONTEXT_DEAL_FILE_SEPARATOR + CONTEXT_DEAL_BASE + in GetBaseDir()
/ohos5.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()
/ohos5.0/foundation/ability/ability_runtime/services/uripermmgr/include/
H A Duri_permission_utils.h31 static int32_t GetCurrentAccountId();
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dmock_form_db_cache.cpp77 record.providerUserId = FormUtil::GetCurrentAccountId(); in GetDBRecord()

123