/base/powermgr/powermgr_lite/utils/include/ |
D | power_mgr_timer_util.h | 38 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec); 43 BOOL PowerMgrStartTimer(PowerTimer *timer, void *privateData); 48 BOOL PowerMgrRestartTimer(PowerTimer *timer, void *privateData); 53 BOOL PowerMgrStopTimer(PowerTimer *timer);
|
/base/security/device_security_level/services/sa/lite/ |
D | dslm_service.c | 25 static BOOL Initialize(Service *service, Identity identity); 26 static BOOL MessageHandle(Service *service, Request *msg); 42 static BOOL Initialize(Service *service, Identity identity) in Initialize() 54 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle() 67 BOOL isRegistered = SAMGR_GetInstance()->RegisterService((Service *)&g_dslmService); in Init()
|
/base/powermgr/powermgr_lite/interfaces/kits/ |
D | running_lock.h | 62 BOOL AcquireRunningLock(const RunningLock *lock); 63 BOOL ReleaseRunningLock(const RunningLock *lock); 64 BOOL IsRunningLockHolding(const RunningLock *lock);
|
/base/powermgr/powermgr_lite/frameworks/src/ |
D | running_lock.c | 31 static BOOL g_inited = FALSE; 34 static BOOL AddRunningLock(RunningLock *lock) in AddRunningLock() 52 static BOOL RemoveRunningLock(const RunningLock *lock) in RemoveRunningLock() 67 static BOOL IsRunningLockExisted(const RunningLock *lock) in IsRunningLockExisted() 74 BOOL ret = (VECTOR_Find(&g_runningLocks, (void *)lock) >= 0) ? TRUE : FALSE; in IsRunningLockExisted() 122 BOOL AcquireRunningLock(const RunningLock *lock) in AcquireRunningLock() 137 BOOL ReleaseRunningLock(const RunningLock *lock) in ReleaseRunningLock() 164 BOOL IsRunningLockHolding(const RunningLock *lock) in IsRunningLockHolding()
|
/base/powermgr/powermgr_lite/services/src/ |
D | power_manage_service.c | 35 static BOOL Initialize(Service *service, Identity identity); 36 static BOOL MessageHandle(Service *service, Request *request); 53 static BOOL Initialize(Service *service, Identity identity) in Initialize() 64 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
|
D | power_manage_feature.c | 57 BOOL OnPowerManageFeatureMessage(Feature *feature, Request *request) in OnPowerManageFeatureMessage() 74 BOOL OnIsAnyRunningLockHolding(IUnknown *iUnknown) in OnIsAnyRunningLockHolding() 80 void OnSuspendDevice(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed) in OnSuspendDevice() 113 BOOL result = sam->RegisterFeature(POWER_MANAGE_SERVICE, (Feature *)feature); in Init()
|
D | screen_saver_feature.c | 60 BOOL OnScreenSaverFeatureMessage(Feature *feature, Request *request) in OnScreenSaverFeatureMessage() 65 int32_t OnSetScreenSaverState(IUnknown *iUnknown, BOOL enable) in OnSetScreenSaverState() 84 BOOL result = sam->RegisterFeature(POWER_MANAGE_SERVICE, (Feature *)feature); in Init()
|
/base/security/permission_lite/services/pms_base/src/ |
D | permission_service.c | 29 static BOOL Initialize(Service *service, Identity identity); 31 static BOOL MessageHandle(const Service *service, const Request *request); 54 static BOOL Initialize(Service *service, Identity identity) in Initialize() 64 static BOOL MessageHandle(const Service *service, const Request *request) in MessageHandle()
|
/base/powermgr/powermgr_lite/frameworks/src/mini/ |
D | power_screen_saver.c | 18 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState()
|
D | power_manage.c | 66 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntry() 76 BOOL ReleaseRunningLockEntry(RunningLockEntry *entry) in ReleaseRunningLockEntry() 86 BOOL IsAnyRunningLockHolding() in IsAnyRunningLockHolding() 88 BOOL ret = FALSE; in IsAnyRunningLockHolding() 96 void SuspendDevice(SuspendDeviceType reason, BOOL suspendImmed) in SuspendDevice()
|
/base/powermgr/powermgr_lite/frameworks/include/ |
D | running_lock_entry.h | 33 BOOL isHolding; 47 static inline BOOL IsValidRunningLockEntry(RunningLockEntry *entry) in IsValidRunningLockEntry() 52 static inline BOOL IsSameRunningLockIdentity(const RunningLockIdentity *a, const RunningLockIdentit… in IsSameRunningLockIdentity()
|
D | running_lock_framework.h | 28 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs); 29 BOOL ReleaseRunningLockEntry(RunningLockEntry *entry);
|
D | power_manage_intf_define.h | 33 …BOOL (*IsAnyRunningLockHoldingFunc)(IUnknown *iUnknown); … 34 …void (*SuspendDeviceFunc)(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed); …
|
/base/powermgr/powermgr_lite/interfaces/innerkits/ |
D | power_screen_saver.h | 25 BOOL SetScreenSaverState(BOOL enable);
|
/base/powermgr/powermgr_lite/frameworks/src/small/ |
D | power_manage.c | 42 static BOOL IsAnyRunningLockHoldingProxy(IUnknown *iUnknown); 43 static void SuspendDeviceProxy(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed); 181 BOOL *ret = (BOOL *)owner; in IsAnyHoldingCallback() 189 static BOOL IsAnyRunningLockHoldingProxy(IUnknown *iUnknown) in IsAnyRunningLockHoldingProxy() 191 BOOL ret; in IsAnyRunningLockHoldingProxy() 210 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntry() 220 BOOL ReleaseRunningLockEntry(RunningLockEntry *entry) in ReleaseRunningLockEntry() 230 BOOL IsAnyRunningLockHolding() in IsAnyRunningLockHolding() 232 BOOL ret = FALSE; in IsAnyRunningLockHolding() 240 static void SuspendDeviceProxy(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed) in SuspendDeviceProxy() [all …]
|
D | power_screen_saver.c | 39 static int32_t SetScreenSaverStateProxy(IUnknown *iUnknown, BOOL enable); 112 static int32_t SetScreenSaverStateProxy(IUnknown *iUnknown, BOOL enable) in SetScreenSaverStateProxy() 127 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState()
|
/base/startup/bootstrap_lite/services/source/ |
D | bootstrap_service.c | 26 static BOOL Initialize(Service *service, Identity identity); 28 static BOOL MessageHandle(Service *service, Request *request); 48 static BOOL Initialize(Service *service, Identity identity) in Initialize() 55 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
|
/base/powermgr/powermgr_lite/utils/src/ |
D | power_mgr_timer_util.c | 30 BOOL isRunning; 49 static BOOL StartTimer(PowerTimer timer, int64_t whenMsec, int64_t intervalMsec) in StartTimer() 103 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec) in PowerMgrResetTimer() 116 BOOL PowerMgrStartTimer(PowerTimer *timer, void *privateData) in PowerMgrStartTimer() 129 BOOL PowerMgrRestartTimer(PowerTimer *timer, void *privateData) in PowerMgrRestartTimer() 139 BOOL PowerMgrStopTimer(PowerTimer *timer) in PowerMgrStopTimer()
|
/base/powermgr/powermgr_lite/services/include/ |
D | power_manage_feature.h | 33 BOOL OnPowerManageFeatureMessage(Feature *feature, Request *request); 36 BOOL OnIsAnyRunningLockHolding(IUnknown *iUnknown); 37 void OnSuspendDevice(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed);
|
D | running_lock_mgr.h | 31 static inline BOOL RunningLockMgrIsLockHolding(RunningLockType type) in RunningLockMgrIsLockHolding() 36 static inline BOOL RunningLockMgrIsAnyLockHolding() in RunningLockMgrIsAnyLockHolding()
|
D | screen_saver_feature.h | 33 BOOL OnScreenSaverFeatureMessage(Feature *feature, Request *request); 34 int32_t OnSetScreenSaverState(IUnknown *iUnknown, BOOL enable);
|
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
D | hks_aes_test.c | 35 static BOOL HksAesTestSetUp() in HksAesTestSetUp() 47 static BOOL HksAesTestTearDown() in HksAesTestTearDown()
|
D | hks_generate_random_test.c | 39 static BOOL HksGenerateRandomTestSetUp() in HksGenerateRandomTestSetUp() 51 static BOOL HksGenerateRandomTestTearDown() in HksGenerateRandomTestTearDown()
|
/base/powermgr/battery_lite/services/src/ |
D | battery_manage_service.c | 41 static BOOL Initialize(Service *service, Identity identity) in Initialize() 64 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle() 125 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_batteryService); in Init()
|
/base/hiviewdfx/hiview_lite/ |
D | hiview_service.c | 26 static BOOL Initialize(Service *service, Identity identity); 28 static BOOL MessageHandle(Service *service, Request *request); 59 static BOOL Initialize(Service *service, Identity identity) in Initialize() 75 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
|