/system/chre/platform/include/chre/platform/ |
D | assert.h | 47 #define CHRE_ASSERT(condition) ((void)(condition)) argument 70 #define CHRE_ASSERT_LOG(condition, fmt, ...) \ argument 72 if (!(condition)) { \ 74 CHRE_ASSERT(condition); \ 83 #define CHRE_ASSERT_LOG_IF_NOT_TEST(condition, fmt, ...) argument 84 #define CHRE_ASSERT_IF_NOT_TEST(condition) ((void)(condition)) argument 86 #define CHRE_ASSERT_LOG_IF_NOT_TEST(condition, fmt, ...) \ argument 87 CHRE_ASSERT_LOG(condition, fmt, ##__VA_ARGS__) 88 #define CHRE_ASSERT_IF_NOT_TEST(condition) CHRE_ASSERT(condition) argument
|
/system/core/fs_mgr/libdm/ |
D | utility.cpp | 29 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()
|
D | utility.h | 27 bool WaitForCondition(const std::function<WaitResult()>& condition,
|
D | loop_control.cpp | 45 auto condition = [&]() -> WaitResult { in Attach() local 74 if (!WaitForCondition(condition, timeout_ms)) { in Attach()
|
/system/chre/util/include/chre/util/host/ |
D | assert.h | 36 #define CHRE_ASSERT(condition) assert(condition) argument 38 #define CHRE_ASSERT(condition) ((void)(condition)) argument
|
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/nanoapp/ |
D | assert.h | 37 #define CHRE_ASSERT(condition) \ argument 39 if (!(condition)) { \ 46 #define CHRE_ASSERT(condition) ((void)(condition)) argument
|
/system/chre/util/include/chre/util/nanoapp/ |
D | assert.h | 37 #define CHRE_ASSERT(condition) \ argument 39 if (!(condition)) { \ 46 #define CHRE_ASSERT(condition) ((void)(condition)) argument
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | assert_func.h | 38 #define CHRE_ASSERT(condition) \ argument 40 if (!(condition)) { \
|
/system/libziparchive/incfs_support/include/incfs_support/ |
D | signal_handling.h | 111 #define SCOPED_SIGBUS_HANDLER_CONDITIONAL(condition, code) argument 162 #define SCOPED_SIGBUS_HANDLER_CONDITIONAL(condition, code) \ argument 166 const bool condition_macro_val = (condition); \
|
/system/chre/core/include/chre/core/ |
D | system_health_monitor.h | 72 static inline void check(bool condition, HealthCheckId id) { in check() argument 73 if (!condition) { in check()
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 132 pthread_cond_t condition; member 153 pthread_cond_init(&ssync->condition, &cattr); in init_state_sync_obj() 160 pthread_cond_destroy(&ssync->condition); in destroy_state_sync_obj() 168 pthread_cond_signal(&ssync->condition); in signal_state() 175 pthread_cond_wait(&ssync->condition, &ssync->mutex); in wait_for_state()
|
/system/connectivity/wificond/tests/integration/ |
D | process_utils.cpp | 95 bool WaitForTrue(std::function<bool()> condition, time_t timeout_seconds) { in WaitForTrue() argument 98 if (condition()) { in WaitForTrue()
|
D | process_utils.h | 76 bool WaitForTrue(std::function<bool()> condition, time_t timeout_seconds);
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubGeneralTestExecutor.java | 359 protected void assertTrue(String errorMessage, boolean condition) { in assertTrue() argument 361 Assert.assertTrue(errorMessage, condition); in assertTrue() 362 } else if (!condition) { in assertTrue() 371 protected void assertFalse(String errorMessage, boolean condition) { in assertFalse() argument 372 assertTrue(errorMessage, !condition); in assertFalse()
|
/system/sepolicy/tools/ |
D | post_process_mac_perms | 64 condition = lambda x: x.endswith('.apk') function 65 apps = [transform(i) for i in files if condition(i)]
|
/system/extras/libatrace_rust/ |
D | README.md | 26 if condition { 89 if condition {
|
/system/logging/liblog/ |
D | README.md | 107 `[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/chre/api_parser/ |
D | README.md | 57 the first condition is not met, then conversion is done using field-wise 66 on all fields and placing the optimized path in an if/else condition, the 67 compiler can evaluate condition 1 and prune away code for the less-optimal path.
|
/system/libvintf/ |
D | AssembleVintf.cpp | 288 Condition condition = generateCondition(namedStream.name()); in parseFilesForKernelConfigs() local 289 if (condition == nullptr) { in parseFilesForKernelConfigs() 297 out->emplace_back(std::move(condition), std::move(kernelConfigs)); in parseFilesForKernelConfigs()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 314 std::condition_variable condition; member 329 condition.notify_one(); in onRegistration() 773 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [¬ification]() { in TEST_F() 829 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [¬ification]() { in TEST_F() 1672 std::condition_variable condition; member 1682 condition.notify_one(); in serviceDied() 1715 recipient->condition.wait_for(lock, std::chrono::milliseconds(100), [&recipient]() { in TEST_F() 1722 recipient2->condition.wait_for(lock2, std::chrono::milliseconds(100), [&recipient2]() { in TEST_F()
|
/system/tools/hidl/ |
D | CompoundType.cpp | 1400 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations() local 1404 out.sIf(condition, [&] { in emitJavaTypeDeclarations()
|
/system/chre/doc/ |
D | compatibility.md | 97 it in a condition that first checks the CHRE version. In
|
/system/timezone/output_data/icu_overlay/ |
D | LICENSE | 463 (The condition for the exception is fulfilled because 493 (The condition for the exception is fulfilled because
|
/system/timezone/testing/data/test3/output_data/icu_overlay/ |
D | LICENSE | 463 (The condition for the exception is fulfilled because 493 (The condition for the exception is fulfilled because
|
/system/timezone/testing/data/test1/output_data/icu_overlay/ |
D | LICENSE | 463 (The condition for the exception is fulfilled because 493 (The condition for the exception is fulfilled because
|