Home
last modified time | relevance | path

Searched refs:serviceInner (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_death_recipient.cpp38 auto serviceInner = appMgrServiceInner_.lock(); in OnRemoteDied() local
39 if (!serviceInner) { in OnRemoteDied()
44 auto onRemoteDiedFunc = [serviceInner, remote, in OnRemoteDied()
47 serviceInner->OnRemoteDied(remote, isRenderProcess, isChildProcess); in OnRemoteDied()
57 …d AppDeathRecipient::SetAppMgrServiceInner(const std::shared_ptr<AppMgrServiceInner> &serviceInner) in SetAppMgrServiceInner() argument
59 appMgrServiceInner_ = serviceInner; in SetAppMgrServiceInner()
H A Dwindow_visibility_changed_listener.cpp44 auto serviceInner = inner.lock(); in OnWindowVisibilityChanged() local
45 if (serviceInner == nullptr) { in OnWindowVisibilityChanged()
49 serviceInner->HandleWindowVisibilityChanged(windowVisibilityInfos); in OnWindowVisibilityChanged()
H A Dmodule_running_record.cpp189 auto serviceInner = appMgrServiceInner_.lock(); in OnAbilityStateChanged() local
190 if (serviceInner) { in OnAbilityStateChanged()
191 serviceInner->OnAbilityStateChanged(ability, state); in OnAbilityStateChanged()
270 auto serviceInner = appMgrServiceInner_.lock(); in TerminateAbility() local
271 if (serviceInner) { in TerminateAbility()
272 serviceInner->TerminateApplication(appRecord); in TerminateAbility()
H A Dapp_running_record.cpp641 auto serviceInner = appMgrServiceInner_.lock(); in ScheduleTerminate() local
642 if (serviceInner != nullptr) { in ScheduleTerminate()
643 isLastProcess = serviceInner->IsFinalAppProcessByBundleName(GetBundleName()); in ScheduleTerminate()
676 auto serviceInner = appMgrServiceInner_; in ScheduleBackgroundRunning() local
677 auto appbackgroundtask = [recordId, serviceInner]() { in ScheduleBackgroundRunning()
678 auto serviceInnerObj = serviceInner.lock(); in ScheduleBackgroundRunning()
872 auto serviceInner = appMgrServiceInner_.lock(); in StateChangedNotifyObserver() local
873 if (serviceInner) { in StateChangedNotifyObserver()
1009 auto serviceInner = appMgrServiceInner_.lock(); in AbilityForeground() local
1010 if (serviceInner) { in AbilityForeground()
[all …]
H A Dapp_running_manager.cpp545 std::shared_ptr<AppMgrServiceInner> serviceInner) in HandleAbilityAttachTimeOut() argument
564 if (isSCB && appRecord->GetPriorityObject() && serviceInner != nullptr) { in HandleAbilityAttachTimeOut()
566 (void)serviceInner->KillProcessByPid(pid, "AttachTimeoutKillSCB"); in HandleAbilityAttachTimeOut()
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/cacheprocessmanagera_fuzzer/
H A Dcacheprocessmanagera_fuzzer.cpp98 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); in CacheProcessManagerFuzztestFunc1() local
99 mgr->SetAppMgr(serviceInner); in CacheProcessManagerFuzztestFunc1()
130 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); in CacheProcessManagerFuzztestFunc2() local
131 mgr->SetAppMgr(serviceInner); // appInner not null in CacheProcessManagerFuzztestFunc2()
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appmgrrest_fuzzer/
H A Dappmgrrest_fuzzer.cpp75 std::shared_ptr<AppMgrServiceInner> serviceInner; in DoSomethingInterestingWithMyAPI() local
76 appDeathRecipient->SetAppMgrServiceInner(serviceInner); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_death_recipient.h43 void SetAppMgrServiceInner(const std::shared_ptr<AppMgrServiceInner> &serviceInner);
H A Dapp_running_manager.h242 …yAttachTimeOut(const sptr<IRemoteObject> &token, std::shared_ptr<AppMgrServiceInner> serviceInner);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/
H A Dams_app_running_record_test.cpp1324 std::shared_ptr<AppMgrServiceInner> serviceInner; variable
1325 serviceInner.reset(new (std::nothrow) AppMgrServiceInner());
1326 EXPECT_TRUE(serviceInner);
1329 serviceInner->RegisterAppStateCallback(callback);
1330 record->SetAppMgrServiceInner(serviceInner);
2360 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); variable
2361 …std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner);
2413 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); variable
2414 …std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner);
3015 std::shared_ptr<AppMgrServiceInner> serviceInner = std::make_shared<AppMgrServiceInner>(); variable
[all …]