/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedHelper.java | 53 public static String getActivityName(@Nullable FillRequest request) { in getActivityName() argument 54 if (request == null) return "N/A (null request)"; in getActivityName() 56 final ComponentName componentName = request.getActivityComponent(); in getActivityName() 79 public static void assertBasicRequestInfo(@NonNull AugmentedFillRequest request, in assertBasicRequestInfo() argument 82 assertBasicRequestInfo(request, activity, expectedFocusedId, in assertBasicRequestInfo() 86 public static void assertBasicRequestInfo(@NonNull AugmentedFillRequest request, in assertBasicRequestInfo() argument 91 assertWithMessage("no AugmentedFillRequest").that(request).isNotNull(); in assertBasicRequestInfo() 92 assertWithMessage("no FillRequest on %s", request).that(request.request).isNotNull(); in assertBasicRequestInfo() 93 assertWithMessage("no FillController on %s", request).that(request.controller).isNotNull(); in assertBasicRequestInfo() 94 assertWithMessage("no FillCallback on %s", request).that(request.callback).isNotNull(); in assertBasicRequestInfo() [all …]
|
D | CtsAugmentedAutofillService.java | 188 public void onFillRequest(FillRequest request, CancellationSignal cancellationSignal, in onFillRequest() argument 190 Log.i(TAG, "onFillRequest(): " + AugmentedHelper.toString(request)); in onFillRequest() 192 final ComponentName component = request.getActivityComponent(); in onFillRequest() 198 mHandler.post(() -> sAugmentedReplier.handleOnFillRequest(getApplicationContext(), request, in onFillRequest() local 220 public final FillRequest request; field in CtsAugmentedAutofillService.AugmentedFillRequest 225 private AugmentedFillRequest(FillRequest request, CancellationSignal cancellationSignal, in AugmentedFillRequest() argument 227 this.request = request; in AugmentedFillRequest() 235 return "AugmentedFillRequest[activity=" + getActivityName(request) + ", request=" in toString() 236 + AugmentedHelper.toString(request) + "]"; in toString() 289 AugmentedFillRequest request; in getNextFillRequest() local [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | DataRemovalRequestTest.java | 79 final DataRemovalRequest request = new DataRemovalRequest.Builder().forEverything() in testBuild_validForEverything_directly() local 81 assertForEverything(request); in testBuild_validForEverything_directly() 86 final DataRemovalRequest request = new DataRemovalRequest.Builder().forEverything() in testBuild_validForEverything_parcel() local 88 final DataRemovalRequest clone = cloneThroughParcel(request); in testBuild_validForEverything_parcel() 92 private void assertForEverything(final DataRemovalRequest request) { in assertForEverything() argument 93 assertThat(request).isNotNull(); in assertForEverything() 94 assertThat(request.isForEverything()).isTrue(); in assertForEverything() 95 assertThat(request.getLocusIdRequests()).isNull(); in assertForEverything() 100 final DataRemovalRequest request = buildForIds(); in testBuild_validForIds_directly() local 101 assertForIds(request); in testBuild_validForIds_directly() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ExtractedTextRequestTest.java | 35 ExtractedTextRequest request = new ExtractedTextRequest(); in testExtractedTextRequest() local 36 request.flags = 1; in testExtractedTextRequest() 37 request.hintMaxChars = 100; in testExtractedTextRequest() 38 request.hintMaxLines = 10; in testExtractedTextRequest() 39 request.token = 2; in testExtractedTextRequest() 41 assertEquals(0, request.describeContents()); in testExtractedTextRequest() 44 request.writeToParcel(p, 0); in testExtractedTextRequest() 48 assertEquals(request.flags, target.flags); in testExtractedTextRequest() 49 assertEquals(request.hintMaxChars, request.hintMaxChars); in testExtractedTextRequest() 50 assertEquals(request.hintMaxLines, target.hintMaxLines); in testExtractedTextRequest() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnectionService.java | 80 ConnectionRequest request) { in onCreateOutgoingConnection() argument 82 connection.setAddress(request.getAddress(), CONNECTION_PRESENTATION); in onCreateOutgoingConnection() 93 connection.setVideoState(request.getVideoState()); in onCreateOutgoingConnection() 95 if (request.isRequestingRtt()) { in onCreateOutgoingConnection() 96 connection.setRttTextStream(request.getRttTextStream()); in onCreateOutgoingConnection() 111 ConnectionRequest request) { in onCreateIncomingConnection() argument 113 connection.setAddress(request.getAddress(), CONNECTION_PRESENTATION); in onCreateIncomingConnection() 119 ((Connection) connection).setVideoState(request.getVideoState()); in onCreateIncomingConnection() 120 if (request.isRequestingRtt()) { in onCreateIncomingConnection() 121 connection.setRttTextStream(request.getRttTextStream()); in onCreateIncomingConnection() [all …]
|
D | CtsConnectionService.java | 87 ConnectionRequest request) { in onCreateOutgoingConnection() argument 91 connectionManagerPhoneAccount, request); in onCreateOutgoingConnection() 100 ConnectionRequest request) { in onCreateIncomingConnection() argument 104 connectionManagerPhoneAccount, request); in onCreateIncomingConnection() 113 ConnectionRequest request) { in onCreateIncomingConnectionFailed() argument 116 request); in onCreateIncomingConnectionFailed() 122 ConnectionRequest request) { in onCreateOutgoingConference() argument 126 request); in onCreateOutgoingConference() 135 ConnectionRequest request) { in onCreateOutgoingConferenceFailed() argument 139 request); in onCreateOutgoingConferenceFailed() [all …]
|
D | CtsSelfManagedConnectionService.java | 94 final ConnectionRequest request) { in onCreateOutgoingConnection() argument 96 return createSelfManagedConnection(request, false); in onCreateOutgoingConnection() 101 ConnectionRequest request) { in onCreateIncomingConnection() argument 103 return createSelfManagedConnection(request, true); in onCreateIncomingConnection() 108 ConnectionRequest request) { in onCreateIncomingConnectionFailed() argument 114 ConnectionRequest request) { in onCreateOutgoingConnectionFailed() argument 120 ConnectionRequest request) { in onCreateIncomingHandoverConnection() argument 121 mOnCreateIncomingHandoverConnectionCounter.invoke(fromPhoneAccountHandle, request); in onCreateIncomingHandoverConnection() 122 return createSelfManagedConnection(request, true /* incoming */); in onCreateIncomingHandoverConnection() 127 ConnectionRequest request) { in onCreateOutgoingHandoverConnection() argument [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PermissionControllerTest.java | 111 private @NonNull Map<String, List<String>> revoke(@NonNull Map<String, List<String>> request, in revoke() argument 116 sController.revokeRuntimePermissions(request, doDryRun, reason, executor, in revoke() 136 private @NonNull Map<String, List<String>> revoke(@NonNull Map<String, List<String>> request, in revoke() argument 141 request, doDryRun, REASON_MALWARE, sContext.getMainExecutor())); in revoke() 144 return revoke(request, doDryRun, REASON_MALWARE, sContext.getMainExecutor()); in revoke() 147 private @NonNull Map<String, List<String>> revoke(@NonNull Map<String, List<String>> request, in revoke() argument 149 return revoke(request, doDryRun, true); in revoke() 164 Map<String, List<String>> request = buildRequest(APP, ACCESS_BACKGROUND_LOCATION); in dryRunRevokeSinglePermission() local 166 Map<String, List<String>> result = revoke(request, true); in dryRunRevokeSinglePermission() 175 Map<String, List<String>> request = buildRequest(APP, ACCESS_BACKGROUND_LOCATION); in revokeSinglePermission() local [all …]
|
/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 41 public int request(Surface source, Bitmap dest) { in request() method in SynchronousPixelCopy 43 PixelCopy.request(source, dest, this, sHandler); in request() 48 public int request(Surface source, Rect srcRect, Bitmap dest) { in request() method in SynchronousPixelCopy 50 PixelCopy.request(source, srcRect, dest, this, sHandler); in request() 55 public int request(SurfaceView source, Bitmap dest) { in request() method in SynchronousPixelCopy 57 PixelCopy.request(source, dest, this, sHandler); in request() 62 public int request(SurfaceView source, Rect srcRect, Bitmap dest) { in request() method in SynchronousPixelCopy 64 PixelCopy.request(source, srcRect, dest, this, sHandler); in request() 69 public int request(Window source, Bitmap dest) { in request() method in SynchronousPixelCopy 71 PixelCopy.request(source, dest, this, sHandler); in request() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadCallbackTest.java | 42 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated() argument 45 args.arg1 = request; in onStatusUpdated() 64 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, int in onProgressUpdated() argument 68 args.arg1 = request; in onProgressUpdated() 91 DownloadRequest request = downloadRequestTemplate.build(); in testFullCallback() local 92 mDownloadSession.addStatusListener(request, mCallbackExecutor, statusCallback); in testFullCallback() 93 mDownloadSession.addProgressListener(request, mCallbackExecutor, progressCallback); in testFullCallback() 94 mMiddlewareControl.fireOnProgressUpdated(request, CtsDownloadService.FILE_INFO_1, in testFullCallback() 97 assertEquals(request, progressArgs.arg1); in testFullCallback() 104 mMiddlewareControl.fireOnStateUpdated(request, CtsDownloadService.FILE_INFO_1, sampleInt); in testFullCallback() [all …]
|
D | MbmsDownloadSessionTest.java | 165 DownloadRequest request = downloadRequestTemplate.build(); in testResetDownloadKnowledge() local 166 mDownloadSession.resetDownloadKnowledge(request); in testResetDownloadKnowledge() 171 assertEquals(request, resetDownloadKnowledgeCalls.get(0).getParcelable( in testResetDownloadKnowledge() 177 DownloadRequest request = downloadRequestTemplate.build(); in testGetDownloadStatus() local 178 mDownloadSession.requestDownloadState(request, CtsDownloadService.FILE_INFO_1); in testGetDownloadStatus() 183 assertEquals(request, getDownloadStatusCalls.get(0).getParcelable( in testGetDownloadStatus() 191 DownloadRequest request = downloadRequestTemplate.build(); in testCancelDownload() local 192 mDownloadSession.cancelDownload(request); in testCancelDownload() 197 assertEquals(request, cancelDownloadCalls.get(0).getParcelable( in testCancelDownload() 207 DownloadRequest request = downloadRequestTemplate.setAppIntent(new Intent()).build(); in testListPendingDownloads() local [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 89 PinItemRequest request = getShortcutRequestForPackage1(); in testCreateShortcutResultIntent_defaultLauncher() local 91 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultLauncher() 92 assertTrue(request.accept()); in testCreateShortcutResultIntent_defaultLauncher() 98 PinItemRequest request = getShortcutRequestForPackage1(); in testCreateShortcutResultIntent_defaultChanges() local 103 assertTrue(request.isValid()); in testCreateShortcutResultIntent_defaultChanges() 104 assertTrue(request.accept()); in testCreateShortcutResultIntent_defaultChanges() 110 PinItemRequest request = getShortcutRequestForPackage1(); in testCreateShortcutResultIntent_noDefault() local 114 assertFalse(request.isValid()); in testCreateShortcutResultIntent_noDefault() 115 assertExpectException(SecurityException.class, null, request::accept); in testCreateShortcutResultIntent_noDefault() 128 PinItemRequest request = getLauncherApps().getPinItemRequest(intent); in getShortcutRequestForPackage1() [all …]
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DrmInfoRequestTest.java | 72 DrmInfoRequest request = new DrmInfoRequest(DEFAULT_TYPE, DEFAULT_MIME); in testPutAndGetKeys() local 76 request.put(key, attributes.get(key)); in testPutAndGetKeys() 80 Iterator<String> infoKeys = request.keyIterator(); in testPutAndGetKeys() 83 assertEquals(request.get(key), attributes.get(key)); in testPutAndGetKeys() 89 assertEquals(request.get(key), attributes.get(key)); in testPutAndGetKeys() 93 Iterator<Object> iterator = request.iterator(); in testPutAndGetKeys() 103 DrmInfoRequest request = new DrmInfoRequest(DEFAULT_TYPE, mimeType); in checkInvalidMimeType() local 111 DrmInfoRequest request = new DrmInfoRequest(DEFAULT_TYPE, mimeType); in checkGetMimeType() local 112 assertEquals(request.getMimeType(), mimeType); in checkGetMimeType() 116 DrmInfoRequest request = new DrmInfoRequest(type, DEFAULT_MIME); in checkGetInfoType() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsConnectionService.java | 107 final ConnectionRequest request) { in onCreateOutgoingConnection() argument 109 return createManagedConnection(request, false); in onCreateOutgoingConnection() 114 ConnectionRequest request) { in onCreateIncomingConnection() argument 116 return createManagedConnection(request, true); in onCreateIncomingConnection() 121 ConnectionRequest request) { in onCreateIncomingConnectionFailed() argument 126 ConnectionRequest request) { in onCreateOutgoingConnectionFailed() argument 129 private Connection createManagedConnection(ConnectionRequest request, boolean isIncoming) { in createManagedConnection() argument 130 boolean isSelfManaged = request.getAccountHandle().equals( in createManagedConnection() 134 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createManagedConnection() 142 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); in createManagedConnection() [all …]
|
D | CtsSelfManagedConnectionService.java | 81 ConnectionRequest request) { in onCreateIncomingConnection() argument 82 return createConnection(request, true /* isIncoming */); in onCreateIncomingConnection() 87 ConnectionRequest request) { in onCreateOutgoingConnection() argument 88 return createConnection(request, false /* isIncoming */); in onCreateOutgoingConnection() 91 private Connection createConnection(ConnectionRequest request, boolean isIncoming) { in createConnection() argument 93 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createConnection() 98 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); in createConnection() 99 connection.setExtras(request.getExtras()); in createConnection() 103 request.getAccountHandle()); in createConnection() 105 connection.setVideoState(request.getVideoState()); in createConnection()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraDeviceTest.java | 461 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in testChainedOperation() argument 487 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in testChainedOperation() argument 506 CaptureRequest.Builder request = in testChainedOperation() local 508 request.addTarget(mReaderSurface); in testChainedOperation() 513 session.capture(request.build(), mCaptureCallback, mHandler); in testChainedOperation() 515 session.setRepeatingRequest(request.build(), in testChainedOperation() 777 CaptureRequest request = builder.build(); in testCreateCustomSessionByCamera() local 779 mSession.capture(request, captureListener, mHandler); in testCreateCustomSessionByCamera() 780 captureListener.getCaptureResultForRequest(request, CAPTURE_TIMEOUT_MS); in testCreateCustomSessionByCamera() 871 CaptureRequest request = builder.build(); in testSessionConfiguration() local [all …]
|
D | AllocationTest.java | 132 private static void setManualCaptureRequest(CaptureRequest.Builder request, int sensitivity, in setManualCaptureRequest() argument 142 request.set(CaptureRequest.CONTROL_MODE, CaptureRequest.CONTROL_MODE_OFF); in setManualCaptureRequest() 143 request.set(CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_OFF); in setManualCaptureRequest() 144 request.set(CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.CONTROL_AWB_MODE_OFF); in setManualCaptureRequest() 145 request.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF); in setManualCaptureRequest() 146 request.set(CaptureRequest.CONTROL_EFFECT_MODE, CaptureRequest.CONTROL_EFFECT_MODE_OFF); in setManualCaptureRequest() 147 request.set(CaptureRequest.SENSOR_FRAME_DURATION, 0L); in setManualCaptureRequest() 148 request.set(CaptureRequest.SENSOR_SENSITIVITY, sensitivity); in setManualCaptureRequest() 149 request.set(CaptureRequest.SENSOR_EXPOSURE_TIME, expTimeNs); in setManualCaptureRequest() 150 request.set(CaptureRequest.COLOR_CORRECTION_MODE, in setManualCaptureRequest() [all …]
|
/cts/tests/tests/view/src/android/view/textclassifier/cts/ |
D | TextClassifierValueObjectsTest.java | 169 final TextSelection.Request request = new TextSelection.Request.Builder(TEXT, START, END) in testTextSelectionRequest() local 172 assertEquals(TEXT, request.getText().toString()); in testTextSelectionRequest() 173 assertEquals(START, request.getStartIndex()); in testTextSelectionRequest() 174 assertEquals(END, request.getEndIndex()); in testTextSelectionRequest() 175 assertEquals(LOCALES, request.getDefaultLocales()); in testTextSelectionRequest() 180 final TextSelection.Request request = in testTextSelectionRequest_nullValues() local 184 assertNull(request.getDefaultLocales()); in testTextSelectionRequest_nullValues() 189 final TextSelection.Request request = in testTextSelectionRequest_defaultValues() local 191 assertNull(request.getDefaultLocales()); in testTextSelectionRequest_defaultValues() 192 assertTrue(request.getExtras().isEmpty()); in testTextSelectionRequest_defaultValues() [all …]
|
D | ConversationActionsTest.java | 154 ConversationActions.Request request = in testRequest_minimal() local 159 parcelizeDeparcelize(request, ConversationActions.Request.CREATOR); in testRequest_minimal() 161 assertMinimalRequest(request); in testRequest_minimal() 175 ConversationActions.Request request = in testRequest_full() local 186 parcelizeDeparcelize(request, ConversationActions.Request.CREATOR); in testRequest_full() 188 assertFullRequest(request); in testRequest_full() 311 private void assertMinimalRequest(ConversationActions.Request request) { in assertMinimalRequest() argument 312 assertThat(request.getConversation()).hasSize(1); in assertMinimalRequest() 313 assertThat(request.getConversation().get(0).getText().toString()).isEqualTo(TEXT); in assertMinimalRequest() 314 assertThat(request.getConversation().get(0).getAuthor()).isEqualTo(PERSON); in assertMinimalRequest() [all …]
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | CommReceiver.java | 38 protected Payload handleRequest(Context context, Payload request) { in handleRequest() argument 40 if (request.hasTestServiceRequest()) { in handleRequest() 41 handleBatterySaverBgServiceRequest(context, request, responseBuilder); in handleRequest() 47 Payload request, Payload.Builder responseBuilder) { in handleBatterySaverBgServiceRequest() argument 50 if (request.getTestServiceRequest().getClearLastIntent()) { in handleBatterySaverBgServiceRequest() 56 } else if (request.getTestServiceRequest().getGetLastIntent()) { in handleBatterySaverBgServiceRequest() 64 } else if (request.getTestServiceRequest().hasStartService()) { in handleBatterySaverBgServiceRequest() 67 final String action = request.getTestServiceRequest().getStartService().getAction(); in handleBatterySaverBgServiceRequest() 68 final boolean fg = request.getTestServiceRequest().getStartService().getForeground(); in handleBatterySaverBgServiceRequest() 82 } else if (request.getTestServiceRequest().getStopService()) { in handleBatterySaverBgServiceRequest() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 152 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFont() local 157 mContext, request, mMainThreadHandler, null, callback)); in requestFont() 167 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFontNegativeErrorCode() local 172 mContext, request, mMainThreadHandler, null, callback)); in requestFontNegativeErrorCode() 184 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in querySingleFont() local 187 mContext, null /* cancellation signal */, request); in querySingleFont() 201 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleFont() local 204 mContext, null /* cancellation signal */, request); in queryMultipleFont() 219 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryAttributes() local 222 mContext, null /* cancellation signal */, request); in queryAttributes() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 196 private String processClientRequest(String request) throws Exception { in processClientRequest() argument 211 if (request.startsWith(REQUEST_SENSOR_AVAILABILITY)) { in processClientRequest() 212 final String sensor = request.substring(REQUEST_SENSOR_AVAILABILITY.length()); in processClientRequest() 219 } else if (request.startsWith(REQUEST_EXTERNAL_STORAGE)){ in processClientRequest() 222 } else if (request.startsWith(REQUEST_SCREEN_OFF)) { in processClientRequest() 230 } else if (request.startsWith(REQUEST_SENSOR_ON)) { in processClientRequest() 231 String sensorList = request.substring(REQUEST_SENSOR_ON.length()).trim(); in processClientRequest() 233 } else if (request.startsWith(REQUEST_SENSOR_OFF)) { in processClientRequest() 234 String sensorList = request.substring(REQUEST_SENSOR_ON.length()).trim(); in processClientRequest() 236 } else if (request.startsWith(REQUEST_SHOW_MESSAGE)) { in processClientRequest() [all …]
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 108 public void onRequestConfirmation(ConfirmationRequest request) { in onRequestConfirmation() argument 109 Bundle extras = request.getExtras(); in onRequestConfirmation() 110 CharSequence prompt = request.getVoicePrompt().getVoicePromptAt(0); in onRequestConfirmation() 114 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestConfirmation() 128 public void onRequestCompleteVoice(CompleteVoiceRequest request) { in onRequestCompleteVoice() argument 129 Bundle extras = request.getExtras(); in onRequestCompleteVoice() 130 CharSequence prompt = request.getVoicePrompt().getVoicePromptAt(0); in onRequestCompleteVoice() 134 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestCompleteVoice() 148 public void onRequestAbortVoice(AbortVoiceRequest request) { in onRequestAbortVoice() argument 149 Bundle extras = request.getExtras(); in onRequestAbortVoice() [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraSessionUtils.java | 117 CameraCaptureSession session, CaptureRequest request, Handler handler) in getCapturedResult() argument 119 session.capture(request, this, handler); in getCapturedResult() 126 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted() argument 129 super.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted() 133 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() argument 136 super.onCaptureCompleted(session, request, result); in onCaptureCompleted() 213 CameraCaptureSession session, CaptureRequest request, Handler handler) in captureAndVerifyResult() argument 217 checkNotNull(request); in captureAndVerifyResult() 220 Pair<TotalCaptureResult, Long> result = listener.getCapturedResult(session, request, in captureAndVerifyResult() 225 verify(listener, atLeastOnce()).onCaptureStarted(eq(session), eq(request), in captureAndVerifyResult() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | InstrumentedAutoFillService.java | 213 public void onFillRequest(android.service.autofill.FillRequest request, in onFillRequest() argument 215 final ComponentName component = getLastActivityComponent(request.getFillContexts()); in onFillRequest() 217 dumpStructure("onFillRequest()", request.getFillContexts()); in onFillRequest() 236 () -> sReplier.onFillRequest(request.getFillContexts(), request.getClientState(), in onFillRequest() 237 cancellationSignal, callback, request.getFlags())); in onFillRequest() 241 public void onSaveRequest(android.service.autofill.SaveRequest request, in onSaveRequest() argument 248 mHandler.post(()->handleSaveRequest(request, callback)); in onSaveRequest() 251 private void handleSaveRequest(android.service.autofill.SaveRequest request, in handleSaveRequest() argument 253 final ComponentName component = getLastActivityComponent(request.getFillContexts()); in handleSaveRequest() 263 dumpStructure("onSaveRequest()", request.getFillContexts()); in handleSaveRequest() [all …]
|