Home
last modified time | relevance | path

Searched refs:callbackThread (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecCryptoAsyncHelper.java202 HandlerThread callbackThread = new HandlerThread("MediaCodec callback thread"); in runShortClearKeyVideoWithNoCryptoErrorOverride() local
203 callbackThread.start(); in runShortClearKeyVideoWithNoCryptoErrorOverride()
204 callbackThread.setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { in runShortClearKeyVideoWithNoCryptoErrorOverride()
235 mediaCodec.setCallback(mediaCallback, new Handler(callbackThread.getLooper())); in runShortClearKeyVideoWithNoCryptoErrorOverride()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java782 HandlerThread callbackThread = new HandlerThread("ReleaseAfterFlushCallbackThread"); in testReleaseAfterFlush() local
783 callbackThread.start(); in testReleaseAfterFlush()
784 Handler handler = new Handler(callbackThread.getLooper()); in testReleaseAfterFlush()
806 callbackThread.quitSafely(); in testReleaseAfterFlush()
807 callbackThread.join(); in testReleaseAfterFlush()