Home
last modified time | relevance | path

Searched refs:looper (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DHandlerThreadTest.java48 Looper looper = ht.getLooper(); in testGetThreadId() local
49 assertNotNull(looper); in testGetThreadId()
50 assertSame(ht.getMyLooper(), looper); in testGetThreadId() local
DLooperTest.java47 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()
DHandlerTest.java176 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamRecorderListener.java31 public StreamRecorderListener(Looper looper) { in StreamRecorderListener() argument
32 super(looper); in StreamRecorderListener()
/cts/tests/tests/database/src/android/database/cts/
DContentObserverTest.java50 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/hostsidetests/incident/src/com/android/server/cts/
DPowerIncidentTest.java91 final LooperProto looper = dump.getLooper(); in verifyPowerManagerServiceDumpProto() local
92 assertNotNull(looper.getThreadName()); in verifyPowerManagerServiceDumpProto()
93 assertTrue(looper.getThreadId() > 0); in verifyPowerManagerServiceDumpProto()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java48 public ServiceHandler(Looper looper) { in ServiceHandler() argument
49 super(looper); in ServiceHandler()
DAtomTests.java191 Looper looper = handlerThread.getLooper(); in testCameraState() local
192 Handler handler = new Handler(looper); in testCameraState()
445 Looper looper = handlerThread.getLooper(); in registerReceiver() local
446 Handler handler = new Handler(looper); in registerReceiver()
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
DSimpleIOService.java55 public ServiceHandler(Looper looper) { in ServiceHandler() argument
56 super(looper); in ServiceHandler()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleForegroundService.java44 public ServiceHandler(Looper looper) { in ServiceHandler() argument
45 super(looper); in ServiceHandler()
DBatteryStatsBgVsFgActions.java343 Looper looper = handlerThread.getLooper(); in registerReceiver() local
344 Handler handler = new Handler(looper); in registerReceiver()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetPrimaryUserTest.java116 public Result(Looper looper) { in Result() argument
117 super(looper); in Result()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessClient.java159 ReplyHandler(Looper looper) { in ReplyHandler() argument
160 super(looper); in ReplyHandler()
DWebViewTest.java1640 public DocumentHasImageCheckHandler(Looper looper) {
1641 super(looper);
2909 public HrefCheckHandler(Looper looper) {
2910 super(looper);
/cts/tests/tests/media/src/android/media/cts/
DTestUtils.java146 public SyncHandler(Looper looper) { in SyncHandler() argument
147 super(looper); in SyncHandler()
DDecodeAccuracyTestBase.java1033 private Looper looper; field in GLSurfaceViewFactory.GLSurfaceViewThread
1040 looper = Looper.myLooper(); in run()
1124 looper.quit(); in release()
/cts/tests/tests/permission/src/android/permission/cts/
DNoLocationPermissionTest.java140 Looper looper = Looper.myLooper(); in checkRequestLocationUpdates() local
150 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper); in checkRequestLocationUpdates()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java226 IncomingHandler(Looper looper) { in IncomingHandler() argument
227 super(looper); in IncomingHandler()
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java78 public CheckHandler(Looper looper) { in CheckHandler() argument
79 super(looper); in CheckHandler()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java269 public Result(Looper looper) { in Result() argument
270 super(looper); in Result()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java342 private ReplyHandler(Looper looper) { in ReplyHandler() argument
343 super(looper); in ReplyHandler()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java323 protected Handler createHandler(Looper looper) { in createHandler() argument
324 return super.createHandler(looper); in createHandler()
/cts/tests/app/src/android/app/cts/
DDialogTest.java1032 public MockDismissCancelHandler(Dialog dialog, Looper looper) { in MockDismissCancelHandler() argument
1033 super(looper); in MockDismissCancelHandler()