Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java76 private Thread mPlaybackThread; field in SoundPlayerObject
442 if (mPlaybackThread != null) { in isAlive()
443 return mPlaybackThread.isAlive(); in isAlive()
452 if (mPlaybackThread == null) { in start()
453 mPlaybackThread = new Thread(this); in start()
454 mPlaybackThread.setName("playbackThread"); in start()
455 log("Created playback thread " + mPlaybackThread); in start()
458 if (!mPlaybackThread.isAlive()) { in start()
459 mPlaybackThread.start(); in start()
460 mPlaybackThread.setPriority(Thread.MAX_PRIORITY); in start()
[all …]
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java77 private LoopThread mPlaybackThread = null; field in AudioProtocol
118 mPlaybackThread.quitLoop(); in onMarkerReached()
119 mPlaybackThread = null; in onMarkerReached()
214 if (mPlaybackThread != null) { in reset()
215 mPlaybackThread.quitLoop(); in reset()
216 mPlaybackThread = null; in reset()
251 mPlaybackThread = new LoopThread(new Runnable() { in handleStartPlayback()
305 mPlaybackThread.start(); in handleStartPlayback()
323 if (mPlaybackThread != null) { in handleStopPlayback()
324 mPlaybackThread.quitLoop(); in handleStopPlayback()
[all …]