Home
last modified time | relevance | path

Searched refs:appScheduler (Results 1 - 14 of 14) sorted by relevance

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dassert_fault_callback_death_mgr.cpp62 auto appScheduler = DelayedSingleton<AAFwk::AppScheduler>::GetInstance(); in AddAssertFaultCallback() local
63 if (appScheduler == nullptr) { in AddAssertFaultCallback()
64 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appScheduler"); in AddAssertFaultCallback()
122 auto appScheduler = DelayedSingleton<AAFwk::AppScheduler>::GetInstance(); in CallAssertFaultCallback() local
123 if (appScheduler == nullptr) { in CallAssertFaultCallback()
124 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appScheduler"); in CallAssertFaultCallback()
H A Duser_controller.cpp98 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in StartUser() local
99 if (!appScheduler) { in StartUser()
100 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appScheduler"); in StartUser()
103 appScheduler->SetEnableStartProcessFlagByUserId(userId, true); in StartUser()
167 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in StopUser() local
168 if (!appScheduler) { in StopUser()
169 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appScheduler"); in StopUser()
172 appScheduler->KillProcessesByUserId(userId); in StopUser()
215 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in LogoutUser() local
216 if (!appScheduler) { in LogoutUser()
[all...]
H A Dability_record.cpp2495 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in DumpUIExtensionPid() local
2496 if (appScheduler == nullptr) { in DumpUIExtensionPid()
2497 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appScheduler"); in DumpUIExtensionPid()
2501 appScheduler->GetRunningProcessInfoByToken(GetToken(), processInfo); in DumpUIExtensionPid()
H A Dability_connect_manager.cpp2651 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in KillProcessesByUserId() local
2652 if (appScheduler == nullptr) { in KillProcessesByUserId()
2653 TAG_LOGE(AAFwkTag::ABILITYMGR, "appScheduler null"); in KillProcessesByUserId()
2656 IN_PROCESS_CALL_WITHOUT_RET(appScheduler->KillProcessesByUserId(userId_)); in KillProcessesByUserId()
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/
H A Ddata_ability_record.cpp197 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in AddClient() local
198 if (!appScheduler) { in AddClient()
199 TAG_LOGE(AAFwkTag::DATA_ABILITY, "get appScheduler failed"); in AddClient()
286 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in RemoveClients() local
287 if (!appScheduler) { in RemoveClients()
366 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in KillBoundClientProcesses() local
367 if (!appScheduler) { in KillBoundClientProcesses()
382 appScheduler->KillProcessByAbilityToken(clientAbilityRecord->GetToken()); in KillBoundClientProcesses()
478 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in OnSchedulerDied() local
479 if (!appScheduler) { in OnSchedulerDied()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Dstart_other_app_interceptor.cpp112 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in GetApplicationInfo() local
114 if (appScheduler != nullptr && in GetApplicationInfo()
115 appScheduler->GetApplicationInfoByProcessID(callerPid, applicationInfo, debug) == ERR_OK) { in GetApplicationInfo()
H A Dextension_control_interceptor.cpp77 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in GetCallerAbilityInfo() local
79 if (appScheduler != nullptr) { in GetCallerAbilityInfo()
80 appScheduler->GetRunningProcessInfoByToken(param.callerToken, processInfo); in GetCallerAbilityInfo()
/foundation/ability/ability_runtime/test/moduletest/ability_record_test/
H A Dability_record_module_test.cpp236 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in HWTEST_F() local
237 auto backupAppMgrClient = std::move(appScheduler->appMgrClient_); in HWTEST_F()
238 appScheduler->appMgrClient_ = std::move(mockAppMgrClient); in HWTEST_F()
243 appScheduler->appMgrClient_ = std::move(backupAppMgrClient); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/resident_process/
H A Dresident_process_manager.cpp235 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in OnAppStateChanged() local
236 if (appScheduler == nullptr) { in OnAppStateChanged()
240 appScheduler->GetBundleNameByPid(info.pid, bundleName, uid); in OnAppStateChanged()
/foundation/ability/ability_runtime/test/moduletest/running_infos_module_test/
H A Drunning_infos_module_test.cpp157 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in SetUpTestCase() local
160 appScheduler->appMgrClient_.reset(mockAppMgrClient_); in SetUpTestCase()
/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/
H A Dpanding_want_manager_test.cpp90 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in SetUpTestCase() local
93 appScheduler->appMgrClient_.reset(appClient); in SetUpTestCase()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service.cpp189 auto appScheduler = iface_cast<IAppScheduler>(app); in AttachApplication() local
190 if (appScheduler == nullptr) { in AttachApplication()
191 TAG_LOGE(AAFwkTag::APPMGR, "appScheduler null"); in AttachApplication()
193 std::function<void()> attachApplicationFunc = [appMgrServiceInner = appMgrServiceInner_, pid, appScheduler]() { in AttachApplication()
194 appMgrServiceInner->AttachApplication(pid, appScheduler); in AttachApplication()
H A Dapp_mgr_service_inner.cpp998 void AppMgrServiceInner::AttachApplication(const pid_t pid, const sptr<IAppScheduler> &appScheduler) in AttachApplication() argument
1020 if (appScheduler == nullptr) { in AttachApplication()
1031 auto object = appScheduler->AsObject(); in AttachApplication()
1038 appRecord->SetApplicationClient(appScheduler); in AttachApplication()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service_inner.h206 * @param appScheduler, information needed to start the Application.
210 virtual void AttachApplication(const pid_t pid, const sptr<IAppScheduler> &appScheduler);

Completed in 33 milliseconds