/cts/tests/tests/os/src/android/os/cts/ |
D | LooperTest.java | 73 assertNull(Looper.myLooper()); in testMyLooper() 75 assertNotNull(Looper.myLooper()); in testMyLooper() 88 assertTrue(Looper.myLooper().isCurrentThread()); in testIsCurrentThread() 89 looper[0] = Looper.myLooper(); in testIsCurrentThread() 123 assertNotNull(Looper.myLooper().getQueue()); in testGetQueue() 124 assertEquals(Looper.myLooper().getQueue(), Looper.myQueue()); in testGetQueue() 169 mLooper = Looper.myLooper(); in testQuit() 201 Looper.myLooper().setMessageLogging(mp); in testSetMessageLogging() 236 Looper.myLooper().quit(); in run() 240 Looper.myLooper().quit(); in stop()
|
D | TestedScreen.java | 66 Looper.myLooper(); in onResume() 70 Looper.myLooper(); in onResume()
|
D | TokenWatcherTest.java | 53 mLooper = Looper.myLooper(); in setUp()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EnumDevicesTest.java | 192 Looper myLooper = null; in prepareIfNeededLooper() local 193 if (Looper.myLooper() == null) { in prepareIfNeededLooper() 195 myLooper = Looper.myLooper(); in prepareIfNeededLooper() 196 assertNotNull(myLooper); in prepareIfNeededLooper() 198 return myLooper; in prepareIfNeededLooper() 219 Looper myLooper = prepareIfNeededLooper(); in test_deviceCallback() local 231 if (myLooper != null) { in test_deviceCallback() 232 myLooper.quit(); in test_deviceCallback()
|
D | RoutingTest.java | 220 Looper myLooper = null; in prepareIfNeededLooper() local 221 if (Looper.myLooper() == null) { in prepareIfNeededLooper() 223 myLooper = Looper.myLooper(); in prepareIfNeededLooper() 224 assertNotNull(myLooper); in prepareIfNeededLooper() 226 return myLooper; in prepareIfNeededLooper() 285 Looper myLooper = prepareIfNeededLooper(); in test_audioTrack_RoutingListener() local 300 if (myLooper != null) { in test_audioTrack_RoutingListener() 301 myLooper.quit(); in test_audioTrack_RoutingListener() 380 Looper myLooper = prepareIfNeededLooper(); in test_audioRecord_RoutingListener() local 394 if (myLooper != null) { in test_audioRecord_RoutingListener() [all …]
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | LocationPendingIntentCapture.java | 68 if (Looper.myLooper() == Looper.getMainLooper()) { in getNextLocation() 76 if (Looper.myLooper() == Looper.getMainLooper()) { in getNextFlush() 84 if (Looper.myLooper() == Looper.getMainLooper()) { in getNextProviderChange()
|
D | OpActiveChangedCapture.java | 39 if (Looper.myLooper() == Looper.getMainLooper()) { in getNextActive()
|
D | BroadcastCapture.java | 48 if (Looper.myLooper() == Looper.getMainLooper()) { in getNextIntent()
|
D | ProximityPendingIntentCapture.java | 43 if (Looper.myLooper() == Looper.getMainLooper()) { in getNextProximityChange()
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebkitUtils.java | 96 if (Looper.myLooper() == Looper.getMainLooper()) { in onMainThreadSync() 113 if (Looper.myLooper() == Looper.getMainLooper()) { in onMainThreadSync()
|
D | WebViewSyncLoader.java | 348 Looper.myLooper(), mWebView.getHandler().getLooper()); in pumpMessages() 377 return (Looper.myLooper() == Looper.getMainLooper()); in isUiThread()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TestedScreen.java | 66 Looper.myLooper(); in onResume() 70 Looper.myLooper(); in onResume()
|
D | TestedActivity.java | 40 Looper.myLooper(); in onResume()
|
/cts/tests/app/src/android/app/cts/ |
D | BaseProcessInstrumentation.java | 69 new Handler(Looper.myLooper()).postDelayed(new Runnable() { in onCreate()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 263 assertNotNull(Looper.myLooper()); in createAndCheckWebViewLooper() 265 assertEquals(Looper.myLooper(), webview.getWebViewLooper()); in createAndCheckWebViewLooper()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183613671/src/android/security/cts/BUG_183613671/ |
D | OverlayService.java | 92 new Handler(Looper.myLooper()).postDelayed(this::stopSelf, 60_000); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183963253/src/android/security/cts/BUG_183963253/ |
D | OverlayService.java | 92 new Handler(Looper.myLooper()).postDelayed(this::stopSelf, 60_000); in showFloatingWindow()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 91 if (Looper.myLooper() == Looper.getMainLooper()) { in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraPerformanceTestHelper.java | 63 mLooper = Looper.myLooper(); in initializeMessageLooper()
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | MainActivity.java | 56 private final Handler mHandler = new Handler(Looper.myLooper());
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | DirectShellCommand.java | 137 Looper.myLooper().quitSafely(); in onReceiveResult()
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | TestActivity.java | 80 Looper.myLooper().getQueue().addIdleHandler(() -> { in preventActivityIdle()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | CollectionAppWidgetProvider.java | 125 final Handler handler = new Handler(Looper.myLooper()); in onUpdate()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | BindDeviceAdminServiceGoodSetupTest.java | 188 if (Looper.myLooper() != Looper.getMainLooper()) { in assertCrossProfileCall()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 296 if (Looper.myLooper() == Looper.getMainLooper()) { in validateNotAppThread()
|