/ohos5.0/base/customization/enterprise_device_management/test/unittest/common/external/ |
H A D | edm_bundle_manager_impl_test.cpp | 43 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 D | fms_form_mgr_update_form_test.cpp | 147 …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 D | enterprise_device_mgr_ability_test.cpp | 188 …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 D | sec_comp_kit.cpp | 42 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 D | session_permission.cpp | 214 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 D | edm_bundle_manager_impl.cpp | 29 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 D | mock_bundle_manager_form.h | 53 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 D | permission.cpp | 123 bundleManagerServiceProxy_->GetNameForUid(uid, bundleName); in IsStartByInputMethod() 171 bundleManagerServiceProxy_->GetNameForUid(uid, callingBundleName); in CheckIsCallingBundleName()
|
/ohos5.0/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_bundle_manager.h | 124 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 D | bundle_active_bundle_mgr_helper.cpp | 40 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 D | bundle_active_service.cpp | 281 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 D | getnameforuid_fuzzer.cpp | 30 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 D | sec_comp_manager.cpp | 304 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 D | mock_bundle_manager.cpp | 37 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 D | bundle_manager_utils.cpp | 41 bundleManager->GetNameForUid(IPCSkeleton::GetCallingUid(), callingBundleName); in GetAppIdByCallingUid()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/ |
H A D | mock_bundle_mgr.h | 30 ErrCode GetNameForUid(const int uid, std::string &name) override;
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | mock_bundle_mgr.cpp | 43 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 D | mock_bundle_manager.h | 30 ErrCode GetNameForUid(const int uid, std::string &name) override;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client.cpp | 38 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 D | bundle_manager_adapter.cpp | 38 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 D | iedm_bundle_manager.h | 31 virtual ErrCode GetNameForUid(int uid, std::string &name) = 0;
|
H A D | edm_bundle_manager_impl.h | 26 ErrCode GetNameForUid(int uid, std::string &name) override;
|
/ohos5.0/base/customization/enterprise_device_management/test/unittest/external_mock/include/ |
H A D | edm_bundle_manager_impl_mock.h | 29 MOCK_METHOD(ErrCode, GetNameForUid, (int uid, std::string &name), (override));
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_bundle_manager.cpp | 54 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 D | fms_form_mgr_add_form_test.cpp | 237 …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…
|