Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 17 of 17) 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/bt/gd/os/
Dlog.h51 #define ASSERT(condition) \ argument
52 if (!(condition)) { \
53 LOG_ERROR("%s:%d assertion '" #condition "' failed", __FILE__, __LINE__); \
57 #define ASSERT_LOG(condition, fmt, args...) \ argument
58 if (!(condition)) { \
59 LOG_ERROR("%s:%d assertion '" #condition "' failed - " fmt, __FILE__, __LINE__, ##args); \
/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/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/chre/platform/slpi/include/chre/target_platform/
Dassert.h22 #define CHRE_ASSERT(condition) do { \ argument
23 if (!(condition)) { \
/system/core/lmkd/tests/
Dlmkd_test.cpp130 pthread_cond_t condition; member
151 pthread_cond_init(&ssync->condition, &cattr); in init_state_sync_obj()
158 pthread_cond_destroy(&ssync->condition); in destroy_state_sync_obj()
166 pthread_cond_signal(&ssync->condition); in signal_state()
173 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/llkd/
DREADME.md32 exist, then have a confirmed live-lock condition and need to panic. Panic
34 condition. Add a alarm self watchdog should llkd ever get locked up that is
43 then have a confirmed live-lock condition and need to panic. There is no
44 ABA detection since forward scheduling progress is allowed, thus the condition
53 - Persistent continuously when the live lock condition exists.
/system/core/liblog/
DREADME.md114 `[ASR]LOG[VDIWE]_IF` calls are used to perform thus based on a condition being true.
118 is used to `ALOG` a message if the condition is false; the condition is part of the logged message.
/system/libvintf/
DAssembleVintf.cpp240 Condition condition = generateCondition(namedStream.name()); in parseFilesForKernelConfigs() local
241 ret &= (condition != nullptr); in parseFilesForKernelConfigs()
245 out->emplace_back(std::move(condition), std::move(kernelConfigs)); in parseFilesForKernelConfigs()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp333 std::condition_variable condition; member
348 condition.notify_one(); in onRegistration()
792 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [&notification]() { in TEST_F()
848 notification->condition.wait_for(lock, std::chrono::milliseconds(500), [&notification]() { in TEST_F()
1696 std::condition_variable condition; member
1706 condition.notify_one(); in serviceDied()
1739 recipient->condition.wait_for(lock, std::chrono::milliseconds(100), [&recipient]() { in TEST_F()
1746 recipient2->condition.wait_for(lock2, std::chrono::milliseconds(100), [&recipient2]() { in TEST_F()
/system/netd/resolv/
DREADME.md58 We need to pass messages between threads using a pipe, and not a condition variable
/system/tools/hidl/
DCompoundType.cpp1512 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations() local
1516 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