/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObserverTest.java | 50 Looper looper = ht.getLooper(); in testContentObserver() local 51 Handler handler = new Handler(looper); in testContentObserver() 69 looper.quit(); in testContentObserver() 94 Looper looper = ht.getLooper(); in testContentObserverWithUri() local 95 Handler handler = new Handler(looper); in testContentObserverWithUri() 115 looper.quit(); in testContentObserverWithUri()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerThreadTest.java | 48 Looper looper = ht.getLooper(); in testGetThreadId() local 49 assertNotNull(looper); in testGetThreadId() 50 assertSame(ht.getMyLooper(), looper); in testGetThreadId() local
|
D | LooperTest.java | 47 Looper looper = Looper.getMainLooper(); in testGetMainLooper() local 48 assertNotNull(looper); in testGetMainLooper() 83 final Looper[] looper = new Looper[1]; in testIsCurrentThread() local 89 looper[0] = Looper.myLooper(); in testIsCurrentThread() 94 assertFalse(looper[0].isCurrentThread()); in testIsCurrentThread()
|
D | HandlerTest.java | 176 Looper looper = Looper.getMainLooper(); in testGetLooper() local 177 Handler handler = new Handler(looper); in testGetLooper() 178 assertSame(looper, handler.getLooper()); in testGetLooper() 482 MockHandler(Looper looper) { in MockHandler() argument 483 super(looper); in MockHandler()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | HandlerExecutor.java | 27 public HandlerExecutor(@NonNull Looper looper) { in HandlerExecutor() argument 28 super(looper); in HandlerExecutor()
|
D | DecodeAccuracyTestBase.java | 1030 private Looper looper; field in GLSurfaceViewFactory.GLSurfaceViewThread 1037 looper = Looper.myLooper(); in run() 1121 looper.quit(); in release()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | StreamRecorderListener.java | 31 public StreamRecorderListener(Looper looper) { in StreamRecorderListener() argument 32 super(looper); in StreamRecorderListener()
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 90 Looper looper = mHandlerThread.getLooper(); in initializeSyscallMap() local 91 mMessenger = new Messenger(new IncomingHandler(looper)); in initializeSyscallMap() 115 IncomingHandler(Looper looper) { in IncomingHandler() argument 116 super(looper); in IncomingHandler()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PowerIncidentTest.java | 91 final LooperProto looper = dump.getLooper(); in verifyPowerManagerServiceDumpProto() local 92 assertNotNull(looper.getThreadName()); in verifyPowerManagerServiceDumpProto() 93 assertTrue(looper.getThreadId() > 0); in verifyPowerManagerServiceDumpProto()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkAgentTest.kt | 120 private val mFakeConnectivityService by lazy { FakeConnectivityService(mHandlerThread.looper) } in <lambda>() 122 private class Provider(context: Context, looper: Looper) : 123 NetworkProvider(context, looper, "NetworkAgentTest NetworkProvider") 147 private class FakeConnectivityService(looper: Looper) { 152 private val handler = object : Handler(looper) { 183 looper: Looper, in willExpectDisconnectOnce() 187 ) : NetworkAgent(context, looper, TestableNetworkAgent::class.java.simpleName /* tag */, in willExpectDisconnectOnce() 188 nc, lp, TEST_NETWORK_SCORE, conf, Provider(context, looper)) { in willExpectDisconnectOnce() 319 return TestableNetworkAgent(mHandlerThread.looper, nc, lp, config).also { in createNetworkAgent()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdCtsForegroundService.java | 48 public ServiceHandler(Looper looper) { in ServiceHandler() argument 49 super(looper); in ServiceHandler()
|
D | AtomTests.java | 193 Looper looper = handlerThread.getLooper(); in testCameraState() local 194 Handler handler = new Handler(looper); in testCameraState() 503 Looper looper = handlerThread.getLooper(); in registerReceiver() local 504 Handler handler = new Handler(looper); in registerReceiver()
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 55 public ServiceHandler(Looper looper) { in ServiceHandler() argument 56 super(looper); in ServiceHandler()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleForegroundService.java | 44 public ServiceHandler(Looper looper) { in ServiceHandler() argument 45 super(looper); in ServiceHandler()
|
D | BatteryStatsBgVsFgActions.java | 357 Looper looper = handlerThread.getLooper(); in registerReceiver() local 358 Handler handler = new Handler(looper); in registerReceiver()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileWidgetPrimaryUserTest.java | 116 public Result(Looper looper) { in Result() argument 117 super(looper); in Result()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TestProcessClient.java | 159 ReplyHandler(Looper looper) { in ReplyHandler() argument 160 super(looper); in ReplyHandler()
|
D | WebViewTest.java | 1463 public DocumentHasImageCheckHandler(Looper looper) { in testDocumentHasImages() argument 1464 super(looper); in testDocumentHasImages() 2706 public HrefCheckHandler(Looper looper) { in HrefCheckHandler() argument 2707 super(looper); in HrefCheckHandler()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoLocationPermissionTest.java | 157 Looper looper = Looper.myLooper(); in checkRequestLocationUpdates() local 167 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper); in checkRequestLocationUpdates()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsImportanceTests.java | 231 IncomingHandler(Looper looper) { in IncomingHandler() argument 232 super(looper); in IncomingHandler()
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 78 public CheckHandler(Looper looper) { in CheckHandler() argument 79 super(looper); in CheckHandler()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 342 private ReplyHandler(Looper looper) { in ReplyHandler() argument 343 super(looper); in ReplyHandler()
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 411 public Result(Looper looper) { in Result() argument 412 super(looper); in Result()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AsyncQueryHandlerTest.java | 323 protected Handler createHandler(Looper looper) { in createHandler() argument 324 return super.createHandler(looper); in createHandler()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 1036 public MockDismissCancelHandler(Dialog dialog, Looper looper) { in MockDismissCancelHandler() argument 1037 super(looper); in MockDismissCancelHandler()
|