Lines Matching refs:isAsync
50 bool configureCodec(AMediaFormat* format, bool isAsync, bool signalEOSWithLastFrame,
167 bool CodecDecoderTest::configureCodec(AMediaFormat* format, bool isAsync, in configureCodec() argument
169 resetContext(isAsync, signalEOSWithLastFrame); in configureCodec()
187 (isAsync ? "asynchronous" : "synchronous"))); in configureCodec()
191 RETURN_IF_FAIL(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec()
366 for (auto isAsync : boolStates) { in testSimpleDecode() local
382 if (!configureCodec(mInpDecFormat, isAsync, eosType, false)) return false; in testSimpleDecode()
441 for (auto isAsync : boolStates) { in testFlush() local
442 if (isAsync) continue; // TODO(b/147576107) in testFlush()
449 if (!configureCodec(mInpDecFormat, isAsync, true, false)) return false; in testFlush()
525 for (auto isAsync : boolStates) { in testOnlyEos() local
533 if (!configureCodec(mInpDecFormat, isAsync, false, false)) return false; in testOnlyEos()
576 for (auto isAsync : boolStates) { in testSimpleDecodeQueueCSD() local
586 if (!configureCodec(fmt, isAsync, eosType, false)) return false; in testSimpleDecodeQueueCSD()