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/
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()
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()
DAudioFrequencyUnprocessedActivity.java94 private Thread mRecordThread; field in AudioFrequencyUnprocessedActivity
538 if (mRecordThread == null) { in startRecordingForReal()
539 mRecordThread = new Thread(AudioFrequencyUnprocessedActivity.this); in startRecordingForReal()
540 mRecordThread.setName("FrequencyAnalyzerThread"); in startRecordingForReal()
542 if (!mRecordThread.isAlive()) { in startRecordingForReal()
543 mRecordThread.start(); in startRecordingForReal()
567 Thread zeThread = mRecordThread; in stopRecordingForReal()
568 mRecordThread = null; in stopRecordingForReal()
DAudioFrequencyMicActivity.java105 private Thread mRecordThread; field in AudioFrequencyMicActivity
687 if (mRecordThread == null) { in startRecordingForReal()
688 mRecordThread = new Thread(AudioFrequencyMicActivity.this); in startRecordingForReal()
689 mRecordThread.setName("FrequencyAnalyzerThread"); in startRecordingForReal()
691 if (!mRecordThread.isAlive()) { in startRecordingForReal()
692 mRecordThread.start(); in startRecordingForReal()
716 Thread zeThread = mRecordThread; in stopRecordingForReal()
717 mRecordThread = null; in stopRecordingForReal()