Home
last modified time | relevance | path

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

/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, isFromWindowFocusChanged); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/unittest/app_state_observer_manager_test/
H A Dapp_state_observer_manager_test.cpp218 bool needNotifyApp = false; in HWTEST_F() local
219 manager->OnAppStateChanged(appRecord, state, needNotifyApp, false); in HWTEST_F()
236 bool needNotifyApp = false; in HWTEST_F() local
238 manager->OnAppStateChanged(appRecord, state, needNotifyApp, false); in HWTEST_F()
643 bool needNotifyApp = true; in HWTEST_F() local
648 manager->HandleAppStateChanged(appRecord, state, needNotifyApp, false); in HWTEST_F()
666 bool needNotifyApp = false; in HWTEST_F() local
671 manager->HandleAppStateChanged(appRecord, state, needNotifyApp, false); in HWTEST_F()
689 bool needNotifyApp = false; in HWTEST_F() local
693 manager->HandleAppStateChanged(appRecord, state, needNotifyApp, fals in HWTEST_F()
711 bool needNotifyApp = false; HWTEST_F() local
733 bool needNotifyApp = false; HWTEST_F() local
756 bool needNotifyApp = false; HWTEST_F() local
780 bool needNotifyApp = false; HWTEST_F() local
802 bool needNotifyApp = false; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_state_observer_manager.h63 bool needNotifyApp, bool isFromWindowFocusChanged);
83 bool needNotifyApp, bool isFromWindowFocusChanged);
H A Dapp_mgr_service_inner.h669 bool needNotifyApp, bool isFromWindowFocusChanged);
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_state_observer_manager.cpp241 bool needNotifyApp, in OnAppStateChanged()
249 auto task = [weak = weak_from_this(), appRecord, state, needNotifyApp, isFromWindowFocusChanged]() { in OnAppStateChanged()
257 self->HandleAppStateChanged(appRecord, state, needNotifyApp, isFromWindowFocusChanged); in OnAppStateChanged()
513 const ApplicationState state, bool needNotifyApp, bool isFromWindowFocusChanged) in HandleAppStateChanged()
520 if (needNotifyApp && !isFromWindowFocusChanged) { in HandleAppStateChanged()
536 data.bundleName.c_str(), data.uid, data.state, needNotifyApp); in HandleAppStateChanged()
546 if (valid && needNotifyApp) { in HandleAppStateChanged()
238 OnAppStateChanged( const std::shared_ptr<AppRunningRecord> &appRecord, const ApplicationState state, bool needNotifyApp, bool isFromWindowFocusChanged) OnAppStateChanged() argument
512 HandleAppStateChanged(const std::shared_ptr<AppRunningRecord> &appRecord, const ApplicationState state, bool needNotifyApp, bool isFromWindowFocusChanged) HandleAppStateChanged() argument
H A Dapp_mgr_service_inner.cpp1183 bool needNotifyApp = appRunningManager_->IsApplicationFirstForeground(*appRecord); in ApplicationForegrounded() local
1184 OnAppStateChanged(appRecord, ApplicationState::APP_STATE_FOREGROUND, needNotifyApp, false); in ApplicationForegrounded()
1226 bool needNotifyApp = !AAFwk::UIExtensionUtils::IsUIExtension(appRecord->GetExtensionType()) in ApplicationBackgrounded() local
1229 OnAppStateChanged(appRecord, ApplicationState::APP_STATE_BACKGROUND, needNotifyApp, false); in ApplicationBackgrounded()
2901 bool needNotifyApp, in OnAppStateChanged()
2922 appRecord, state, needNotifyApp, isFromWindowFocusChanged); in OnAppStateChanged()
5483 bool needNotifyApp = appRunningManager_->IsApplicationFirstFocused(*appRecord); in HandleFocused() local
5485 OnAppStateChanged(appRecord, ApplicationState::APP_STATE_FOREGROUND, needNotifyApp, true); in HandleFocused()
5516 bool needNotifyApp = appRunningManager_->IsApplicationUnfocused(appRecord->GetBundleName()); in HandleUnfocused() local
5517 OnAppStateChanged(appRecord, appRecord->GetState(), needNotifyApp, tru in HandleUnfocused()
2898 OnAppStateChanged( const std::shared_ptr<AppRunningRecord> &appRecord, const ApplicationState state, bool needNotifyApp, bool isFromWindowFocusChanged) OnAppStateChanged() argument
[all...]

Completed in 17 milliseconds