Home
last modified time | relevance | path

Searched refs:callerBundleName (Results 1 - 25 of 79) sorted by relevance

1234

/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dupdate_caller_info_util.cpp40 constexpr const char* PARAM_RESV_ANCO_CALLER_BUNDLENAME = "ohos.anco.param.callerBundleName";
93 std::string callerBundleName = abilityRecord->GetAbilityInfo().bundleName; in UpdateCallerInfo() local
95 want.SetParam(Want::PARAM_RESV_CALLER_BUNDLE_NAME, callerBundleName); in UpdateCallerInfo()
99 UpdateSignatureInfo(callerBundleName, want); in UpdateCallerInfo()
161 std::string callerBundleName = abilityRecord->GetAbilityInfo().bundleName; in UpdateAsCallerInfoFromToken() local
162 want.SetParam(Want::PARAM_RESV_CALLER_BUNDLE_NAME, callerBundleName); in UpdateAsCallerInfoFromToken()
165 UpdateSignatureInfo(callerBundleName, want); in UpdateAsCallerInfoFromToken()
186 std::string callerBundleName = sourceInfo->callerBundleName; in UpdateAsCallerInfoFromCallerRecord() local
190 want.SetParam(Want::PARAM_RESV_CALLER_BUNDLE_NAME, callerBundleName); in UpdateAsCallerInfoFromCallerRecord()
211 std::string callerBundleName = dialogCallerWant.GetStringParam(Want::PARAM_RESV_CALLER_BUNDLE_NAME); UpdateAsCallerInfoFromDialog() local
248 std::string callerBundleName = abilityRecord->GetAbilityInfo().bundleName; UpdateCallerInfoFromToken() local
307 std::string callerBundleName = abilityRecord->GetAbilityInfo().bundleName; UpdateDmsCallerInfo() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_control/
H A Dapp_jump_interceptor_manager_db_interface.h34 virtual ErrCode ConfirmAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
38 virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) = 0;
40 virtual ErrCode GetAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
H A Dapp_jump_interceptor_manager_rdb.h32 virtual ErrCode ConfirmAppJumpControlRule(const std::string &callerBundleName,
37 virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) override;
39 virtual ErrCode GetAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
H A Dapp_control_manager_host_impl.h53 virtual ErrCode ConfirmAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
58 virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) override;
60 virtual ErrCode GetAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_event.cpp73 eventInfo.callerBundleName = ""; in SendCreateAtomicServiceProcessEvent()
76 eventInfo.callerBundleName = callerAppRecord->GetName(); in SendCreateAtomicServiceProcessEvent()
105 eventInfo.callerBundleName = ""; in SendProcessStartEvent()
110 eventInfo.callerBundleName = callerAppRecord->GetName(); in SendProcessStartEvent()
112 eventInfo.callerBundleName = callerAppRecord->GetBundleName(); in SendProcessStartEvent()
178 eventInfo.callerBundleName = ""; in UpdateCallerInfo()
183 eventInfo.callerBundleName = callerAppRecord->GetName(); in UpdateCallerInfo()
185 eventInfo.callerBundleName = callerAppRecord->GetBundleName(); in UpdateCallerInfo()
213 eventInfo.callerBundleName = hostRecord->GetBundleName(); in SendChildProcessStartFailedEvent()
245 eventInfo.callerBundleName in SendRenderProcessStartFailedEvent()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_jump_interceptor_manager_rdb.cpp73 ErrCode AppJumpInterceptorManagerRdb::ConfirmAppJumpControlRule(const std::string &callerBundleName, in ConfirmAppJumpControlRule() argument
78 rule.callerPkg = callerBundleName; in ConfirmAppJumpControlRule()
131 ErrCode AppJumpInterceptorManagerRdb::DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) in DeleteRuleByCallerBundleName() argument
134 absRdbPredicates.EqualTo(CALLER_PKG, callerBundleName); in DeleteRuleByCallerBundleName()
138 LOG_E(BMS_TAG_DEFAULT, "DeleteRuleByCallerBundleName callerBundleName:%{public}s, failed", in DeleteRuleByCallerBundleName()
139 callerBundleName.c_str()); in DeleteRuleByCallerBundleName()
159 ErrCode AppJumpInterceptorManagerRdb::GetAppJumpControlRule(const std::string &callerBundleName, in GetAppJumpControlRule() argument
163 absRdbPredicates.EqualTo(CALLER_PKG, callerBundleName); in GetAppJumpControlRule()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_service_impl.cpp264 std::string callerBundleName;
265 if (!GetCallerBundleName(callerBundleName)) {
266 ZLOGE("get bundleName error, %{public}s", callerBundleName.c_str());
274 context->callerBundleName = callerBundleName;
286 PublishedDataSubscriberManager::GetInstance().Emit(publishedData, userId, callerBundleName);
294 std::string callerBundleName;
295 if (!GetCallerBundleName(callerBundleName)) {
296 ZLOGE("get bundleName error, %{public}s", callerBundleName.c_str());
300 context->callerBundleName
[all...]
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_utils.cpp47 std::string callerBundleName; in SendShareUnPrivilegeUriEvent() local
48 if (!GetBundleNameByTokenId(callerTokenId, callerBundleName)) { in SendShareUnPrivilegeUriEvent()
56 eventInfo.callerBundleName = callerBundleName; in SendShareUnPrivilegeUriEvent()
83 std::string callerBundleName; in CheckAndCreateEventInfo() local
84 if (!GetBundleNameByTokenId(callerTokenId, callerBundleName)) { in CheckAndCreateEventInfo()
85 TAG_LOGD(AAFwkTag::URIPERMMGR, "get callerBundleName failed"); in CheckAndCreateEventInfo()
88 if (!CheckIsSystemAppByBundleName(callerBundleName)) { in CheckAndCreateEventInfo()
101 eventInfo.callerBundleName = callerBundleName; in CheckAndCreateEventInfo()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/deleterulebycallerbundlename_fuzzer/
H A Ddeleterulebycallerbundlename_fuzzer.cpp29 std::string callerBundleName; in DoSomethingInterestingWithMyAPI() local
30 appControl.DeleteRuleByCallerBundleName(callerBundleName, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/getappjumpcontrolrule_fuzzer/
H A Dgetappjumpcontrolrule_fuzzer.cpp29 std::string callerBundleName; in DoSomethingInterestingWithMyAPI() local
33 callerBundleName, targetBundleName, reinterpret_cast<uintptr_t>(data), controlRules); in DoSomethingInterestingWithMyAPI()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/
H A Dcloud_sync_service.cpp344 static int32_t GetTargetBundleName(string &targetBundleName, string &callerBundleName) in GetTargetBundleName() argument
346 if (DfsuAccessTokenHelper::GetCallerBundleName(callerBundleName)) { in GetTargetBundleName()
350 targetBundleName = callerBundleName; in GetTargetBundleName()
352 if (targetBundleName != callerBundleName && in GetTargetBundleName()
363 string callerBundleName = ""; in UnRegisterCallbackInner() local
364 int32_t ret = GetTargetBundleName(targetBundleName, callerBundleName); in UnRegisterCallbackInner()
369 dataSyncManager_->UnRegisterCloudSyncCallback(targetBundleName, callerBundleName); in UnRegisterCallbackInner()
381 string callerBundleName = ""; in RegisterCallbackInner() local
382 int32_t ret = GetTargetBundleName(targetBundleName, callerBundleName); in RegisterCallbackInner()
390 dataSyncManager_->RegisterCloudSyncCallback(targetBundleName, callerBundleName, callerUserI in RegisterCallbackInner()
397 string callerBundleName = ""; StartSyncInner() local
421 string callerBundleName = ""; StopSyncInner() local
434 string callerBundleName = ""; ResetCursor() local
447 string callerBundleName = ""; GetSyncTimeInner() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/
H A Drdb_notify_strategy.cpp37 if (context->callerBundleName != context->calledBundleName) { in Execute()
38 ZLOGD("not your data, cannot notify, callerBundleName: %{public}s, calledBundleName: %{public}s", in Execute()
39 context->callerBundleName.c_str(), context->calledBundleName.c_str()); in Execute()
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/bundlemgr/
H A Dmock_app_control_manager.h58 virtual ErrCode ConfirmAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
63 virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) override;
65 virtual ErrCode GetAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName,
/foundation/ability/ability_runtime/services/common/src/
H A Devent_report.cpp157 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName); in LogAbilityOnForegroundEvent()
183 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName); in LogAbilityOnActiveEvent()
204 TAG_LOGD(AAFwkTag::DEFAULT, "EventInfo, bundleName: %{public}s, callerBundleName: %{public}s, uri: %{public}s", in LogStartAbilityByAppLinking()
205 eventInfo.bundleName.c_str(), eventInfo.callerBundleName.c_str(), eventInfo.uri.c_str()); in LogStartAbilityByAppLinking()
211 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName, in LogStartAbilityByAppLinking()
284 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName, in SendAtomicServiceEvent()
307 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName, in SendGrantUriPermissionEvent()
315 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName, in SendGrantUriPermissionEvent()
404 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName, in SendAppLaunchEvent()
428 EVENT_KEY_CALLER_BUNDLE_NAME, eventInfo.callerBundleName, in SendAppForegroundEvent()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_app_control_proxy_test/
H A Dbms_app_control_proxy_test.cpp269 std::string callerBundleName; in HWTEST_F() local
271 auto res = appControlProxy.ConfirmAppJumpControlRule(callerBundleName, targetBundleName, userId); in HWTEST_F()
285 std::string callerBundleName = "callerBundleName"; in HWTEST_F() local
287 auto res = appControlProxy.ConfirmAppJumpControlRule(callerBundleName, targetBundleName, userId); in HWTEST_F()
350 std::string callerBundleName = "callerBundleName"; in HWTEST_F() local
351 auto res = appControlProxy.DeleteRuleByCallerBundleName(callerBundleName, userId); in HWTEST_F()
380 std::string callerBundleName = "callerBundleName"; in HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Dability_jump_interceptor.cpp92 std::string callerBundleName; in CheckControl() local
93 auto result = IN_PROCESS_CALL(bundleMgrHelper->GetNameForUid(callerUid, callerBundleName)); in CheckControl()
95 controlRule.callerPkg = callerBundleName; in CheckControl()
120 if (IN_PROCESS_CALL(appControlMgr->GetAppJumpControlRule(callerBundleName, targetBundleName, in CheckControl()
/foundation/ability/ability_runtime/services/abilitymgr/src/rdb/
H A Dability_resident_process_rdb.cpp129 const std::string &bundleName, const std::string &callerBundleName) in VerifyConfigurationPermissions()
131 if (bundleName.empty() || callerBundleName.empty()) { in VerifyConfigurationPermissions()
136 if (bundleName == callerBundleName) { in VerifyConfigurationPermissions()
168 if (KeepAliveConfiguredList.find(callerBundleName) != std::string::npos) { in VerifyConfigurationPermissions()
128 VerifyConfigurationPermissions( const std::string &bundleName, const std::string &callerBundleName) VerifyConfigurationPermissions() argument
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dability_state_data.cpp68 if (!parcel.WriteString(callerBundleName)) { in MarshallingOne()
105 callerBundleName = parcel.ReadString(); in ReadFromParcel()
H A Dapp_state_data.cpp28 && parcel.WriteString(callerBundleName) && parcel.WriteBool(isSplitScreenMode) in Marshalling()
42 callerBundleName = parcel.ReadString(); in ReadFromParcel()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/
H A Dload_config_common_strategy.cpp45 if (context->needAutoLoadCallerBundleName && context->callerBundleName.empty()) { in operator ()()
52 context->callerBundleName = tokenInfo.bundleName; in operator ()()
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/
H A Dmock_app_control_manager.cpp114 ErrCode AppControlProxy::ConfirmAppJumpControlRule(const std::string &callerBundleName, in ConfirmAppJumpControlRule() argument
130 ErrCode AppControlProxy::DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) in DeleteRuleByCallerBundleName() argument
140 ErrCode AppControlProxy::GetAppJumpControlRule(const std::string &callerBundleName, in GetAppJumpControlRule() argument
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/app_control/
H A Dapp_control_interface.h92 virtual ErrCode ConfirmAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName, in ConfirmAppJumpControlRule() argument
105 virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) in DeleteRuleByCallerBundleName() argument
113 virtual ErrCode GetAppJumpControlRule(const std::string &callerBundleName, const std::string &targetBundleName, in GetAppJumpControlRule() argument
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dmock_form_bms_helper.cpp39 int32_t FormBmsHelper::GetCallerBundleName(std::string &callerBundleName) in GetCallerBundleName() argument
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Dwant_utils.h45 * @param callerBundleName The caller bundle name.
48 static int32_t GetCallerBundleName(std::string &callerBundleName);
/foundation/ability/ability_runtime/test/unittest/want_utils_test/
H A Dwant_utils_test.cpp151 std::string callerBundleName; in HWTEST_F() local
152 auto errCode = WantUtils::GetCallerBundleName(callerBundleName); in HWTEST_F()

Completed in 12 milliseconds

1234