Home
last modified time | relevance | path

Searched refs:needNotifyApp (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_state_observer_manager_test/
H A Dapp_state_observer_manager_test.cpp218 bool needNotifyApp = false; variable
219 manager->OnAppStateChanged(appRecord, state, needNotifyApp, false);
236 bool needNotifyApp = false; variable
535 bool needNotifyApp = true; variable
558 bool needNotifyApp = false; variable
581 bool needNotifyApp = false; variable
603 bool needNotifyApp = false; variable
625 bool needNotifyApp = false; variable
648 bool needNotifyApp = false; variable
672 bool needNotifyApp = false; variable
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appstateobservermanager_fuzzer/
H A Dappstateobservermanager_fuzzer.cpp58 bool needNotifyApp = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
60 …appStateObserverManager->HandleAppStateChanged(appRecord, state, needNotifyApp, isFromWindowFocusC… in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_state_observer_manager.h63 bool needNotifyApp, bool isFromWindowFocusChanged);
79 bool needNotifyApp, bool isFromWindowFocusChanged);
H A Dapp_mgr_service_inner.h665 bool needNotifyApp, bool isFromWindowFocusChanged);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_state_observer_manager.cpp241 bool needNotifyApp, in OnAppStateChanged() argument
249 …auto task = [weak = weak_from_this(), appRecord, state, needNotifyApp, isFromWindowFocusChanged]()… in OnAppStateChanged()
257 self->HandleAppStateChanged(appRecord, state, needNotifyApp, isFromWindowFocusChanged); in OnAppStateChanged()
475 const ApplicationState state, bool needNotifyApp, bool isFromWindowFocusChanged) in HandleAppStateChanged() argument
482 if (needNotifyApp && !isFromWindowFocusChanged) { in HandleAppStateChanged()
498 data.bundleName.c_str(), data.uid, data.state, needNotifyApp); in HandleAppStateChanged()
508 if (valid && needNotifyApp) { in HandleAppStateChanged()
H A Dapp_mgr_service_inner.cpp1132 bool needNotifyApp = appRunningManager_->IsApplicationFirstForeground(*appRecord); in ApplicationForegrounded() local
1133 OnAppStateChanged(appRecord, ApplicationState::APP_STATE_FOREGROUND, needNotifyApp, false); in ApplicationForegrounded()
1175 bool needNotifyApp = !AAFwk::UIExtensionUtils::IsUIExtension(appRecord->GetExtensionType()) in ApplicationBackgrounded() local
1178 OnAppStateChanged(appRecord, ApplicationState::APP_STATE_BACKGROUND, needNotifyApp, false); in ApplicationBackgrounded()
2911 bool needNotifyApp, in OnAppStateChanged() argument
2932 appRecord, state, needNotifyApp, isFromWindowFocusChanged); in OnAppStateChanged()
5504 bool needNotifyApp = appRunningManager_->IsApplicationFirstFocused(*appRecord); in HandleFocused() local
5506 OnAppStateChanged(appRecord, ApplicationState::APP_STATE_FOREGROUND, needNotifyApp, true); in HandleFocused()
5537 bool needNotifyApp = appRunningManager_->IsApplicationUnfocused(appRecord->GetBundleName()); in HandleUnfocused() local
5538 OnAppStateChanged(appRecord, appRecord->GetState(), needNotifyApp, true); in HandleUnfocused()