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.java159 private Looper mLooper; field in MessengerTest.MessengerTestHelper
227 mLooper.quit(); in doTest()
238 return mLooper; in getLooper()
264 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/camera/src/android/hardware/cts/
DCameraTestCase.java41 protected Looper mLooper = null; field in CameraTestCase
61 mLooper = Looper.myLooper(); in initializeMessageLooper()
97 mLooper.quit(); in terminateMessageLooper()
103 mLooper.getThread().join(); in terminateMessageLooper()
DCameraGLTest.java78 private Looper mLooper = null; field in CameraGLTest
135 mLooper = Looper.myLooper(); in initializeMessageLooper()
165 mLooper.quit(); in terminateMessageLooper()
171 mLooper.getThread().join(); in terminateMessageLooper()
/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/tests/tests/media/src/android/media/cts/
DPresetReverbTest.java322 mLooper = Looper.myLooper(); in createListenerLooper()
383 if (mLooper != null) { in terminateListenerLooper()
384 mLooper.quit(); in terminateListenerLooper()
385 mLooper = null; in terminateListenerLooper()
DBassBoostTest.java359 mLooper = Looper.myLooper(); in createListenerLooper()
421 if (mLooper != null) { in terminateListenerLooper()
422 mLooper.quit(); in terminateListenerLooper()
423 mLooper = null; in terminateListenerLooper()
DAudioEffectTest.java920 mLooper = Looper.myLooper(); in createListenerLooper()
983 if (mLooper != null) { in terminateListenerLooper()
984 mLooper.quit(); in terminateListenerLooper()
985 mLooper = null; in terminateListenerLooper()
1012 mLooper = Looper.myLooper(); in createMediaPlayerLooper()
1044 if (mLooper != null) { in terminateMediaPlayerLooper()
1045 mLooper.quit(); in terminateMediaPlayerLooper()
1046 mLooper = null; in terminateMediaPlayerLooper()
DEqualizerTest.java379 mLooper = Looper.myLooper(); in createListenerLooper()
440 if (mLooper != null) { in terminateListenerLooper()
441 mLooper.quit(); in terminateListenerLooper()
442 mLooper = null; in terminateListenerLooper()
DMediaDrmMockTest.java646 private Looper mLooper = null; field in MediaDrmMockTest
690 mLooper = Looper.myLooper(); in testEventNoSessionNoData()
731 mLooper.quit(); in testEventNoSessionNoData()
755 mLooper = Looper.myLooper(); in testEventWithSessionAndData()
804 mLooper.quit(); in testEventWithSessionAndData()
841 mLooper = Looper.myLooper(); in testExpirationUpdate()
886 mLooper.quit(); in testExpirationUpdate()
941 mLooper = Looper.myLooper(); in testKeyStatusChange()
986 mLooper.quit(); in testKeyStatusChange()
DAudioRecordingConfigurationTest.java53 private Looper mLooper; field in AudioRecordingConfigurationTest
73 mLooper = Looper.myLooper(); in setUp()
93 assertNotNull(mLooper); in setUp()
101 mLooper.quit(); in tearDown()
DEnvReverbTest.java481 mLooper = Looper.myLooper(); in createListenerLooper()
542 if (mLooper != null) { in terminateListenerLooper()
543 mLooper.quit(); in terminateListenerLooper()
544 mLooper = null; in terminateListenerLooper()
DVisualizerTest.java503 mLooper = Looper.myLooper(); in createListenerLooper()
550 if (mLooper != null) { in terminateListenerLooper()
551 mLooper.quit(); in terminateListenerLooper()
552 mLooper = null; in terminateListenerLooper()
DVirtualizerTest.java619 mLooper = Looper.myLooper(); in createListenerLooper()
680 if (mLooper != null) { in terminateListenerLooper()
681 mLooper.quit(); in terminateListenerLooper()
682 mLooper = null; in terminateListenerLooper()
DStreamingMediaPlayerTest.java501 private Looper mLooper; field in StreamingMediaPlayerTest.WorkerWithPlayer
514 while (mLooper == null) { in WorkerWithPlayer()
531 mLooper = Looper.myLooper(); in run()
539 mLooper.quit(); in quit()
DPostProcTestBase.java31 protected Looper mLooper = null; field in PostProcTestBase
DAudioHelper.java202 volatile private Looper mLooper; field in AudioHelper.MakeSomethingAsynchronouslyAndLoop
220 mLooper = Looper.myLooper(); in make()
231 mLooper.quit(); in join()
238 mLooper = null; in join()
D.goutputstream-9KZYJZ700 private Looper mLooper;
713 while (mLooper == null) {
730 mLooper = Looper.myLooper();
738 mLooper.quit();
/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/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/suite/audio_quality/lib/include/audio/
DRemoteAudio.h105 android::sp<android::Looper> mLooper; variable
/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