/foundation/ability/ability_runtime/utils/server/startup/src/ |
H A D | param.cpp | 42 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 D | loadability_fuzzer.cpp | 78 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 D | amsmgrscheduler_fuzzer.cpp | 66 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 D | param.h | 44 sptr<IRemoteObject> preToken = nullptr; member
|
/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_test/ |
H A D | ams_mgr_scheduler_test.cpp | 121 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 D | app_mgr_service_inner_second_test.cpp | 218 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 D | mock_app_manager_client.h | 31 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 D | ams_app_mgr_client_test.cpp | 133 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 D | app_mgr_client.cpp | 41 AppMgrResultCode AppMgrClient::LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in LoadAbility() argument
|
H A D | mock_app_scheduler.cpp | 44 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 D | ams_service_load_ability_process_test.cpp | 80 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 D | app_mgr_client.h | 45 virtual AppMgrResultCode LoadAbility(sptr<IRemoteObject>& token, sptr<IRemoteObject> preToken,
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_scheduler.cpp | 69 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 D | app_scheduler.h | 143 * @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 D | ams_app_life_cycle_test.cpp | 62 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 D | mock_app_mgr_service.h | 30 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_app_mgr_service.h | 33 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
|
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/ |
H A D | mock_app_mgr_service.h | 29 void(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& preToken,
|
/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/ |
H A D | app_scheduler_test.cpp | 250 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 D | app_mgr_service_inner_test.cpp | 1569 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 D | app_mgr_service_inner.h | 112 * @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 D | app_mgr_service_inner.cpp | 646 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 D | ams_app_running_record_test.cpp | 306 loadParam->preToken = new (std::nothrow) MockAbilityToken(); in HWTEST_F()
|