/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_death_recipient.h | 25 class AppMgrServiceInner; 43 void SetAppMgrServiceInner(const std::shared_ptr<AppMgrServiceInner> &serviceInner); 53 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_; 58 AppStateCallbackDeathRecipient(std::weak_ptr<AppMgrServiceInner> appMgrServiceInner); 61 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_;
|
H A D | window_visibility_changed_listener.h | 25 class AppMgrServiceInner; 30 const std::weak_ptr<AppMgrServiceInner> &appInner, const std::shared_ptr<AAFwk::TaskHandlerWrap> &handler); 37 std::weak_ptr<AppMgrServiceInner> appServiceInner_;
|
H A D | window_pid_visibility_changed_listener.h | 25 class AppMgrServiceInner; 30 const std::weak_ptr<AppMgrServiceInner> &appInner, const std::shared_ptr<AAFwk::TaskHandlerWrap> &handler); 37 std::weak_ptr<AppMgrServiceInner> appServiceInner_;
|
H A D | window_focus_changed_listener.h | 26 class AppMgrServiceInner; 30 WindowFocusChangedListener(const std::shared_ptr<AppMgrServiceInner>& owner, 38 std::weak_ptr<AppMgrServiceInner> owner_;
|
H A D | app_mgr_service_event_handler.h | 23 class AppMgrServiceInner; 28 const std::weak_ptr<AppMgrServiceInner> &appMgr); 63 std::weak_ptr<AppMgrServiceInner> appMgr_;
|
H A D | module_running_record.h | 42 class AppMgrServiceInner; 138 void SetAppMgrServiceInner(const std::weak_ptr<AppMgrServiceInner> &inner); 176 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_;
|
H A D | cache_process_manager.h | 35 void SetAppMgr(const std::weak_ptr<AppMgrServiceInner> &appMgr); 64 std::weak_ptr<AppMgrServiceInner> appMgr_;
|
H A D | app_running_manager.h | 143 std::shared_ptr<AppMgrServiceInner> appMgrServiceInner); 242 void HandleAbilityAttachTimeOut(const sptr<IRemoteObject> &token, std::shared_ptr<AppMgrServiceInner> serviceInner); 245 std::shared_ptr<AppMgrServiceInner> appMgrServiceInner); 361 const std::shared_ptr<AppMgrServiceInner>& appMgrServiceInner);
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/include/ |
H A D | mock_app_mgr_service_inner.h | 26 * @class AppMgrServiceInner 27 * AppMgrServiceInner provides a facility for managing ability life cycle. 29 class AppMgrServiceInner : public std::enable_shared_from_this<AppMgrServiceInner> { class 31 AppMgrServiceInner() = default; 32 virtual ~AppMgrServiceInner() = default;
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/ |
H A D | app_mgr_service_inner_test.cpp | 51 WindowFocusChangedListener(const std::shared_ptr<AppMgrServiceInner>& owner, 59 std::weak_ptr<AppMgrServiceInner> owner_; 142 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 145 auto context = new (std::nothrow) std::weak_ptr<AppMgrServiceInner>(appMgrServiceInner); in HWTEST_F() 166 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 169 auto context = new (std::nothrow) std::weak_ptr<AppMgrServiceInner>(appMgrServiceInner); in HWTEST_F() 190 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 193 auto context = new (std::nothrow) std::weak_ptr<AppMgrServiceInner>(appMgrServiceInner); in HWTEST_F() 214 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 217 auto context = new (std::nothrow) std::weak_ptr<AppMgrServiceInner>(appMgrServiceInne in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service_inner.cpp | 231 constexpr const char* EVENT_MESSAGE_DEFAULT = "AppMgrServiceInner HandleTimeOut!"; 305 AppMgrServiceInner::AppMgrServiceInner() in AppMgrServiceInner() function in OHOS::AppExecFwk::AppMgrServiceInner 318 void AppMgrServiceInner::Init() in Init() 339 AppMgrServiceInner::~AppMgrServiceInner() in ~AppMgrServiceInner() 342 void AppMgrServiceInner::StartSpecifiedProcess(const AAFwk::Want &want, const AppExecFwk::AbilityInfo &abilityInfo, in StartSpecifiedProcess() 388 int32_t AppMgrServiceInner::PreloadApplication(const std::string &bundleName, int32_t userId, in PreloadApplication() 443 void AppMgrServiceInner::HandlePreloadApplication(const PreloadRequest &request) in HandlePreloadApplication() 491 int32_t AppMgrServiceInner [all...] |
H A D | app_death_recipient.cpp | 57 void AppDeathRecipient::SetAppMgrServiceInner(const std::shared_ptr<AppMgrServiceInner> &serviceInner) in SetAppMgrServiceInner() 72 AppStateCallbackDeathRecipient::AppStateCallbackDeathRecipient(std::weak_ptr<AppMgrServiceInner> appMgrServiceInner) in AppStateCallbackDeathRecipient()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/ |
H A D | app_mgr_service_inner_mock_test.cpp | 49 * Feature: AppMgrServiceInner 53 * FunctionPoints: AppMgrServiceInner MakeKiaProcess 58 auto serviceInner_ = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 90 * Feature: AppMgrServiceInner 94 * FunctionPoints: AppMgrServiceInner MakeKiaProcess 99 auto serviceInner_ = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 121 * Feature: AppMgrServiceInner 125 * FunctionPoints: AppMgrServiceInner MakeKiaProcess 130 auto serviceInner_ = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 152 * Feature: AppMgrServiceInner [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_tdd_test/ |
H A D | app_mgr_service_inner_tdd_test.cpp | 109 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 124 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 146 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 174 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 205 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 237 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 270 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 313 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 357 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 374 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_event_handler_test/ |
H A D | app_mgr_service_event_handler_test.cpp | 36 const std::shared_ptr<AppMgrServiceInner>& appMgrService); 55 std::shared_ptr<AppMgrServiceInner> testAms; 93 testAms = std::make_shared<AppMgrServiceInner>(); in SetUp() 100 const std::shared_ptr<AAFwk::TaskHandlerWrap>& runner, const std::shared_ptr<AppMgrServiceInner>& appMgrService) in MockAMSEventHandler()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/src/ |
H A D | mock_app_mgr_service_inner.cpp | 27 int32_t AppMgrServiceInner::MakeKiaProcess(std::shared_ptr<AAFwk::Want> want, bool &isKia, in MakeKiaProcess() 57 int32_t AppMgrServiceInner::ProcessKia(bool isKia, std::shared_ptr<AppRunningRecord> appRecord, in ProcessKia() 85 int AppMgrServiceInner::RegisterKiaInterceptor(const sptr<IKiaInterceptor> &interceptor) in RegisterKiaInterceptor() 101 int32_t AppMgrServiceInner::CheckIsKiaProcess(pid_t pid, bool &isKia) in CheckIsKiaProcess()
|
/foundation/ability/ability_runtime/test/fuzztest/cacheprocessmanagerb_fuzzer/ |
H A D | cacheprocessmanagerb_fuzzer.cpp | 71 std::shared_ptr<AppMgrServiceInner> serviceInner1; in CacheProcessManagerFuzztestFunc1() 93 std::shared_ptr<AppMgrServiceInner> serviceInner2 = std::make_shared<AppMgrServiceInner>(); in CacheProcessManagerFuzztestFunc1() 112 std::shared_ptr<AppMgrServiceInner> serviceInner1; in CacheProcessManagerFuzztestFunc2() 126 std::shared_ptr<AppMgrServiceInner> serviceInner2 = std::make_shared<AppMgrServiceInner>(); in CacheProcessManagerFuzztestFunc2()
|
/foundation/ability/ability_runtime/test/unittest/ams_mgr_kill_process_test/ |
H A D | ams_mgr_kill_process_test.cpp | 46 std::shared_ptr<AppMgrServiceInner> GetAppMgrServiceInner(void); 64 std::shared_ptr<AppMgrServiceInner> AmsMgrKillProcessTest::GetAppMgrServiceInner(void) in GetAppMgrServiceInner() 66 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in GetAppMgrServiceInner() 89 * Feature: AppMgrServiceInner 94 * CaseDescription: creat AppMgrServiceInner object, call function.
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/ |
H A D | app_mgr_service_inner_second_test.cpp | 149 AppMgrServiceInner appMgrServiceInner; in HWTEST_F() 163 AppMgrServiceInner appMgrServiceInner; in HWTEST_F() 179 AppMgrServiceInner appMgrServiceInner; in HWTEST_F() 198 AppMgrServiceInner appMgrServiceInner; in HWTEST_F() 211 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 241 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 269 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 284 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 307 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() 331 auto appMgrServiceInner = std::make_shared<AppMgrServiceInner>(); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/ |
H A D | app_mgr_service_test.cpp | 154 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 239 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 274 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 291 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 326 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 380 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 416 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 452 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 489 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() 541 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/cacheprocessmanagera_fuzzer/ |
H A D | cacheprocessmanagera_fuzzer.cpp | 71 std::shared_ptr<AppMgrServiceInner> serviceInner1; in CacheProcessManagerFuzztestFunc1() 98 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); in CacheProcessManagerFuzztestFunc1() 106 std::shared_ptr<AppMgrServiceInner> serviceInner1; in CacheProcessManagerFuzztestFunc2() 130 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); in CacheProcessManagerFuzztestFunc2() 156 std::shared_ptr<AppMgrServiceInner> serviceInner1; in CacheProcessManagerFuzztestFunc3()
|
/foundation/ability/ability_runtime/test/unittest/window_visibility_changed_listener_test/ |
H A D | window_visibility_changed_listener_test.cpp | 71 std::weak_ptr<AppMgrServiceInner> appInner; in HWTEST_F() 88 std::weak_ptr<AppMgrServiceInner> appInner; in HWTEST_F() 112 std::weak_ptr<AppMgrServiceInner> appInner; in HWTEST_F()
|
/foundation/ability/ability_runtime/test/fuzztest/amsmanager_fuzzer/ |
H A D | amsmanager_fuzzer.cpp | 61 std::shared_ptr<AppMgrServiceInner> appMgrServiceInner = std::make_shared<AppMgrServiceInner>();
in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/appmgrrest_fuzzer/ |
H A D | appmgrrest_fuzzer.cpp | 75 std::shared_ptr<AppMgrServiceInner> serviceInner; in DoSomethingInterestingWithMyAPI() 96 std::shared_ptr<AppMgrServiceInner> owner; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_recent_list_test/ |
H A D | ams_app_recent_list_module_test.cpp | 59 std::shared_ptr<AppMgrServiceInner> serviceInner_{ nullptr }; 72 serviceInner_.reset(new (std::nothrow) AppMgrServiceInner()); in SetUp()
|