Home
last modified time | relevance | path

Searched refs:GetNameForUid (Results 1 - 25 of 95) sorted by relevance

1234

/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()
/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(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 Dmock_bundle_manager_form.h53 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 Dbundle_active_bundle_mgr_helper.cpp39 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 Dbundle_active_service.cpp278 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 Dbundle_active_continuous_task_observer.cpp91 bundleMgr_->GetNameForUid(uid, bundleName); in ReportContinuousTaskEvent()
/foundation/window/window_manager/window_scene/common/src/
H A Dsession_permission.cpp212 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 Dbundle_mgr_mini_proxy.h39 virtual ErrCode GetNameForUid(const int uid, std::string &name) override;
H A Dbundle_mgr_client.h37 ErrCode GetNameForUid(const int uid, std::string &name);
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dbundle_active_bundle_mgr_helper.h33 * @brief GetNameForUid by uid.
38 void GetNameForUid(int32_t uid, std::string& bundleName);
/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 &));
H A Dmock_bundle_mgr.h52 MOCK_METHOD2(GetNameForUid, int32_t(const int, std::string &));
/foundation/window/window_manager/utils/src/
H A Dpermission.cpp123 bundleManagerServiceProxy_->GetNameForUid(uid, bundleName); in IsStartByInputMethod()
171 bundleManagerServiceProxy_->GetNameForUid(uid, callingBundleName); in CheckIsCallingBundleName()
/foundation/multimedia/media_foundation/services/media_monitor/server/src/
H A Dboundle_mgr_wrap_to_c.cpp46 bundleMgrProxy->GetNameForUid(appUid, bundleName); in GetBundleInfoFromUid()
/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()
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dbundle_active_total_test.cpp127 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 Ddp_utils.cpp70 auto result = bms->GetNameForUid(uid, bundleName); in GetClientBundle()
/foundation/multimedia/drm_framework/services/utils/
H A Ddrm_dfx_utils.cpp49 auto result = bms->GetNameForUid(uid, bundleName); in GetClientBundleName()
/foundation/multimedia/av_session/utils/src/
H A Dpermission_checker.cpp93 if (client.GetNameForUid(uid, bundleName) != OHOS::ERR_OK) { in CheckSystemPermissionByUid()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dbundle_manager_helper.cpp45 bundleMgr_->GetNameForUid(uid, bundle); in GetClientBundleName()
/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(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 Ddlp_utils.h120 if (IN_PROCESS_CALL(bundleManager->GetNameForUid(callerUid, bundleName)) != ERR_OK) { in CheckCallerIsDlpManager()
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dwant_utils.cpp32 return IN_PROCESS_CALL(bundleMgrHelper->GetNameForUid(callerUid, callerBundleName)); in GetCallerBundleName()
/foundation/multimedia/camera_framework/services/camera_service/src/adapter/
H A Dbms_adapter.cpp90 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 Dbundle_manager_helper.cpp53 bundleMgr_->GetNameForUid(uid, bundle); in GetClientBundleName()

Completed in 16 milliseconds

1234