/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerThreadTest.java | 66 assertNotNull(ht.getLooper()); in testGetThreadId() 67 Looper looper = ht.getLooper(); in testGetThreadId() 98 mLooper = getLooper(); in onLooperPrepared()
|
D | MessageQueueTest.java | 154 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 159 Handler handler = new Handler(thread.getLooper()); in testIsIdle() 179 assertFalse(thread.getLooper().getQueue().isIdle()); in testIsIdle() 185 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 345 final MessageQueue queue = thread.getLooper().getQueue(); in testFileDescriptorCallbacks() 476 final MessageQueue queue = thread.getLooper().getQueue(); in testPathologicalFileDescriptorReuseCallbacks1() 477 final Handler handler = new Handler(thread.getLooper()); in testPathologicalFileDescriptorReuseCallbacks1() 557 final MessageQueue queue = thread.getLooper().getQueue(); in testPathologicalFileDescriptorReuseCallbacks2() 558 final Handler handler = new Handler(thread.getLooper()); in testPathologicalFileDescriptorReuseCallbacks2() 648 final MessageQueue queue = thread.getLooper().getQueue(); in testPathologicalFileDescriptorReuseCallbacks3() [all …]
|
D | MessengerTest.java | 239 public Looper getLooper() { in getLooper() method in MessengerTest.MessengerTestHelper 266 mLooper = getLooper(); in onLooperPrepared()
|
/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 | 106 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellInfo() 130 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForCellLocation() 154 Executor executor = new Handler(handlerThread.getLooper())::post; in listenForServiceState() 182 Executor executor = new Handler(handlerThread.getLooper())::post; in requestCellInfoUpdate()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcUtils.java | 58 Handler handler = new Handler(handlerThread.getLooper()); in enableNfc() 101 Handler handler = new Handler(handlerThread.getLooper()); in disableNfc()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/common/src/android/server/wm/backgroundactivity/common/ |
D | EventReceiver.java | 62 if (Thread.currentThread() == mHandler.getLooper().getThread()) {
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioFocusTest.java | 282 final Handler h = new Handler(handlerThread.getLooper()); in testNullListenerHandlerNpe() 424 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusDelayedByCall() 474 handler.getLooper().quit(); in testAudioFocusDelayedByCall() 496 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusTransientDelayedByCall() 551 handler.getLooper().quit(); in testAudioFocusTransientDelayedByCall() 578 final Handler handler = new Handler(handlerThread.getLooper()); in testAudioFocusRequestMediaGainLossWithPlayer() 632 handler.getLooper().quit(); in testAudioFocusRequestMediaGainLossWithPlayer() 868 final Handler handler = new Handler(handlerThread.getLooper()); in runDuckedUidsTest() 978 handler.getLooper().quit(); in runDuckedUidsTest() 1075 final Handler handler = new Handler(handlerThread.getLooper()); in doTwoFocusOwnerOnePlayerFocusLoss() [all …]
|
D | UtilsTest.java | 59 private final Handler mHandler = Handler.createAsync(thread.getLooper()); in testListenerList()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21145/src/android/security/cts/CVE_2023_21145/ |
D | PipActivity.java | 40 Handler handler = new Handler(handlerThread.getLooper()); in onResume()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | CtsMainVoiceInteractionService.java | 46 mHandler = Handler.createAsync(handlerThread.getLooper()); in CtsMainVoiceInteractionService()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TestProcessService.java | 37 mHandler = new Handler(handlerThread.getLooper()); in TestProcessService()
|
D | WebViewStartupTest.java | 200 Handler backgroundHandler = new Handler(backgroundThread.getLooper()); in run() 211 assertEquals(backgroundThread.getLooper(), webview.getWebViewLooper()); in run()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | IdleUidTest.java | 84 new Handler(sCallbackThread.getLooper())); in testCameraAccessForIdleUid() 95 new Handler(sCallbackThread.getLooper())); in testCameraAccessBecomingInactiveUid()
|
/cts/hostsidetests/resources/test-apps/RegisterSharedLibTestApp2/src/android/resources/registerresourcepaths2/ |
D | RegisterResourcePathsTest.java | 81 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()); in startBackgroundThread()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 74 mThreadHandler = new Handler(localThread.getLooper()); in onCreate() 112 == getHandler().getLooper().getThread().getId()) { in createPopupTextView()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/ |
D | LoadingProgressTest.java | 143 mLauncherApps.registerCallback(mCallback, new Handler(mCallbackThread.getLooper())); in testOnPackageLoadingProgressChangedCalledWithPartialLoaded() 151 mLauncherApps.registerCallback(mCallback, new Handler(mCallbackThread.getLooper())); in testOnPackageLoadingProgressChangedCalledWithFullyLoaded()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | AttributionSourceActivity.kt | 42 val handler = Handler(mHandlerThread!!.getLooper()) in onCreate()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 251 }, new Handler(handlerThread.getLooper()), 0, NO_RESPONSE, null); in processUserData() 293 }, new Handler(handlerThread.getLooper()), noResponse, null, null); in getUserDataVersion() 320 }, new Handler(handlerThread.getLooper()), 0, null, null); in sendBroadcastAndWait()
|
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/ |
D | Utils.java | 54 final Handler handler = new Handler(handlerThread.getLooper()); in assertMediaPlaybackStarted()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObserverTest.java | 68 Looper looper = ht.getLooper(); in testContentObserver() 114 Looper looper = ht.getLooper(); in testContentObserverWithUri()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaControllerTest.java | 495 assertThat(initialHandler.getLooper()).isEqualTo(mHandler.getLooper()); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 502 mController.registerCallback(callback, new Handler(handlerThread.getLooper())); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 507 assertThat(currentHandlerInController.getLooper()).isNotEqualTo(handlerThread.getLooper()); in testRegisteringSameCallbackWithDifferentHandlerHasNoEffect() 522 assertThat(mController.getHandlerForCallback(callback).getLooper()) in testUnregisterCallbackShouldRemoveCallback() 523 .isEqualTo(mHandler.getLooper()); in testUnregisterCallbackShouldRemoveCallback()
|
/cts/tests/app/src/android/app/cts/ |
D | BadProviderTest.java | 61 Handler handler = new Handler(worker.getLooper()); in testExitOnCreate()
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 106 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdCtsForegroundService.java | 80 mServiceLooper = thread.getLooper(); in onCreate()
|