Home
last modified time | relevance | path

Searched refs:onResult (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java174 response.onResult(result); in addAccount()
202 response.onResult(result); in confirmCredentials()
228 response.onResult(result); in getAuthTokenLabel()
254 response.onResult(result); in getAuthToken()
283 response.onResult(result); in updateCredentials()
299 response.onResult(result); in editProperties()
314 response.onResult(result); in hasFeatures()
329 response.onResult(result); in getAccountRemovalAllowed()
345 response.onResult(result); in getAccountCredentialsForCloning()
363 response.onResult(result); in addAccountFromCredentials()
[all …]
DAccountManagerResponse.java42 public void onResult(Bundle result) { in onResult() method in AccountManagerResponse
44 mResponse.onResult(result); in onResult()
DAccountAuthenticatorResponse.java47 public void onResult(Bundle result) { in onResult() method in AccountAuthenticatorResponse
54 mAccountAuthenticatorResponse.onResult(result); in onResult()
DIAccountManagerResponse.aidl26 void onResult(in Bundle value); in onResult() method
DIAccountAuthenticatorResponse.aidl26 void onResult(in Bundle value); in onResult() method
DAccountAuthenticatorActivity.java77 mAccountAuthenticatorResponse.onResult(mResultBundle); in finish()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DApduSender.java129 public void onResult(IccOpenLogicalChannelResponse openChannelResponse) { in send()
178 public void onResult(IccIoResult response) { in sendCommand()
184 public void onResult(IccIoResult fullResponse) { in sendCommand()
236 resultCallback.onResult(lastResponse); in getCompleteResponse()
245 public void onResult(IccIoResult response) { in getCompleteResponse()
268 public void onResult(Boolean aBoolean) { in closeAndReturn()
275 resultCallback.onResult(response); in closeAndReturn()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupObserverUtilsTest.java86 verify(mBackupObserverMock).onResult(PACKAGE_NAME, 1); in sendBackupOnPackageResult_callsObserver()
91 doThrow(new RemoteException()).when(mBackupObserverMock).onResult(PACKAGE_NAME, 1); in sendBackupOnPackageResult_handlesRemoteException()
95 verify(mBackupObserverMock).onResult(PACKAGE_NAME, 1); in sendBackupOnPackageResult_handlesRemoteException()
114 doThrow(new RemoteException()).when(mBackupObserverMock).onResult(PACKAGE_NAME, 1); in sendBackupFinished_handlesRemoteException()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java244 public void onResult(EuiccProfileInfo[] result) { in getAllProfiles()
292 public void onResult(EuiccProfileInfo result) { in getProfile()
340 public void onResult(Void result) { in disableProfile()
389 public void onResult(EuiccProfileInfo profile) { in switchToProfile()
392 public void onResult(Void result) { in switchToProfile()
454 public void onResult(Void result) { in setNickname()
502 public void onResult(Void result) { in deleteProfile()
554 public void onResult(Void result) { in resetMemory()
606 public void onResult(String result) { in getDefaultSmdpAddress()
654 public void onResult(String result) { in getSmdsAddress()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java110 listener.onResult(mTethering.tether(iface)); in tether()
120 listener.onResult(mTethering.untether(iface)); in untether()
130 listener.onResult(mTethering.setUsbTethering(enable)); in setUsbTethering()
154 listener.onResult(TETHER_ERROR_NO_ERROR); in stopTethering()
197 listener.onResult(TETHER_ERROR_NO_ERROR); in stopAllTethering()
207 listener.onResult(TETHER_ERROR_NO_ERROR); in isTetheringSupported()
229 listener.onResult(TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION); in checkAndNotifyCommonError()
233 listener.onResult(TETHER_ERROR_UNSUPPORTED); in checkAndNotifyCommonError()
/frameworks/base/core/java/android/os/
DRemoteCallback.java33 void onResult(@Nullable Bundle result); in onResult() method
73 mListener.onResult(result); in sendResult()
77 mListener.onResult(result); in sendResult()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java560 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionSuccessWithoutPasswordForwarding()
592 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionSuccessWithPasswordForwarding()
632 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartAddAccountSessionReturnWithInvalidIntent()
662 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionReturnWithValidIntent()
692 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartAddAccountSessionError()
745 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding()
776 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding()
816 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartUpdateCredentialsSessionReturnWithInvalidIntent()
846 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionReturnWithValidIntent()
876 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartUpdateCredentialsSessionError()
[all …]
DAccountAuthenticatorDummyActivity.java37 response.onResult(result.getExtras()); in onCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/
DAsyncResultHelper.java38 callback.onResult(result); in returnResult()
44 callback.onResult(result); in returnResult()
DAsyncResultCallback.java46 public abstract void onResult(Result result); in onResult() method in AsyncResultCallback
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java135 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_OK)); in testRun_callsObserverAndListenerCorrectly()
163 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_ERROR)); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()
201 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_ERROR)); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly()
257 verify(mObserver).onResult(eq(transport1.transportName), eq(TRANSPORT_ERROR)); in testRun_whenOnlyOneTransportFails()
258 verify(mObserver).onResult(eq(transport2.transportName), eq(TRANSPORT_OK)); in testRun_whenOnlyOneTransportFails()
319 verify(mObserver, never()).onResult(any(), anyInt()); in testRun_whenTransportNotRegistered()
339 verify(mObserver).onResult(eq(registeredTransportName), eq(TRANSPORT_OK)); in testRun_whenOnlyOneTransportNotRegistered()
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DIIntResultListener.aidl24 void onResult(int resultCode); in onResult() method
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DIRequestCallback.aidl21 void onResult(in Bundle result); in onResult() method
/frameworks/base/core/java/android/app/prediction/
DIPredictionCallback.aidl26 void onResult(in ParceledListSlice result); in onResult() method
/frameworks/base/telecomm/java/android/telecom/
DResponse.java30 void onResult(IN request, OUT... result); in onResult() method
/frameworks/base/core/java/android/app/backup/
DBackupObserver.java47 public void onResult(String currentBackupPackage, int status) { in onResult() method in BackupObserver
DIBackupObserver.aidl47 void onResult(String target, int status); in onResult() method
/frameworks/base/telecomm/java/com/android/internal/telecom/
DRemoteServiceCallback.aidl28 void onResult(in List<ComponentName> components, in List<IBinder> callServices); in onResult() method
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DEventResultPersister.java93 void onResult(int status, int legacyStatus, @Nullable String message); in onResult() method
207 observerToCall.onResult(status, legacyStatus, statusMessage); in onEventReceived()
314 observer.onResult(result.status, result.legacyStatus, result.message); in addObserver()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java318 verify(mObserver, never()).onResult(any(), anyInt()); in testRunTask_whenQueueEmpty_notifiesCorrectly()
598 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_PACKAGE_NOT_FOUND); in testRunTask_whenPackageUnknown()
628 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageNotEligibleForBackup()
657 verify(mObserver).onResult(packageData.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageDoesFullBackup()
685 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_BACKUP_NOT_ALLOWED); in testRunTask_whenPackageIsStopped()
741 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_AGENT_FAILURE); in testRunTask_whenAgentUnavailable()
774 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_AGENT_FAILURE); in testRunTask_whenNonIncrementalAndAgentUnavailable()
791 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_AGENT_FAILURE); in testRunTask_whenBindToAgentThrowsSecurityException()
808 verify(mObserver).onResult(PACKAGE_1.packageName, ERROR_AGENT_FAILURE); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException()
823 verify(mObserver, never()).onResult(eq(PACKAGE_1.packageName), anyInt()); in testRunTask_whenTransportGetBackupQuotaThrows_notifiesCorrectly()
[all …]

123