Home
last modified time | relevance | path

Searched refs:ASSERT_TRUE (Results 1 – 19 of 19) sorted by relevance

/cts/tests/aslr/src/
DAslrMallocTest.cpp64 ASSERT_TRUE(size > 0 && size < PATH_MAX); in SetUp()
72 ASSERT_TRUE(pipe(fds) != -1); in GetAddress()
75 ASSERT_TRUE(pid != -1); in GetAddress()
79 ASSERT_TRUE(TEMP_FAILURE_RETRY(dup2(fds[1], STDOUT_FILENO)) != -1); in GetAddress()
86 ASSERT_TRUE(execl(self_.c_str(), self_.c_str(), argPrint.c_str(), in GetAddress()
95 ASSERT_TRUE(android::base::ReadFdToString(fds[0], &output)); in GetAddress()
99 ASSERT_TRUE(waitpid(pid, &status, 0) != -1); in GetAddress()
100 ASSERT_TRUE(WEXITSTATUS(status) == EXIT_SUCCESS); in GetAddress()
102 ASSERT_TRUE(android::base::ParseUint(output.c_str(), &address)); in GetAddress()
131 ASSERT_TRUE(entropy >= minEntropyBits); in TestRandomization()
/cts/tests/tests/nativemedia/xa/src/
DXAObjectCreationTest.cpp80 ASSERT_TRUE(IsOk(res)); in SetUp()
82 ASSERT_TRUE(IsOk(res)); in SetUp()
84 ASSERT_TRUE(IsOk(res)); in SetUp()
85 ASSERT_TRUE(NULL != engineItf); in SetUp()
111 ASSERT_TRUE(IsOk(res)); in OutputMixCreation()
112 ASSERT_TRUE(NULL != outputMixObj); in OutputMixCreation()
114 ASSERT_TRUE(IsOk(res)); in OutputMixCreation()
/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp91 ASSERT_TRUE(IsOk(res)); in SetUp()
93 ASSERT_TRUE(IsOk(res)); in SetUp()
95 ASSERT_TRUE(IsOk(res)); in SetUp()
96 ASSERT_TRUE(NULL != engineItf); in SetUp()
121 ASSERT_TRUE(IsOk(res)); in AudioPlayerCreation()
122 ASSERT_TRUE(NULL != audioPlayerObj); in AudioPlayerCreation()
124 ASSERT_TRUE(IsOk(res)); in AudioPlayerCreation()
177 ASSERT_TRUE(IsOk(res)); in OutputMixCreation()
178 ASSERT_TRUE(NULL != outputMixObj); in OutputMixCreation()
180 ASSERT_TRUE(IsOk(res)); in OutputMixCreation()
[all …]
/cts/tests/vr/jni/
DVrExtensionsJni.cpp79 #define ASSERT_TRUE(a) \ macro
127 ASSERT_TRUE(native_buffer); in testEglImageArray()
133 ASSERT_TRUE(image); in testEglImageArray()
223 ASSERT_TRUE(native_buffer); in testExternalBuffer()
243 ASSERT_TRUE(data); in testExternalBuffer()
252 ASSERT_TRUE(data); in testExternalBuffer()
259 ASSERT_TRUE(data); in testExternalBuffer()
272 ASSERT_TRUE(exts); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestExternalBuffer()
461 ASSERT_TRUE(pixels); in testLinearMagnification()
467 ASSERT_TRUE(native_buffer); in testLinearMagnification()
[all …]
/cts/tests/tests/graphics/jni/
DNativeTestHelpers.h30 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__) macro
Dandroid_graphics_cts_AImageDecoderTest.cpp574 ASSERT_TRUE(bitmapsEqual(env, jbitmap, (AndroidBitmapFormat) androidBitmapFormat, in testDecode()
683 ASSERT_TRUE(bitmapsEqual(minStride, height, pixels, minStride, decodePixels, in testDecodeStride()
847 ASSERT_TRUE(bitmapsEqual(env, jbitmap, AImageDecoderHeaderInfo_getAndroidBitmapFormat(info), in testComputeSampledSize()
891 ASSERT_TRUE(bitmapsEqual(env, jbitmap, AImageDecoderHeaderInfo_getAndroidBitmapFormat(info), in testDecodeScaled()
903 ASSERT_TRUE(bitmapsEqual(minStride, jInfo.height, pixels, minStride, decodePixels, stride)); in testDecodeScaled()
1110 ASSERT_TRUE(bitmapsEqual(env, jbitmap, AImageDecoderHeaderInfo_getAndroidBitmapFormat(info), in testDecodeCrop()
1122 ASSERT_TRUE(bitmapsEqual(minStride, height, pixels, minStride, decodePixels, stride)); in testDecodeCrop()
1231 ASSERT_TRUE(bitmapsEqual(env, jbitmap, (AndroidBitmapFormat) jInfo.format, in testDecodeSetDataSpace()
1239 ASSERT_TRUE(decoder); in testIsAnimated()
1251 ASSERT_TRUE(decoder); in testRepeatCount()
Dandroid_graphics_cts_BitmapTest.cpp40 ASSERT_TRUE(width >= 0 && height >= 0); in validateBitmapInfo()
/cts/tests/tests/uirendering/jni/
DNativeTestHelpers.h32 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__) macro
/cts/tests/tests/security/native/encryption/
DFileBasedEncryptionPolicyTest.cpp221 ASSERT_TRUE(android::fscrypt::ParseOptions(options_string, &options)); in validateAdoptableStorageSettings()
225 ASSERT_TRUE(android::fscrypt::OptionsToString(options, &options_string_full)); in validateAdoptableStorageSettings()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_mmap.cpp98 ASSERT_TRUE(AAudioExtensions::getInstance().isMMapUsed(stream)); // MMAP? in TEST_F()
Dutils.cpp117 ASSERT_TRUE(mBuilder != nullptr); in initBuilder()
139 ASSERT_TRUE(mStream != nullptr); in createAndVerifyStream()
174 ASSERT_TRUE(sValidStreamFormats.find(AAudioStream_getHardwareFormat(mStream)) != in createAndVerifyStream()
Dtest_aaudio_stream_builder.cpp65 ASSERT_TRUE(((result < 0) && (aaudioStream == nullptr)) in try_opening_audio_stream()
463 ASSERT_TRUE(((result < 0) && (aaudioStream == nullptr)) in testChannelMask()
Dtest_aaudio.cpp407 ASSERT_TRUE(framesTotal > 0); in TEST_P()
Dtest_aaudio_attributes.cpp800 ASSERT_TRUE(result == AAUDIO_ERROR_ILLEGAL_ARGUMENT in TEST_P()
/cts/tests/sensor/jni/
DnativeTestHelper.h33 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__) macro
DSensorTestCases.cpp25 ASSERT_TRUE(mManager->isValid()); in testInitialized()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dutilities.h61 #define ASSERT_OK(THING) ASSERT_TRUE(isOk(THING))
Dtest_native_aidl_client.cpp1287 ASSERT_TRUE(AIBinder_associateClass(binder.get(), kLegacyBinderClass)); in TEST_P()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp1261 ASSERT_TRUE(dot_pos > 0 && dot_pos < version.size() - 1); in SetUp()