Home
last modified time | relevance | path

Searched refs:GetNameForUid (Results 1 – 25 of 132) sorted by relevance

123456

/ohos5.0/base/customization/enterprise_device_management/test/unittest/common/external/
H A Dedm_bundle_manager_impl_test.cpp43 int ret = edmBundleManagerImpl.GetNameForUid(ILLEGAL_UID, bundleName);
46 ret = edmBundleManagerImpl.GetNameForUid(ILLEGAL_UID2, bundleName);
59 int ret = edmBundleManagerImpl.GetNameForUid(TEST_UID, bundleName);
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_update_form_test/
H A Dfms_form_mgr_update_form_test.cpp147 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleN…
229 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleN…
272 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleN…
315 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleN…
376 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleN…
422 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleN…
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm/src/
H A Denterprise_device_mgr_ability_test.cpp188 …EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillOnce(DoAll(SetArgReferee<1>(admin.GetBundleName()), in AuthorizeAdminSuc()
274 EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillOnce(DoAll(Return(1)));
425 …EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillRepeatedly(DoAll(SetArgReferee<1>(ADMIN_PACKAGENAM…
460 …EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillRepeatedly(DoAll(SetArgReferee<1>(ADMIN_PACKAGENAM…
1039 EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillOnce(DoAll(Return(1)));
1064 …EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillOnce(DoAll(SetArgReferee<1>(admin.GetBundleName()),
2021 EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillRepeatedly(DoAll(Return(1)));
2640 EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillOnce(DoAll(Return(1)));
2817 EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillRepeatedly(DoAll(Return(1)));
3076 EXPECT_CALL(*bundleMgrMock_, GetNameForUid).WillOnce(DoAll(Return(1)));
[all …]
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/src/
H A Dsec_comp_kit.cpp42 bmsClient.GetNameForUid(uid, bundleName); in RegisterSecurityComponent()
71 bmsClient.GetNameForUid(uid, bundleName); in UpdateSecurityComponent()
114 bmsClient.GetNameForUid(uid, bundleName); in ReportSecurityComponentClickEvent()
/ohos5.0/foundation/window/window_manager/window_scene/common/src/
H A Dsession_permission.cpp214 bundleManagerServiceProxy_->GetNameForUid(uid, callingBundleName); in IsSameBundleNameAsCalling()
240 bundleManagerServiceProxy->GetNameForUid(uid, callingBundleName); in IsSameAppAsCalling()
282 bundleManagerServiceProxy->GetNameForUid(uid, bundleName); in IsStartedByUIExtension()
345 bundleManagerServiceProxy->GetNameForUid(uid, callingBundleName); in GetCallingBundleName()
/ohos5.0/base/customization/enterprise_device_management/common/external/src/
H A Dedm_bundle_manager_impl.cpp29 ErrCode EdmBundleManagerImpl::GetNameForUid(int uid, std::string &name) in GetNameForUid() function in OHOS::EDM::EdmBundleManagerImpl
33 if (proxy && !proxy->GetNameForUid(uid, name)) { in GetNameForUid()
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_bundle_manager_form.h53 ErrCode GetNameForUid(const int uid, std::string& bundleName) override in GetNameForUid() function
98 ErrCode GetNameForUid(const int uid, std::string& bundleName) override in GetNameForUid() function
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dpermission.cpp123 bundleManagerServiceProxy_->GetNameForUid(uid, bundleName); in IsStartByInputMethod()
171 bundleManagerServiceProxy_->GetNameForUid(uid, callingBundleName); in CheckIsCallingBundleName()
/ohos5.0/foundation/ability/form_fwk/test/mock/include/
H A Dmock_bundle_manager.h124 MOCK_METHOD2(GetNameForUid, int32_t(const int, std::string &));
142 MOCK_METHOD2(GetNameForUid, int32_t(const int, std::string &));
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_bundle_mgr_helper.cpp40 void BundleActiveBundleMgrHelper::GetNameForUid(int32_t uid, std::string& bundleName) in GetNameForUid() function in OHOS::DeviceUsageStats::BundleActiveBundleMgrHelper
49 bundleMgr_->GetNameForUid(uid, bundleName); in GetNameForUid()
H A Dbundle_active_service.cpp281 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, callingBundleName); in IsBundleIdle()
396 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, localBundleName); in SetAppGroup()
422 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, bundleName); in QueryBundleStatsInfos()
444 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, bundleName); in QueryCurrentBundleEvents()
473 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, localBundleName); in QueryAppGroup()
532 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(uid, bundleName); in CheckBundleIsSystemAppAndHasPermission()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getnameforuid_fuzzer/
H A Dgetnameforuid_fuzzer.cpp30 bundleMgrProxy.GetNameForUid(reinterpret_cast<uintptr_t>(data), name); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_manager.cpp304 bmsClient.GetNameForUid(uid, bundleName); in SendCheckInfoEnhanceSysEvent()
357 bmsClient.GetNameForUid(uid, bundleName); in RegisterSecurityComponent()
408 bmsClient.GetNameForUid(uid, bundleName); in UpdateSecurityComponent()
448 bmsClient.GetNameForUid(uid, bundleName); in CheckClickSecurityComponentInfo()
490 bmsClient.GetNameForUid(uid, bundleName); in ReportEvent()
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/mock/
H A Dmock_bundle_manager.cpp37 ErrCode BundleMgrProxy::GetNameForUid(const int uid, std::string &name) in GetNameForUid() function in OHOS::AppExecFwk::BundleMgrProxy
/ohos5.0/base/customization/enterprise_device_management/common/native/src/
H A Dbundle_manager_utils.cpp41 bundleManager->GetNameForUid(IPCSkeleton::GetCallingUid(), callingBundleName); in GetAppIdByCallingUid()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
H A Dmock_bundle_mgr.h30 ErrCode GetNameForUid(const int uid, std::string &name) override;
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_mgr.cpp43 ErrCode BundleMgrProxy::GetNameForUid(const int uid, std::string &name) in GetNameForUid() function in OHOS::AppExecFwk::BundleMgrProxy
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/mock/include/
H A Dmock_bundle_manager.h30 ErrCode GetNameForUid(const int uid, std::string &name) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp38 ErrCode BundleMgrClient::GetNameForUid(const int uid, std::string &name) in GetNameForUid() function in OHOS::AppExecFwk::BundleMgrClient
44 return impl_->GetNameForUid(uid, name); in GetNameForUid()
/ohos5.0/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
H A Dbundle_manager_adapter.cpp38 ErrCode BundleManagerAdapter::GetNameForUid(const int uid, std::string &bundleName) in GetNameForUid() function in OHOS::AccountSA::BundleManagerAdapter
47 result = proxy_->GetNameForUid(uid, bundleName); in GetNameForUid()
/ohos5.0/base/customization/enterprise_device_management/common/external/include/
H A Diedm_bundle_manager.h31 virtual ErrCode GetNameForUid(int uid, std::string &name) = 0;
H A Dedm_bundle_manager_impl.h26 ErrCode GetNameForUid(int uid, std::string &name) override;
/ohos5.0/base/customization/enterprise_device_management/test/unittest/external_mock/include/
H A Dedm_bundle_manager_impl_mock.h29 MOCK_METHOD(ErrCode, GetNameForUid, (int uid, std::string &name), (override));
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_bundle_manager.cpp54 ErrCode BundleMgrProxy::GetNameForUid(const int uid, std::string &name) in GetNameForUid() function in OHOS::AppExecFwk::BundleMgrProxy
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/
H A Dfms_form_mgr_add_form_test.cpp237 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleN…
327 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(2).WillOnce(Invoke(bmsTaskGetBundleN…
410 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _))
566 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _))
745 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleN…
819 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleN…
893 …EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleN…

123456