/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2StillCaptureTest.java | 207 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() local 214 maxStillSz, resultListener, imageListener); in takePictureTestByCamera() 260 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 267 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() local 269 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE, in takePictureTestByCamera() 273 waitForSettingsApplied(resultListener, NUM_FRAMES_WAITED_FOR_UNKNOWN_LATENCY); in takePictureTestByCamera() 279 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() local 281 result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in takePictureTestByCamera() 295 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 302 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in takePictureTestByCamera() local [all …]
|
D | Camera2RecordingTest.java | 247 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in constrainedHighSpeedRecording() local 249 captureRate, fpsRange, resultListener, in constrainedHighSpeedRecording() 258 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in constrainedHighSpeedRecording() 429 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in basicRecordingTestByCamera() local 430 startRecording(/* useMediaRecorder */true, resultListener, useVideoStab); in basicRecordingTestByCamera() 438 int durationMs = (int) (resultListener.getTotalNumFrames() * 1000.0f / in basicRecordingTestByCamera() 443 ", num of frames produced: " + resultListener.getTotalNumFrames()); in basicRecordingTestByCamera() 655 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in videoSnapshotTestByCamera() local 673 startRecording(/* useMediaRecorder */true, resultListener, /*useVideoStab*/false); in videoSnapshotTestByCamera() 686 mSession.captureBurst(requests, resultListener, mHandler); in videoSnapshotTestByCamera() [all …]
|
D | Camera2SwitchPreviewTest.java | 261 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in stillCapturePreviewPreparer() local 268 prepareCapturePreview(previewRequest, stillRequest, resultListener, imageListener); in stillCapturePreviewPreparer() 354 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in basicRecordingPreviewTestByCamera() local 357 prepareVideoPreview(previewRequest, recordingRequest, resultListener, imageListener); in basicRecordingPreviewTestByCamera() 488 CaptureCallback resultListener, in prepareVideoPreview() argument 509 CaptureCallback resultListener, in prepareCapturePreview() argument 539 mSession.setRepeatingRequest(previewRequest.build(), resultListener, mHandler); in prepareCapturePreview() local
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 284 CaptureCallback resultListener, in prepareStillCaptureAndStartPreview() argument 287 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener); in prepareStillCaptureAndStartPreview() 303 CaptureCallback resultListener, int maxNumImages, in prepareStillCaptureAndStartPreview() argument 306 ImageFormat.JPEG, resultListener, maxNumImages, imageListener); in prepareStillCaptureAndStartPreview() 325 CaptureCallback resultListener, in prepareRawCaptureAndStartPreview() argument 328 ImageFormat.RAW_SENSOR, resultListener, MAX_READER_IMAGES, imageListener); in prepareRawCaptureAndStartPreview() 479 protected static CaptureResult waitForNumResults(SimpleCaptureCallback resultListener, in waitForNumResults() argument 481 if (numResultsWait < 0 || resultListener == null) { in waitForNumResults() 488 result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in waitForNumResults() 501 protected void waitForSettingsApplied(SimpleCaptureCallback resultListener, in waitForSettingsApplied() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/satellite/ |
D | SatelliteManager.java | 546 @SatelliteResult @NonNull Consumer<Integer> resultListener) { in requestEnabled() argument 549 Objects.requireNonNull(resultListener); in requestEnabled() 558 () -> resultListener.accept(result))); in requestEnabled() 566 () -> resultListener.accept(SATELLITE_RESULT_ILLEGAL_STATE))); in requestEnabled() 571 () -> resultListener.accept(SATELLITE_RESULT_ILLEGAL_STATE))); in requestEnabled() 1120 @SatelliteResult @NonNull Consumer<Integer> resultListener, in startTransmissionUpdates() argument 1123 Objects.requireNonNull(resultListener); in startTransmissionUpdates() 1133 () -> resultListener.accept(result))); in startTransmissionUpdates() 1172 () -> resultListener.accept(SATELLITE_RESULT_ILLEGAL_STATE))); in startTransmissionUpdates() 1177 () -> resultListener.accept(SATELLITE_RESULT_ILLEGAL_STATE))); in startTransmissionUpdates() [all …]
|
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
D | SatelliteManagerWrapper.java | 503 @SatelliteResult @NonNull Consumer<Integer> resultListener) { in requestEnabled() argument 507 .build(), executor, resultListener); in requestEnabled() 620 @SatelliteResult @NonNull Consumer<Integer> resultListener, in startTransmissionUpdates() argument 661 mSatelliteManager.startTransmissionUpdates(executor, resultListener, internalCallback); in startTransmissionUpdates() 673 @SatelliteResult @NonNull Consumer<Integer> resultListener) { in stopTransmissionUpdates() argument 678 internalCallback, executor, resultListener); in stopTransmissionUpdates() 691 @SatelliteResult @NonNull Consumer<Integer> resultListener) { in provisionService() argument 693 token, provisionData, cancellationSignal, executor, resultListener); in provisionService() 705 @SatelliteResult @NonNull Consumer<Integer> resultListener) { in deprovisionService() argument 706 mSatelliteManager.deprovisionService(token, executor, resultListener); in deprovisionService() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentResolver.java | 932 final StringResultListener resultListener = new StringResultListener(); 934 url, new RemoteCallback(resultListener)); 935 resultListener.waitForResult(CONTENT_PROVIDER_TIMEOUT_MILLIS); 936 if (resultListener.exception != null) { 937 throw resultListener.exception; 939 return resultListener.result; 961 final StringResultListener resultListener = new StringResultListener(); 965 new RemoteCallback(resultListener)); 966 resultListener.waitForResult(REMOTE_CONTENT_PROVIDER_TIMEOUT_MILLIS); 967 if (resultListener.exception != null) { [all …]
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 1676 @NonNull Consumer<Bundle> resultListener) { in performDirectAction() argument 1681 Objects.requireNonNull(resultListener); in performDirectAction() 1702 resultExecutor.execute(() -> resultListener.accept(b)); in performDirectAction() 1704 resultExecutor.execute(() -> resultListener.accept(Bundle.EMPTY)); in performDirectAction()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 13934 Consumer<Integer> resultListener) { in getCarrierRestrictionStatus() argument 13936 Objects.requireNonNull(resultListener); in getCarrierRestrictionStatus() 13942 () -> resultListener.accept(result))); in getCarrierRestrictionStatus() 16444 Consumer<Integer> resultListener) { in setCallForwarding() 16462 if (resultListener != null) { in setCallForwarding() 16470 Binder.withCleanCallingIdentity(() -> resultListener.accept(result))); in setCallForwarding() 16569 @NonNull @CallWaitingStatus Consumer<Integer> resultListener) { in getCallWaitingStatus() argument 16571 Objects.requireNonNull(resultListener); in getCallWaitingStatus() 16577 () -> resultListener.accept(result))); in getCallWaitingStatus() 16622 @Nullable Consumer<Integer> resultListener) { in setCallWaitingEnabled() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 2754 @NonNull Consumer<Bundle> resultListener) { } in onPerformDirectAction() argument
|
/frameworks/base/core/api/ |
D | system-lint-baseline.txt | 1827 …SAM-compatible parameters (such as parameter 2, "resultListener", in android.telephony.satellite.S…
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |