Home
last modified time | relevance | path

Searched refs:asCallerSourceToken (Results 1 - 25 of 35) sorted by relevance

12

/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Dupdate_caller_info_util.h29 void UpdateAsCallerSourceInfo(Want& want, sptr<IRemoteObject> asCallerSourceToken, sptr<IRemoteObject> callerToken);
38 void UpdateAsCallerInfoFromToken(Want& want, sptr<IRemoteObject> asCallerSourceToken);
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dupdate_caller_info_util.cpp117 void UpdateCallerInfoUtil::UpdateAsCallerSourceInfo(Want& want, sptr<IRemoteObject> asCallerSourceToken, in UpdateAsCallerSourceInfo() argument
126 if (asCallerSourceToken != nullptr) { in UpdateAsCallerSourceInfo()
128 UpdateAsCallerInfoFromToken(want, asCallerSourceToken); in UpdateAsCallerSourceInfo()
135 void UpdateCallerInfoUtil::UpdateAsCallerInfoFromToken(Want& want, sptr<IRemoteObject> asCallerSourceToken) in UpdateAsCallerInfoFromToken() argument
137 if (!StartAbilityUtils::IsCallFromAncoShellOrBroker(asCallerSourceToken)) { in UpdateAsCallerInfoFromToken()
149 auto abilityRecord = Token::GetAbilityRecordByToken(asCallerSourceToken); in UpdateAsCallerInfoFromToken()
155 DelayedSingleton<AppScheduler>::GetInstance()->GetRunningProcessInfoByToken(asCallerSourceToken, processInfo); in UpdateAsCallerInfoFromToken()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/
H A Dmock_serviceability_manager_service.cpp48 const Want& want, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
75 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
47 StartAbilityAsCaller( const Want& want, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode) StartAbilityAsCaller() argument
73 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode) StartAbilityAsCaller() argument
H A Dmock_serviceability_manager_service.h56 sptr<IRemoteObject> asCallerSourceToken,
63 sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_ability_manager_proxy.h35 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
37 const sptr<IRemoteObject> &callerToken, sptr<IRemoteObject> asCallerSourceToken,
H A Dmock_ability_mgr_service.h31 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
33 const sptr<IRemoteObject> &callerToken, sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dstart_ability_handler.h33 sptr<IRemoteObject> asCallerSourceToken; member
/foundation/ability/ability_runtime/test/moduletest/mock/include/appmgr/
H A Dmock_ability_mgr_host.h61 const sptr<IRemoteObject>& asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE,
67 const sptr<IRemoteObject>& callerToken, const sptr<IRemoteObject>& asCallerSourceToken,
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_ability_delegator_stub.cpp47 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
230 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
46 StartAbilityAsCaller(const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int requestCode, int32_t userId) StartAbilityAsCaller() argument
229 StartAbilityAsCaller(const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int requestCode, int32_t userId) StartAbilityAsCaller() argument
H A Dmock_ability_delegator_stub.h35 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
44 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken,
215 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
224 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_ability_mgr_service.h35 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
37 const sptr<IRemoteObject> &callerToken, sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/
H A Dmock_ability_manager_service.cpp77 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode) in StartAbilityAsCaller()
76 StartAbilityAsCaller(const Want& want, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode) StartAbilityAsCaller() argument
H A Dmock_serviceability_manager_service.cpp57 const Want& want, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
56 StartAbilityAsCaller( const Want& want, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode) StartAbilityAsCaller() argument
H A Dmock_serviceability_manager_service.h58 const sptr<IRemoteObject> asCallerSourceToken,
65 const sptr<IRemoteObject> asCallerSourceToken,
H A Dmock_ability_manager_service.h54 sptr<IRemoteObject> asCallerSourceToken,
61 sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/tools/test/mock/
H A Dmock_ability_manager_stub.h34 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
142 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
138 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/unittest/ability_manager_stub_test/
H A Dability_manager_stub_impl_mock.h44 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
120 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
116 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/unittest/ability_manager_test/
H A Dability_manager_stub_mock.h93 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
309 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
89 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/
H A Dability_manager_stub_mock.h88 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
316 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
84 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_second_test/
H A Dability_manager_stub_mock_second_test.h84 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
304 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
80 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_test/
H A Dability_manager_stub_mock_test.h84 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
304 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
80 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ability_manager_service.h152 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
154 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/test/unittest/sys_mgr_client_test/
H A Dmock_ability_manager_service.h113 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
115 const sptr<IRemoteObject> &callerToken, sptr<IRemoteObject> asCallerSourceToken,
/foundation/ability/ability_runtime/test/unittest/service_extension_context_test/
H A Dability_manager_stub_mock.h84 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
280 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
80 StartAbilityAsCaller( const Want& want, const StartOptions& startOptions, const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, int32_t userId = DEFAULT_INVAL_VALUE, int requestCode = DEFAULT_INVAL_VALUE) StartAbilityAsCaller() argument
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_third_test/
H A Dability_manager_service_third_test.cpp1456 sptr<IRemoteObject> asCallerSourceToken; in HWTEST_F() local
1459 auto result = abilityMs->ImplicitStartAbilityAsCaller(want, callerToken, asCallerSourceToken, userId, in HWTEST_F()
1474 sptr<IRemoteObject> asCallerSourceToken; in HWTEST_F() local
1478 auto result = abilityMs->StartAbilityAsCallerDetails(want, callerToken, asCallerSourceToken, userId, in HWTEST_F()
1494 sptr<IRemoteObject> asCallerSourceToken; in HWTEST_F() local
1498 auto result = abilityMs->StartAbilityAsCallerDetails(want, callerToken, asCallerSourceToken, userId, in HWTEST_F()
1513 sptr<IRemoteObject> asCallerSourceToken = new AbilityManagerStubTestMock(); in HWTEST_F() local
1517 auto result = abilityMs->StartAbilityAsCallerDetails(want, callerToken, asCallerSourceToken, userId, in HWTEST_F()

Completed in 25 milliseconds

12