Lines Matching refs:isAsync
46 bool configureCodec(AMediaFormat* format, bool isAsync, bool signalEOSWithLastFrame,
151 bool CodecDecoderTest::configureCodec(AMediaFormat* format, bool isAsync, in configureCodec() argument
153 resetContext(isAsync, signalEOSWithLastFrame); in configureCodec()
154 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec()
297 for (auto isAsync : boolStates) { in testSimpleDecode() local
302 decoder, testFile, (isAsync ? "async" : "sync"), in testSimpleDecode()
327 if (!configureCodec(mInpDecFormat, isAsync, eosType, false)) return false; in testSimpleDecode()
406 for (auto isAsync : boolStates) { in testFlush() local
410 (isAsync ? "async" : "sync")); in testFlush()
420 if (!configureCodec(mInpDecFormat, isAsync, true, false)) return false; in testFlush()
508 for (auto isAsync : boolStates) { in testOnlyEos() local
512 (isAsync ? "async" : "sync")); in testOnlyEos()
523 if (!configureCodec(mInpDecFormat, isAsync, false, false)) return false; in testOnlyEos()
570 for (auto isAsync : boolStates) { in testSimpleDecodeQueueCSD() local
575 decoder, testFile, (isAsync ? "async" : "sync"), in testSimpleDecodeQueueCSD()
588 if (!configureCodec(fmt, isAsync, eosType, false)) return false; in testSimpleDecodeQueueCSD()