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()
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()
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()
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.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()
DAudioRecordingConfigurationTest.java52 private Looper mLooper; field in AudioRecordingConfigurationTest
72 mLooper = Looper.myLooper(); in setUp()
92 assertNotNull(mLooper); in setUp()
100 mLooper.quit(); in tearDown()
DEqualizerTest.java378 mLooper = Looper.myLooper(); in createListenerLooper()
439 if (mLooper != null) { in terminateListenerLooper()
440 mLooper.quit(); in terminateListenerLooper()
441 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()
DEnvReverbTest.java480 mLooper = Looper.myLooper(); in createListenerLooper()
541 if (mLooper != null) { in terminateListenerLooper()
542 mLooper.quit(); in terminateListenerLooper()
543 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()
DVisualizerTest.java503 mLooper = Looper.myLooper(); in createListenerLooper()
550 if (mLooper != null) { in terminateListenerLooper()
551 mLooper.quit(); in terminateListenerLooper()
552 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()
DPostProcTestBase.java31 protected Looper mLooper = null; field in PostProcTestBase
DStreamingMediaPlayerTest.java500 private Looper mLooper; field in StreamingMediaPlayerTest.WorkerWithPlayer
513 while (mLooper == null) { in WorkerWithPlayer()
530 mLooper = Looper.myLooper(); in run()
538 mLooper.quit(); in quit()
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/lib/include/audio/
DRemoteAudio.h105 android::sp<android::Looper> mLooper; variable
/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