77 VOID (*normalResume)(VOID);
85 VOID (*lightResume)(VOID);
93 VOID (*deepResume)(VOID);
101 VOID (*shutdownResume)(VOID);
双向链表由内联函数实现 http://weharmonyos.com/openharmony/zh-cn/device-dev/kernel/kernel-small-apx-dll....
UINT32 LOS_PmUnregister(LOS_PmNodeType type, VOID *node)
Unregister a power management node.
UINT32 LOS_PmModeSet(LOS_SysSleepEnum mode)
Set low power mode.
VOID LOS_PmLockInfoShow(struct SeqBuf *m)
Output the locking information of the pm lock.
UINT32 LOS_PmLockCountGet(VOID)
Get the low power mode of the current system.
UINT32 LOS_PmReadLock(VOID)
Gets the current PM lock status.
UINT32 LOS_PmLockRequest(const CHAR *name)
Request to obtain the lock in current mode, so that the system will not enter this mode when it enter...
UINT32 LOS_PmSuspend(UINT32 wakeCount)
The system enters the low-power flow.
UINT32 LOS_PmLockRelease(const CHAR *name)
Release the lock in current mode so that the next time the system enters the idle task,...
VOID LOS_PmWakeSet(VOID)
Set the system wake up flag.
UINT32 LOS_PmTimeLockRequest(const CHAR *name, UINT64 millisecond)
Request to obtain the lock in current mode, so that the system will not enter this mode when it enter...
UINT32 LOS_PmRegister(LOS_PmNodeType type, VOID *node)
Register a power management node.
LOS_SysSleepEnum LOS_PmModeGet(VOID)
Get the low power mode of the current system.