/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerThreadTest.java | 47 assertNotNull(ht.getLooper()); in testGetThreadId() 48 Looper looper = ht.getLooper(); in testGetThreadId() 79 mLooper = getLooper(); in onLooperPrepared()
|
D | MessageQueueTest.java | 131 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 136 Handler handler = new Handler(thread.getLooper()); in testIsIdle() 156 assertFalse(thread.getLooper().getQueue().isIdle()); in testIsIdle() 162 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 277 final MessageQueue queue = thread.getLooper().getQueue(); in testFileDescriptorCallbacks() 406 final MessageQueue queue = thread.getLooper().getQueue(); in testPathologicalFileDescriptorReuseCallbacks1() 407 final Handler handler = new Handler(thread.getLooper()); in testPathologicalFileDescriptorReuseCallbacks1() 485 final MessageQueue queue = thread.getLooper().getQueue(); in testPathologicalFileDescriptorReuseCallbacks2() 486 final Handler handler = new Handler(thread.getLooper()); in testPathologicalFileDescriptorReuseCallbacks2() 574 final MessageQueue queue = thread.getLooper().getQueue(); in testPathologicalFileDescriptorReuseCallbacks3() [all …]
|
D | MessengerTest.java | 282 public Looper getLooper() { in getLooper() method in MessengerTest.MessengerTestHelper 309 mLooper = getLooper(); in onLooperPrepared()
|
D | MessageTest.java | 261 Handler handler = new Handler(mHandler.getLooper()) { in testRecycleThrowsIfMessageIsBeingDelivered() 281 Handler handler = new Handler(mHandler.getLooper()) { in testSendMessageThrowsIfMessageIsBeingDelivered()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestTaskQueue.java | 38 mHandler = new Handler(th.getLooper()); in TestTaskQueue() 52 mHandler.getLooper().quit(); in quit()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSessionManagerTest.java | 115 Handler handler = new Handler(handlerThread.getLooper()); in testSetOnVolumeKeyLongPressListener() 147 Handler handler = new Handler(handlerThread.getLooper()); in testSetOnMediaKeyListener() 219 assertEquals(mHandler.getLooper(), Looper.myLooper()); in onVolumeKeyLongPress() 240 assertEquals(mHandler.getLooper(), Looper.myLooper()); in onMediaKey()
|
D | AudioFocusTest.java | 125 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 211 h = new Handler(handlerThread.getLooper()); in doTestTwoPlayersGainLoss() 260 h.getLooper().quit(); in doTestTwoPlayersGainLoss()
|
D | AudioRecordingConfigurationTest.java | 157 h = new Handler(handlerThread.getLooper()); in doCallbackTest() 205 h.getLooper().quit(); in doCallbackTest()
|
D | AudioPlaybackConfigurationTest.java | 174 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 233 h.getLooper().quit(); in doTestCallbackMediaPlayer()
|
D | Utils.java | 177 final Handler handler = new Handler(handlerThread.getLooper()); in assertMediaPlaybackStarted()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObserverTest.java | 50 Looper looper = ht.getLooper(); in testContentObserver() 94 Looper looper = ht.getLooper(); in testContentObserverWithUri()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleForegroundService.java | 65 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/incident/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 71 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PowerIncidentTest.java | 67 final LooperProto looper = dump.getLooper(); in testPowerServiceDump()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 36 sHandler = new Handler(thread.getLooper());
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 447 handlerThread.getLooper()); in testLocationUpdatesWithLocationListenerAndLooper() 547 mManager.requestSingleUpdate(TEST_MOCK_PROVIDER_NAME, listener, handlerThread.getLooper()); in testSingleUpdateWithLocationListenerAndLooper() 730 mManager.requestLocationUpdates(0, 0, criteria, listener, handlerThread.getLooper()); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 788 mManager.requestSingleUpdate(criteria, listener, handlerThread.getLooper()); in testSingleUpdateWithCriteriaAndLocationListenerAndLooper() 919 mManager.addNmeaListener(gnssListener, new Handler(handlerThread.getLooper())); in testNmeaListener() 1045 mManager.registerGnssStatusCallback(callback, new Handler(handlerThread.getLooper())); in testGnssStatusListener() 1069 handlerThread.getLooper()); in testSetTestProviderStatus() 1196 handlerThread.getLooper()); in updateLocationAndWait()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 67 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
D | BaseTestCase.java | 87 mHandler = new Handler(mHandlerThread.getLooper()); in start()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 110 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in internalTestOutgoingCall() 162 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in testIncomingCall()
|
D | CameraPolicyTest.java | 144 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
|
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator.java | 111 mWorkerHandler = new Handler(mWorkerThread.getLooper()); in SurfacePixelValidator()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 73 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 125 UriObserver uriObserver = new UriObserver(new Handler(handlerThread.getLooper())); in onCreate()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.java | 73 }, new Handler(handlerThread.getLooper())); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | CameraStreamManager.java | 234 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
|