Home
last modified time | relevance | path

Searched refs:mLooper (Results 1 – 25 of 26) 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.java47 private Looper mLooper; field in TokenWatcherTest
54 mLooper = Looper.myLooper(); in setUp()
64 mHandler = new Handler(mLooper); in setUp()
103 mLooper.quit(); in tearDown()
DLooperTest.java35 private Looper mLooper = null; field in LooperTest
164 mLooper = Looper.myLooper(); in testQuit()
174 assertSame(t, mLooper.getThread()); in testQuit()
180 mLooper.quit(); in testQuit()
DMessengerTest.java197 private Looper mLooper; field in MessengerTest.MessengerTestHelper
265 mLooper.quit(); in doTest()
276 return mLooper; in getLooper()
302 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.java319 mLooper = Looper.myLooper(); in createListenerLooper()
380 if (mLooper != null) { in terminateListenerLooper()
381 mLooper.quit(); in terminateListenerLooper()
382 mLooper = null; in terminateListenerLooper()
DBassBoostTest.java358 mLooper = Looper.myLooper(); in createListenerLooper()
419 if (mLooper != null) { in terminateListenerLooper()
420 mLooper.quit(); in terminateListenerLooper()
421 mLooper = null; in terminateListenerLooper()
DEqualizerTest.java378 mLooper = Looper.myLooper(); in createListenerLooper()
438 if (mLooper != null) { in terminateListenerLooper()
439 mLooper.quit(); in terminateListenerLooper()
440 mLooper = null; in terminateListenerLooper()
DMediaDrmMockTest.java640 private Looper mLooper = null; field in MediaDrmMockTest
658 mLooper = Looper.myLooper(); in testEventNoSessionNoData()
710 mLooper.quit(); in testEventNoSessionNoData()
728 mLooper = Looper.myLooper(); in testEventWithSessionAndData()
788 mLooper.quit(); in testEventWithSessionAndData()
806 mLooper = Looper.myLooper(); in testExpirationUpdate()
861 mLooper.quit(); in testExpirationUpdate()
879 mLooper = Looper.myLooper(); in testKeyStatusChange()
952 mLooper.quit(); in testKeyStatusChange()
DStreamingMediaPlayerTest.java404 private Looper mLooper; field in StreamingMediaPlayerTest.WorkerWithPlayer
417 while (mLooper == null) { in WorkerWithPlayer()
434 mLooper = Looper.myLooper(); in run()
442 mLooper.quit(); in quit()
DEnvReverbTest.java478 mLooper = Looper.myLooper(); in createListenerLooper()
539 if (mLooper != null) { in terminateListenerLooper()
540 mLooper.quit(); in terminateListenerLooper()
541 mLooper = null; in terminateListenerLooper()
DPostProcTestBase.java31 protected Looper mLooper = null; field in PostProcTestBase
DAudioEffectTest.java910 mLooper = Looper.myLooper(); in createListenerLooper()
973 if (mLooper != null) { in terminateListenerLooper()
974 mLooper.quit(); in terminateListenerLooper()
975 mLooper = null; in terminateListenerLooper()
1002 mLooper = Looper.myLooper(); in createMediaPlayerLooper()
1034 if (mLooper != null) { in terminateMediaPlayerLooper()
1035 mLooper.quit(); in terminateMediaPlayerLooper()
1036 mLooper = null; in terminateMediaPlayerLooper()
DVisualizerTest.java498 mLooper = Looper.myLooper(); in createListenerLooper()
545 if (mLooper != null) { in terminateListenerLooper()
546 mLooper.quit(); in terminateListenerLooper()
547 mLooper = null; in terminateListenerLooper()
DAudioHelper.java156 volatile private Looper mLooper; field in AudioHelper.MakeSomethingAsynchronouslyAndLoop
174 mLooper = Looper.myLooper(); in make()
185 mLooper.quit(); in join()
192 mLooper = null; in join()
DVirtualizerTest.java616 mLooper = Looper.myLooper(); in createListenerLooper()
676 if (mLooper != null) { in terminateListenerLooper()
677 mLooper.quit(); in terminateListenerLooper()
678 mLooper = null; in terminateListenerLooper()
DClearKeySystemTest.java86 private Looper mLooper; field in ClearKeySystemTest
222 mLooper = Looper.myLooper(); in startDrm()
267 mLooper.quit(); in stopDrm()
DEncodeVirtualDisplayWithCompositionTest.java609 private Looper mLooper; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor
653 if (mLooper != null) { in stopComposition()
654 mLooper.quit(); in stopComposition()
859 mLooper = Looper.myLooper(); in run()
871 mLooper = null; in run()
DAudioRecordTest.java47 private Looper mLooper; field in AudioRecordTest
78 mLooper = Looper.myLooper(); in setUp()
102 mLooper.quit(); in tearDown()
/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/app/src/android/app/cts/
DPendingIntentTest.java41 private Looper mLooper; field in PendingIntentTest
62 mLooper = Looper.myLooper(); in setUp()
70 mHandler = new Handler(mLooper) { in setUp()
94 mLooper.quit(); in tearDown()
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h105 android::sp<android::Looper> mLooper; variable
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraGLTest.java80 private Looper mLooper = null; field in CameraGLTest
136 mLooper = Looper.myLooper(); in initializeMessageLooper()
160 mLooper.quit(); in terminateMessageLooper()
166 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