/base/powermgr/display_manager/state_manager/test/unittest/src/ |
H A D | display_power_mgr_service_test.cpp | 389 DisplayState currentState = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in HWTEST_F() local 390 EXPECT_TRUE(currentState == DisplayState::DISPLAY_OFF); in HWTEST_F() 395 currentState = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in HWTEST_F() 396 EXPECT_TRUE(currentState == DisplayState::DISPLAY_OFF); in HWTEST_F() 413 DisplayState currentState = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in HWTEST_F() local 414 EXPECT_TRUE(currentState == DisplayState::DISPLAY_OFF); in HWTEST_F() 419 currentState = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in HWTEST_F() 420 EXPECT_TRUE(currentState == DisplayState::DISPLAY_ON); in HWTEST_F() 437 DisplayState currentState = DisplayPowerMgrClient::GetInstance().GetDisplayState(); in HWTEST_F() local 438 EXPECT_TRUE(currentState in HWTEST_F() 461 DisplayState currentState = DisplayPowerMgrClient::GetInstance().GetDisplayState(); HWTEST_F() local [all...] |
/base/account/os_account/services/accountmgr/include/ |
H A 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/actions/default/display/ |
H A D | device_state_action.cpp | 197 DisplayState currentState = GetDisplayState(); in SetDisplayState() local 198 if (state == currentState) { in SetDisplayState() 207 currentState = DisplayState::DISPLAY_ON; in SetDisplayState() 214 if (currentState == DisplayState::DISPLAY_OFF) { in SetDisplayState() 226 if (currentState == DisplayState::DISPLAY_ON || currentState == DisplayState::DISPLAY_DIM) { in SetDisplayState()
|
/base/web/webview/ohos_adapter/media_adapter/src/ |
H A D | media_avsession_adapter_impl.cpp | 402 int32_t currentState; in UpdatePlaybackStateCache() local 405 currentState = AVSession::AVPlaybackState::PLAYBACK_STATE_PLAY; in UpdatePlaybackStateCache() 408 currentState = AVSession::AVPlaybackState::PLAYBACK_STATE_PAUSE; in UpdatePlaybackStateCache() 412 currentState = AVSession::AVPlaybackState::PLAYBACK_STATE_INITIAL; in UpdatePlaybackStateCache() 415 if (avPlaybackState_->GetState() != currentState) { in UpdatePlaybackStateCache() 416 avPlaybackState_->SetState(currentState); in UpdatePlaybackStateCache()
|
/base/powermgr/power_manager/services/native/src/ |
H A D | power_state_machine.cpp | 2004 bool PowerStateMachine::StateController::NeedNotify(PowerState currentState) in WakeupDeviceInner() argument 2006 if (currentState == GetState()) { in WakeupDeviceInner() 2009 if (currentState == PowerState::DIM && GetState() == PowerState::AWAKE) { in WakeupDeviceInner() 2081 PowerState& currentState, PowerState correctState, DisplayState state) in WakeupDeviceInner() 2084 msg.append(PowerUtils::GetPowerStateString(currentState)) in WakeupDeviceInner() 2092 "ERROR_STATE", static_cast<uint32_t>(currentState), "CORRECTION_STATE", static_cast<uint32_t>(correctState), in WakeupDeviceInner() 2095 currentState = correctState; in WakeupDeviceInner() 2098 void PowerStateMachine::StateController::MatchState(PowerState& currentState, DisplayState state) in WakeupDeviceInner() argument 2100 if (GetState() == PowerState::SLEEP || currentState == PowerState::SLEEP || GetState() == PowerState::HIBERNATE || in WakeupDeviceInner() 2101 currentState in WakeupDeviceInner() 2080 CorrectState( PowerState& currentState, PowerState correctState, DisplayState state) WakeupDeviceInner() argument [all...] |
/base/telephony/call_manager/services/call/src/ |
H A D | cs_call.cpp | 80 ConferenceState currentState = DelayedSingleton<CsConference>::GetInstance()->GetConferenceState(); in CombineConference() local 81 if (currentState == ConferenceState::CONFERENCE_STATE_CREATING) { in CombineConference()
|
H A D | ott_call.cpp | 209 ConferenceState currentState = DelayedSingleton<OttConference>::GetInstance()->GetConferenceState(); in CombineConference() local 210 if (currentState == ConferenceState::CONFERENCE_STATE_CREATING) { in CombineConference()
|
H A D | ims_call.cpp | 186 ConferenceState currentState = DelayedSingleton<ImsConference>::GetInstance()->GetConferenceState(); in CombineConference() local 187 if (currentState == ConferenceState::CONFERENCE_STATE_CREATING) { in CombineConference()
|
/base/msdp/device_status/intention/dfx/src/ |
H A D | cooperate_hisysevent.cpp | 160 std::string currentState = CooperateState_[curState]; in WriteCooperateState() local 161 return WriteInputFunc(CooperateType::UPDATESTATE_SUCC, type, "CurrentState", currentState); in WriteCooperateState()
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_state_machine.h | 274 bool NeedNotify(PowerState currentState); 275 void MatchState(PowerState& currentState, DisplayState state); 276 void CorrectState(PowerState& currentState, PowerState correctState, DisplayState state);
|
/base/telephony/cellular_data/services/src/ |
H A D | cellular_data_handler.cpp | 441 ApnProfileState currentState = apnManager_->GetOverallApnState(); in PsRadioEmergencyStateOpen() local 442 if (currentState == ApnProfileState::PROFILE_STATE_CONNECTED || in PsRadioEmergencyStateOpen() 443 currentState == ApnProfileState::PROFILE_STATE_CONNECTING) { in PsRadioEmergencyStateOpen() 451 ApnProfileState currentState = apnManager_->GetOverallApnState(); in PsRadioEmergencyStateClose() local 452 if (currentState == ApnProfileState::PROFILE_STATE_IDLE || in PsRadioEmergencyStateClose() 453 currentState == ApnProfileState::PROFILE_STATE_DISCONNECTING) { in PsRadioEmergencyStateClose()
|