Home
last modified time | relevance | path

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

/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/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/tests/tests/media/src/android/media/cts/
DHandlerExecutor.java27 public HandlerExecutor(@NonNull Looper looper) { in HandlerExecutor() argument
28 super(looper); in HandlerExecutor()
DDecodeAccuracyTestBase.java1030 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/
DStreamRecorderListener.java31 public StreamRecorderListener(Looper looper) { in StreamRecorderListener() argument
32 super(looper); in StreamRecorderListener()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java90 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/
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/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.java344 Looper looper = handlerThread.getLooper(); in registerReceiver() local
345 Handler handler = new Handler(looper); in registerReceiver()
/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.java193 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/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.java1459 public DocumentHasImageCheckHandler(Looper looper) { in testDocumentHasImages() argument
1460 super(looper); in testDocumentHasImages()
2702 public HrefCheckHandler(Looper looper) { in HrefCheckHandler() argument
2703 super(looper); in HrefCheckHandler()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoLocationPermissionTest.java157 Looper looper = Looper.myLooper(); in checkRequestLocationUpdates() local
167 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper); in checkRequestLocationUpdates()
/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/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java231 IncomingHandler(Looper looper) { in IncomingHandler() argument
232 super(looper); in IncomingHandler()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java399 public Result(Looper looper) { in Result() argument
400 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.java1036 public MockDismissCancelHandler(Dialog dialog, Looper looper) { in MockDismissCancelHandler() argument
1037 super(looper); in MockDismissCancelHandler()