/cts/tests/aslr/src/ |
D | AslrMallocTest.cpp | 64 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/ |
D | XAObjectCreationTest.cpp | 80 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/ |
D | SLObjectCreationTest.cpp | 91 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/ |
D | VrExtensionsJni.cpp | 79 #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/ |
D | NativeTestHelpers.h | 30 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__) macro
|
D | android_graphics_cts_AImageDecoderTest.cpp | 574 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()
|
D | android_graphics_cts_BitmapTest.cpp | 40 ASSERT_TRUE(width >= 0 && height >= 0); in validateBitmapInfo()
|
/cts/tests/tests/uirendering/jni/ |
D | NativeTestHelpers.h | 32 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__) macro
|
/cts/tests/tests/security/native/encryption/ |
D | FileBasedEncryptionPolicyTest.cpp | 221 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/ |
D | test_aaudio_mmap.cpp | 98 ASSERT_TRUE(AAudioExtensions::getInstance().isMMapUsed(stream)); // MMAP? in TEST_F()
|
D | utils.cpp | 117 ASSERT_TRUE(mBuilder != nullptr); in initBuilder() 139 ASSERT_TRUE(mStream != nullptr); in createAndVerifyStream() 174 ASSERT_TRUE(sValidStreamFormats.find(AAudioStream_getHardwareFormat(mStream)) != in createAndVerifyStream()
|
D | test_aaudio_stream_builder.cpp | 65 ASSERT_TRUE(((result < 0) && (aaudioStream == nullptr)) in try_opening_audio_stream() 463 ASSERT_TRUE(((result < 0) && (aaudioStream == nullptr)) in testChannelMask()
|
D | test_aaudio.cpp | 407 ASSERT_TRUE(framesTotal > 0); in TEST_P()
|
D | test_aaudio_attributes.cpp | 800 ASSERT_TRUE(result == AAUDIO_ERROR_ILLEGAL_ARGUMENT in TEST_P()
|
/cts/tests/sensor/jni/ |
D | nativeTestHelper.h | 33 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__) macro
|
D | SensorTestCases.cpp | 25 ASSERT_TRUE(mManager->isValid()); in testInitialized()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | utilities.h | 61 #define ASSERT_OK(THING) ASSERT_TRUE(isOk(THING))
|
D | test_native_aidl_client.cpp | 1287 ASSERT_TRUE(AIBinder_associateClass(binder.get(), kLegacyBinderClass)); in TEST_P()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 1261 ASSERT_TRUE(dot_pos > 0 && dot_pos < version.size() - 1); in SetUp()
|