Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/power/test/unittest/src/
H A Dhdf_power_hdi_test.cpp36 const std::string UNLOCK_PATH = "/sys/power/wake_unlock"; variable
148 ret = snprintf_s(unLockBuf, MAX_PATH, sizeof(unLockBuf) - 1, UNLOCK_PATH.c_str());
/ohos5.0/base/powermgr/power_manager/services/native/src/actions/default/suspend/
H A Drunning_lock_hub.h46 static constexpr const char * const UNLOCK_PATH = "/sys/power/wake_unlock"; variable
H A Drunning_lock_hub.cpp67 unlockFd_ = UniqueFd(TEMP_FAILURE_RETRY(open(UNLOCK_PATH, O_RDWR | O_CLOEXEC))); in InitFd()
/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_interface_impl.cpp58 static constexpr const char * const UNLOCK_PATH = "/sys/power/wake_unlock"; variable
330 UniqueFd fd(TEMP_FAILURE_RETRY(open(UNLOCK_PATH, O_RDWR | O_CLOEXEC))); in SuspendUnblock()
435 LoadSystemInfo(UNLOCK_PATH, dumpInfo); in PowerDump()