Home
last modified time | relevance | path

Searched refs:GetBundleNameByUid (Results 1 - 25 of 31) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/include/
H A Dmock_bundle_manager.h60 std::string GetBundleNameByUid(pid_t uid) in GetBundleNameByUid() function in OHOS::AppExecFwk::MockBundleManager
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_bundle_manager_helper.cpp37 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid() function in OHOS::Notification::BundleManagerHelper
/base/notification/distributed_notification_service/services/test/moduletest/mock/
H A Dmock_bundle_manager_helper.cpp37 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid() function in OHOS::Notification::BundleManagerHelper
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/
H A Dmock_bundle_manager_helper.cpp33 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid() function in OHOS::Notification::BundleManagerHelper
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Drunning_lock.h64 std::string GetBundleNameByUid(const int32_t uid);
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp34 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid() function in OHOS::Notification::BundleManagerHelper
/base/telephony/core_service/utils/common/include/
H A Dtelephony_permission.h136 static bool GetBundleNameByUid(int32_t uid, std::string &bundleName);
/base/telephony/core_service/utils/common/src/
H A Dtelephony_common_utils.cpp34 TelephonyPermission::GetBundleNameByUid(uid, bundleName); in GetBundleName()
H A Dtelephony_permission.cpp38 bool TelephonyPermission::GetBundleNameByUid(int32_t uid, std::string &bundleName) in GetBundleNameByUid() function in OHOS::Telephony::TelephonyPermission
/base/powermgr/power_manager/frameworks/native/
H A Drunning_lock.cpp86 std::string bundleName = GetBundleNameByUid(uid); in UpdateWorkSource()
156 std::string RunningLock::GetBundleNameByUid(const int32_t uid) in GetBundleNameByUid() function in OHOS::PowerMgr::RunningLock
160 POWER_HILOGE(FEATURE_RUNNING_LOCK, "GetBundleNameByUid Invalid for uid=%{public}d", uid); in GetBundleNameByUid()
166 POWER_HILOGE(FEATURE_RUNNING_LOCK, "GetBundleNameByUid failed for uid=%{public}d, ErrCode=%{public}d", in GetBundleNameByUid()
169 POWER_HILOGD(FEATURE_RUNNING_LOCK, "GetBundleNameByUid for uid=%{public}d, name=%{public}s", in GetBundleNameByUid()
/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/
H A Dbundle_manager_helper_branch_test.cpp42 * @tc.desc : test GetBundleNameByUid function and bundleMgr_ != nullptr
49 ASSERT_EQ("", bundleManagerHelper.GetBundleNameByUid(uid)); in HWTEST_F()
55 * @tc.desc : test GetBundleNameByUid function and bundleMgr_ == nullptr
62 ASSERT_EQ("", bundleManagerHelper.GetBundleNameByUid(uid)); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dbundle_manager_helper.h41 std::string GetBundleNameByUid(int32_t uid);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dbundle_manager_helper_test.cpp45 * @tc.desc : Test GetBundleNameByUid function
51 ASSERT_EQ(bundleManager->GetBundleNameByUid(callingUid), "bundleName"); in HWTEST_F()
/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h171 static bool GetBundleNameByUid(int32_t uid, std::string& bundleName);
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_inline.cpp42 bundle = bundleManager->GetBundleNameByUid(callingUid); in GetClientBundleNameByUid()
H A Dadvanced_notification_subscriber_service.cpp109 bundle = bundleManager->GetBundleNameByUid(uid); in SubscribeSelf()
H A Dbundle_manager_helper.cpp49 std::string BundleManagerHelper::GetBundleNameByUid(int32_t uid) in GetBundleNameByUid() function in OHOS::Notification::BundleManagerHelper
H A Dnotification_local_live_view_subscriber_manager.cpp81 bundle = bundleManager->GetBundleNameByUid(callingUid); in AddLocalLiveViewSubscriber()
/base/location/frameworks/location_common/common/source/
H A Dcommon_utils.cpp258 bool CommonUtils::GetBundleNameByUid(int32_t uid, std::string& bundleName) in GetBundleNameByUid() function in OHOS::Location::CommonUtils
423 if (CommonUtils::GetBundleNameByUid(uid, bundleName)) { in CheckAppForUser()
/base/web/webview/ohos_adapter/res_sched_adapter/src/
H A Dres_sched_client_adapter_impl.cpp118 std::string GetBundleNameByUid(int32_t uid) in GetBundleNameByUid() function
285 mapPayload["bundleName"] = GetBundleNameByUid(getuid()); in ReportKeyThread()
/base/location/test/location_common/source/
H A Dcommon_utils_test.cpp253 EXPECT_EQ(false, CommonUtils::GetBundleNameByUid(SYSTEM_UID, bundleName)); in HWTEST_F()
/base/location/services/location_locator/locator/source/
H A Dreport_manager.cpp197 if (!CommonUtils::GetBundleNameByUid(uid, bundleName)) { in GetPermittedLocation()
/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h328 std::string GetBundleNameByUid(const int32_t uid);
/base/telephony/state_registry/services/src/
H A Dtelephony_state_registry_stub.cpp436 TelephonyPermission::GetBundleNameByUid(uid, bundleName); in RegisterStateChange()
/base/telephony/call_manager/services/call_manager_service/src/
H A Dcall_manager_service.cpp283 TelephonyPermission::GetBundleNameByUid(uid, bundleName); in DialCall()
1426 TelephonyPermission::GetBundleNameByUid(uid, bundleName); in GetBundleInfo()

Completed in 15 milliseconds

12