Home
last modified time | relevance | path

Searched refs:BOOL (Results 1 – 25 of 86) sorted by relevance

1234

/base/powermgr/powermgr_lite/utils/include/
Dpower_mgr_timer_util.h38 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/
Ddslm_service.c25 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/
Drunning_lock.h62 BOOL AcquireRunningLock(const RunningLock *lock);
63 BOOL ReleaseRunningLock(const RunningLock *lock);
64 BOOL IsRunningLockHolding(const RunningLock *lock);
/base/powermgr/powermgr_lite/frameworks/src/
Drunning_lock.c31 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/
Dpower_manage_service.c35 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()
Dpower_manage_feature.c57 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()
Dscreen_saver_feature.c60 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/
Dpermission_service.c29 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/
Dpower_screen_saver.c18 BOOL SetScreenSaverState(BOOL enable) in SetScreenSaverState()
Dpower_manage.c66 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/
Drunning_lock_entry.h33 BOOL isHolding;
47 static inline BOOL IsValidRunningLockEntry(RunningLockEntry *entry) in IsValidRunningLockEntry()
52 static inline BOOL IsSameRunningLockIdentity(const RunningLockIdentity *a, const RunningLockIdentit… in IsSameRunningLockIdentity()
Drunning_lock_framework.h28 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs);
29 BOOL ReleaseRunningLockEntry(RunningLockEntry *entry);
Dpower_manage_intf_define.h33BOOL (*IsAnyRunningLockHoldingFunc)(IUnknown *iUnknown); …
34 …void (*SuspendDeviceFunc)(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed); …
/base/powermgr/powermgr_lite/interfaces/innerkits/
Dpower_screen_saver.h25 BOOL SetScreenSaverState(BOOL enable);
/base/powermgr/powermgr_lite/frameworks/src/small/
Dpower_manage.c42 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 …]
Dpower_screen_saver.c39 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/
Dbootstrap_service.c26 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/
Dpower_mgr_timer_util.c30 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/
Dpower_manage_feature.h33 BOOL OnPowerManageFeatureMessage(Feature *feature, Request *request);
36 BOOL OnIsAnyRunningLockHolding(IUnknown *iUnknown);
37 void OnSuspendDevice(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed);
Drunning_lock_mgr.h31 static inline BOOL RunningLockMgrIsLockHolding(RunningLockType type) in RunningLockMgrIsLockHolding()
36 static inline BOOL RunningLockMgrIsAnyLockHolding() in RunningLockMgrIsAnyLockHolding()
Dscreen_saver_feature.h33 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/
Dhks_aes_test.c35 static BOOL HksAesTestSetUp() in HksAesTestSetUp()
47 static BOOL HksAesTestTearDown() in HksAesTestTearDown()
Dhks_generate_random_test.c39 static BOOL HksGenerateRandomTestSetUp() in HksGenerateRandomTestSetUp()
51 static BOOL HksGenerateRandomTestTearDown() in HksGenerateRandomTestTearDown()
/base/powermgr/battery_lite/services/src/
Dbattery_manage_service.c41 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/
Dhiview_service.c26 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()

1234