Home
last modified time | relevance | path

Searched refs:mRecordThread (Results 1 – 5 of 5) sorted by relevance

/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java75 private LoopThread mRecordThread = null; field in AudioProtocol
202 if (mRecordThread != null) { in reset()
203 mRecordThread.quitLoop(); in reset()
204 mRecordThread = null; in reset()
347 mRecordThread = new LoopThread(new Runnable() { in handleStartRecording()
393 mRecordThread.start(); in handleStartRecording()
408 if (mRecordThread != null) { in handleStopRecording()
409 mRecordThread.quitLoop(); in handleStopRecording()
410 mRecordThread = null; in handleStopRecording()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java91 private Thread mRecordThread; field in AudioFrequencySpeakerActivity
546 if (mRecordThread == null) { in startRecordingForReal()
547 mRecordThread = new Thread(AudioFrequencySpeakerActivity.this); in startRecordingForReal()
548 mRecordThread.setName("FrequencyAnalyzerThread"); in startRecordingForReal()
551 if (!mRecordThread.isAlive()) { in startRecordingForReal()
552 mRecordThread.start(); in startRecordingForReal()
576 Thread zeThread = mRecordThread; in stopRecordingForReal()
577 mRecordThread = null; in stopRecordingForReal()
705 while (mRecordThread == thisThread && !mRecordThreadShutdown) { in run()
DAudioFrequencyLineActivity.java85 private volatile Thread mRecordThread; field in AudioFrequencyLineActivity
528 if (mRecordThread == null) { in startRecordingForReal()
529 mRecordThread = new Thread(AudioFrequencyLineActivity.this); in startRecordingForReal()
530 mRecordThread.setName("FrequencyAnalyzerThread"); in startRecordingForReal()
533 if (!mRecordThread.isAlive()) { in startRecordingForReal()
534 mRecordThread.start(); in startRecordingForReal()
558 Thread zeThread = mRecordThread; in stopRecordingForReal()
559 mRecordThread = null; in stopRecordingForReal()
686 while (mRecordThread == thisThread && !mRecordThreadShutdown) { in run()
DAudioFrequencyMicActivity.java121 private Thread mRecordThread; field in AudioFrequencyMicActivity
765 if (mRecordThread == null) { in startRecordingForReal()
766 mRecordThread = new Thread(AudioFrequencyMicActivity.this); in startRecordingForReal()
767 mRecordThread.setName("FrequencyAnalyzerThread"); in startRecordingForReal()
769 if (!mRecordThread.isAlive()) { in startRecordingForReal()
770 mRecordThread.start(); in startRecordingForReal()
794 Thread zeThread = mRecordThread; in stopRecordingForReal()
795 mRecordThread = null; in stopRecordingForReal()
DAudioFrequencyUnprocessedActivity.java128 private Thread mRecordThread; field in AudioFrequencyUnprocessedActivity
984 if (mRecordThread == null) { in startRecordingForReal()
985 mRecordThread = new Thread(AudioFrequencyUnprocessedActivity.this); in startRecordingForReal()
986 mRecordThread.setName("FrequencyAnalyzerThread"); in startRecordingForReal()
988 if (!mRecordThread.isAlive()) { in startRecordingForReal()
989 mRecordThread.start(); in startRecordingForReal()
1013 Thread zeThread = mRecordThread; in stopRecordingForReal()
1014 mRecordThread = null; in stopRecordingForReal()