Searched refs:ApplicationState (Results 1 – 9 of 9) sorted by relevance
95 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()
27 enum class ApplicationState { enum
157 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);
84 int32_t state = static_cast<int32_t>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND);
96 pub enum ApplicationState { enum
870 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()
418 appData.state = static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND);441 appData.state = static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND);
128 processData.appState = ApplicationState::APP_STATE_BEGIN; in UpdateState()
503 bool isActive = (state == static_cast<int>(AppExecFwk::ApplicationState::APP_STATE_FOREGROUND)); in HandlePowerSuspendChanged()