Home
last modified time | relevance | path

Searched refs:taskHandler (Results 1 - 25 of 44) sorted by relevance

12

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Duser_event_handler.cpp23 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<UserController> &owner) in UserEventHandler()
24 : EventHandlerWrap(taskHandler), controller_(owner) in UserEventHandler()
22 UserEventHandler( const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<UserController> &owner) UserEventHandler() argument
H A Dability_bundle_event_callback.cpp34 std::shared_ptr<TaskHandlerWrap> taskHandler, std::shared_ptr<AbilityAutoStartupService> abilityAutoStartupService) in AbilityBundleEventCallback()
35 : taskHandler_(taskHandler), abilityAutoStartupService_(abilityAutoStartupService) {} in AbilityBundleEventCallback()
41 TAG_LOGE(AAFwkTag::ABILITYMGR, "OnReceiveEvent failed, taskHandler is nullptr"); in OnReceiveEvent()
33 AbilityBundleEventCallback( std::shared_ptr<TaskHandlerWrap> taskHandler, std::shared_ptr<AbilityAutoStartupService> abilityAutoStartupService) AbilityBundleEventCallback() argument
H A Dability_event_handler.cpp24 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<AbilityManagerService> &server) in AbilityEventHandler()
25 : EventHandlerWrap(taskHandler), server_(server) in AbilityEventHandler()
23 AbilityEventHandler( const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<AbilityManagerService> &server) AbilityEventHandler() argument
/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_second_test/
H A Dams_mgr_scheduler_second_test.cpp350 * @tc.expected: step1. expect taskHandler time(0) in HWTEST_F()
372 * @tc.expected: step1. expect taskHandler time(AtLeast(1)) in HWTEST_F()
551 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("AmsMgrSchedulerSecondTest_AbilityAttachTimeOut_002"); in HWTEST_F() local
553 std::make_shared<AmsMgrScheduler>(appMgrServiceInner, taskHandler); in HWTEST_F()
554 EXPECT_CALL(*taskHandler, SubmitTaskInner(_, _)).Times(0); in HWTEST_F()
558 * @tc.expected: step1. expect taskHandler times 0 in HWTEST_F()
575 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("AmsMgrSchedulerSecondTest_AbilityAttachTimeOut_003"); in HWTEST_F() local
577 std::make_shared<AmsMgrScheduler>(appMgrServiceInner, taskHandler); in HWTEST_F()
578 EXPECT_CALL(*taskHandler, SubmitTaskInner(_, _)).Times(AtLeast(1)).WillRepeatedly(Return(nullptr)); in HWTEST_F()
621 auto taskHandler in HWTEST_F() local
645 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("AmsMgrSchedulerSecondTest_PrepareTerminate_003"); HWTEST_F() local
691 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("UpdateApplicationInfoInstalled_002"); HWTEST_F() local
735 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("KillProcessesByAccessTokenId_002"); HWTEST_F() local
779 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("KillApplicationByUid_002"); HWTEST_F() local
824 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("KillApplicationByUid_002"); HWTEST_F() local
849 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("StartSpecifiedAbility_003"); HWTEST_F() local
897 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("KillApplicationByUid_002"); HWTEST_F() local
922 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("StartSpecifiedAbility_003"); HWTEST_F() local
1042 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("GetApplicationInfoByProcessID_002"); HWTEST_F() local
1087 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("SetAbilityForegroundingFlagToAppRecord_002"); HWTEST_F() local
1196 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("RegisterAppDebugListener_002"); HWTEST_F() local
1240 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("UnregisterAppDebugListener_002"); HWTEST_F() local
1413 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("UnregisterAppDebugListener_002"); HWTEST_F() local
1457 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("UnregisterAppDebugListener_002"); HWTEST_F() local
1501 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("GetWaitingDebugApp_002"); HWTEST_F() local
1546 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("IsWaitingDebugApp_002"); HWTEST_F() local
1591 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("RegisterAbilityDebugResponse_002"); HWTEST_F() local
1635 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("IsAttachDebug_002"); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service_event_handler.cpp23 AMSEventHandler::AMSEventHandler(const std::shared_ptr<AAFwk::TaskHandlerWrap> &taskHandler, in AMSEventHandler() argument
25 : AAFwk::EventHandlerWrap(taskHandler), appMgr_(appMgr) in AMSEventHandler()
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Dability_interceptor_executer.cpp56 void AbilityInterceptorExecuter::SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) in SetTaskHandler() argument
65 (item.second)->SetTaskHandler(taskHandler); in SetTaskHandler()
/foundation/ability/ability_runtime/test/unittest/ability_interceptor_third_test/
H A Dability_interceptor_third_test.cpp79 std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler = AAFwk::TaskHandlerWrap::CreateQueueHandler("SetTaskHandler"); in HWTEST_F() local
81 executer->SetTaskHandler(taskHandler); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/include/interceptor/
H A Ddisposed_rule_interceptor.h36 void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
38 taskHandler_ = taskHandler;
H A Dblock_all_app_start_interceptor.h28 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
H A Dscreen_unlock_interceptor.h28 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
H A Dcontrol_interceptor.h31 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
H A Dcrowd_test_interceptor.h28 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
H A Dability_interceptor_executer.h50 void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler);
H A Dstart_other_app_interceptor.h30 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
H A Dability_jump_interceptor.h32 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
H A Dability_interceptor_interface.h63 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) {}; in SetTaskHandler() argument
H A Decological_rule_interceptor.h37 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
/foundation/ability/ability_runtime/services/common/src/
H A Devent_handler_wrap.cpp29 EventHandlerWrap::EventHandlerWrap(std::shared_ptr<TaskHandlerWrap> taskHandler) in EventHandlerWrap() argument
30 : taskHandler_(taskHandler) in EventHandlerWrap()
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrinterceptorexecuter_fuzzer/
H A Dabilitymgrinterceptorexecuter_fuzzer.cpp80 std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler; in DoSomethingInterestingWithMyAPI() local
81 executer->SetTaskHandler(taskHandler); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_fourth_test/mock/include/
H A Dmock_ability_interceptor_executer.h50 void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler);
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Duser_event_handler.h29 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<UserController> &owner);
H A Dability_event_handler.h33 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<AbilityManagerService> &server);
H A Dability_bundle_event_callback.h34 explicit AbilityBundleEventCallback(std::shared_ptr<TaskHandlerWrap> taskHandler,
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service_event_handler.h27 AMSEventHandler(const std::shared_ptr<AAFwk::TaskHandlerWrap> &taskHandler,
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_sixth_test/
H A Dability_manager_service_sixth_test.cpp132 auto taskHandler = MockTaskHandlerWrap::CreateQueueHandler("AbilityManagerServiceSixthTest"); in MockAbilityManagerService() local
133 auto eventHandler = std::make_shared<AbilityEventHandler>(taskHandler, abilityMs); in MockAbilityManagerService()
134 abilityMs->taskHandler_ = taskHandler; in MockAbilityManagerService()
137 abilityMs->subManagersHelper_ = std::make_shared<SubManagersHelper>(taskHandler, eventHandler); in MockAbilityManagerService()
163 std::shared_ptr<MockTaskHandlerWrap> taskHandler = in HWTEST_F() local
165 abilityMs->taskHandler_ = taskHandler; in HWTEST_F()
166 EXPECT_CALL(*taskHandler, SubmitTaskInner(_, _)).Times(testing::AtLeast(1)); in HWTEST_F()
168 EXPECT_NE(taskHandler, nullptr); in HWTEST_F()
218 std::shared_ptr<MockTaskHandlerWrap> taskHandler = in HWTEST_F() local
220 EXPECT_CALL(*taskHandler, SubmitTaskInne in HWTEST_F()
252 std::shared_ptr<MockTaskHandlerWrap> taskHandler = HWTEST_F() local
[all...]

Completed in 11 milliseconds

12