Home
last modified time | relevance | path

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

12345678910>>...13

/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java100 @NonNull Consumer<List<DirectAction>> callback) { in onGetDirectActions()
119 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction()
137 private void detectDestroyedInteractor(@NonNull RemoteCallback callback) { in detectDestroyedInteractor()
165 private void invalidateDirectActions(@NonNull RemoteCallback callback) { in invalidateDirectActions()
173 private void getPackageName(@NonNull RemoteCallback callback) { in getPackageName()
181 private void getPackageInfo(@NonNull RemoteCallback callback) { in getPackageInfo()
204 private void doFinish(@NonNull RemoteCallback callback) { in doFinish()
212 private static void reportActionPerformed(Consumer<Bundle> callback) { in reportActionPerformed()
220 private static void reportActionCancelled(Consumer<Bundle> callback) { in reportActionCancelled()
228 private static void reportActionExecuting(Consumer<Bundle> callback) { in reportActionExecuting()
[all …]
/cts/tests/location/common/src/android/location/cts/common/
DTestLocationManager.java65 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()
242 GnssNavigationMessage.Callback callback) { in registerGnssNavigationMessageCallback()
255 GnssNavigationMessage.Callback callback, Handler handler) { in registerGnssNavigationMessageCallback()
265 public void unregisterGnssNavigationMessageCallback(GnssNavigationMessage.Callback callback) { in unregisterGnssNavigationMessageCallback()
276 public boolean registerGnssStatusCallback(GnssStatus.Callback callback) { in registerGnssStatusCallback()
287 public void unregisterGnssStatusCallback(GnssStatus.Callback callback) { in unregisterGnssStatusCallback()
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/
DSharedConnectivityTest.java165 TestSharedConnectivityClientCallback callback = in registerCallback_withoutPermission_throwsSecurityException() local
188 TestSharedConnectivityClientCallback callback = in registerCallback_onServiceConnectedCallbackReceived() local
205 TestSharedConnectivityClientCallback callback = in unregisterCallback_beforeRegister_unregisterUnsuccessful() local
221 TestSharedConnectivityClientCallback callback = in unregisterCallback_unregisterSuccessful() local
257 TestSharedConnectivityClientCallback callback = in setHotspotNetworks_managerCallbackReceivedWithCorrectData() local
287 TestSharedConnectivityClientCallback callback = in setKnownNetworks_managerCallbackReceivedWithCorrectData() local
316 TestSharedConnectivityClientCallback callback = in setSettingsState_managerCallbackReceivedWithCorrectData() local
347 TestSharedConnectivityClientCallback callback = in updateHotspotNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local
378 TestSharedConnectivityClientCallback callback = in updateKnownNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local
407 TestSharedConnectivityClientCallback callback = in connectHotspotNetwork_serviceCallbackReceivedWithCorrectData() local
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DFieldsClassificationTest.java197 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/tests/telephony/current/src/android/telephony/cts/
DFakeCarrierMessagingService.java33 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/credentials/src/android/credentials/cts/
DCtsCredentialViewTest.java115 OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback = in testClearCredentialManagerRequest() local
134 assertEquals(view.getPendingCredentialCallback(), callback); in testClearCredentialManagerRequest() local
155 OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback = in testSetCredentialManagerRequest() local
174 assertEquals(view.getPendingCredentialCallback(), callback); in testSetCredentialManagerRequest() local
DCtsNoOpCredentialProviderService.java43 BeginGetCredentialResponse, GetCredentialException> callback) { in onBeginGetCredential()
52 CreateCredentialException> callback) { in onBeginCreateCredential()
60 OutcomeReceiver<Void, ClearCredentialStateException> callback) { in onClearCredentialState()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppCredentialProviderService.java35 OutcomeReceiver<BeginGetCredentialResponse, GetCredentialException> callback) { in onBeginGetCredential()
42 OutcomeReceiver<BeginCreateCredentialResponse, CreateCredentialException> callback) { in onBeginCreateCredential()
49 OutcomeReceiver<Void, ClearCredentialStateException> callback) { in onClearCredentialState()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DQuickAccessWalletClientTest.java212 TestCallback callback = new TestCallback(); in testGetWalletCards_success() local
228 TestCallback callback = new TestCallback(); in testGetWalletCards_failsIfNoServiceAvailable() local
245 TestCallback callback = new TestCallback(); in testGetWalletCards_failsIfServiceDoesNotRequirePermission() local
260 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullId_fails() local
274 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullImage_fails() local
288 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullContentDesc_fails() local
301 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidCard_nullPendingIntent_fails() local
316 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidResponse_tooManyCards_fails() local
329 TestCallback callback = new TestCallback(); in testGetWalletCards_zeroCards_isAllowed() local
340 TestCallback callback = new TestCallback(); in testGetWalletCards_invalidResponse_nullCards_fails() local
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DAuthenticationTest.java74 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthTwoFields() local
153 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoFieldsReplaceResponse() local
215 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoFieldsNoValues() local
259 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthTwoDatasets() local
324 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthMixedTest() local
380 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthNoFiltering() local
438 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthFilteringUsingAutofillValue() local
518 final MyAutofillCallback callback = mActivity.registerCallback(); in testDatasetAuthFilteringUsingRegex() local
597 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthMixedFilteringTest() local
763 final MyAutofillCallback callback = mActivity.registerCallback(); in fillResponseAuthBothFields() local
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConferenceTest.java235 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_StateChange() local
265 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Disconnect() local
296 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionAdd() local
331 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionRemove() local
367 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionCapabilities() local
399 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionProperties() local
432 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConferenceableConnections() local
471 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Destroy() local
500 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Extras() local
DRemoteConnectionTest.java315 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StateChange() local
341 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_RingbackRequest() local
367 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionCapabilities() local
396 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionProperties() local
426 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialWait() local
454 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialChar() local
481 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_VoipAudio() local
507 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StatusHints() local
534 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_AddressChange() local
563 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_CallerDisplayName() local
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricSimpleTests.java183 BiometricPrompt.AuthenticationCallback callback = in testIsConfirmationRequired() local
317 BiometricPrompt.AuthenticationCallback callback = in testWhenCredentialNotEnrolled() local
387 BiometricPrompt.AuthenticationCallback callback = in testWhenCredentialEnrolled() local
453 BiometricPrompt.AuthenticationCallback callback = in testSimpleBiometricAuth_convenience() local
456 showDefaultBiometricPrompt(props.getSensorId(), callback, in testSimpleBiometricAuth_convenience() local
513 BiometricPrompt.AuthenticationCallback callback = in testSimpleBiometricAuth_nonConvenience() local
516 true /* requireConfirmation */, callback, randomTitle, randomSubtitle, in testSimpleBiometricAuth_nonConvenience() local
566 BiometricPrompt.AuthenticationCallback callback = in testSimpleCredentialAuth() local
612 BiometricPrompt.AuthenticationCallback callback = in testBiometricCancellation() local
616 showDefaultBiometricPrompt(props.getSensorId(), callback, cancellationSignal); in testBiometricCancellation() local
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/
DNoOpHotwordDetectionService.java40 @NonNull Callback callback) { in onDetect()
49 @NonNull Callback callback) { in onDetect()
54 public void onDetect(@NonNull Callback callback) { in onDetect()
DTestPermissionHotwordDetectionService.java43 long timeoutMillis, @NonNull Callback callback) { in onDetect()
80 @NonNull Callback callback) { in onDetect()
85 public void onDetect(@NonNull Callback callback) { in onDetect()
/cts/tests/credentials/src/android/credentials/cts/unittests/service/
DCredentialProviderServiceTest.java54 GetCredentialException> callback) { in onBeginGetCredential()
62 CreateCredentialException> callback) { in onBeginCreateCredential()
69 @NonNull OutcomeReceiver<Void, ClearCredentialStateException> callback) { in onClearCredentialState()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DClearApplicationDataTest.java77 ClearApplicationDataCallback callback = new ClearApplicationDataCallback(); in clearApplicationUserData_calledByProfileOwner_testPackage_isCleared() local
97 ClearApplicationDataCallback callback = new ClearApplicationDataCallback(); in clearApplicationUserData_calledByDeviceOwner_testPackage_isCleared() local
116 ClearApplicationDataCallback callback = new ClearApplicationDataCallback(); in clearApplicationUserData_calledByProfileOwner_activeAdmin_isNotCleared() local
135 ClearApplicationDataCallback callback = new ClearApplicationDataCallback(); in clearApplicationUserData_calledByDeviceOwner_activeAdmin_isNotCleared() local
155 ClearApplicationDataCallback callback = new ClearApplicationDataCallback(); in clearApplicationUserData_calledByProfileOwner_deviceProvisioning_isNotCleared() local
174 ClearApplicationDataCallback callback = new ClearApplicationDataCallback(); in clearApplicationUserData_calledByDeviceOwner_deviceProvisioning_isNotCleared() local
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DAssociateSelfManagedTest.kt55 val callback = RecordingCallback() in test_associate_selfManaged_requiresPermission() constant
76 val callback = RecordingCallback() in test_associate_selfManaged_nullProfile_leadsToNoUiFlow() constant
111 val callback = RecordingCallback() in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow() constant
/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.java225 final Animatable2Callback callback = new Animatable2Callback(); in testReset() local
240 final Animatable2Callback callback = new Animatable2Callback(); in testStop() local
255 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackBeforeStart() local
273 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackAfterTrigger() local
295 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackAfterStart() local
315 final Animatable2Callback callback = new Animatable2Callback(); in testRemoveCallback() local
335 final Animatable2Callback callback = new Animatable2Callback(); in testClearCallback() local
355 static void waitForAVDStop(Animatable2Callback callback, long timeout) { in waitForAVDStop()
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/
DNoOpAutofillService.java36 FillCallback callback) { in onFillRequest()
41 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
/cts/tests/autofillservice/TestAutofillServiceWithoutIntentFilter/src/android/autofill/cts2/
DNoOpAutofillService.java36 FillCallback callback) { in onFillRequest()
41 public void onSaveRequest(SaveRequest request, SaveCallback callback) { in onSaveRequest()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java201 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in setupMockSatelliteService() local
247 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in afterAllTests() local
291 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in setUp() local
323 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in tearDown() local
495 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in testSatelliteModemStateChanged() local
593 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in testSatelliteModemStateChangedForNbIot() local
771 SatelliteModemStateCallbackTest callback = new SatelliteModemStateCallbackTest(); in testSendKeepAliveDatagramInNotConnectedState() local
931 private void verifyNbIotStateTransitionsWithSendingOnConnected( in verifyNbIotStateTransitionsWithSendingOnConnected()
977 private void verifyNbIotStateTransitionsWithTransferringFailureOnIdle( in verifyNbIotStateTransitionsWithTransferringFailureOnIdle()
1081 private void verifyNbIotStateTransitionsWithSendingAborted( in verifyNbIotStateTransitionsWithSendingAborted()
[all …]
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIsolatedInferenceService.java91 @NonNull OutcomeReceiver<TokenInfo, OnDeviceIntelligenceException> callback) { in onTokenInfoRequest()
101 @NonNull StreamingProcessingCallback callback) { in onProcessRequestStreaming()
109 @NonNull StreamingProcessingCallback callback) { in processRequestStreaming()
151 @NonNull ProcessingCallback callback) { in onProcessRequest()
162 @NonNull ProcessingCallback callback) { in processRequest()
291 private void populateExceptionInCallback(Bundle request, ProcessingCallback callback) { in populateExceptionInCallback()
297 @NonNull OutcomeReceiver<PersistableBundle, OnDeviceIntelligenceException> callback) { in onUpdateProcessingState()
302 @NonNull OutcomeReceiver<PersistableBundle, OnDeviceIntelligenceException> callback) { in updateProcessingState()
/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()

12345678910>>...13