/foundation/bundlemanager/app_domain_verify/frameworks/common/src/bms/ |
H A D | bundle_info_query.cpp | 35 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 D | fms_form_util_test.cpp | 186 * @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 D | accessibility_common_event.cpp | 166 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 D | mock_form_util.cpp | 34 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 D | mock_form_util.cpp | 36 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 D | bundle_info_query.h | 29 static int32_t GetCurrentAccountId();
|
/foundation/resourceschedule/work_scheduler/utils/native/include/ |
H A D | work_sched_utils.h | 32 static int32_t GetCurrentAccountId();
|
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_service_test.cpp | 289 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 D | account_delegate_normal_impl.cpp | 37 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 D | account_delegate_default_impl.h | 24 std::string GetCurrentAccountId() const override;
|
H A D | account_delegate_default_impl.cpp | 27 std::string AccountDelegateDefaultImpl::GetCurrentAccountId() const in GetCurrentAccountId() function in OHOS::DistributedKv::AccountDelegateDefaultImpl
|
H A D | account_delegate_normal_impl.h | 29 std::string GetCurrentAccountId() const override;
|
/foundation/ability/ability_runtime/services/uripermmgr/src/ |
H A D | uri_permission_utils.cpp | 106 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 D | mock_form_db_cache.cpp | 54 formDBInfo.providerUserId = FormUtil::GetCurrentAccountId(); in GetAllFormInfo()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | mock_form_util.cpp | 46 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 D | form_util.h | 98 static int GetCurrentAccountId();
|
/foundation/ability/ability_runtime/services/uripermmgr/include/ |
H A D | uri_permission_utils.h | 30 static int32_t GetCurrentAccountId();
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/test/ |
H A D | account_delegate_test.cpp | 181 * @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 D | form_free_install_operator.cpp | 62 want, flag, FormUtil::GetCurrentAccountId(), abilityInfo, freeInstallStatusCallBack_)) { in StartFreeInstall()
|
H A D | form_render_mgr.cpp | 55 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 D | form_share_mgr.cpp | 118 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 D | mock_form_db_cache.cpp | 77 record.providerUserId = FormUtil::GetCurrentAccountId();
in GetDBRecord()
|
/foundation/resourceschedule/work_scheduler/utils/native/src/ |
H A D | work_sched_utils.cpp | 27 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 D | account_delegate.h | 62 API_EXPORT virtual std::string GetCurrentAccountId() const = 0;
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_rule_manager.cpp | 185 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()
|