Home
last modified time | relevance | path

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

12

/cts/tests/tests/os/src/android/os/cts/
DHandlerThreadTest.java83 private Looper mLooper; field in HandlerThreadTest.MockHandlerThread
98 mLooper = getLooper(); in onLooperPrepared()
117 return mLooper; in getMyLooper()
DTokenWatcherTest.java48 private Looper mLooper; field in TokenWatcherTest
55 mLooper = Looper.myLooper(); in setUp()
65 mHandler = new Handler(mLooper); in setUp()
104 mLooper.quit(); in tearDown()
DLooperTest.java56 private Looper mLooper = null; field in LooperTest
199 mLooper = Looper.myLooper(); in testQuit()
209 assertSame(t, mLooper.getThread()); in testQuit()
215 mLooper.quit(); in testQuit()
DMessengerTest.java161 private Looper mLooper; field in MessengerTest.MessengerTestHelper
229 mLooper.quit(); in doTest()
240 return mLooper; in getLooper()
266 mLooper = getLooper(); in onLooperPrepared()
DMessageQueueTest.java940 private Looper mLooper; field in MessageQueueTest.OrderTestHelper
978 mLooper.quit(); in doTest()
997 mLooper = getLooper(); in onLooperPrepared()
/cts/tests/camera/src/android/hardware/cts/
DCameraPerformanceTestHelper.java44 private Looper mLooper = null; field in CameraPerformanceTestHelper
63 mLooper = Looper.myLooper(); in initializeMessageLooper()
99 mLooper.quit(); in terminateMessageLooper()
105 mLooper.getThread().join(); in terminateMessageLooper()
DCameraGLTest.java80 private Looper mLooper = null; field in CameraGLTest
145 mLooper = Looper.myLooper(); in initializeMessageLooper()
175 mLooper.quit(); in terminateMessageLooper()
181 mLooper.getThread().join(); in terminateMessageLooper()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DPresetReverbTest.java342 mLooper = Looper.myLooper(); in createListenerLooper()
403 if (mLooper != null) { in terminateListenerLooper()
404 mLooper.quit(); in terminateListenerLooper()
405 mLooper = null; in terminateListenerLooper()
DBassBoostTest.java381 mLooper = Looper.myLooper(); in createListenerLooper()
443 if (mLooper != null) { in terminateListenerLooper()
444 mLooper.quit(); in terminateListenerLooper()
445 mLooper = null; in terminateListenerLooper()
DEqualizerTest.java403 mLooper = Looper.myLooper(); in createListenerLooper()
464 if (mLooper != null) { in terminateListenerLooper()
465 mLooper.quit(); in terminateListenerLooper()
466 mLooper = null; in terminateListenerLooper()
DAudioRecordingConfigurationTest.java51 private Looper mLooper; field in AudioRecordingConfigurationTest
71 mLooper = Looper.myLooper(); in setUp()
91 assertNotNull(mLooper); in setUp()
99 mLooper.quit(); in tearDown()
DEnvReverbTest.java505 mLooper = Looper.myLooper(); in createListenerLooper()
566 if (mLooper != null) { in terminateListenerLooper()
567 mLooper.quit(); in terminateListenerLooper()
568 mLooper = null; in terminateListenerLooper()
DAudioEffectTest.java961 mLooper = Looper.myLooper(); in createListenerLooper()
1024 if (mLooper != null) { in terminateListenerLooper()
1025 mLooper.quit(); in terminateListenerLooper()
1026 mLooper = null; in terminateListenerLooper()
1053 mLooper = Looper.myLooper(); in createMediaPlayerLooper()
1085 if (mLooper != null) { in terminateMediaPlayerLooper()
1086 mLooper.quit(); in terminateMediaPlayerLooper()
1087 mLooper = null; in terminateMediaPlayerLooper()
DPostProcTestBase.java37 protected Looper mLooper = null; field in PostProcTestBase
DVisualizerTest.java568 mLooper = Looper.myLooper(); in createListenerLooper()
615 if (mLooper != null) { in terminateListenerLooper()
616 mLooper.quit(); in terminateListenerLooper()
617 mLooper = null; in terminateListenerLooper()
DVirtualizerTest.java644 mLooper = Looper.myLooper(); in createListenerLooper()
705 if (mLooper != null) { in terminateListenerLooper()
706 mLooper.quit(); in terminateListenerLooper()
707 mLooper = null; in terminateListenerLooper()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
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()
DMediaDrmClearkeyTest.java123 private Looper mLooper; field in MediaDrmClearkeyTest
300 mLooper = Looper.myLooper(); in startDrm()
412 mLooper.quit(); in stopDrm()
/cts/tests/tests/media/player/src/android/media/player/cts/
DStreamingMediaPlayerTest.java478 private Looper mLooper; field in StreamingMediaPlayerTest.WorkerWithPlayer
491 while (mLooper == null) { in WorkerWithPlayer()
508 mLooper = Looper.myLooper(); in run()
516 mLooper.quit(); in quit()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java318 volatile private Looper mLooper; field in AudioHelper.MakeSomethingAsynchronouslyAndLoop
336 mLooper = Looper.myLooper(); in make()
347 mLooper.quit(); in join()
354 mLooper = null; in join()
/cts/tests/tests/gameframerate/src/
DGameFrameRateCtsActivity.java392 Looper mLooper; field in GameFrameRateCtsActivity.ChoreographerFrameRateObserver.ChoreographerThread
409 mLooper = Looper.myLooper(); in run()
424 mLooper.quitSafely(); in doFrame()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateOverrideCtsActivity.java348 Looper mLooper; field in FrameRateOverrideCtsActivity.ChoreographerFrameRateObserver.ChoreographerThread
365 mLooper = Looper.myLooper(); in run()
380 mLooper.quitSafely(); in doFrame()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java45 private static Looper mLooper = null; field in CodecTest
660 mLooper = Looper.myLooper(); in initializeMessageLooper()
676 if (mLooper != null) { in terminateMessageLooper()
677 mLooper.quit(); in terminateMessageLooper()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java65 private Looper mLooper; field in PendingIntentTest
90 mLooper = Looper.myLooper(); in setUp()
98 mHandler = new Handler(mLooper) { in setUp()
128 mLooper.quit(); in tearDown()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java657 private Looper mLooper; field in EncodeVirtualDisplayWithCompositionTestImpl.GlCompositor
705 if (mLooper != null) { in stopComposition()
706 mLooper.quit(); in stopComposition()
911 mLooper = Looper.myLooper(); in run()
923 mLooper = null; in run()

12