Home
last modified time | relevance | path

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

/system/extras/perfprofd/quipper/base/
Dlogging.h175 #define LAZY_STREAM(stream, condition) \ argument
176 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream) /* NOLINT */
189 #define LOG_IF(severity, condition) \ argument
190 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
199 #define VLOG_IF(verbose_level, condition) \ argument
201 VLOG_IS_ON(verbose_level) && (condition))
205 #define LOG_ASSERT(condition) \ argument
206 LOG_IF(FATAL, !(condition)) << "Assert failed: " #condition ". "
207 #define SYSLOG_ASSERT(condition) \ argument
208 SYSLOG_IF(FATAL, !(condition)) << "Assert failed: " #condition ". "
[all …]
/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.h71 #define CHRE_ASSERT(condition) \ argument
73 if (gMockAssert != nullptr && !(condition)) { \
74 LOGI("Mocked assertion " #condition " triggered"); \
77 assert(condition); \
83 #define CHRE_ASSERT(condition) assert(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.h24 #define CHRE_ASSERT(condition) do { \ argument
25 if (!(condition)) { \
/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/tpm/attestation/common/
Dproto_print.py305 condition = """
313 impl_file.write(condition % {'value_name': value_name})
/system/core/liblog/
DREADME129 based on a condition being true. IF_ALOG[VDIWE] calls are true if the
133 release builds. ALOG_ASSERT is used to ALOG a message if the condition
134 is false; the condition is part of the logged message.
/system/tools/aidl/
Dast_java.h213 Expression* condition = nullptr; member
218 Ternary(Expression* condition, Expression* ifpart, Expression* elsepart);
Dast_java.cpp256 : condition(a), ifpart(b), elsepart(c) {} in Ternary()
260 this->condition->Write(to); in Write()
/system/tools/hidl/test/
Dhidl_test_client.cpp316 std::condition_variable condition; member
331 condition.notify_one(); in onRegistration()
634 notification->condition.wait_for( in TEST_F()
667 notification->condition.wait_for( in TEST_F()
1371 std::condition_variable condition; member
1381 condition.notify_one(); in serviceDied()
1407 recipient->condition.wait_for(lock, std::chrono::milliseconds(1000), [&recipient]() { in TEST_F()
1414 recipient2->condition.wait_for(lock2, std::chrono::milliseconds(1000), [&recipient2]() { in TEST_F()
/system/tools/hidl/
DCompoundType.cpp595 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations() local
599 out.sIf(condition, [&] { in emitJavaTypeDeclarations()
/system/tpm/trunks/generator/
Dgenerator.py267 def GetCppBool(condition): argument
268 if condition:
Draw_commands_fixed.txt18875 not an error condition.