/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | user_event_handler.cpp | 23 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 D | ability_bundle_event_callback.cpp | 34 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 D | ability_event_handler.cpp | 24 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 D | ams_mgr_scheduler_second_test.cpp | 350 * @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 D | app_mgr_service_event_handler.cpp | 23 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 D | ability_interceptor_executer.cpp | 56 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 D | ability_interceptor_third_test.cpp | 79 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 D | disposed_rule_interceptor.h | 36 void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override 38 taskHandler_ = taskHandler;
|
H A D | block_all_app_start_interceptor.h | 28 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
H A D | screen_unlock_interceptor.h | 28 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
H A D | control_interceptor.h | 31 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
H A D | crowd_test_interceptor.h | 28 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
H A D | ability_interceptor_executer.h | 50 void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler);
|
H A D | start_other_app_interceptor.h | 30 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
H A D | ability_jump_interceptor.h | 32 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
H A D | ability_interceptor_interface.h | 63 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) {}; in SetTaskHandler() argument
|
H A D | ecological_rule_interceptor.h | 37 virtual void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler) override
|
/foundation/ability/ability_runtime/services/common/src/ |
H A D | event_handler_wrap.cpp | 29 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 D | abilitymgrinterceptorexecuter_fuzzer.cpp | 80 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 D | mock_ability_interceptor_executer.h | 50 void SetTaskHandler(std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler);
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | user_event_handler.h | 29 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<UserController> &owner);
|
H A D | ability_event_handler.h | 33 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<AbilityManagerService> &server);
|
H A D | ability_bundle_event_callback.h | 34 explicit AbilityBundleEventCallback(std::shared_ptr<TaskHandlerWrap> taskHandler,
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_mgr_service_event_handler.h | 27 AMSEventHandler(const std::shared_ptr<AAFwk::TaskHandlerWrap> &taskHandler,
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_sixth_test/ |
H A D | ability_manager_service_sixth_test.cpp | 132 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...] |