Home
last modified time | relevance | path

Searched refs:isOk (Results 1 – 23 of 23) sorted by relevance

/cts/tests/media/jni/
DNativeCodecTestBase.cpp513 bool isOk = true; in doWork() local
517 while (!hasSeenError() && isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
521 isOk = enqueueInput(element.bufferIndex); in doWork()
524 isOk = dequeueOutput(element.bufferIndex, &element.bufferInfo); in doWork()
531 while (isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
534 isOk = dequeueOutput(oBufferID, &outInfo); in doWork()
554 isOk = enqueueInput(iBufferId); in doWork()
567 return !hasSeenError() && isOk; in doWork()
571 bool isOk = true; in queueEOS() local
573 while (!hasSeenError() && isOk && !mSawInputEOS) { in queueEOS()
[all …]
DNativeCodecUnitTest.cpp857 bool isOk = true; in testGetOutputBufferInRunningState() local
861 while (!mSawOutputEOS && isOk) { in testGetOutputBufferInRunningState()
870 isOk = dequeueOutput(element.bufferIndex, &element.bufferInfo); in testGetOutputBufferInRunningState()
879 isOk = dequeueOutput(bufferIndex, &outInfo); in testGetOutputBufferInRunningState()
882 if (hasSeenError() || !isOk) { in testGetOutputBufferInRunningState()
1329 bool isOk = true; in testReleaseOutputBufferInRunningState() local
1330 while (!mSawOutputEOS && isOk) { in testReleaseOutputBufferInRunningState()
1339 isOk = dequeueOutput(element.bufferIndex, &element.bufferInfo); in testReleaseOutputBufferInRunningState()
1348 isOk = dequeueOutput(bufferIndex, &outInfo); in testReleaseOutputBufferInRunningState()
1351 if (hasSeenError() || !isOk) { in testReleaseOutputBufferInRunningState()
[all …]
DNativeCodecDecoderTestCommon.cpp309 bool isOk = true; in queueCodecConfig() local
311 for (mCurrCsdIdx = 0; !hasSeenError() && isOk && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig()
315 isOk = enqueueCodecConfig(element.bufferIndex); in queueCodecConfig()
320 for (mCurrCsdIdx = 0; isOk && mCurrCsdIdx < mCsdBuffers.size(); mCurrCsdIdx++) { in queueCodecConfig()
323 isOk = enqueueCodecConfig(bufferIndex); in queueCodecConfig()
334 return !hasSeenError() && isOk; in queueCodecConfig()
/cts/tests/tests/nativemedia/resourceobserver/src/
DResourceObserverNativeTest.cpp110 EXPECT_TRUE(status.isOk()); in testResourceObserver()
139 EXPECT_TRUE(status.isOk()); in testResourceObserver()
172 EXPECT_FALSE(status.isOk()); in TEST_F()
177 EXPECT_FALSE(status.isOk()); in TEST_F()
182 EXPECT_TRUE(status.isOk()); in TEST_F()
184 EXPECT_FALSE(status.isOk()); in TEST_F()
188 EXPECT_TRUE(status.isOk()); in TEST_F()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dutilities.h29 static inline ::testing::AssertionResult isOk(T) = delete;
32 inline ::testing::AssertionResult isOk(::ndk::ScopedAStatus t) { in isOk() function
44 inline ::testing::AssertionResult isOk(binder_status_t t) { in isOk() function
60 #define EXPECT_OK(THING) EXPECT_TRUE(isOk(THING))
61 #define ASSERT_OK(THING) ASSERT_TRUE(isOk(THING))
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/
Dpoc.cpp75 if (!returnVoid.isOk() || status != Status::OK) { in main()
80 if (!returnDescrambler.isOk()) { in main()
92 if (!returnStatus.isOk() || (Status)returnStatus != Status::OK) { in main()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderPsnrTest.java127 boolean isOk = true; in testPsnr()
137 isOk = false; in testPsnr()
148 isOk = false; in testPsnr()
156 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testPsnr()
DVideoEncoderMultiResTest.java175 boolean isOk = true; in testMultiRes()
184 isOk = false; in testMultiRes()
194 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testMultiRes()
DVideoEncoderMinMaxTest.java292 boolean isOk = true; in testMinMaxSupport()
301 isOk = false; in testMinMaxSupport()
311 + MIN_ACCEPTABLE_QUALITY + "dB \n" + msg + mTestConfig + mTestEnv, isOk); in testMinMaxSupport()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java1078 boolean isOk = true;
1079 for (int i = 1; i < mSrcFiles.length && isOk; i++) {
1089 isOk = false;
1095 assertTrue(testName.getMethodName() + " failed for Mediatype: " + mMediaType, isOk);
1112 boolean isOk = true;
1127 isOk = false;
1132 assertTrue(testName.getMethodName() + " failed for mediaType: " + mMediaType, isOk);
1146 boolean isOk = true;
1161 isOk = false;
1166 assertTrue(testName.getMethodName() + " failed for Mediatype: " + mMediaType, isOk);
[all …]
/cts/tests/video/src/android/video/cts/
DCodecPerformanceTestBase.java192 boolean isOk = true; in selectCodecs()
198 isOk = false; in selectCodecs()
206 isOk = false; in selectCodecs()
211 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/
Dpoc.cpp44 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-9347/
Dpoc.cpp38 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/
Dpoc.cpp125 if (!status.isOk()) { in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0817/
Dpoc.cpp50 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0840/
Dpoc.cpp36 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0684/
Dpoc.cpp40 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp110 if (!descramble_result.isOk()) { in thread_func()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13241/
Dpoc.cpp41 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2485/
Dpoc.cpp51 omxExitOnError(!transStatus.isOk()); in allocateHidlPortBuffers()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderTestBase.java199 boolean isOk = true; in validateEncodedPSNR()
213 isOk = false; in validateEncodedPSNR()
217 + perFramePsnrThreshold + "dB \n" + msg, isOk); in validateEncodedPSNR()
DCodecTestBase.java1064 boolean isOk = true; in selectCodecs()
1070 isOk = false; in selectCodecs()
1078 isOk = false; in selectCodecs()
1083 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java462 boolean isOk = true; in selectCodecs()
468 isOk = false; in selectCodecs()
476 isOk = false; in selectCodecs()
481 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()