Searched refs:currentState (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/power_manager/services/native/src/actions/default/display/ |
D | device_state_action.cpp | 91 DisplayState currentState = GetDisplayState(); in SetDisplayState() local 92 if (state == currentState) { in SetDisplayState() 106 …if (currentState == DisplayState::DISPLAY_OFF && reason != StateChangeReason::STATE_CHANGE_REASON_… in SetDisplayState() 118 … if ((currentState == DisplayState::DISPLAY_ON || currentState == DisplayState::DISPLAY_DIM) && in SetDisplayState()
|
/base/account/os_account/services/accountmgr/include/ |
D | account_state_machine.h | 153 void SetAccountState(int currentState) in SetAccountState() argument 155 currentState_ = currentState; in SetAccountState()
|
/base/powermgr/power_manager/services/native/src/ |
D | power_state_machine.cpp | 1071 PowerState& currentState, PowerState correctState, DisplayState state) in CorrectState() argument 1074 msg.append(GetPowerStateString(currentState)) in CorrectState() 1081 …"ERROR_STATE", static_cast<uint32_t>(currentState), "CORRECTION_STATE", static_cast<uint32_t>(corr… in CorrectState() 1083 currentState = correctState; in CorrectState() 1086 void PowerStateMachine::StateController::MatchState(PowerState& currentState, DisplayState state) in MatchState() argument 1088 …if (GetState() == PowerState::SLEEP || currentState == PowerState::SLEEP || GetState() == PowerSta… in MatchState() 1089 currentState == PowerState::HIBERNATE || GetState() == PowerState::SHUTDOWN || in MatchState() 1090 currentState == PowerState::SHUTDOWN) { in MatchState() 1097 if (currentState == PowerState::AWAKE || currentState == PowerState::FREEZE) { in MatchState() 1098 CorrectState(currentState, PowerState::INACTIVE, state); in MatchState() [all …]
|
/base/powermgr/power_manager/services/native/include/ |
D | power_state_machine.h | 167 void MatchState(PowerState& currentState, DisplayState state); 168 void CorrectState(PowerState& currentState, PowerState correctState, DisplayState state);
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_handler.cpp | 196 ApnProfileState currentState = apnManager_->GetOverallApnState(); in ClearAllConnections() local 197 if (currentState == ApnProfileState::PROFILE_STATE_CONNECTED || in ClearAllConnections() 198 currentState == ApnProfileState::PROFILE_STATE_CONNECTING) { in ClearAllConnections() 335 ApnProfileState currentState = apnManager_->GetOverallApnState(); in PsRadioEmergencyStateOpen() local 336 if (currentState == ApnProfileState::PROFILE_STATE_CONNECTED || in PsRadioEmergencyStateOpen() 337 currentState == ApnProfileState::PROFILE_STATE_CONNECTING) { in PsRadioEmergencyStateOpen() 345 ApnProfileState currentState = apnManager_->GetOverallApnState(); in PsRadioEmergencyStateClose() local 346 if (currentState == ApnProfileState::PROFILE_STATE_IDLE || in PsRadioEmergencyStateClose() 347 currentState == ApnProfileState::PROFILE_STATE_DISCONNECTING) { in PsRadioEmergencyStateClose()
|