Home
last modified time | relevance | path

Searched refs:callerPkg (Results 1 - 25 of 51) sorted by relevance

123

/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Dability_jump_interceptor.cpp69 controlRule.callerPkg.c_str(), controlRule.targetPkg.c_str()); in DoProcess()
73 AbilityUtil::ParseJumpInterceptorWant(dialogWant, controlRule.callerPkg); in DoProcess()
95 controlRule.callerPkg = callerBundleName; in CheckControl()
101 if (controlRule.callerPkg.empty() || controlRule.targetPkg.empty()) { in CheckControl()
105 if (controlRule.callerPkg == controlRule.targetPkg) { in CheckControl()
131 if (CheckIfExemptByBundleName(controlRule.callerPkg, in CheckIfJumpExempt()
174 StartAbilityUtils::GetApplicationInfo(controlRule.callerPkg, userId, callerAppInfo); in LoadAppLabelInfo()
177 want.SetParam(JUMP_DIALOG_CALLER_BUNDLE_NAME, controlRule.callerPkg); in LoadAppLabelInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_jump_interceptor_manager_rdb.cpp78 rule.callerPkg = callerBundleName; in ConfirmAppJumpControlRule()
92 valuesBucket.PutString(CALLER_PKG, controlRule.callerPkg); in AddAppJumpControlRule()
118 absRdbPredicates.EqualTo(CALLER_PKG, rule.callerPkg); in DeleteAppJumpControlRule()
124 rule.callerPkg.c_str(), rule.targetPkg.c_str(), userId); in DeleteAppJumpControlRule()
188 std::string callerPkg; in GetAppJumpControlRule() local
189 if (absSharedResultSet->GetString(CALLER_PKG_INDEX, callerPkg) != NativeRdb::E_OK) { in GetAppJumpControlRule()
190 LOG_E(BMS_TAG_DEFAULT, "GetString callerPkg failed, ret: %{public}d", ret); in GetAppJumpControlRule()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dapp_jump_control_rule.cpp26 callerPkg = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
35 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(callerPkg)); in Marshalling()
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Dability_util.h180 [[maybe_unused]] static bool ParseJumpInterceptorWant(Want &targetWant, const std::string callerPkg) in ParseJumpInterceptorWant() argument
182 if (callerPkg.empty()) { in ParseJumpInterceptorWant()
183 TAG_LOGE(AAFwkTag::ABILITYMGR, "empty callerPkg"); in ParseJumpInterceptorWant()
186 targetWant.SetParam(JUMP_INTERCEPTOR_DIALOG_CALLER_PKG, callerPkg); in ParseJumpInterceptorWant()
190 [[maybe_unused]] static bool CheckJumpInterceptorWant(const Want &targetWant, std::string &callerPkg, in CheckJumpInterceptorWant() argument
197 callerPkg = targetWant.GetStringParam(JUMP_INTERCEPTOR_DIALOG_CALLER_PKG); in CheckJumpInterceptorWant()
199 return !callerPkg.empty() && !targetPkg.empty(); in CheckJumpInterceptorWant()
202 [[maybe_unused]] static bool AddAbilityJumpRuleToBms(const std::string &callerPkg, const std::string &targetPkg, in AddAbilityJumpRuleToBms() argument
205 if (callerPkg.empty() || targetPkg.empty()) { in AddAbilityJumpRuleToBms()
219 int ret = IN_PROCESS_CALL(appControlMgr->ConfirmAppJumpControlRule(callerPkg, targetPk in AddAbilityJumpRuleToBms()
[all...]
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/
H A Dconn_event_test.cpp91 .callerPkg = "testCallerPkg",
151 .callerPkg = "\0",
221 .callerPkg = "nearby",
H A Dtrans_event_test.cpp84 .callerPkg = "testCallerPkg", in HWTEST_F()
136 .callerPkg = "\0", in HWTEST_F()
286 .callerPkg = "testCallerPkg", in HWTEST_F()
303 .callerPkg = "testCallerPkg", in HWTEST_F()
319 .callerPkg = "testCallerPkg", in HWTEST_F()
H A Ddisc_event_test.cpp87 .callerPkg = "testCallerPkg", in HWTEST_F()
133 .callerPkg = nullptr, in HWTEST_F()
H A Dlnn_event_test.cpp95 .callerPkg = "testCallerPkg", in HWTEST_F()
149 .callerPkg = "\0", in HWTEST_F()
/foundation/communication/dsoftbus/core/transmission/session/src/
H A Dtrans_session_service.c120 .callerPkg = pkgName, in TransCreateSessionServer()
146 .callerPkg = pkgName, in TransRemoveSessionServer()
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/
H A Dconn_event_form.h99 const char *callerPkg; // HOST_PKG member
174 const char *callerPkg; // HOST_PKG member
H A Ddisc_event_form.h114 const char *callerPkg; // HOST_PKG member
153 const char *callerPkg; // HOST_PKG member
H A Dtrans_event_form.h94 const char *callerPkg; // HOST_PKG member
H A Dlnn_event_form.h127 const char *callerPkg; // HOST_PKG member
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dapp_jump_control_rule.h32 std::string callerPkg; member
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/
H A Dtrans_channel_common.c90 extra->callerPkg = NULL; in BuildTransCloseChannelEventExtra()
456 extra->callerPkg = appInfo->myData.pkgName; in TransBuildTransOpenChannelStartEvent()
471 char *localUdid, char *callerPkg) in TransBuildOpenAuthChannelStartEvent()
473 if (extra == NULL || connOpt == NULL || localUdid == NULL || callerPkg == NULL) { in TransBuildOpenAuthChannelStartEvent()
481 if (TransGetPkgNameBySessionName(sessionName, callerPkg, PKG_NAME_SIZE_MAX) == SOFTBUS_OK) { in TransBuildOpenAuthChannelStartEvent()
482 extra->callerPkg = callerPkg; in TransBuildOpenAuthChannelStartEvent()
470 TransBuildOpenAuthChannelStartEvent(TransEventExtra *extra, const char *sessionName, const ConnectOption *connOpt, char *localUdid, char *callerPkg) TransBuildOpenAuthChannelStartEvent() argument
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/
H A Dtrans_lane_common_test.cpp754 char *callerPkg = const_cast<char *>(TEST_PKG_NAME); in HWTEST_F() local
757 TransBuildOpenAuthChannelStartEvent(&extra, TEST_INVALID_SESSION_NAME, &connOpt, localUdid, callerPkg); in HWTEST_F()
761 TransBuildOpenAuthChannelStartEvent(nullptr, TEST_SESSION_NAME, &connOpt, localUdid, callerPkg); in HWTEST_F()
765 TransBuildOpenAuthChannelStartEvent(&extra, TEST_SESSION_NAME, nullptr, localUdid, callerPkg); in HWTEST_F()
769 TransBuildOpenAuthChannelStartEvent(&extra, TEST_SESSION_NAME, &connOpt, nullptr, callerPkg); in HWTEST_F()
779 TransBuildOpenAuthChannelStartEvent(&extra, TEST_SESSION_NAME, &connOpt, localUdid, callerPkg); in HWTEST_F()
785 TransBuildOpenAuthChannelStartEvent(&extra, TEST_SESSION_NAME, &connOpt, localUdid, callerPkg); in HWTEST_F()
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c161 extra.callerPkg = pkgName; in DfxRecordSdkJoinLnnEnd()
180 extra.callerPkg = pkgName; in DfxRecordSdkLeaveLnnEnd()
196 extra.callerPkg = pkgName; in DfxRecordSdkShiftGearStart()
216 extra.callerPkg = pkgName; in DfxRecordLnnDiscServerEnd()
228 extra.callerPkg = pkgName; in DfxRecordRegNodeStart()
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/include/
H A Dtrans_channel_common.h46 TransEventExtra *extra, const char *sessionName, const ConnectOption *connOpt, char *localUdid, char *callerPkg);
/foundation/communication/dsoftbus/core/common/dfx/event/src/
H A Dlnn_event.c81 extra->callerPkg = NULL; in LnnEventExtraInit()
H A Ddisc_event.c79 extra->callerPkg = NULL; in DiscEventExtraInit()
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_listener.c219 .callerPkg = NULL, in TdcOnConnectEvent()
265 .callerPkg = NULL, in TransProcDataRes()
314 .callerPkg = NULL, in ProcessSocketOutEvent()
H A Dtrans_tcp_direct_manager.c48 .callerPkg = node->appInfo.myData.pkgName, in OnSessionOpenFailProc()
311 .callerPkg = NULL, in TransOpenDirectChannel()
/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/
H A Dlnn_discovery_interface.c41 extra.callerPkg = pkgName; in DfxRecordLnnDiscServiceEnd()
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dconn_audit_converter.h54 CONN_AUDIT_ASSIGNER(String, CallerPkg, callerPkg)
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/
H A Dconn_hisysevent_matcher.h104 MatchConnEventNameTypeExtraStrParam(params, ++index, extra.callerPkg); in MATCHER_P2()
169 MatchConnAuditNameTypeExtraStrParam(params, ++index, extra.callerPkg); in MATCHER_P2()

Completed in 12 milliseconds

123