Searched refs:expr (Results 1 – 7 of 7) sorted by relevance
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/ |
D | AssertOk.h | 38 inline ::testing::AssertionResult assertIsOk(const char* expr, const Return<T>& ret) { in assertIsOk() argument 40 << "Expected: " << expr << "\n to be an OK Return but it is not: " << ret.description(); in assertIsOk() 45 inline ::testing::AssertionResult continueIfIsOk(const char* expr, const Return<T>& ret, in continueIfIsOk() argument 47 auto isOkStatus = assertIsOk(expr, ret); in continueIfIsOk() 91 inline ::testing::AssertionResult assertOk(const char* expr, const Return<void>& ret) { in assertOk() argument 92 return assertIsOk(expr, ret); in assertOk() 96 inline ::testing::AssertionResult assertOk(const char* expr, Result result) { in assertOk() argument 98 << "Expected success: " << expr << "\nActual: " << ::testing::PrintToString(result); in assertOk() 102 inline ::testing::AssertionResult assertOk(const char* expr, const Return<Result>& ret) { in assertOk() argument 103 return continueIfIsOk(expr, ret, [&] { return assertOk(expr, Result{ret}); }); in assertOk()
|
/hardware/interfaces/health/2.1/vts/functional/ |
D | VtsHalHealthV2_1TargetTest.cpp | 47 #define TEST_AND_RETURN(expr) \ argument 49 auto res = (expr); \ 54 #define TEST_AND_RETURN_FAILURE(expr) \ argument 56 auto res = (expr); \ 58 return AssertionFailure() << #expr " is false"; \
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmdefs.h | 37 #define STATIC_ASSERT(expr) { \ argument 39 typedef enum { _STATIC_ASSERT_NOT_CONSTANT = (expr) } _static_assert_e; \ 41 typedef char STATIC_ASSERT_FAIL[(expr) ? 1 : -1]; \
|
/hardware/google/av/media/eco/include/eco/ |
D | ECOUtils.h | 32 #define RETURN_STATUS_IF_ERROR(expr) \ argument 34 status_t _errorCode = (expr); \
|
/hardware/google/av/media/eco/ |
D | ECOSession.cpp | 46 #define RETURN_IF_ERROR(expr) \ argument 48 status_t _errorCode = (expr); \
|
/hardware/interfaces/health/2.0/vts/functional/ |
D | VtsHalHealthV2_0TargetTest.cpp | 44 #define TEST_AND_RETURN(expr) \ argument 46 auto res = (expr); \
|
/hardware/google/av/codec2/tests/ |
D | C2ComponentInterface_test.cpp | 31 #define UNUSED(expr) \ argument 33 (void)(expr); \
|