Home
last modified time | relevance | path

Searched refs:preToken (Results 1 - 23 of 23) sorted by relevance

/foundation/ability/ability_runtime/utils/server/startup/src/
H A Dparam.cpp42 if (preToken == nullptr) { in Marshalling()
50 if (!(static_cast<MessageParcel*>(&parcel))->WriteRemoteObject(preToken)) { in Marshalling()
69 preToken = (static_cast<MessageParcel*>(&parcel))->ReadRemoteObject(); in ReadFromParcel()
70 if (preToken == nullptr) { in ReadFromParcel()
/foundation/ability/ability_runtime/test/fuzztest/loadability_fuzzer/
H A Dloadability_fuzzer.cpp78 sptr<IRemoteObject> preToken = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local
79 if (!preToken) { in DoSomethingInterestingWithMyAPI()
80 std::cout << "Get ability preToken failed." << std::endl; in DoSomethingInterestingWithMyAPI()
92 loadParam.preToken = preToken; in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/amsmgrscheduler_fuzzer/
H A Damsmgrscheduler_fuzzer.cpp66 sptr<IRemoteObject> preToken, const char* data) in DoSomethingInterestingWithMyAPI1()
80 loadParam.preToken = preToken; in DoSomethingInterestingWithMyAPI1()
91 sptr<IRemoteObject> preToken = nullptr; in DoSomethingInterestingWithMyAPI() local
92 auto amsMgrScheduler = DoSomethingInterestingWithMyAPI1(token, preToken, data); in DoSomethingInterestingWithMyAPI()
65 DoSomethingInterestingWithMyAPI1(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, const char* data) DoSomethingInterestingWithMyAPI1() argument
/foundation/ability/ability_runtime/utils/server/startup/include/
H A Dparam.h44 sptr<IRemoteObject> preToken = nullptr; member
/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_test/
H A Dams_mgr_scheduler_test.cpp121 loadParam.preToken = new MockAbilityToken(); in HWTEST_F()
156 loadParam.preToken = new MockAbilityToken(); in HWTEST_F()
372 sptr<IRemoteObject> preToken = nullptr; in HWTEST_F() local
378 loadParam.preToken = preToken; in HWTEST_F()
396 sptr<IRemoteObject> preToken = nullptr; in HWTEST_F() local
402 loadParam.preToken = preToken; in HWTEST_F()
420 sptr<IRemoteObject> preToken = nullptr; in HWTEST_F() local
426 loadParam.preToken in HWTEST_F()
446 sptr<IRemoteObject> preToken = nullptr; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/
H A Dapp_mgr_service_inner_second_test.cpp218 loadParam->preToken = preToken_; in HWTEST_F()
248 loadParam->preToken = preToken_; in HWTEST_F()
289 loadParam->preToken = preToken_; in HWTEST_F()
312 loadParam->preToken = preToken_; in HWTEST_F()
371 loadParam->preToken = preToken_; in HWTEST_F()
399 loadParam->preToken = preToken_; in HWTEST_F()
493 loadParam->preToken = preToken_; in HWTEST_F()
523 loadParam->preToken = preToken_; in HWTEST_F()
601 loadParam->preToken = preToken_; in HWTEST_F()
641 loadParam->preToken in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/include/
H A Dmock_app_manager_client.h31 MOCK_METHOD6(LoadAbility, AppMgrResultCode(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/
H A Dams_app_mgr_client_test.cpp133 loadParam.preToken = preToken_; in HWTEST_F()
154 loadParam.preToken = preToken_; in HWTEST_F()
297 sptr<IRemoteObject> preToken; in HWTEST_F() local
324 sptr<IRemoteObject> preToken; in HWTEST_F() local
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/appmgr/
H A Dapp_mgr_client.cpp41 AppMgrResultCode AppMgrClient::LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in LoadAbility() argument
H A Dmock_app_scheduler.cpp44 int AppScheduler::LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in LoadAbility() argument
/foundation/ability/ability_runtime/test/unittest/ams_service_load_ability_process_test/
H A Dams_service_load_ability_process_test.cpp80 const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo,
137 const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo, in StartLoadAbility()
146 loadParam.preToken = preToken; in StartLoadAbility()
269 loadParam2.preToken = token; in HWTEST_F()
519 sptr<IRemoteObject> preToken = token; in HWTEST_F() local
531 loadParam2.preToken = preToken; in HWTEST_F()
787 sptr<IRemoteObject> preToken = token; in HWTEST_F() local
791 loadParam2.preToken in HWTEST_F()
136 StartLoadAbility(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo, const std::shared_ptr<ApplicationInfo>& appInfo, const pid_t newPid) const StartLoadAbility() argument
[all...]
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/appmgr/
H A Dapp_mgr_client.h45 virtual AppMgrResultCode LoadAbility(sptr<IRemoteObject>& token, sptr<IRemoteObject> preToken,
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dapp_scheduler.cpp69 int AppScheduler::LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in LoadAbility() argument
82 loadParam.preToken = preToken; in LoadAbility()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dapp_scheduler.h143 * @param preToken, the token of ability's caller.
149 int LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken,
/foundation/ability/ability_runtime/test/unittest/ams_app_life_cycle_test/
H A Dams_app_life_cycle_test.cpp62 const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo,
66 const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo,
125 const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo, in StartProcessAndLoadAbility()
134 loadParam.preToken = preToken; in StartProcessAndLoadAbility()
124 StartProcessAndLoadAbility(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken, const std::shared_ptr<AbilityInfo>& abilityInfo, const std::shared_ptr<ApplicationInfo>& appInfo, const pid_t newPid) const StartProcessAndLoadAbility() argument
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service.h30 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h33 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/
H A Dmock_app_mgr_service.h29 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/
H A Dapp_scheduler_test.cpp250 sptr<IRemoteObject> preToken; in HWTEST_F() local
256 token, preToken, abilityInfo, applicationInfo, want, 0, ""); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/
H A Dapp_mgr_service_inner_test.cpp1569 OHOS::sptr<IRemoteObject> preToken = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local
1571 appMgrServiceInner->StartAbility(nullptr, preToken, abilityInfo_, appRecord, hapModuleInfo, want, 0); in HWTEST_F()
1572 appMgrServiceInner->StartAbility(token, preToken, abilityInfo_, appRecord, hapModuleInfo, want, 0); in HWTEST_F()
1582 appMgrServiceInner->StartAbility(token, preToken, abilityInfo_, appRecord, hapModuleInfo, want, 0); in HWTEST_F()
1586 appMgrServiceInner->StartAbility(token, preToken, abilityInfo_, appRecord, hapModuleInfo, want, 0); in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service_inner.h112 * @param preToken, the unique identification to call the ability.
1442 * @param preToken, the unique identification to call the ability.
1448 void StartAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken,
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service_inner.cpp646 StartAbility(loadParam->token, loadParam->preToken, abilityInfo, appRecord, hapModuleInfo, want, in LoadAbility()
2791 void AppMgrServiceInner::StartAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in StartAbility() argument
2820 if (ability && preToken) { in StartAbility()
/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/
H A Dams_app_running_record_test.cpp306 loadParam->preToken = new (std::nothrow) MockAbilityToken(); in HWTEST_F()

Completed in 43 milliseconds