/cts/tests/tests/os/src/android/os/cts/ |
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 | HandlerThreadTest.java | 47 assertNotNull(ht.getLooper()); in testGetThreadId() 48 Looper looper = ht.getLooper(); in testGetThreadId() 79 mLooper = getLooper(); in onLooperPrepared()
|
D | MessengerTest.java | 237 public Looper getLooper() { in getLooper() method in MessengerTest.MessengerTestHelper 264 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/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/ |
D | CtsLocationAccessService.java | 90 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo() 114 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation() 138 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForServiceState()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPlaybackConfigurationTest.java | 182 h = new Handler(handlerThread.getLooper()); in doTestCallbackMediaPlayer() 241 h.getLooper().quit(); in doTestCallbackMediaPlayer() 249 final Handler h = new Handler(handlerThread.getLooper()); in testCallbackMediaPlayerRelease() 293 h.getLooper().quit(); in testCallbackMediaPlayerRelease()
|
D | AudioFocusTest.java | 133 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 273 h = new Handler(handlerThread.getLooper()); in doTestTwoPlayersGainLoss() 332 h.getLooper().quit(); in doTestTwoPlayersGainLoss()
|
D | MediaSessionManagerTest.java | 411 return new Handler(handlerThread.getLooper()); in createHandler() 418 handler.getLooper().quitSafely(); in removeHandler() 436 assertEquals(mHandler.getLooper(), Looper.myLooper()); in onVolumeKeyLongPress() 457 assertEquals(mHandler.getLooper(), Looper.myLooper()); in onMediaKey()
|
D | AudioRecordingConfigurationTest.java | 165 h = new Handler(handlerThread.getLooper()); in doCallbackTest() 220 h.getLooper().quit(); in doCallbackTest()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | IdleUidTest.java | 80 new Handler(sCallbackThread.getLooper())); in testCameraAccessForIdleUid() 93 new Handler(sCallbackThread.getLooper())); in testCameraAccessBecomingInactiveUid()
|
/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/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 385 handlerThread.getLooper()); in testLocationUpdatesWithLocationListenerAndLooper() 485 mManager.requestSingleUpdate(TEST_MOCK_PROVIDER_NAME, listener, handlerThread.getLooper()); in testSingleUpdateWithLocationListenerAndLooper() 668 mManager.requestLocationUpdates(0, 0, criteria, listener, handlerThread.getLooper()); in testLocationUpdatesWithCriteriaAndLocationListenerAndLooper() 726 mManager.requestSingleUpdate(criteria, listener, handlerThread.getLooper()); in testSingleUpdateWithCriteriaAndLocationListenerAndLooper() 849 mManager.addNmeaListener(gnssListener, new Handler(handlerThread.getLooper())); in testNmeaListener() 964 mManager.registerGnssStatusCallback(callback, new Handler(handlerThread.getLooper())); in testGnssStatusListener() 1087 handlerThread.getLooper()); in updateLocationAndWait()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | PostMessageTest.java | 294 final Handler messageHandler = new Handler(messageHandlerThread.getLooper()); in testWebMessageHandler() 302 messageHandlerThread.getLooper().isCurrentThread()); in testWebMessageHandler()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 260 new Handler(backgroundThread.getLooper()).post(new Runnable() { in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread() 267 assertEquals(backgroundThread.getLooper(), webviewHolder[0].getWebViewLooper()); in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread()
|
/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 36 sHandler = new Handler(thread.getLooper());
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraPolicyTest.java | 112 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
|
D | PhoneAccountTest.java | 115 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in internalTestOutgoingCall() 196 new CalllogContentObserver(new Handler(handlerThread.getLooper()), in internalTestIncomingCall()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdCtsForegroundService.java | 80 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 106 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | BaseTestCase.java | 104 mHandler = new Handler(mHandlerThread.getLooper()); in start()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleForegroundService.java | 76 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
D | BaseTestCase.java | 87 mHandler = new Handler(mHandlerThread.getLooper()); in start()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 71 mHandler = new Handler(mHandlerThread.getLooper()); in setUp()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PowerIncidentTest.java | 91 final LooperProto looper = dump.getLooper(); in verifyPowerManagerServiceDumpProto()
|