/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()
|
/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(bmsTaskGetBundleNameForUid)); in HWTEST_F() 229 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 272 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 315 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 376 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 422 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(1).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F()
|
/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 98 ErrCode GetNameForUid(const int uid, std::string& bundleName) override
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_bundle_mgr_helper.cpp | 39 void BundleActiveBundleMgrHelper::GetNameForUid(int32_t uid, std::string& bundleName)
in GetNameForUid() function in OHOS::DeviceUsageStats::BundleActiveBundleMgrHelper 48 bundleMgr_->GetNameForUid(uid, bundleName);
in GetNameForUid()
|
H A D | bundle_active_service.cpp | 278 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, callingBundleName); in IsBundleIdle() 371 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, localBundleName); in SetAppGroup() 397 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, bundleName); in QueryBundleStatsInfos() 419 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, bundleName); in QueryCurrentBundleEvents() 448 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(callingUid, localBundleName); in QueryAppGroup() 507 BundleActiveBundleMgrHelper::GetInstance()->GetNameForUid(uid, bundleName); in CheckBundleIsSystemAppAndHasPermission()
|
H A D | bundle_active_continuous_task_observer.cpp | 91 bundleMgr_->GetNameForUid(uid, bundleName); in ReportContinuousTaskEvent()
|
/foundation/window/window_manager/window_scene/common/src/ |
H A D | session_permission.cpp | 212 bundleManagerServiceProxy_->GetNameForUid(uid, callingBundleName); in IsSameBundleNameAsCalling() 238 bundleManagerServiceProxy->GetNameForUid(uid, callingBundleName); in IsSameAppAsCalling() 280 bundleManagerServiceProxy->GetNameForUid(uid, bundleName); in IsStartedByUIExtension() 343 bundleManagerServiceProxy->GetNameForUid(uid, callingBundleName); in GetCallingBundleName()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_mini_proxy.h | 39 virtual ErrCode GetNameForUid(const int uid, std::string &name) override;
|
H A D | bundle_mgr_client.h | 37 ErrCode GetNameForUid(const int uid, std::string &name);
|
/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | bundle_active_bundle_mgr_helper.h | 33 * @brief GetNameForUid by uid.
38 void GetNameForUid(int32_t uid, std::string& bundleName);
|
/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 &));
|
H A D | mock_bundle_mgr.h | 52 MOCK_METHOD2(GetNameForUid, int32_t(const int, std::string &));
|
/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()
|
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | boundle_mgr_wrap_to_c.cpp | 46 bundleMgrProxy->GetNameForUid(appUid, bundleName); in GetBundleInfoFromUid()
|
/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()
|
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | bundle_active_total_test.cpp | 127 test.GetNameForUid(0, string); in HWTEST_F() 133 test.GetNameForUid(0, string); in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/utils/ |
H A D | dp_utils.cpp | 70 auto result = bms->GetNameForUid(uid, bundleName); in GetClientBundle()
|
/foundation/multimedia/drm_framework/services/utils/ |
H A D | drm_dfx_utils.cpp | 49 auto result = bms->GetNameForUid(uid, bundleName); in GetClientBundleName()
|
/foundation/multimedia/av_session/utils/src/ |
H A D | permission_checker.cpp | 93 if (client.GetNameForUid(uid, bundleName) != OHOS::ERR_OK) { in CheckSystemPermissionByUid()
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | bundle_manager_helper.cpp | 45 bundleMgr_->GetNameForUid(uid, bundle); in GetClientBundleName()
|
/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(bmsTaskGetBundleNameForUid)); in HWTEST_F() 327 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(2).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 410 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)) in HWTEST_F() 566 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)) in HWTEST_F() 745 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 819 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F() 893 EXPECT_CALL(*mockBundleMgrService, GetNameForUid(_, _)).Times(3).WillOnce(Invoke(bmsTaskGetBundleNameForUid)); in HWTEST_F()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/ |
H A D | dlp_utils.h | 120 if (IN_PROCESS_CALL(bundleManager->GetNameForUid(callerUid, bundleName)) != ERR_OK) { in CheckCallerIsDlpManager()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | want_utils.cpp | 32 return IN_PROCESS_CALL(bundleMgrHelper->GetNameForUid(callerUid, callerBundleName)); in GetCallerBundleName()
|
/foundation/multimedia/camera_framework/services/camera_service/src/adapter/ |
H A D | bms_adapter.cpp | 90 auto result = bms->GetNameForUid(uid, bundleName); in GetBundleName() 91 CHECK_ERROR_RETURN_RET_LOG(result != ERR_OK, "", "GetNameForUid fail, ret: %{public}d", result); in GetBundleName() 92 MEDIA_INFO_LOG("GetBundleName by GetNameForUid, uid: %{public}d bundleName is %{public}s", uid, bundleName.c_str()); in GetBundleName()
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bundle_manager_helper.cpp | 53 bundleMgr_->GetNameForUid(uid, bundle);
in GetClientBundleName()
|