Home
last modified time | relevance | path

Searched refs:mLooper (Results 1 – 25 of 29) 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.java203 private Looper mLooper; field in MessengerTest.MessengerTestHelper
271 mLooper.quit(); in doTest()
282 return mLooper; in getLooper()
308 mLooper = getLooper(); in onLooperPrepared()
DMessageQueueTest.java834 private Looper mLooper; field in MessageQueueTest.OrderTestHelper
872 mLooper.quit(); in doTest()
891 mLooper = getLooper(); in onLooperPrepared()
/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.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()
DAudioRecordingConfigurationTest.java44 private Looper mLooper; field in AudioRecordingConfigurationTest
64 mLooper = Looper.myLooper(); in setUp()
84 assertNotNull(mLooper); in setUp()
92 mLooper.quit(); in tearDown()
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()
DAudioEffectTest.java917 mLooper = Looper.myLooper(); in createListenerLooper()
980 if (mLooper != null) { in terminateListenerLooper()
981 mLooper.quit(); in terminateListenerLooper()
982 mLooper = null; in terminateListenerLooper()
1009 mLooper = Looper.myLooper(); in createMediaPlayerLooper()
1041 if (mLooper != null) { in terminateMediaPlayerLooper()
1042 mLooper.quit(); in terminateMediaPlayerLooper()
1043 mLooper = null; in terminateMediaPlayerLooper()
DStreamingMediaPlayerTest.java412 private Looper mLooper; field in StreamingMediaPlayerTest.WorkerWithPlayer
425 while (mLooper == null) { in WorkerWithPlayer()
442 mLooper = Looper.myLooper(); in run()
450 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
DVisualizerTest.java498 mLooper = Looper.myLooper(); in createListenerLooper()
545 if (mLooper != null) { in terminateListenerLooper()
546 mLooper.quit(); in terminateListenerLooper()
547 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()
DVirtualizerTest.java616 mLooper = Looper.myLooper(); in createListenerLooper()
676 if (mLooper != null) { in terminateListenerLooper()
677 mLooper.quit(); in terminateListenerLooper()
678 mLooper = null; in terminateListenerLooper()
DClearKeySystemTest.java87 private Looper mLooper; field in ClearKeySystemTest
224 mLooper = Looper.myLooper(); in startDrm()
269 mLooper.quit(); in stopDrm()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java244 private Looper mLooper; field in StagefrightTest.LooperThread
253 mLooper = Looper.myLooper(); in run()
258 mLooper.quitSafely(); in stopLooper()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java46 private Looper mLooper; field in PendingIntentTest
70 mLooper = Looper.myLooper(); in setUp()
78 mHandler = new Handler(mLooper) { in setUp()
108 mLooper.quit(); in tearDown()
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h105 android::sp<android::Looper> mLooper; variable
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java78 private Looper mLooper = null; field in CameraGLTest
134 mLooper = Looper.myLooper(); in initializeMessageLooper()
158 mLooper.quit(); in terminateMessageLooper()
164 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