Searched refs:callbackThread (Results 1 – 2 of 2) sorted by relevance
202 HandlerThread callbackThread = new HandlerThread("MediaCodec callback thread"); in runShortClearKeyVideoWithNoCryptoErrorOverride() local203 callbackThread.start(); in runShortClearKeyVideoWithNoCryptoErrorOverride()204 callbackThread.setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { in runShortClearKeyVideoWithNoCryptoErrorOverride()235 mediaCodec.setCallback(mediaCallback, new Handler(callbackThread.getLooper())); in runShortClearKeyVideoWithNoCryptoErrorOverride()
782 HandlerThread callbackThread = new HandlerThread("ReleaseAfterFlushCallbackThread"); in testReleaseAfterFlush() local783 callbackThread.start(); in testReleaseAfterFlush()784 Handler handler = new Handler(callbackThread.getLooper()); in testReleaseAfterFlush()806 callbackThread.quitSafely(); in testReleaseAfterFlush()807 callbackThread.join(); in testReleaseAfterFlush()