Home
last modified time | relevance | path

Searched refs:onSuccess (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DDppManagerTest.java214 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorWithBadNetworkId()
268 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorFailAddPeer()
289 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsEnrolleeInitiatorFailAddPeer()
320 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorFailStart()
340 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsEnrolleeInitiatorFailStart()
366 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa2Psk()
392 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa3Sae()
418 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorFailOpenNetwork()
443 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsConfiguratorInitiatorFailEapNetwork()
458 verify(mDppCallback, never()).onSuccess(anyInt()); in testStartDppAsEnrolleeInitiatorStartCorrectly()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DSetDeviceOwnerPolicyTaskTest.java96 verify(mCallback).onSuccess(mTask); in testEnableDevicePolicyApp_DefaultToDefault()
115 verify(mCallback).onSuccess(mTask); in testEnableDevicePolicyApp_DisabledToDefault()
133 verify(mCallback).onSuccess(mTask); in testEnableDevicePolicyApp_EnabledToEnabled()
163 verify(mCallback).onSuccess(mTask); in testSetActiveAdmin()
177 verify(mCallback).onSuccess(mTask); in testSetDeviceOwner()
228 verify(mCallback).onSuccess(mTask); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice()
242 verify(mCallback).onSuccess(mTask); in testSetDeviceOwnerType_asDeviceOwner_notCalledWhenProvisioningManagedDevice()
DDisallowAddUserTaskTest.java87 verify(mCallback).onSuccess(task); in testMaybeDisallowAddUsers_normalSystem()
110 verify(mCallback).onSuccess(task); in testMaybeDisallowAddUsers_normalSystem_restrictionAlreadySetupForOneUser()
141 verify(mCallback).onSuccess(task); in testNeverDisallowAddUsers_headlessSystemUserMode()
DVerifyRoleHolderPackageTaskTest.java108 verify(mCallback).onSuccess(mTask); in testDownloadLocationNull()
122 verify(mCallback).onSuccess(mTask); in testPackageChecksumSha256_success()
136 verify(mCallback).onSuccess(mTask); in testSignatureHash_success()
DProvisionFullyManagedDeviceTaskTest.java100 verify(mCallback).onSuccess(task); in testSuccess()
134 verify(mCallback).onSuccess(task); in testCanGrantSensorsPermissionsByDefault()
152 verify(mCallback).onSuccess(task); in testCanOptOutOfGrantingSensorsPermissions()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DTestAdSelectionManager.java86 public void onSuccess() { in overrideAdSelectionConfigRemoteInfo() method
136 public void onSuccess() { in removeAdSelectionConfigRemoteInfoOverride() method
181 public void onSuccess() { in resetAllAdSelectionConfigRemoteOverrides()
235 public void onSuccess() { in overrideAdSelectionFromOutcomesConfigRemoteInfo() method
286 public void onSuccess() { in removeAdSelectionFromOutcomesConfigRemoteInfoOverride() method
332 public void onSuccess() { in resetAllAdSelectionFromOutcomesConfigRemoteOverrides()
392 public void onSuccess() { in setAdCounterHistogramOverride()
449 public void onSuccess() { in removeAdCounterHistogramOverride()
499 public void onSuccess() { in resetAllAdCounterHistogramOverrides()
DAdSelectionManager.java174 public void onSuccess(AdSelectionResponse resultParcel) { in selectAds()
281 public void onSuccess(AdSelectionResponse resultParcel) { in selectAds()
385 public void onSuccess() { in reportImpression()
456 public void onSuccess() { in reportInteraction()
524 public void onSuccess() { in setAppInstallAdvertisers()
599 public void onSuccess() { in updateAdCounterHistogram()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DCallbackConverter.java37 public void onSuccess(Bundle input) throws RemoteException { in toIPluginCallback()
38 callback.onSuccess(input); in toIPluginCallback()
52 public void onSuccess(Bundle input) throws RemoteException {
53 callback.onSuccess(input);
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DProfileManager.java198 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.CREATE_ADF); in provisioningAdf()
213 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.PROVISIONING_ADF); in provisioningAdf()
226 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.IMPORT_ADF); in provisioningAdf()
235 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.DELETE_ADF); in provisioningAdf()
267 public void onSuccess(UUID serviceInstanceId, ObjectIdentifier adfOid) { in tryToCleanUpStaleAdfOnNewAdfAvailable()
291 adfOpCallback.onSuccess(serviceInstanceId, in deleteAdf()
300 public void onSuccess(UUID serviceInstanceId, ObjectIdentifier adfOid) { in deleteAdf()
305 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.DELETE_ADF); in deleteAdf()
423 void onSuccess(UUID serviceInstanceId, ObjectIdentifier adfOid, AdfOp adfOp); in onSuccess() method
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DWifiManagerCompat.java32 void onSuccess(); in onSuccess() method
50 public void onSuccess() { in save()
51 actionListenerCompat.onSuccess(); in save()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/simulator_app/src/android/nearby/fastpair/provider/simulator/app/
DFutureCallbackWrapper.java31 public void onSuccess(Void result) { in createRegisterCallback()
46 public void onSuccess(Void result) {
59 public void onSuccess(Void result) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragmentTest.java106 mFragment.onSuccess(); in onSuccess_noWifiPermission_finishActivityWithoutSetResult()
118 mFragment.onSuccess(); in onSuccess_hasAccessWifiStatePermissionOnly_finishActivityWithoutSetResult()
130 mFragment.onSuccess(); in onSuccess_hasAccessFineLocationPermissionOnly_finishActivityWithoutSetResult()
142 mFragment.onSuccess(); in onSuccess_hasRequiredPermissions_finishActivityWithSetResult()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/
DAdSelectionOverrider.java151 public void onSuccess(Integer result) { in addOverride()
196 public void onSuccess(Integer result) { in removeOverride()
240 public void onSuccess(Integer result) { in removeAllOverridesForAdSelectionConfig()
290 public void onSuccess(Integer result) { in addOverride()
337 public void onSuccess(Integer result) { in removeOverride()
384 public void onSuccess(Integer result) { in removeAllOverridesForAdSelectionFromOutcomes()
548 callback.onSuccess();
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/color/
DColorCustomizationManagerTest.kt103 override fun onSuccess() {} in testApplyColorBundle() method
137 override fun onSuccess() {} in testApplyColorSeed() method
167 override fun onSuccess() {} in testApply_colorSeedFromWallpaperBoth_shouldReturnBothValue() method
186 override fun onSuccess() {} in testApply_colorSeedFromWallpaperDifferent_shouldReturnNonBothValue() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceImplTest.java202 verify(mICustomAudienceCallback).onSuccess(); in testJoinCustomAudience_runNormally()
237 verify(mICustomAudienceCallback).onSuccess(); in testJoinCustomAudienceWithRevokedUserConsentSuccess()
416 doThrow(RemoteException.class).when(mICustomAudienceCallback).onSuccess(); in testJoinCustomAudience_errorReturnCallback()
427 verify(mICustomAudienceCallback).onSuccess(); in testJoinCustomAudience_errorReturnCallback()
469 verify(mICustomAudienceCallback).onSuccess(); in testLeaveCustomAudience_runNormally()
506 verify(mICustomAudienceCallback).onSuccess(); in testLeaveCustomAudienceWithRevokedUserConsent()
697 verify(mICustomAudienceCallback).onSuccess(); in testLeaveCustomAudience_errorCallCustomAudienceImpl()
724 doThrow(RemoteException.class).when(mICustomAudienceCallback).onSuccess(); in testLeaveCustomAudience_errorReturnCallback()
743 verify(mICustomAudienceCallback).onSuccess(); in testLeaveCustomAudience_errorReturnCallback()
840 verify(mICustomAudienceCallback).onSuccess(); in testAppImportanceDisabledCallerInBackground_joinCustomAudienceSucceeds()
[all …]
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DFastPairDataProviderService.java215 void onSuccess(); in onSuccess() method
606 public void onSuccess() { in onSuccess() method in FastPairDataProviderService.WrapperFastPairManageAccountCallback
608 mCallback.onSuccess(); in onSuccess()
645 public void onSuccess() { in onSuccess() method in FastPairDataProviderService.WrapperFastPairManageAccountDeviceCallback
647 mCallback.onSuccess(); in onSuccess()
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
DVisualVoicemailSettingsUtil.java62 .onSuccess(VisualVoicemailSettingsUtil::onSuccess) in setEnabled()
69 private static void onSuccess(Void unused) { in onSuccess() method in VisualVoicemailSettingsUtil
105 .onSuccess( in setVoicemailTranscriptionEnabled()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java362 listener.onSuccess(); in testStartScanListenerOnSuccess()
370 verify(scanListener).onSuccess(); in testStartScanListenerOnSuccess()
388 listener.onSuccess(); in testStartScanListenerOnResults()
495 listener.onSuccess(); in testRegisterScanListenerSuccess()
501 verify(mScanListener).onSuccess(); in testRegisterScanListenerSuccess()
533 listener.onSuccess(); in testRegisterScanListenerReceiveScanResults()
540 verify(mScanListener).onSuccess(); in testRegisterScanListenerReceiveScanResults()
564 listener.onSuccess(); in testUnregisterScanListener()
572 verify(mScanListener).onSuccess(); in testUnregisterScanListener()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DConfirmLockPatternTest.java179 mCallbackCaptor.getValue().onSuccess(GUESS_VALID_RESULT); in onPatternDetected_remoteValidation_guessValid_checkboxChecked()
205 mCallbackCaptor.getValue().onSuccess(GUESS_VALID_RESULT); in onPatternDetected_remoteValidation_guessValid_checkboxUnchecked()
230 mCallbackCaptor.getValue().onSuccess(GUESS_INVALID_RESULT); in onPatternDetected_remoteValidation_guessInvalid()
254 mCallbackCaptor.getValue().onSuccess(LOCKOUT_RESULT); in onPatternDetected_remoteValidation_lockout()
278 mCallbackCaptor.getValue().onSuccess(NO_REMAINING_ATTEMPTS_RESULT); in onPatternDetected_noRemainingAttempts_finishActivity()
DConfirmLockPasswordTest.java198 mCallbackCaptor.getValue().onSuccess(GUESS_VALID_RESULT); in handleNext_remoteValidation_correctGuess_checkboxChecked()
224 mCallbackCaptor.getValue().onSuccess(GUESS_VALID_RESULT); in handleNext_remoteValidation_correctGuess_checkboxUnchecked()
249 mCallbackCaptor.getValue().onSuccess(GUESS_INVALID_RESULT); in handleNext_remoteValidation_guessInvalid()
273 mCallbackCaptor.getValue().onSuccess(LOCKOUT_RESULT); in handleNext_remoteValidation_lockout()
297 mCallbackCaptor.getValue().onSuccess(NO_REMAINING_ATTEMPTS_RESULT); in handleNext_remoteValidation_noRemainingAttempts_finishActivity()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProfileOwnerProvisioningControllerTest.java88 mController.onSuccess(createAndProvisionManagedProfileTask); in testRunAllTasks()
122 mController.onSuccess(task); in testCancel()
168 public void onSuccess(AbstractProvisioningTask task) { in createTaskCallback()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DClearCallLogDialog.java63 .onSuccess(this::onSuccess) in onCreate()
113 private void onSuccess(Void unused) { in onSuccess() method in ClearCallLogDialog
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisionInfoViewModel.java98 public void onSuccess(String providerName) { in ProvisionInfoViewModel() method
116 public void onSuccess(String termsAndConditionsUrl) { in ProvisionInfoViewModel() method
134 public void onSuccess(Boolean isProvisionForced) { in ProvisionInfoViewModel() method
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DTestCustomAudienceManager.java90 public void onSuccess() { in overrideCustomAudienceRemoteInfo()
136 public void onSuccess() { in removeCustomAudienceRemoteInfoOverride()
175 public void onSuccess() { in resetAllCustomAudienceOverrides()
/packages/apps/ThemePicker/src/com/android/customization/model/grid/data/repository/
DGridRepository.kt135 override fun onSuccess() { in onSelected() method
155 override fun onSuccess() { in applySelectedOption() method
156 callback.onSuccess() in applySelectedOption()

12345678910>>...15