/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | assert_fault_callback_death_mgr.cpp | 62 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 D | user_controller.cpp | 98 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 D | ability_record.cpp | 2495 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 D | ability_connect_manager.cpp | 2651 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 D | data_ability_record.cpp | 197 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 D | start_other_app_interceptor.cpp | 112 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 D | extension_control_interceptor.cpp | 77 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 D | ability_record_module_test.cpp | 236 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 D | resident_process_manager.cpp | 235 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 D | running_infos_module_test.cpp | 157 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 D | panding_want_manager_test.cpp | 90 auto appScheduler = DelayedSingleton<AppScheduler>::GetInstance(); in SetUpTestCase() local 93 appScheduler->appMgrClient_.reset(appClient); in SetUpTestCase()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 189 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 D | app_mgr_service_inner.cpp | 998 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 D | app_mgr_service_inner.h | 206 * @param appScheduler, information needed to start the Application. 210 virtual void AttachApplication(const pid_t pid, const sptr<IAppScheduler> &appScheduler);
|