Searched refs:Expect (Results 1 – 1 of 1) sorted by relevance
31 enum class Expect { FAIL, SUCCEED, NOT_CRASH }; enum35 static void try_opening_audio_stream(AAudioStreamBuilder *aaudioBuilder, Expect expect) { in try_opening_audio_stream()39 if (expect == Expect::FAIL) { in try_opening_audio_stream()42 } else if (expect == Expect::SUCCEED) { in try_opening_audio_stream()58 static void runtest_aaudio_devices(int32_t deviceId, Expect expect) { in runtest_aaudio_devices()66 runtest_aaudio_devices(AAUDIO_UNSPECIFIED, Expect::NOT_CRASH); in TEST()117 aaudioBuilder, isValidSamplingRate(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()145 aaudioBuilder, isValidChannelCount(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()178 aaudioBuilder, isValidFormat(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()205 aaudioBuilder, isValidSharingMode(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()[all …]