Home
last modified time | relevance | path

Searched refs:SUSPEND_STATE_PATH (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_interface_impl.cpp56 static constexpr const char * const SUSPEND_STATE_PATH = "/sys/power/state"; variable
218 UniqueFd suspendStateFd(TEMP_FAILURE_RETRY(open(SUSPEND_STATE_PATH, O_RDWR | O_CLOEXEC))); in DoSuspendWithTag()
252 UniqueFd suspendStateFd(TEMP_FAILURE_RETRY(open(SUSPEND_STATE_PATH, O_RDWR | O_CLOEXEC))); in DoSuspend()
433 LoadSystemInfo(SUSPEND_STATE_PATH, dumpInfo); in PowerDump()
/ohos5.0/drivers/peripheral/power/test/unittest/src/
H A Dhdf_power_hdi_test.cpp34 const std::string SUSPEND_STATE_PATH = "/sys/power/state"; variable
87 ret = snprintf_s(stateBuf, MAX_PATH, sizeof(stateBuf) - 1, SUSPEND_STATE_PATH.c_str());
/ohos5.0/base/powermgr/power_manager/services/native/src/actions/default/suspend/
H A Dsuspend_controller.h62 static constexpr const char * const SUSPEND_STATE_PATH = "/sys/power/state"; variable
H A Dsuspend_controller.cpp99 … static UniqueFd suspendStateFd(TEMP_FAILURE_RETRY(open(SUSPEND_STATE_PATH, O_RDWR | O_CLOEXEC))); in SuspendEnter()