Home
last modified time | relevance | path

Searched refs:appMgrClient_ (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dapp_scheduler.cpp118 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 Daafwk_app_mgr_client_adapter_impl.cpp35 : 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 Dapp_scheduler_test.cpp96 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 Dwatchdog.cpp73 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 Dmemory_level_manager.cpp102 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 Daction_application_process.cpp51 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 Ddual_display_sensor_fold_state_manager.cpp143 auto appMgrClient_ = DelayedSingleton<AppExecFwk::AppMgrClient>::GetInstance(); in RegisterApplicationStateObserver() local
144 if (appMgrClient_ == nullptr) { in RegisterApplicationStateObserver()
149appMgrClient_->RegisterApplicationStateObserver(applicationStateObserver_, hallSwitchPackageNameLi… in RegisterApplicationStateObserver()
H A Dsingle_display_sensor_pocket_fold_state_manager.cpp230 auto appMgrClient_ = DelayedSingleton<AppExecFwk::AppMgrClient>::GetInstance(); in RegisterApplicationStateObserver() local
235 if (appMgrClient_ == nullptr) { in RegisterApplicationStateObserver()
239appMgrClient_->RegisterApplicationStateObserver(applicationStateObserver_, hallSwitchPackageNameLi… in RegisterApplicationStateObserver()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp141 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 Dmem_mgr_event_center.cpp148 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 Dnweb_aafwk_adapter_test.cpp236 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 Daafwk_app_mgr_client_adapter_impl.h47 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_;
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/include/
H A Dwatchdog.h45 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/event/
H A Dmem_mgr_event_center.h75 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
H A Daction_application_process.h56 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_record_test/
H A Dability_record_module_test.cpp237 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 Dbg_efficiency_resources_mgr.h112 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_ {nullptr};
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dapp_scheduler.h527 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_; variable
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service_impl.h197 std::unique_ptr<AppExecFwk::AppMgrClient> appMgrClient_ {nullptr};
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/running_infos_module_test/
H A Drunning_infos_module_test.cpp160 appScheduler->appMgrClient_.reset(mockAppMgrClient_); in SetUpTestCase()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/
H A Dpanding_want_manager_test.cpp93 appScheduler->appMgrClient_.reset(appClient); in SetUpTestCase()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp386 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()