/system/chre/platform/include/chre/platform/ |
D | assert.h | 44 #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/ |
D | assert.h | 73 #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/ |
D | assert.h | 37 #define CHRE_ASSERT(condition) do { \ argument 38 if (!(condition)) { \ 45 #define CHRE_ASSERT(condition) ((void) (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/bt/embdrv/sbc/decoder/include/ |
D | oi_assert.h | 51 #define OI_ASSERT(condition) \ argument 53 if (!(condition)) OI_AssertFail(__FILE__, __LINE__, #condition); \ 61 #define OI_ASSERT(condition)
|
/system/bt/gd/os/ |
D | log.h | 85 #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/ |
D | assert.h | 22 #define CHRE_ASSERT(condition) do { \ argument 23 if (!(condition)) { \
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 131 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/ |
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/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/core/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/bt/gd/docs/architecture/ |
D | style_guide.md | 199 * ASSERT(condition): Enabled, will crash when condition is false 201 condition is false
|
D | architecture.md | 171 condition
|
/system/libvintf/ |
D | AssembleVintf.cpp | 260 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/ |
D | hidl_test_client.cpp | 326 std::condition_variable condition; member 341 condition.notify_one(); in onRegistration() 779 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [¬ification]() { in TEST_F() 835 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [¬ification]() { 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/ |
D | CompoundType.cpp | 1425 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations() local 1429 out.sIf(condition, [&] { in emitJavaTypeDeclarations()
|
/system/extras/power_profile/camera_avg/ |
D | LICENSE | 504 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
|