Home
last modified time | relevance | path

Searched refs:GetCallerAppIdFromBms (Results 1 - 9 of 9) sorted by relevance

/foundation/ability/dmsfwk/services/dtbschedmgr/include/bundle/
H A Dbundle_manager_internal.h36 static bool GetCallerAppIdFromBms(int32_t callingUid, std::string& appId);
37 static bool GetCallerAppIdFromBms(const std::string& bundleName, std::string& appId);
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp35 bool BundleManagerInternal::GetCallerAppIdFromBms(int32_t callingUid, std::string& appId) in GetCallerAppIdFromBms() function in OHOS::DistributedSchedule::BundleManagerInternal
47 return GetCallerAppIdFromBms(bundleNameList.front(), appId); in GetCallerAppIdFromBms()
50 bool BundleManagerInternal::GetCallerAppIdFromBms(const std::string& bundleName, std::string& appId) in GetCallerAppIdFromBms() function in OHOS::DistributedSchedule::BundleManagerInternal
179 if (!GetCallerAppIdFromBms(targetBundleName, calleeAppId)) { in IsSameAppId()
180 HILOGE("GetCallerAppIdFromBms failed"); in IsSameAppId()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddms_token_callback.cpp63 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in SendResult()
64 HILOGE("GetCallerAppIdFromBms failed"); in SendResult()
H A Ddistributed_sched_service.cpp702 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in GetCallerInfo()
703 HILOGE("GetCallerAppIdFromBms failed"); in GetCallerInfo()
1622 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in ConnectRemoteAbility()
1623 HILOGE("GetCallerAppIdFromBms failed"); in ConnectRemoteAbility()
1983 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in StartRemoteAbilityByCall()
1984 HILOGE("GetCallerAppIdFromBms failed"); in StartRemoteAbilityByCall()
3121 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in SetCallerInfo()
3122 HILOGE("GetCallerAppIdFromBms failed"); in SetCallerInfo()
3616 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in StopRemoteExtensionAbility()
3617 HILOGE("GetCallerAppIdFromBms faile in StopRemoteExtensionAbility()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Dbundle_manager_internal_test.cpp241 bool ret = BundleManagerInternal::GetCallerAppIdFromBms(callingUid, appId); in HWTEST_F()
256 bool ret = BundleManagerInternal::GetCallerAppIdFromBms(callingUid, appId); in HWTEST_F()
449 bool ret = BundleManagerInternal::GetCallerAppIdFromBms(uid, appId); in HWTEST_F()
H A Ddistributed_sched_permission_test.cpp435 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
455 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
511 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
531 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
553 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
575 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
597 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
620 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
H A Ddistributed_sched_service_first_test.cpp597 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
1405 bool result = BundleManagerInternal::GetCallerAppIdFromBms("com.third.hiworld.example", in HWTEST_F()
1461 bool result = BundleManagerInternal::GetCallerAppIdFromBms("com.third.hiworld.example", callerInfo.callerAppId); in HWTEST_F()
1495 bool result = BundleManagerInternal::GetCallerAppIdFromBms("com.third.hiworld.example", callerInfo.callerAppId); in HWTEST_F()
H A Ddistributed_sched_service_second_test.cpp742 bool result = BundleManagerInternal::GetCallerAppIdFromBms(BUNDLE_NAME, callerInfo.callerAppId); in HWTEST_F()
1083 bool result = BundleManagerInternal::GetCallerAppIdFromBms("com.third.hiworld.example", callerInfo.callerAppId); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue.cpp782 if (!BundleManagerInternal::GetCallerAppIdFromBms(callerInfo.uid, callerInfo.callerAppId)) { in ExecuteContinueSend()
783 HILOGE("GetCallerAppIdFromBms failed"); in ExecuteContinueSend()

Completed in 21 milliseconds