Home
last modified time | relevance | path

Searched refs:appStateObserverManager (Results 1 - 2 of 2) sorted by relevance

/foundation/ability/ability_runtime/test/fuzztest/appstateobservermanager_fuzzer/
H A Dappstateobservermanager_fuzzer.cpp47 std::shared_ptr<AppStateObserverManager> appStateObserverManager = std::make_shared<AppStateObserverManager>(); in DoSomethingInterestingWithMyAPI() local
48 if (appStateObserverManager == nullptr) { in DoSomethingInterestingWithMyAPI()
53 appStateObserverManager->RegisterApplicationStateObserver(observer, bundleNameList); in DoSomethingInterestingWithMyAPI()
54 appStateObserverManager->UnregisterApplicationStateObserver(observer); in DoSomethingInterestingWithMyAPI()
56 appStateObserverManager->HandleOnAppProcessCreated(appRecord, false); in DoSomethingInterestingWithMyAPI()
60 appStateObserverManager->HandleAppStateChanged(appRecord, state, needNotifyApp, isFromWindowFocusChanged); in DoSomethingInterestingWithMyAPI()
61 appStateObserverManager->HandleOnAppProcessDied(appRecord); in DoSomethingInterestingWithMyAPI()
63 appStateObserverManager->HandleOnRenderProcessCreated(renderRecord); in DoSomethingInterestingWithMyAPI()
64 appStateObserverManager->HandleOnRenderProcessDied(renderRecord); in DoSomethingInterestingWithMyAPI()
66 appStateObserverManager in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_state_observer_manager.cpp938 auto appStateObserverManager = thisWeakPtr.lock(); in AddObserverDeathRecipient()
939 if (appStateObserverManager) { in AddObserverDeathRecipient()
940 appStateObserverManager->OnObserverDied(remote, type); in AddObserverDeathRecipient()

Completed in 3 milliseconds