/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_scheduler.cpp | 118 CHECK_POINTER(appMgrClient_); in MoveToForeground() 127 CHECK_POINTER(appMgrClient_); in MoveToBackground() 135 CHECK_POINTER(appMgrClient_); in UpdateAbilityState() 142 CHECK_POINTER(appMgrClient_); in UpdateExtensionState() 150 CHECK_POINTER(appMgrClient_); in AbilityBehaviorAnalysis() 599 if (!appMgrClient_) { in IsMemorySizeSufficent() 622 if (!appMgrClient_) { in IsKilledForUpgradeWeb() 633 if (!appMgrClient_) { in CleanAbilityByUserRequest() 642 if (!appMgrClient_) { in IsProcessContainsOnlyUIAbility() 650 if (!appMgrClient_) { in IsProcessAttached() [all …]
|
/ohos5.0/base/web/webview/ohos_adapter/aafwk_adapter/src/ |
H A D | aafwk_app_mgr_client_adapter_impl.cpp | 35 : appMgrClient_(std::make_unique<AppExecFwk::AppMgrClient>()) in AafwkAppMgrClientAdapterImpl() 41 if (appMgrClient_ == nullptr) { in StartRenderProcess() 49 … ret = appMgrClient_->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid, false); in StartRenderProcess() 71 if (appMgrClient_ == nullptr) { in AttachRenderProcess() 87 appMgrClient_->AttachRenderProcess(renderScheduler); in AttachRenderProcess() 92 if (appMgrClient_ == nullptr) { in GetRenderProcessTerminationStatus() 99 int ret = appMgrClient_->GetRenderProcessTerminationStatus(renderPid, status); in GetRenderProcessTerminationStatus() 118 if (appMgrClient_ == nullptr) { in StartChildProcess() 131 … ret = appMgrClient_->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid, isGPU); in StartChildProcess() 153 if (appMgrClient_ == nullptr) { in SaveBrowserConnect() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/ |
H A D | app_scheduler_test.cpp | 96 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 112 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 184 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_.reset(); 232 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 296 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 341 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 389 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 460 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 518 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; 570 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = nullptr; [all …]
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | watchdog.cpp | 73 if (appMgrClient_ == nullptr) { in KillApplicationByUid() 74 appMgrClient_ = std::make_unique<AppExecFwk::AppMgrClient>(); in KillApplicationByUid() 75 if (appMgrClient_ == nullptr) { in KillApplicationByUid() 79 int32_t result = static_cast<int32_t>(appMgrClient_->ConnectAppMgrService()); in KillApplicationByUid() 85 int32_t ret = (int32_t)appMgrClient_->KillApplicationByUid(bundleName, uid); in KillApplicationByUid()
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/ |
H A D | memory_level_manager.cpp | 102 DECLARE_UNIQUE_POINTER(AppExecFwk::AppMgrClient, appMgrClient_); in NotifyMemoryLevel() 103 MAKE_POINTER(appMgrClient_, unique, AppExecFwk::AppMgrClient, "make unique failed", return, in NotifyMemoryLevel() 113 appMgrClient_->NotifyMemoryLevel(AppExecFwk::MemoryLevel::MEMORY_LEVEL_MODERATE); in NotifyMemoryLevel() 118 appMgrClient_->NotifyMemoryLevel(AppExecFwk::MemoryLevel::MEMORY_LEVEL_LOW); in NotifyMemoryLevel() 123 appMgrClient_->NotifyMemoryLevel(AppExecFwk::MemoryLevel::MEMORY_LEVEL_CRITICAL); in NotifyMemoryLevel()
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
H A D | action_application_process.cpp | 51 if (appMgrClient_ == nullptr) { in InitParams() 52 appMgrClient_ = std::make_unique<AppMgrClient>(); in InitParams() 108 result = appMgrClient_->KillApplication(bundleName); in KillApplicationAction() 120 result = appMgrClient_->GetAllRunningProcesses(info); in GetRunningProcessInfo()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/fold_screen_controller/sensor_fold_state_manager/ |
H A D | dual_display_sensor_fold_state_manager.cpp | 143 auto appMgrClient_ = DelayedSingleton<AppExecFwk::AppMgrClient>::GetInstance(); in RegisterApplicationStateObserver() local 144 if (appMgrClient_ == nullptr) { in RegisterApplicationStateObserver() 149 …appMgrClient_->RegisterApplicationStateObserver(applicationStateObserver_, hallSwitchPackageNameLi… in RegisterApplicationStateObserver()
|
H A D | single_display_sensor_pocket_fold_state_manager.cpp | 230 auto appMgrClient_ = DelayedSingleton<AppExecFwk::AppMgrClient>::GetInstance(); in RegisterApplicationStateObserver() local 235 if (appMgrClient_ == nullptr) { in RegisterApplicationStateObserver() 239 …appMgrClient_->RegisterApplicationStateObserver(applicationStateObserver_, hallSwitchPackageNameLi… in RegisterApplicationStateObserver()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 141 if (appMgrClient_ == nullptr) { in HandlePersistenceData() 142 appMgrClient_ = std::make_unique<AppExecFwk::AppMgrClient>(); in HandlePersistenceData() 143 if (!appMgrClient_ || appMgrClient_->ConnectAppMgrService() != ERR_OK) { in HandlePersistenceData() 151 appMgrClient_->GetAllRunningProcesses(allAppProcessInfos); in HandlePersistenceData() 253 if (!appMgrClient_ || appMgrClient_->ConnectAppMgrService() != ERR_OK) { in CheckAlivedApp() 258 appMgrClient_->GetAllRunningProcesses(allAppProcessInfos); in CheckAlivedApp() 287 if (!appMgrClient_ || appMgrClient_->ConnectAppMgrService() != ERR_OK) { in IsServiceExtensionType() 294 appMgrClient_->GetAllRunningProcesses(allRunningProcessInfos); in IsServiceExtensionType()
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/ |
H A D | mem_mgr_event_center.cpp | 148 MAKE_POINTER(appMgrClient_, unique, AppExecFwk::AppMgrClient, "make appMgrClient failed", in RegisterAppStateObserver() 151 while (appMgrClient_->ConnectAppMgrService() != AppExecFwk::AppMgrResultCode::RESULT_OK) { in RegisterAppStateObserver() 285 appMgrClient_ = nullptr; in UnregisterEventObserver()
|
/ohos5.0/base/web/webview/test/unittest/aafwk_app_client_adapter/ |
H A D | nweb_aafwk_adapter_test.cpp | 236 g_adapter->appMgrClient_.reset((AppMgrClient *)mock); 259 g_adapter->appMgrClient_.reset((AppMgrClient *)mock); 302 g_adapter->appMgrClient_.reset((AppMgrClient *)mock); 326 g_adapter->appMgrClient_.reset((AppMgrClient *)mock); 350 g_adapter->appMgrClient_.reset((AppMgrClient *)mock); 372 g_adapter->appMgrClient_ = nullptr;
|
/ohos5.0/base/web/webview/ohos_adapter/aafwk_adapter/include/ |
H A D | aafwk_app_mgr_client_adapter_impl.h | 47 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_;
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | watchdog.h | 45 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/event/ |
H A D | mem_mgr_event_center.h | 75 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
|
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_action/action/ |
H A D | action_application_process.h | 56 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_record_test/ |
H A D | ability_record_module_test.cpp | 237 auto backupAppMgrClient = std::move(appScheduler->appMgrClient_); 238 appScheduler->appMgrClient_ = std::move(mockAppMgrClient); 243 appScheduler->appMgrClient_ = std::move(backupAppMgrClient);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/ |
H A D | bg_efficiency_resources_mgr.h | 112 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_ {nullptr};
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | app_scheduler.h | 527 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
|
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | standby_service_impl.h | 197 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_ {nullptr};
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/running_infos_module_test/ |
H A D | running_infos_module_test.cpp | 160 appScheduler->appMgrClient_.reset(mockAppMgrClient_); in SetUpTestCase()
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/ |
H A D | panding_want_manager_test.cpp | 93 appScheduler->appMgrClient_.reset(appClient); in SetUpTestCase()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 386 auto appMgrClient_ = DelayedSingleton<AppExecFwk::AppMgrClient>::GetInstance(); in RegisterAppListener() local 387 if (appMgrClient_ == nullptr) { in RegisterAppListener() 392 auto flag = static_cast<int32_t>(appMgrClient_->RegisterAppDebugListener(appAnrListener_)); in RegisterAppListener()
|