/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | DirectActionsActivity.java | 87 @NonNull Consumer<List<DirectAction>> callback) { in onGetDirectActions() 106 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction() 124 private void detectDestroyedInteractor(@NonNull RemoteCallback callback) { in detectDestroyedInteractor() 152 private void invalidateDirectActions(@NonNull RemoteCallback callback) { in invalidateDirectActions() 160 private void doFinish(@NonNull RemoteCallback callback) { in doFinish() 168 private static void reportActionPerformed(Consumer<Bundle> callback) { in reportActionPerformed() 176 private static void reportActionCancelled(Consumer<Bundle> callback) { in reportActionCancelled() 184 private static void reportActionExecuting(Consumer<Bundle> callback) { in reportActionExecuting() 192 private static void reportActionFailed(Consumer<Bundle> callback) { in reportActionFailed()
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | TestLocationManager.java | 65 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in registerGnssMeasurementCallback() 82 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback() 100 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback() 118 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback() 155 public void unregisterGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in unregisterGnssMeasurementCallback() 239 GnssNavigationMessage.Callback callback) { in registerGnssNavigationMessageCallback() 252 GnssNavigationMessage.Callback callback, Handler handler) { in registerGnssNavigationMessageCallback() 262 public void unregisterGnssNavigationMessageCallback(GnssNavigationMessage.Callback callback) { in unregisterGnssNavigationMessageCallback() 273 public boolean registerGnssStatusCallback(GnssStatus.Callback callback) { in registerGnssStatusCallback() 284 public void unregisterGnssStatusCallback(GnssStatus.Callback callback) { in unregisterGnssStatusCallback()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | FieldsClassificationTest.java | 197 final MyAutofillCallback callback = mActivity.registerCallback(); in testMiss_exactMatchAlgorithm() local 231 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_exactMatchLast4Algorithm() local 268 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_CreditCardAlgorithm() local 306 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_useDefaultAlgorithm() local 343 final MyAutofillCallback callback = mActivity.registerCallback(); in simpleHitTest() local 380 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_sameValueForMultipleCategories() local 429 final MyAutofillCallback callback = mActivity.registerCallback(); in manyUserData_oneDetectableField() local 472 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_oneUserData_manyDetectableFields() local 518 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_manyUserData_manyDetectableFields() local 580 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_manyUserData_manyDetectableFields_differentClassificationAlgo() local [all …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | QuickAccessWalletClientTest.java | 136 TestCallback callback = new TestCallback(); in testGetWalletCards_success() local 152 TestCallback callback = new TestCallback(); in testGetWalletCards_failsIfNoServiceAvailable() local 169 TestCallback callback = new TestCallback(); in testGetWalletCards_failsIfServiceDoesNotRequirePermission() local 184 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullId_fails() local 198 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullImage_fails() local 212 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullContentDesc_fails() local 225 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullPendingIntent_fails() local 240 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidResponse_tooManyCards_fails() local 253 TestCallback callback = new TestCallback(); in testGetWalletCards_zeroCards_isAllowed() local 264 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidResponse_nullCards_fails() local [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | FakeCarrierMessagingService.java | 33 int subId, ResultCallback<Integer> callback) { in onReceiveTextSms() 42 int sendSmsFlag, ResultCallback<SendSmsResult> callback) { in onSendTextSms() 51 int destPort, int sendSmsFlag, ResultCallback<SendSmsResult> callback) { in onSendDataSms() 61 ResultCallback<SendMultipartSmsResult> callback) { in onSendMultipartTextSms() 71 ResultCallback<SendMmsResult> callback) { in onSendMms() 81 ResultCallback<Integer> callback) { in onDownloadMms()
|
/cts/tests/uwb/src/android/uwb/cts/ |
D | RangingSessionTest.java | 62 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingOpened_OnOpenSuccessCalled() local 78 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingOpened_CannotOpenClosedSession() local 102 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local 118 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingClosed_OnClosedCalled() local 133 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingResult_OnReportReceivedCalled() local 149 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testStart_CannotStartIfAlreadyStarted() local 166 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testStop_CannotStopIfAlreadyStopped() local 185 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testReconfigure_OnlyWhenOpened() local 220 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testClose_NoCallbackUntilInvoked() local 249 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testClose_OnClosedCalled() local [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricSimpleTests.java | 166 BiometricPrompt.AuthenticationCallback callback = in testWhenCredentialNotEnrolled() local 207 BiometricPrompt.AuthenticationCallback callback = in testWhenCredentialEnrolled() local 266 BiometricPrompt.AuthenticationCallback callback = in testSimpleBiometricAuth_convenience() local 270 true /* requireConfirmation */, callback, new CancellationSignal()); in testSimpleBiometricAuth_convenience() local 318 BiometricPrompt.AuthenticationCallback callback = in testSimpleBiometricAuth_nonConvenience() local 322 true /* requireConfirmation */, callback, randomTitle, randomSubtitle, in testSimpleBiometricAuth_nonConvenience() local 366 BiometricPrompt.AuthenticationCallback callback = in testSimpleCredentialAuth() local 408 BiometricPrompt.AuthenticationCallback callback = in testBiometricCancellation() local 413 true /* requireConfirmation */, callback, cancellationSignal); in testBiometricCancellation() local
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | AuthenticationTest.java | 71 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthTwoFields() local 150 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoFieldsReplaceResponse() local 212 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoFieldsNoValues() local 256 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoDatasets() local 321 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthMixedTest() local 377 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthNoFiltering() local 435 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthFilteringUsingAutofillValue() local 523 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthFilteringUsingRegex() local 602 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthMixedFilteringTest() local 765 final MyAutofillCallback callback = mActivity.registerCallback(); in fillResponseAuthBothFields() local [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConferenceTest.java | 226 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_StateChange() local 256 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Disconnect() local 287 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionAdd() local 322 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionRemove() local 358 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionCapabilities() local 390 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionProperties() local 423 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConferenceableConnections() local 462 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Destroy() local 491 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Extras() local
|
D | RemoteConnectionTest.java | 264 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StateChange() local 290 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_RingbackRequest() local 316 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionCapabilities() local 345 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionProperties() local 375 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialWait() local 403 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialChar() local 430 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_VoipAudio() local 456 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StatusHints() local 483 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_AddressChange() local 512 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_CallerDisplayName() local [all …]
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | NoOpHotwordDetectionService.java | 40 @NonNull Callback callback) { in onDetect() 49 @NonNull Callback callback) { in onDetect() 54 public void onDetect(@NonNull Callback callback) { in onDetect()
|
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/ |
D | SimpleAutofillService.java | 31 FillCallback callback) { in onFillRequest() 36 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 216 final Animatable2Callback callback = new Animatable2Callback(); in testReset() local 231 final Animatable2Callback callback = new Animatable2Callback(); in testStop() local 246 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackBeforeStart() local 264 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackAfterTrigger() local 286 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackAfterStart() local 306 final Animatable2Callback callback = new Animatable2Callback(); in testRemoveCallback() local 326 final Animatable2Callback callback = new Animatable2Callback(); in testClearCallback() local 346 static void waitForAVDStop(Animatable2Callback callback, long timeout) { in waitForAVDStop()
|
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/ |
D | NoOpAutofillService.java | 36 FillCallback callback) { in onFillRequest() 41 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
|
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/ |
D | MyReceiver.java | 35 final Consumer<Intent>callback = sCallback.get(); in onReceive() local 41 public static void setCallback(Consumer<Intent> callback) { in setCallback()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | BadAutofillService.java | 39 FillCallback callback) { in onFillRequest() 45 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
|
D | NoOpAutofillService.java | 40 FillCallback callback) { in onFillRequest() 45 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
|
D | InstrumentedAutoFillService.java | 222 CancellationSignal cancellationSignal, FillCallback callback) { in onFillRequest() 245 cancellationSignal, callback, request.getFlags(), in onFillRequest() local 251 SaveCallback callback) { in onSaveRequest() 261 SaveCallback callback) { in handleSaveRequest() 277 request.getClientState(), callback, in handleSaveRequest() local 282 public void onSavedDatasetsInfoRequest(@NonNull SavedDatasetsInfoCallback callback) { in onSavedDatasetsInfoRequest() 387 public final FillCallback callback; field in FillRequest 392 CancellationSignal cancellationSignal, FillCallback callback, int flags, in FillRequest() 419 public final SaveCallback callback; field in SaveRequest 422 private SaveRequest(List<FillContext> contexts, Bundle data, SaveCallback callback, in SaveRequest() [all …]
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | CtsTextClassifierService.java | 96 Callback<TextSelection> callback) { in onSuggestSelection() 109 Callback<TextClassification> callback) { in onClassifyText() 130 CancellationSignal cancellationSignal, Callback<TextLinks> callback) { in onGenerateLinks() 138 Callback<TextLanguage> callback) { in onDetectLanguage() 146 Callback<ConversationActions> callback) { in onSuggestConversationActions()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | DatasetFilteringTest.java | 115 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter() local 179 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_injectingEvents() local 252 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_usingKeyboard() local 410 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_usingRegex() local 477 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_disabledUsingNullRegex() local 654 final MyAutofillCallback callback = mActivity.registerCallback(); in resetFilterTest() local
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | BugreportManagerTest.java | 115 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in startConnectivityBugreport() local 131 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in startConnectivityBugreport_consentDenied() local 146 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in startConnectivityBugreport_consentTimeout() local 206 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in cancelBugreport() local 225 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in startBugreport_connectivityBugreport() local 420 private static void waitUntilDoneOrTimeout(BugreportCallbackImpl callback) throws Exception { in waitUntilDoneOrTimeout() 438 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in assertExceptionThrownForMode() local
|
/cts/hostsidetests/devicepolicy/app/ContentSuggestionsApp/src/com/android/cts/devicepolicy/contentsuggestionsapp/ |
D | SimpleContentSuggestionsService.java | 38 public void onSuggestContentSelections(SelectionsRequest request, SelectionsCallback callback) { in onSuggestContentSelections() 43 ClassificationsCallback callback) { in onClassifyContentSelections()
|
/cts/tests/attentionservice/src/android/attentionservice/cts/ |
D | CtsTestAttentionService.java | 31 public void onCheckAttention(AttentionCallback callback) { in onCheckAttention() 37 public void onCancelAttentionCheck(AttentionCallback callback) { in onCancelAttentionCheck()
|
/cts/tests/devicestate/src/android/hardware/devicestate/cts/ |
D | DeviceStateManagerTests.java | 76 final DeviceStateManager.DeviceStateCallback callback in testRequestAllSupportedStates() local 133 final StateTrackingCallback callback = new StateTrackingCallback(); in testRequestStateSucceedsAsTopApp() local 168 final StateTrackingCallback callback = new StateTrackingCallback(); in testRequestStateFailsAsBackgroundApp() local 241 final DeviceStateManager.DeviceStateCallback callback in testRegisterCallbackSuppliesInitialValue() local
|
/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | CallStateListenerPermissionTest.java | 81 MyTelephonyCallback callback = new MyTelephonyCallback(); in testRegisterWithNoCallLogPermission() local 106 MyTelephonyCallback callback = new MyTelephonyCallback(); in testCallStatePermission() local
|