Home
last modified time | relevance | path

Searched refs:TRUE (Results 1 – 25 of 70) sorted by relevance

123

/base/powermgr/powermgr_lite/services/src/power/mini/
Drunning_lock_handler.c30 uint32_t ret = (acquire == TRUE) ? LOS_PmLockRequest(name) : LOS_PmLockRelease(name); in HandleRunningLock()
32 (acquire == TRUE) ? "Acquire" : "Release", name, ret); in HandleRunningLock()
37 HandleRunningLock(name, TRUE); in RunningLockAcquire()
Dauto_suspend_loop.c37 return TRUE; in AutoSuspendLoopFunc()
/base/powermgr/powermgr_lite/frameworks/src/
Drunning_lock.c39 g_inited = TRUE; in AddRunningLock()
49 return TRUE; in AddRunningLock()
64 return TRUE; in RemoveRunningLock()
74 BOOL ret = (VECTOR_Find(&g_runningLocks, (void *)lock) >= 0) ? TRUE : FALSE; in IsRunningLockExisted()
129 if (entry->status.isHolding == TRUE) { in AcquireRunningLock()
131 return TRUE; in AcquireRunningLock()
146 return TRUE; in ReleaseRunningLock()
159 if (RemoveRunningLock(lock) == TRUE) { in DestroyRunningLock()
/base/powermgr/powermgr_lite/services/src/power/
Dauto_suspend.c34 return (g_suspendBlockCounter == 0) ? TRUE : FALSE; in SuspendConditionSatisfied()
65 if (started == TRUE) { in Enable()
75 started = TRUE; in Enable()
91 if (SuspendConditionSatisfied() == TRUE) { in DecSuspendBlockCounter()
Dsuspend_controller.c47 g_suspendEnabled = TRUE; in EnableSuspend()
56 if (g_suspendEnabled == TRUE) { in DisableSuspend()
/base/startup/init/simulator/parameter/src/param_impl_posix/
Dparam_impl_posix.c40 return TRUE; in IsValidChar()
50 return TRUE; in IsValidValue()
64 return TRUE; in IsValidKey()
137 return TRUE; in CheckPermission()
141 return TRUE; in CheckPermission()
/base/powermgr/powermgr_lite/services/src/
Drunning_lock_mgr.c55 return TRUE; in AddRunningLockEntryLocked()
72 return TRUE; in AddRunningLockEntryLocked()
80 return TRUE; in RemoveRunningLockEntryLocked()
88 return TRUE; in RemoveRunningLockEntryLocked()
120 return (ret == TRUE) ? EC_SUCCESS : EC_FAILURE; in RunningLockMgrAcquireEntry()
135 return (ret == TRUE) ? EC_SUCCESS : EC_FAILURE; in RunningLockMgrReleaseEntry()
168 return (IsSameRunningLockIdentity(a, b) == TRUE) ? 0 : -1; in RunningLockIdentityCmp()
/base/powermgr/powermgr_lite/services/include/
Drunning_lock_mgr.h33 return (RunningLockMgrGetLockCount(type) > 0) ? TRUE : FALSE; in RunningLockMgrIsLockHolding()
38 return (RunningLockMgrGetTotalLockCount() > 0) ? TRUE : FALSE; in RunningLockMgrIsAnyLockHolding()
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_aes_test.c40 return TRUE; in HksAesTestSetUp()
51 return TRUE; in HksAesTestTearDown()
Dhks_delete_test.c46 return TRUE; in HksDeleteTestSetUp()
57 return TRUE; in HksDeleteTestTearDown()
Dhks_generate_random_test.c44 return TRUE; in HksGenerateRandomTestSetUp()
55 return TRUE; in HksGenerateRandomTestTearDown()
Dhks_exist_test.c46 return TRUE; in HksExistTestSetUp()
57 return TRUE; in HksExistTestTearDown()
Dhks_curve25519_test.c47 return TRUE; in HksCurve25519TestSetUp()
58 return TRUE; in HksCurve25519TestTearDown()
Dhks_cipher_test.c48 return TRUE; in HksCipherTestSetUp()
59 return TRUE; in HksCipherTestTearDown()
Dhks_hash_test.c51 return TRUE; in HksHashTestSetUp()
62 return TRUE; in HksHashTestTearDown()
Dhks_others_test.c43 return TRUE; in HksOthersTestSetUp()
54 return TRUE; in HksOthersTestTearDown()
/base/hiviewdfx/hiview_lite/
Dhiview_service.c69 g_hiviewConfig.hiviewInited = TRUE; in Initialize()
72 return TRUE; in Initialize()
79 return TRUE; in MessageHandle()
85 return TRUE; in MessageHandle()
/base/powermgr/powermgr_lite/frameworks/include/
Drunning_lock_entry.h49 …ntry != NULL) && ((entry->lock.type >= 0) && (entry->lock.type < RUNNINGLOCK_BUTT)) ? TRUE : FALSE; in IsValidRunningLockEntry()
54 return ((a->pid == b->pid) && (a->token == b->token)) ? TRUE : FALSE; in IsSameRunningLockIdentity()
/base/security/device_security_level/services/sa/lite/
Ddslm_service.c51 return TRUE; in Initialize()
57 return TRUE; in MessageHandle()
/base/security/device_auth/frameworks/src/lite/
Dipc_service_init.c43 return TRUE; in Initialize()
52 return TRUE; in MessageHandle()
/base/powermgr/powermgr_lite/services/src/power/small/
Dauto_suspend_loop.c30 return TRUE; in AutoSuspendLoopFunc()
/base/startup/bootstrap_lite/services/source/
Dbootstrap_service.c52 return TRUE; in Initialize()
79 return TRUE; in MessageHandle()
/base/powermgr/powermgr_lite/services/src/screensaver/small/
Dscreen_saver_mgr.cpp31 return g_handler.SetState(enable == TRUE); in ScreenSaverMgrSetState()
/base/powermgr/powermgr_lite/utils/src/
Dpower_mgr_timer_util.c59 return TRUE; in StartTimer()
113 return TRUE; in PowerMgrResetTimer()
125 info->isRunning = TRUE; in PowerMgrStartTimer()
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_log_limit.c71 return TRUE; in LogIsLimited()
95 return TRUE; in LogIsLimited()

123