/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
H A D | extend_state_collection.cpp | 45 return stateValue_; in GetState() 50 stateValue_ = stateValue; in SetState() 58 if (stateValue_ == val) { in DecideState() 59 THERMAL_HILOGD(COMP_SVC, "stateValue = %{public}s", stateValue_.c_str()); in DecideState()
|
/ohos5.0/base/theme/screenlock_mgr/services/src/ |
H A D | screenlock_system_ability.cpp | 134 stateValue_.Reset(); in Init() 295 stateValue_.SetScreenState(static_cast<int32_t>(ScreenState::SCREEN_STATE_END_ON)); in OnScreenOn() 412 if (stateValue_.GetScreenlockedState()) { in Lock() 429 if (stateValue_.GetScreenlockedState()) { in Lock() 455 return stateValue_.GetScreenlockedState(); in IsScreenLocked() 493 stateValue_.Reset(); in OnSystemEvent() 598 stateValue_.SetScreenlocked(isScreenlocked); in SetScreenlocked() 629 bool screenLocked = stateValue_.GetScreenlockedState(); in RegisterDumpCommand() 630 bool screenState = stateValue_.GetScreenState(); in RegisterDumpCommand() 631 int32_t offReason = stateValue_.GetOffReason(); in RegisterDumpCommand() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/impl/ |
H A D | video_camera_state.cpp | 35 DP_INFO_LOG("entered, VideoCameraState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 37 stateValue_ == CameraSessionStatus::SYSTEM_CAMERA_OPEN || in ReevaluateSchedulerInfo() 38 stateValue_ == CameraSessionStatus::NORMAL_CAMERA_OPEN); in ReevaluateSchedulerInfo()
|
H A D | video_hal_state.cpp | 35 DP_INFO_LOG("entered, VideoHalState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 37 stateValue_ == HdiStatus::HDI_READY || in ReevaluateSchedulerInfo() 38 stateValue_ == HdiStatus::HDI_READY_SPACE_LIMIT_REACHED); in ReevaluateSchedulerInfo()
|
H A D | video_battery_level_state.cpp | 37 …CK_ERROR_RETURN_RET_LOG(ignore, {false}, "ignore VideoBatteryLevelState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 39 DP_INFO_LOG("entered, VideoBatteryLevelState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 40 bool isNeedStop = stateValue_ == BatteryLevel::BATTERY_LEVEL_LOW; in ReevaluateSchedulerInfo()
|
H A D | video_battery_state.cpp | 37 …P_CHECK_ERROR_RETURN_RET_LOG(ignore, {false}, "ignore VideoBatteryState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 39 DP_INFO_LOG("entered, VideoBatteryState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 40 bool isNeedStop = stateValue_ == BatteryStatus::BATTERY_LOW; in ReevaluateSchedulerInfo()
|
H A D | video_screen_state.cpp | 37 …DP_CHECK_ERROR_RETURN_RET_LOG(ignore, {false}, "ignore VideoScreenState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 39 DP_INFO_LOG("entered, VideoScreenState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 40 bool isNeedStop = stateValue_ == ScreenStatus::SCREEN_ON; in ReevaluateSchedulerInfo()
|
H A D | video_temperature_state.cpp | 37 …ECK_ERROR_RETURN_RET_LOG(ignore, {false}, "ignore VideoTemperatureState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 39 DP_INFO_LOG("entered, VideoTemperatureState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 40 bool isNeedStop = stateValue_ == VideoThermalLevel::HOT; in ReevaluateSchedulerInfo()
|
H A D | video_charging_state.cpp | 35 DP_INFO_LOG("entered, VideoChargingState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 36 bool isCharging = stateValue_ == ChargingStatus::CHARGING; in ReevaluateSchedulerInfo()
|
H A D | video_media_library_state.cpp | 35 DP_INFO_LOG("entered, VideoMediaLibraryState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 36 bool isNeedStop = stateValue_ == MediaLibraryStatus::MEDIA_LIBRARY_DISCONNECTED; in ReevaluateSchedulerInfo()
|
H A D | video_photo_process_state.cpp | 35 DP_INFO_LOG("entered, VideoPhotoProcessState: %{public}d", stateValue_); in ReevaluateSchedulerInfo() 36 bool isNeedStop = stateValue_ == PhotoProcessStatus::BUSY; in ReevaluateSchedulerInfo()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/base/ |
H A D | ischeduler_video_state.cpp | 24 : stateValue_(stateValue), in ISchedulerVideoState() 50 int32_t preStateValue = stateValue_; in UpdateSchedulerInfo() 51 stateValue_ = stateValue; in UpdateSchedulerInfo()
|
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_observer/state_machine/ |
H A D | extend_state_collection.h | 36 std::string stateValue_ = "-1"; variable
|
/ohos5.0/base/theme/screenlock_mgr/services/include/ |
H A D | screenlock_system_ability.h | 169 return stateValue_; in GetState() 226 StateValue stateValue_; variable
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/base/ |
H A D | ischeduler_video_state.h | 51 int32_t stateValue_; variable
|
/ohos5.0/base/theme/screenlock_mgr/test/unittest/ |
H A D | screenlock_service_test.cpp | 406 ScreenLockSystemAbility::GetInstance()->stateValue_.SetScreenlocked(true); 411 ScreenLockSystemAbility::GetInstance()->stateValue_.SetScreenlocked(false);
|