Home
last modified time | relevance | path

Searched refs:ApplicationState (Results 1 – 9 of 9) sorted by relevance

/base/security/access_token/services/privacymanager/src/sensitive/app_manager/
Dapp_status_change_callback.cpp95 if (appStateData.state == static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND)) { in OnForegroundApplicationChanged()
97 } else if (appStateData.state == static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND)) { in OnForegroundApplicationChanged()
/base/security/access_token/services/privacymanager/include/sensitive/app_manager/
Dapp_state_data.h27 enum class ApplicationState { enum
/base/location/test/location_locator/source/
Drequest_manager_test.cpp157 int32_t state1 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND);
160 int32_t state2 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_BACKGROUND);
175 int32_t state1 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND);
178 int32_t state2 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_BACKGROUND);
193 int32_t state1 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND);
196 int32_t state2 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_BACKGROUND);
211 int32_t state1 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND);
214 int32_t state2 = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_BACKGROUND);
Dlocator_background_proxy_test.cpp84 int32_t state = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND);
/base/request/request/services/service/rust/src/
Denumration.rs96 pub enum ApplicationState { enum
Dtask_manager.rs870 let app_state = ApplicationState::AppStateForeground as i32; in is_foreground()
875 (state == ApplicationState::AppStateBackground as i32) in is_background_or_terminated()
876 || (state == ApplicationState::AppStateTerminated as i32) in is_background_or_terminated()
/base/security/access_token/services/privacymanager/test/unittest/
Dsensitive_manager_test.cpp418 appData.state = static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND);
441 appData.state = static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND);
/base/security/access_token/services/test/mock/aafwk/
Dmock_app_mgr_service.h128 processData.appState = ApplicationState::APP_STATE_BEGIN; in UpdateState()
/base/location/services/location_locator/locator/source/
Drequest_manager.cpp503 bool isActive = (state == static_cast<int>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND)); in HandlePowerSuspendChanged()