Home
last modified time | relevance | path

Searched defs:callback (Results 1 – 25 of 143) sorted by relevance

123456

/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java83 @NonNull Consumer<List<DirectAction>> callback) { in onGetDirectActions()
101 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction()
118 private void detectDestroyedInteractor(@NonNull RemoteCallback callback) { in detectDestroyedInteractor()
135 private void invalidateDirectActions(@NonNull RemoteCallback callback) { in invalidateDirectActions()
143 private void doFinish(@NonNull RemoteCallback callback) { in doFinish()
151 private static void reportActionPerformed(Consumer<Bundle> callback) { in reportActionPerformed()
159 private static void reportActionCancelled(Consumer<Bundle> callback) { in reportActionCancelled()
167 private static void reportActionExecuting(Consumer<Bundle> callback) { in reportActionExecuting()
175 private static void reportActionFailed(Consumer<Bundle> callback) { in reportActionFailed()
/cts/tests/tests/location/src/android/location/cts/
DTestLocationManager.java62 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in registerGnssMeasurementCallback()
79 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback()
97 public void unregisterGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in unregisterGnssMeasurementCallback()
181 GnssNavigationMessage.Callback callback) { in registerGnssNavigationMessageCallback()
194 GnssNavigationMessage.Callback callback, Handler handler) { in registerGnssNavigationMessageCallback()
204 public void unregisterGnssNavigationMessageCallback(GnssNavigationMessage.Callback callback) { in unregisterGnssNavigationMessageCallback()
215 public boolean registerGnssStatusCallback(GnssStatus.Callback callback) { in registerGnssStatusCallback()
226 public void unregisterGnssStatusCallback(GnssStatus.Callback callback) { in unregisterGnssStatusCallback()
DGnssStatusCallbackTest.java26 GnssStatus.Callback callback = new MockCallback(); in testAllMethodsExist() local
DGnssNavigationMessageCallbackTest.java26 GnssNavigationMessage.Callback callback = new MockCallback(); in testAllMethodsExist() local
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFieldsClassificationTest.java184 final MyAutofillCallback callback = mActivity.registerCallback(); in testMiss_exactMatchAlgorithm() local
218 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_exactMatchLast4Algorithm() local
256 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_useDefaultAlgorithm() local
293 final MyAutofillCallback callback = mActivity.registerCallback(); in simpleHitTest() local
330 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_sameValueForMultipleCategories() local
379 final MyAutofillCallback callback = mActivity.registerCallback(); in manyUserData_oneDetectableField() local
422 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_oneUserData_manyDetectableFields() local
468 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_manyUserData_manyDetectableFields() local
530 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_manyUserData_manyDetectableFields_differentClassificationAlgo() local
584 final MyAutofillCallback callback = mActivity.registerCallback(); in testHit_manyUserDataPerField_manyDetectableFields() local
[all …]
DAuthenticationTest.java64 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthTwoFields() local
143 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoFieldsReplaceResponse() local
205 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoFieldsNoValues() local
249 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoDatasets() local
314 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthMixedTest() local
370 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthNoFiltering() local
428 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthFilteringUsingAutofillValue() local
515 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthFilteringUsingRegex() local
594 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthMixedFilteringTest() local
754 final MyAutofillCallback callback = mActivity.registerCallback(); in fillResponseAuthBothFields() local
[all …]
DNoOpAutofillService.java39 FillCallback callback) { in onFillRequest()
44 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
DBadAutofillService.java39 FillCallback callback) { in onFillRequest()
45 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
DDatasetFilteringTest.java111 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter() local
165 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_injectingEvents() local
235 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_usingKeyboard() local
387 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_usingRegex() local
450 final MyAutofillCallback callback = mActivity.registerCallback(); in testFilter_disabledUsingNullRegex() local
619 final MyAutofillCallback callback = mActivity.registerCallback(); in resetFilterTest() local
DInstrumentedAutoFillService.java214 CancellationSignal cancellationSignal, FillCallback callback) { in onFillRequest()
237 cancellationSignal, callback, request.getFlags())); in onFillRequest() local
242 SaveCallback callback) { in onSaveRequest()
252 SaveCallback callback) { in handleSaveRequest()
268 request.getClientState(), callback, in handleSaveRequest() local
363 public final FillCallback callback; field in FillRequest
367 CancellationSignal cancellationSignal, FillCallback callback, int flags) { in FillRequest()
392 public final SaveCallback callback; field in SaveRequest
395 private SaveRequest(List<FillContext> contexts, Bundle data, SaveCallback callback, in SaveRequest()
605 CancellationSignal cancellationSignal, FillCallback callback, int flags) { in onFillRequest()
[all …]
DVirtualContainerActivityTest.java382 final MyAutofillCallback callback = mActivity.registerCallback(); in testAutofillCallbacks() local
409 final MyAutofillCallback callback = mActivity.registerCallback(); in testAutofillCallbackDisabled() local
423 final MyAutofillCallback callback = mActivity.registerCallback(); in testAutofillCallbackNoDatasets() local
444 final MyAutofillCallback callback = mActivity.registerCallback(); in testAutofillCallbackNoDatasetsButSaveInfo() local
765 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetFiltering() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConferenceTest.java210 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_StateChange() local
236 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Disconnect() local
263 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionAdd() local
294 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionRemove() local
326 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionCapabilities() local
354 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionProperties() local
383 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConferenceableConnections() local
418 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Destroy() local
443 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Extras() local
DRemoteConnectionTest.java170 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StateChange() local
196 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_RingbackRequest() local
222 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionCapabilities() local
251 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionProperties() local
281 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialWait() local
309 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialChar() local
336 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_VoipAudio() local
362 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StatusHints() local
389 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_AddressChange() local
418 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_CallerDisplayName() local
[all …]
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/
DSimpleAutofillService.java31 FillCallback callback) { in onFillRequest()
36 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableTest.java216 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()
DAnimatable2_AnimationCallbackTest.java33 AnimationCallback callback = new AnimationCallback() {}; in testCallback() local
DRotateDrawableTest.java180 Drawable.Callback callback = mock(Drawable.Callback.class); in testInvalidateDrawable() local
198 Drawable.Callback callback = mock(Drawable.Callback.class); in testScheduleDrawable() local
216 Drawable.Callback callback = mock(Drawable.Callback.class); in testUnscheduleDrawable() local
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java324 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQuery() local
351 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQueryBlob() local
364 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQueryRoot() local
387 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQueryNXDomain() local
409 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in doTestRawQueryNXDomainWithPrivateDns() local
433 final VerifyCancelCallback callback = new VerifyCancelCallback(msg, cancelSignal); in testRawQueryCancel() local
462 final VerifyCancelCallback callback = new VerifyCancelCallback(msg, cancelSignal); in testRawQueryBlobCancel() local
479 final VerifyCancelCallback callback = new VerifyCancelCallback(msg); in testCancelBeforeQuery() local
595 final VerifyCancelInetAddressCallback callback = in doTestQueryForInetAddress() local
620 final VerifyCancelInetAddressCallback callback = in testQueryCancelForInetAddress() local
[all …]
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/
DMyReceiver.java35 final Consumer<Intent>callback = sCallback.get(); in onReceive() local
41 public static void setCallback(Consumer<Intent> callback) { in setCallback()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTest.java715 ImsMmTelManager.RegistrationCallback callback = new ImsMmTelManager.RegistrationCallback() { in testMmTelManagerRegistrationCallback() local
743 mmTelManager.registerImsRegistrationCallback(getContext().getMainExecutor(), callback); in testMmTelManagerRegistrationCallback() local
754 mmTelManager.registerImsRegistrationCallback(getContext().getMainExecutor(), callback); in testMmTelManagerRegistrationCallback() local
834 RegistrationManager.RegistrationCallback callback = in testRcsManagerRegistrationCallback() local
861 imsRcsManager.registerImsRegistrationCallback(getContext().getMainExecutor(), callback); in testRcsManagerRegistrationCallback() local
910 RegistrationManager.RegistrationCallback callback = in testMmTelManagerRegistrationStateR() local
1001 RegistrationManager.RegistrationCallback callback = in testRcsManagerRegistrationState() local
1108 ImsMmTelManager.CapabilityCallback callback = new ImsMmTelManager.CapabilityCallback() { in testCapabilityStatusCallback() local
1119 mmTelManager.registerMmTelCapabilityCallback(getContext().getMainExecutor(), callback); in testCapabilityStatusCallback() local
1125 mmTelManager.registerMmTelCapabilityCallback(getContext().getMainExecutor(), callback); in testCapabilityStatusCallback() local
[all …]
/cts/hostsidetests/devicepolicy/app/ContentSuggestionsApp/src/com/android/cts/devicepolicy/contentsuggestionsapp/
DSimpleContentSuggestionsService.java38 public void onSuggestContentSelections(SelectionsRequest request, SelectionsCallback callback) { in onSuggestContentSelections()
43 ClassificationsCallback callback) { in onClassifyContentSelections()
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java31 public void onCheckAttention(AttentionCallback callback) { in onCheckAttention()
37 public void onCancelAttentionCheck(AttentionCallback callback) { in onCancelAttentionCheck()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java190 final TestNetworkCallback callback = new TestNetworkCallback(); in connectToWifi() local
191 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in connectToWifi() local
276 final TestNetworkCallback callback = new TestNetworkCallback(); in disconnectFromWifi() local
277 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in disconnectFromWifi() local
331 TestNetworkCallback callback = new TestNetworkCallback(); in getWifiNetwork() local
332 mCm.registerNetworkCallback(makeWifiNetworkRequest(), callback); in getWifiNetwork() local
450 NetworkCallback callback = new NetworkCallback() { in awaitPrivateDnsSetting() local
/cts/tests/tests/view/src/android/view/cts/
DActionModeCallback2Test.java58 ActionMode.Callback2 callback = new MockActionModeCallback2(); in testCallbackOnGetContentRectDefaultWithView() local
70 ActionMode.Callback2 callback = new MockActionModeCallback2(); in testCallbackOnGetContentRectDefaultWithoutView() local
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCtsAugmentedAutofillService.java189 FillController controller, FillCallback callback) { in onFillRequest()
199 cancellationSignal, controller, callback)); in onFillRequest() local
223 public final FillCallback callback; field in CtsAugmentedAutofillService.AugmentedFillRequest
226 FillController controller, FillCallback callback) { in AugmentedFillRequest()
341 @NonNull FillCallback callback) { in handleOnFillRequest()

123456