Home
last modified time | relevance | path

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

12

/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/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.java477 Executor handlerExecutor = new HandlerExecutor(handler); in testGetSession2Tokens()
502 Executor handlerExecutor = new HandlerExecutor(handler); in testGetSession2TokensWithTwoSessions()
551 Executor handlerExecutor = new HandlerExecutor(handler); in testAddAndRemoveSession2TokensListener()
856 private static class HandlerExecutor implements Executor { class in MediaSessionManagerTest
859 HandlerExecutor(Handler handler) { in HandlerExecutor() method in MediaSessionManagerTest.HandlerExecutor
DMediaSession2ServiceTest.java63 private static HandlerExecutor sHandlerExecutor;
76 sHandlerExecutor = new HandlerExecutor(handlerThread.getLooper()); in setUpThread()
/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/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java228 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testBasicExtensionLifecycle()
275 new HandlerExecutor(mTestRule.getHandler()), regularSessionListener); in testCloseCaptureSession()
282 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testCloseCaptureSession()
341 new HandlerExecutor(mTestRule.getHandler()), regularSessionListener); in testCloseExtensionSession()
348 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testCloseExtensionSession()
404 new HandlerExecutor(mTestRule.getHandler()), sessionListener); in testGetDevice()
464 new HandlerExecutor(mTestRule.getHandler()), in testRepeatingCapture()
491 new HandlerExecutor(mTestRule.getHandler()), simpleCaptureCallback); in testRepeatingCapture()
613 new HandlerExecutor(mTestRule.getHandler()), in testPostviewAndCapture()
662 new HandlerExecutor(mTestRule.getHandler()), in testPostviewAndCapture()
[all …]
DSurfaceViewExtensionPreviewTest.java80 new HandlerExecutor(mHandler), sessionListener); in testExtensionPreview()
100 new HandlerExecutor(mHandler), captureCallbackMock); in testExtensionPreview()
DCameraManagerTest.java34 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
350 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCamerasSerially()
401 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenAllCameras()
540 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerOpenCameraTwice()
614 Executor executor = new HandlerExecutor(mHandler); in testCameraManagerListener()
639 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testCameraManagerListenerCallbacks()
DOfflineSessionTest.java156 mSession.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), in testInvalidOutput()
166 mSession.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), in testInvalidOutput()
644 new HandlerExecutor(mHandler), offlineCb); in camera2OfflineSessionTest()
839 session.switchToOffline(offlineSurfaces, new HandlerExecutor(mHandler), offlineCb); in camera2UnsupportedOfflineOutputTest()
DMultiResolutionReprocessCaptureTest.java370 inputReaderListener, new HandlerExecutor(mHandler)); in testMultiResolutionMandatoryStreamCombination()
585 new HandlerExecutor(mHandler)); in setupMultiResImageReaders()
594 mSecondMultiResImageReaderListener, new HandlerExecutor(mHandler)); in setupMultiResImageReaders()
DFlashlightTest.java22 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
250 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in testTorchCallback()
DMultiResolutionImageReaderTest.java40 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
408 new HandlerExecutor(mHandler)); in multiResolutionImageReaderFormatTestByCamera()
DCameraDeviceTest.java848 HandlerExecutor executor = new HandlerExecutor(mHandler); in testSessionConfiguration()
1019 new HandlerExecutor(mHandler), mSessionMockListener); in testSessionParametersStateLeakByCamera()
1195 new HandlerExecutor(mHandler), mSessionMockListener); in testCreateSessionWithParametersByCamera()
1315 new HandlerExecutor(mHandler), mSessionMockListener); in prepareTestByCamera()
1708 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureSingleShot()
1774 final Executor executor = useExecutor ? new HandlerExecutor(mHandler) : null; in captureBurstShot()
DCameraDeviceSetupTest.java235 new CameraTestUtils.HandlerExecutor(mHandler), sessionListener); in testSessionCharacteristics()
335 Executor executor = new CameraTestUtils.HandlerExecutor(mHandler); in checkSessionCharacteristicsForNoCallbackConfig()
DConcurrentCameraTest.java262 new HandlerExecutor(mHandler), new BlockingSessionCallback())); in testMandatoryConcurrentStreamCombination()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DProxyVoiceInteractionService.java222 new HandlerExecutor(new Handler(Looper.myLooper())), in create()
235 new HandlerExecutor(new Handler(Looper.myLooper())), in create()
433 private static class HandlerExecutor implements Executor {
436 public HandlerExecutor(@NonNull Handler handler) {
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCompanionDeviceManagerSnippet.kt30 import android.os.HandlerExecutor
61 executor = HandlerExecutor(handler)
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DEasyConnectStatusCallbackTest.java33 import android.os.HandlerExecutor;
67 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
DWifiScannerTest.java35 import android.os.HandlerExecutor;
76 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
DWifiBackupRestoreTest.java45 import android.os.HandlerExecutor;
141 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java41 import android.os.HandlerExecutor;
112 mExecutor = new HandlerExecutor(new Handler(mHandlerThread.getLooper()));
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPreferentialNetworkServiceTest.java37 import android.os.HandlerExecutor;
462 new HandlerExecutor(mHandlerThread.getThreadHandler()), offerCallback); in registerEnterpriseNetworkOffer()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java35 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
291 Executor cameraExecutor = new HandlerExecutor(cameraHandler); in testBasicCamera2ActivityEvictionInternal()
355 Executor cameraExecutor = new HandlerExecutor(cameraHandler); in testCamera2OomScoreOffsetPermissions()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java280 private static class HandlerExecutor implements Executor { class in ItsTestActivity
283 HandlerExecutor(Handler handler) { in HandlerExecutor() method in ItsTestActivity.HandlerExecutor
902 HandlerExecutor handlerExecutor = new HandlerExecutor(mCameraHandler); in onCreate()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java319 multiResReader.setOnImageAvailableListener(listener, new HandlerExecutor(handler)); in configureTarget()
1526 new HandlerExecutor(handler), sessionListener); in buildConstrainedCameraSession()
1576 new HandlerExecutor(handler), sessionListener); in configureCameraSessionWithColorSpace()
1600 SessionConfiguration.SESSION_REGULAR, outputs, new HandlerExecutor(handler), in tryConfigureCameraSessionWithConfig()
1637 new HandlerExecutor(handler), listener); in configureCameraSessionWithParameters()
1687 SessionConfiguration.SESSION_REGULAR, outputConfigs, new HandlerExecutor(handler), in configureReprocessableCameraSessionWithConfigurations()
2708 public static class HandlerExecutor implements Executor { class in CameraTestUtils
2711 public HandlerExecutor(Handler handler) { in HandlerExecutor() method in CameraTestUtils.HandlerExecutor
4029 new HandlerExecutor(handler), sessionListener); in isSessionConfigSupported()
4086 new HandlerExecutor(handler), sessionListener); in isSessionConfigWithParamsSupported()

12