Home
last modified time | relevance | path

Searched refs:resultCallback (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DMockSatelliteService.java565 @NonNull IIntegerConsumer resultCallback, @NonNull IBooleanConsumer callback) { in requestIsSatelliteEnabledForCarrier() argument
569 runWithExecutor(() -> resultCallback.accept(mErrorCode)); in requestIsSatelliteEnabledForCarrier()
579 public void requestSignalStrength(@NonNull IIntegerConsumer resultCallback, in requestSignalStrength() argument
584 runWithExecutor(() -> resultCallback.accept(mErrorCode)); in requestSignalStrength()
594 public void startSendingNtnSignalStrength(@NonNull IIntegerConsumer resultCallback) { in startSendingNtnSignalStrength() argument
598 runWithExecutor(() -> resultCallback.accept(mErrorCode)); in startSendingNtnSignalStrength()
604 public void stopSendingNtnSignalStrength(@NonNull IIntegerConsumer resultCallback) { in stopSendingNtnSignalStrength() argument
608 runWithExecutor(() -> resultCallback.accept(mErrorCode)); in stopSendingNtnSignalStrength()
615 @NonNull IIntegerConsumer resultCallback) { in updateSatelliteSubscription() argument
619 runWithExecutor(() -> resultCallback.accept(mErrorCode)); in updateSatelliteSubscription()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1737 SimpleCaptureCallback resultCallback = new SimpleCaptureCallback(); in captureSingleShot() local
1740 mSession.captureSingleRequest(singleRequest, executor, resultCallback); in captureSingleShot()
1742 mSession.capture(singleRequest, resultCallback, mHandler); in captureSingleShot()
1744 resultCallback.getCaptureResultForRequest(singleRequest, CAPTURE_RESULT_TIMEOUT_MS); in captureSingleShot()
1748 mSession.setSingleRepeatingRequest(singleRequest, executor, resultCallback); in captureSingleShot()
1750 mSession.setRepeatingRequest(singleRequest, resultCallback, mHandler); in captureSingleShot()
1753 resultCallback.getCaptureResult(CAPTURE_RESULT_TIMEOUT_MS); in captureSingleShot()
1832 SimpleCaptureCallback resultCallback = new SimpleCaptureCallback(); in captureBurstShot() local
1834 mSession.captureBurstRequests(postAbortRequests, executor, resultCallback); in captureBurstShot()
1836 mSession.captureBurst(postAbortRequests, resultCallback, mHandler); in captureBurstShot()
[all …]