Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecTestBase.cpp424 bool isOk = true; in doWork() local
428 while (!hasSeenError() && isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
432 isOk = enqueueInput(element.bufferIndex); in doWork()
435 isOk = dequeueOutput(element.bufferIndex, &element.bufferInfo); in doWork()
442 while (isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
445 isOk = dequeueOutput(oBufferID, &outInfo); in doWork()
461 isOk = enqueueInput(iBufferId); in doWork()
470 return !hasSeenError() && isOk; in doWork()
474 bool isOk = true; in queueEOS() local
476 if (!hasSeenError() && isOk && !mSawInputEOS) { in queueEOS()
[all …]
DNativeCodecUnitTest.cpp844 bool isOk = true; in testGetOutputBufferInRunningState() local
848 while (!mSawOutputEOS && isOk) { in testGetOutputBufferInRunningState()
857 isOk = dequeueOutput(element.bufferIndex, &element.bufferInfo); in testGetOutputBufferInRunningState()
866 isOk = dequeueOutput(bufferIndex, &outInfo); in testGetOutputBufferInRunningState()
869 if (hasSeenError() || !isOk) { in testGetOutputBufferInRunningState()
1305 bool isOk = true; in testReleaseOutputBufferInRunningState() local
1306 while (!mSawOutputEOS && isOk) { in testReleaseOutputBufferInRunningState()
1315 isOk = dequeueOutput(element.bufferIndex, &element.bufferInfo); in testReleaseOutputBufferInRunningState()
1324 isOk = dequeueOutput(bufferIndex, &outInfo); in testReleaseOutputBufferInRunningState()
1327 if (hasSeenError() || !isOk) { in testReleaseOutputBufferInRunningState()
[all …]
DNativeCodecDecoderTest.cpp240 bool isOk = true; in queueCodecConfig() local
242 for (mCurrCsdIdx = 0; !hasSeenError() && isOk && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig()
246 isOk = enqueueCodecConfig(element.bufferIndex); in queueCodecConfig()
251 for (mCurrCsdIdx = 0; isOk && mCurrCsdIdx < mCsdBuffers.size(); mCurrCsdIdx++) { in queueCodecConfig()
254 isOk = enqueueCodecConfig(bufferIndex); in queueCodecConfig()
261 return !hasSeenError() && isOk; in queueCodecConfig()
DNativeCodecEncoderTest.cpp209 bool isOk = CodecTestBase::flushCodec(); in flushCodec() local
219 return isOk; in flushCodec()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java873 boolean isOk = true;
874 for (int i = 1; i < mSrcFiles.length && isOk; i++) {
883 isOk = false;
889 assertTrue(testName.getMethodName() + " failed for mime: " + mMime, isOk);
901 boolean isOk = true;
915 isOk = false;
920 assertTrue(testName.getMethodName() + " failed for mime: " + mMime, isOk);
930 boolean isOk = true;
943 isOk = false;
948 assertTrue(testName.getMethodName() + " failed for mime: " + mMime, isOk);
[all …]
DCodecTestBase.java748 boolean isOk = true; in selectCodecs()
754 isOk = false; in selectCodecs()
762 isOk = false; in selectCodecs()
767 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()
/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/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp110 if (!descramble_result.isOk()) { in thread_func()