Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 20 of 20) sorted by relevance

/system/chre/platform/include/chre/platform/
Dassert.h44 #define CHRE_ASSERT(condition) ((void) (condition)) argument
61 #define CHRE_ASSERT_LOG(condition, fmt, ...) do { \ argument
62 if (!(condition)) { \
64 CHRE_ASSERT(condition); \
/system/chre/platform/linux/include/chre/target_platform/
Dassert.h73 #define CHRE_ASSERT(condition) \ argument
75 if (gMockAssert != nullptr && !(condition)) { \
76 LOGI("Mocked assertion " #condition " triggered"); \
79 assert(condition); \
85 #define CHRE_ASSERT(condition) assert(condition) argument
/system/chre/util/include/chre/util/nanoapp/
Dassert.h37 #define CHRE_ASSERT(condition) do { \ argument
38 if (!(condition)) { \
45 #define CHRE_ASSERT(condition) ((void) (condition)) argument
/system/core/fs_mgr/libdm/
Dutility.cpp29 bool WaitForCondition(const std::function<WaitResult()>& condition, in WaitForCondition() argument
33 auto result = condition(); in WaitForCondition()
46 auto condition = [&]() -> WaitResult { in WaitForFile() local
58 return WaitForCondition(condition, timeout_ms); in WaitForFile()
62 auto condition = [&]() -> WaitResult { in WaitForFileDeleted() local
72 return WaitForCondition(condition, timeout_ms); in WaitForFileDeleted()
Dutility.h27 bool WaitForCondition(const std::function<WaitResult()>& condition,
Dloop_control.cpp45 auto condition = [&]() -> WaitResult { in Attach() local
74 if (!WaitForCondition(condition, timeout_ms)) { in Attach()
/system/bt/embdrv/sbc/decoder/include/
Doi_assert.h51 #define OI_ASSERT(condition) \ argument
53 if (!(condition)) OI_AssertFail(__FILE__, __LINE__, #condition); \
61 #define OI_ASSERT(condition)
/system/bt/gd/os/
Dlog.h85 #define ASSERT(condition) \ argument
87 if (!(condition)) { \
88 LOG_ALWAYS_FATAL("assertion '" #condition "' failed"); \
92 #define ASSERT_LOG(condition, fmt, args...) \ argument
94 if (!(condition)) { \
95 LOG_ALWAYS_FATAL("assertion '" #condition "' failed - " fmt, ##args); \
/system/chre/platform/slpi/include/chre/target_platform/
Dassert.h22 #define CHRE_ASSERT(condition) do { \ argument
23 if (!(condition)) { \
/system/memory/lmkd/tests/
Dlmkd_test.cpp131 pthread_cond_t condition; member
152 pthread_cond_init(&ssync->condition, &cattr); in init_state_sync_obj()
159 pthread_cond_destroy(&ssync->condition); in destroy_state_sync_obj()
167 pthread_cond_signal(&ssync->condition); in signal_state()
174 pthread_cond_wait(&ssync->condition, &ssync->mutex); in wait_for_state()
/system/connectivity/wificond/tests/integration/
Dprocess_utils.cpp95 bool WaitForTrue(std::function<bool()> condition, time_t timeout_seconds) { in WaitForTrue() argument
98 if (condition()) { in WaitForTrue()
Dprocess_utils.h76 bool WaitForTrue(std::function<bool()> condition, time_t timeout_seconds);
/system/sepolicy/tools/
Dpost_process_mac_perms64 condition = lambda x: x.endswith('.apk') function
65 apps = [transform(i) for i in files if condition(i)]
/system/core/liblog/
DREADME.md107 `[ASR]LOG[VDIWE]_IF` calls are used to perform thus based on a condition being true.
111 is used to `ALOG` a message if the condition is false; the condition is part of the logged message.
/system/bt/gd/docs/architecture/
Dstyle_guide.md199 * ASSERT(condition): Enabled, will crash when condition is false
201 condition is false
Darchitecture.md171 condition
/system/libvintf/
DAssembleVintf.cpp260 Condition condition = generateCondition(namedStream.name()); in parseFilesForKernelConfigs() local
261 if (condition == nullptr) { in parseFilesForKernelConfigs()
269 out->emplace_back(std::move(condition), std::move(kernelConfigs)); in parseFilesForKernelConfigs()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp326 std::condition_variable condition; member
341 condition.notify_one(); in onRegistration()
779 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [&notification]() { in TEST_F()
835 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [&notification]() { in TEST_F()
1670 std::condition_variable condition; member
1680 condition.notify_one(); in serviceDied()
1713 recipient->condition.wait_for(lock, std::chrono::milliseconds(100), [&recipient]() { in TEST_F()
1720 recipient2->condition.wait_for(lock2, std::chrono::milliseconds(100), [&recipient2]() { in TEST_F()
/system/tools/hidl/
DCompoundType.cpp1425 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations() local
1429 out.sIf(condition, [&] { in emitJavaTypeDeclarations()
/system/extras/power_profile/camera_avg/
DLICENSE504 Adapter's License You apply. You may satisfy this condition
620 c. No term or condition of this Public License will be waived and no