Searched refs:appStateObserverManager (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appstateobservermanager_fuzzer/ |
H A D | appstateobservermanager_fuzzer.cpp | 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, isFromWindowFocusC… in DoSomethingInterestingWithMyAPI() 61 appStateObserverManager->HandleOnAppProcessDied(appRecord); in DoSomethingInterestingWithMyAPI() 63 appStateObserverManager->HandleOnRenderProcessCreated(renderRecord); in DoSomethingInterestingWithMyAPI() 64 appStateObserverManager->HandleOnRenderProcessDied(renderRecord); in DoSomethingInterestingWithMyAPI() 66 appStateObserverManager->HandleOnProcessCreated(processData); in DoSomethingInterestingWithMyAPI() 67 appStateObserverManager->HandleOnProcessStateChanged(appRecord); in DoSomethingInterestingWithMyAPI() [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | context_appstate_observer_test.cpp | 59 auto appStateObserverManager = Common::MakeShared<ContextAppStateObserverManager>(); variable 60 ASSERT_NE(appStateObserverManager, nullptr); 61 appStateObserverManager->SubscribeAppState(contextCallback, contextId); 62 appStateObserverManager->UnSubscribeAppState(); 68 auto appStateObserverManager = Common::MakeShared<ContextAppStateObserverManager>(); variable 69 ASSERT_NE(appStateObserverManager, nullptr); 70 appStateObserverManager->SubscribeAppState(nullptr, contextId); 79 ASSERT_NE(appStateObserverManager, nullptr); 80 appStateObserverManager->SubscribeAppState(contextCallback, contextId); 86 ASSERT_NE(appStateObserverManager, nullptr); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_state_observer_manager.cpp | 860 auto appStateObserverManager = thisWeakPtr.lock(); in AddObserverDeathRecipient() local 861 if (appStateObserverManager) { in AddObserverDeathRecipient() 862 appStateObserverManager->OnObserverDied(remote, type); in AddObserverDeathRecipient()
|