Home
last modified time | relevance | path

Searched refs:mLooper (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DHandlerThreadTest.java64 private Looper mLooper; field in HandlerThreadTest.MockHandlerThread
79 mLooper = getLooper(); in onLooperPrepared()
98 return mLooper; in getMyLooper()
DTokenWatcherTest.java46 private Looper mLooper; field in TokenWatcherTest
53 mLooper = Looper.myLooper(); in setUp()
63 mHandler = new Handler(mLooper); in setUp()
102 mLooper.quit(); in tearDown()
DLooperTest.java36 private Looper mLooper = null; field in LooperTest
169 mLooper = Looper.myLooper(); in testQuit()
179 assertSame(t, mLooper.getThread()); in testQuit()
185 mLooper.quit(); in testQuit()
DMessengerTest.java204 private Looper mLooper; field in MessengerTest.MessengerTestHelper
272 mLooper.quit(); in doTest()
283 return mLooper; in getLooper()
309 mLooper = getLooper(); in onLooperPrepared()
DMessageQueueTest.java834 private Looper mLooper; field in MessageQueueTest.OrderTestHelper
872 mLooper.quit(); in doTest()
891 mLooper = getLooper(); in onLooperPrepared()
/cts/tests/tests/media/src/android/media/cts/
DPresetReverbTest.java321 mLooper = Looper.myLooper(); in createListenerLooper()
382 if (mLooper != null) { in terminateListenerLooper()
383 mLooper.quit(); in terminateListenerLooper()
384 mLooper = null; in terminateListenerLooper()
DBassBoostTest.java358 mLooper = Looper.myLooper(); in createListenerLooper()
420 if (mLooper != null) { in terminateListenerLooper()
421 mLooper.quit(); in terminateListenerLooper()
422 mLooper = null; in terminateListenerLooper()
DEqualizerTest.java378 mLooper = Looper.myLooper(); in createListenerLooper()
439 if (mLooper != null) { in terminateListenerLooper()
440 mLooper.quit(); in terminateListenerLooper()
441 mLooper = null; in terminateListenerLooper()
DAudioRecordingConfigurationTest.java50 private Looper mLooper; field in AudioRecordingConfigurationTest
70 mLooper = Looper.myLooper(); in setUp()
90 assertNotNull(mLooper); in setUp()
98 mLooper.quit(); in tearDown()
DPostProcTestBase.java31 protected Looper mLooper = null; field in PostProcTestBase
DMediaDrmMockTest.java640 private Looper mLooper = null; field in MediaDrmMockTest
658 mLooper = Looper.myLooper(); in testEventNoSessionNoData()
709 mLooper.quit(); in testEventNoSessionNoData()
727 mLooper = Looper.myLooper(); in testEventWithSessionAndData()
786 mLooper.quit(); in testEventWithSessionAndData()
804 mLooper = Looper.myLooper(); in testExpirationUpdate()
859 mLooper.quit(); in testExpirationUpdate()
877 mLooper = Looper.myLooper(); in testKeyStatusChange()
950 mLooper.quit(); in testKeyStatusChange()
DEnvReverbTest.java480 mLooper = Looper.myLooper(); in createListenerLooper()
541 if (mLooper != null) { in terminateListenerLooper()
542 mLooper.quit(); in terminateListenerLooper()
543 mLooper = null; in terminateListenerLooper()
DAudioEffectTest.java919 mLooper = Looper.myLooper(); in createListenerLooper()
982 if (mLooper != null) { in terminateListenerLooper()
983 mLooper.quit(); in terminateListenerLooper()
984 mLooper = null; in terminateListenerLooper()
1011 mLooper = Looper.myLooper(); in createMediaPlayerLooper()
1043 if (mLooper != null) { in terminateMediaPlayerLooper()
1044 mLooper.quit(); in terminateMediaPlayerLooper()
1045 mLooper = null; in terminateMediaPlayerLooper()
DVisualizerTest.java500 mLooper = Looper.myLooper(); in createListenerLooper()
547 if (mLooper != null) { in terminateListenerLooper()
548 mLooper.quit(); in terminateListenerLooper()
549 mLooper = null; in terminateListenerLooper()
DVirtualizerTest.java618 mLooper = Looper.myLooper(); in createListenerLooper()
679 if (mLooper != null) { in terminateListenerLooper()
680 mLooper.quit(); in terminateListenerLooper()
681 mLooper = null; in terminateListenerLooper()
DAudioHelper.java173 volatile private Looper mLooper; field in AudioHelper.MakeSomethingAsynchronouslyAndLoop
191 mLooper = Looper.myLooper(); in make()
202 mLooper.quit(); in join()
209 mLooper = null; in join()
DStreamingMediaPlayerTest.java575 private Looper mLooper; field in StreamingMediaPlayerTest.WorkerWithPlayer
588 while (mLooper == null) { in WorkerWithPlayer()
605 mLooper = Looper.myLooper(); in run()
613 mLooper.quit(); in quit()
DStreamingMediaPlayer2Test.java700 private Looper mLooper; field in StreamingMediaPlayer2Test.WorkerWithPlayer
713 while (mLooper == null) { in WorkerWithPlayer()
730 mLooper = Looper.myLooper(); in run()
738 mLooper.quit(); in quit()
D.goutputstream-9KZYJZ700 private Looper mLooper;
713 while (mLooper == null) {
730 mLooper = Looper.myLooper();
738 mLooper.quit();
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp77 mLooper = new android::Looper(false); in threadLoop()
78 if (mLooper.get() == NULL) { in threadLoop()
82 android::Looper::setForThread(mLooper); in threadLoop()
89mLooper->addFd(mSocket.getFD(), EIdSocket, android::Looper::EVENT_INPUT, socketRxCallback, this); in threadLoop()
92 mLooper->pollOnce(10000); in threadLoop()
153 mLooper->sendMessage(command, toCommandHandler(command)->getMessage()); in sendCommand()
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h105 android::sp<android::Looper> mLooper; variable
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java51 private Looper mLooper; field in PendingIntentTest
75 mLooper = Looper.myLooper(); in setUp()
83 mHandler = new Handler(mLooper) { in setUp()
113 mLooper.quit(); in tearDown()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java81 private Looper mLooper = null; field in CameraGLTest
138 mLooper = Looper.myLooper(); in initializeMessageLooper()
168 mLooper.quit(); in terminateMessageLooper()
174 mLooper.getThread().join(); in terminateMessageLooper()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java475 private Looper mLooper; field in AudioProtocol.LoopThread
481 mLooper = Looper.myLooper(); in run()
489 mLooper.quit(); in quitLoop()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java43 private static Looper mLooper = null; field in CodecTest
652 mLooper = Looper.myLooper(); in initializeMessageLooper()
668 mLooper.quit(); in terminateMessageLooper()

12