Home
last modified time | relevance | path

Searched refs:HandlerExecutor (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DHandlerExecutor.java26 public class HandlerExecutor extends Handler implements Executor { class
27 public HandlerExecutor(@NonNull Looper looper) { in HandlerExecutor() method in HandlerExecutor
DStubMediaSession2Service.java39 private static HandlerExecutor sHandlerExecutor;
45 public static void setHandlerExecutor(HandlerExecutor handlerExecutor) { in setHandlerExecutor()
DMediaSessionManagerTest.java383 Executor handlerExecutor = new HandlerExecutor(handler); in testGetSession2Tokens()
404 Executor handlerExecutor = new HandlerExecutor(handler); in testGetSession2TokensWithTwoSessions()
445 Executor handlerExecutor = new HandlerExecutor(handler); in testAddAndRemoveSession2TokensListener()
694 private static class HandlerExecutor implements Executor { class in MediaSessionManagerTest
697 HandlerExecutor(Handler handler) { in HandlerExecutor() method in MediaSessionManagerTest.HandlerExecutor
DMediaSession2ServiceTest.java66 private static HandlerExecutor sHandlerExecutor;
79 sHandlerExecutor = new HandlerExecutor(handlerThread.getLooper()); in setUpThread()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java156 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testBasicExtensionLifecycle()
204 new HandlerExecutor(mTestRule.getHandler()), regularSessionListener); in testCloseCaptureSession()
211 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testCloseCaptureSession()
271 new HandlerExecutor(mTestRule.getHandler()), regularSessionListener); in testCloseExtensionSession()
278 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testCloseExtensionSession()
335 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testGetDevice()
396 new HandlerExecutor(mTestRule.getHandler()), in testRepeatingCapture()
418 new HandlerExecutor(mTestRule.getHandler()), simpleCaptureCallback); in testRepeatingCapture()
508 new HandlerExecutor(mTestRule.getHandler()), in testMultiFrameCapture()
542 new HandlerExecutor(mTestRule.getHandler()), captureCallback); in testMultiFrameCapture()
[all …]
DCameraManagerTest.java33 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
304 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially()
355 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras()
535 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice()
609 Executor executor = new HandlerExecutor(mHandler); in testCameraManagerListener()
661 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerListenerCallbacks()
DOfflineSessionTest.java155 mSession.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), in testInvalidOutput()
165 mSession.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), in testInvalidOutput()
635 new HandlerExecutor(mHandler), offlineCb); in camera2OfflineSessionTest()
830 session.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), offlineCb); in camera2UnsupportedOfflineOutputTest()
DFlashlightTest.java21 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
147 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testTorchCallback()
DMultiResolutionReprocessCaptureTest.java370 inputReaderListener, new HandlerExecutor(mHandler)); in testMultiResolutionMandatoryStreamCombination()
585 new HandlerExecutor(mHandler)); in setupMultiResImageReaders()
594 mSecondMultiResImageReaderListener, new HandlerExecutor(mHandler)); in setupMultiResImageReaders()
DMultiResolutionImageReaderTest.java29 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
409 new HandlerExecutor(mHandler)); in multiResolutionImageReaderFormatTestByCamera()
DCameraDeviceTest.java836 HandlerExecutor executor = new HandlerExecutor(mHandler); in testSessionConfiguration()
1005 new HandlerExecutor(mHandler), mSessionMockListener); in testSessionParametersStateLeakByCamera()
1188 new HandlerExecutor(mHandler), mSessionMockListener); in testCreateSessionWithParametersByCamera()
1305 new HandlerExecutor(mHandler), mSessionMockListener); in prepareTestByCamera()
1697 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureSingleShot()
1763 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureBurstShot()
DConcurrentCameraTest.java262 new HandlerExecutor(mHandler), new BlockingSessionCallback())); in testMandatoryConcurrentStreamCombination()
/cts/hostsidetests/telephony/devicetest/src/android/telephony/device/cts/
DTelephonyTest.java23 import android.os.HandlerExecutor;
81 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeEnabled()
117 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeDisabled()
143 () -> new PhoneStateListener(new HandlerExecutor(mHandler))) in registerFillerListeners()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPreferentialNetworkServiceTest.java33 import android.os.HandlerExecutor;
177 new HandlerExecutor(mHandlerThread.getThreadHandler()), offerCallback); in registerEnterpriseNetworkOffer()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DEasyConnectStatusCallbackTest.java33 import android.os.HandlerExecutor;
63 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
DWifiManagerTest.java74 import android.os.HandlerExecutor;
298 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java32 import android.os.HandlerExecutor;
76 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java28 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
266 Executor cameraExecutor = new HandlerExecutor(cameraHandler); in testBasicCamera2ActivityEvictionInternal()
330 Executor cameraExecutor = new HandlerExecutor(cameraHandler); in testCamera2OomScoreOffsetPermissions()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java283 multiResReader.setOnImageAvailableListener(listener, new HandlerExecutor(handler)); in configureTarget()
1266 new HandlerExecutor(handler), sessionListener); in buildConstrainedCameraSession()
1315 SessionConfiguration.SESSION_REGULAR, outputs, new HandlerExecutor(handler), in tryConfigureCameraSessionWithConfig()
1352 new HandlerExecutor(handler), listener); in configureCameraSessionWithParameters()
1402 SessionConfiguration.SESSION_REGULAR, outputConfigs, new HandlerExecutor(handler), in configureReprocessableCameraSessionWithConfigurations()
2112 public static class HandlerExecutor implements Executor { class in CameraTestUtils
2115 public HandlerExecutor(Handler handler) { in HandlerExecutor() method in CameraTestUtils.HandlerExecutor
3288 new HandlerExecutor(handler), sessionListener); in isSessionConfigSupported()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1029 private static class HandlerExecutor implements Executor {
1032 public HandlerExecutor(Handler handler) {
1063 new HandlerExecutor(mCameraHandler), sessionListener);