/aosp12/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | CallbackUtils.java | 67 callback.onResult(result); in onResult() 77 public static void onResult(@NonNull IBooleanResultCallback callback, in onResult() method in CallbackUtils 93 callback.onResult(result); in onResult() 120 callback.onResult(result); in onResult() 147 callback.onResult(result); in onResult() 174 callback.onResult(result); in onResult() 184 public static void onResult(@NonNull IIntResultCallback callback, in onResult() method in CallbackUtils 200 callback.onResult(result); in onResult() 210 public static void onResult(@NonNull IVoidResultCallback callback, in onResult() method in CallbackUtils 225 callback.onResult(); in onResult() [all …]
|
H A D | ResultCallbacks.java | 72 public void onResult(int result) { in of() 109 public void onResult(CharSequence result) { 136 public void onResult(android.view.inputmethod.ExtractedText result) { 163 public void onResult(android.view.inputmethod.SurroundingText result) { 190 public void onResult(InputBindResult result) { 225 public void onResult(boolean result) { 262 public void onResult(InputMethodSubtype result) { 299 public void onResult(List<InputMethodSubtype> result) { 336 public void onResult(List<InputMethodInfo> result) { 371 public void onResult() { [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | WindowMagnificationAnimationControllerTest.java | 127 verify(mAnimationCallback).onResult(true); in enableWindowMagnification_disabled_expectedValuesAndInvokeCallback() 143 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback() 172 verify(mAnimationCallback).onResult(false); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 173 verify(mAnimationCallback2).onResult(true); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 191 verify(mAnimationCallback).onResult(false); in enableWindowMagnificationWithSameSpec_enabling_NoAnimationAndInvokeCallback() 192 verify(mAnimationCallback2).onResult(true); in enableWindowMagnificationWithSameSpec_enabling_NoAnimationAndInvokeCallback() 216 verify(mAnimationCallback).onResult(false); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 230 verify(mAnimationCallback2).onResult(true); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 293 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationWithSameScale_enabled_doNothingButInvokeCallback() 321 verify(mAnimationCallback).onResult(true); in deleteWindowMagnification_enabled_expectedValuesAndInvokeCallback() [all …]
|
/aosp12/frameworks/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 175 response.onResult(result); in addAccount() 203 response.onResult(result); in confirmCredentials() 229 response.onResult(result); in getAuthTokenLabel() 255 response.onResult(result); in getAuthToken() 284 response.onResult(result); in updateCredentials() 300 response.onResult(result); in editProperties() 725 response.onResult(result); in getAccountCredentialsForCloning() 751 response.onResult(result); in addAccountFromCredentials() 808 response.onResult(result); in startAddAccountSession() 862 response.onResult(result); in startUpdateCredentialsSession() [all …]
|
H A D | AccountManagerResponse.java | 42 public void onResult(Bundle result) { in onResult() method in AccountManagerResponse 44 mResponse.onResult(result); in onResult()
|
H A D | AccountAuthenticatorResponse.java | 47 public void onResult(Bundle result) { in onResult() method in AccountAuthenticatorResponse 54 mAccountAuthenticatorResponse.onResult(result); in onResult()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
H A D | ApduSender.java | 129 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()
|
/aosp12/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
H A D | CarAssistUtils.java | 104 void onResult(@ResultState String state); in onResult() method 304 callback.onResult(ActionRequestCallback.RESULT_FAILED); in requestAssistantVoiceAction() 317 callback.onResult(ActionRequestCallback.RESULT_FAILED); in requestAssistantVoiceAction() 363 callback.onResult(ActionRequestCallback.RESULT_FAILED); in requestAction() 403 callback.onResult(resultState); in fireAssistantAction() 432 public void onResult(String requestActionFromAssistantResult) { in handleFallback() 439 callback.onResult( in handleFallback() 443 callback.onResult(fallbackActionResult); in handleFallback() 448 callback.onResult(fallbackActionResult); in handleFallback() 462 callback.onResult(ActionRequestCallback.RESULT_FAILED); in handleFallback()
|
/aosp12/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/ |
H A D | AppSearchSession.java | 97 public void onResult(AppSearchResultParcel resultParcel) { in initialize() 203 public void onResult(AppSearchResultParcel resultParcel) { in getSchema() 240 public void onResult(AppSearchResultParcel resultParcel) { in getNamespaces() 294 public void onResult(AppSearchBatchResultParcel resultParcel) { in put() 344 public void onResult(AppSearchBatchResultParcel resultParcel) { in getByDocumentId() 380 callback.onResult(documentResultBuilder.build()); in getByDocumentId() 499 public void onResult(AppSearchResultParcel resultParcel) { in reportUsage() 604 public void onResult(AppSearchResultParcel resultParcel) { in remove() 636 public void onResult(AppSearchResultParcel resultParcel) { in getStorageInfo() 697 public void onResult(AppSearchResultParcel resultParcel) { in setSchemaNoMigrations() [all …]
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
H A D | EuiccCardController.java | 343 public void onResult(Void result) { in disableProfile() 457 public void onResult(Void result) { in setNickname() 505 public void onResult(Void result) { in deleteProfile() 557 public void onResult(Void result) { in resetMemory() 609 public void onResult(String result) { in getDefaultSmdpAddress() 657 public void onResult(String result) { in getSmdsAddress() 705 public void onResult(Void result) { in setDefaultSmdpAddress() 802 public void onResult(byte[] result) { in getEuiccChallenge() 850 public void onResult(byte[] result) { in getEuiccInfo1() 898 public void onResult(byte[] result) { in getEuiccInfo2() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
H A D | BackupObserverUtilsTest.java | 86 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()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 574 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() 606 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionSuccessWithPasswordForwarding() 676 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionReturnWithValidIntent() 759 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() 790 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() 860 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionReturnWithValidIntent() 1085 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testFinishSessionAsUserSuccess() 1158 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testFinishSessionAsUserReturnWithValidIntent() 1259 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testIsCredentialsUpdatedSuggestedSuccess() 3494 public void onResult(Bundle bundle) { in onResult() method in AccountManagerServiceTest.Response [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | RemoteCallback.java | 31 void onResult(@Nullable Bundle result); in onResult() method 71 mListener.onResult(result); in sendResult() 75 mListener.onResult(result); in sendResult()
|
/aosp12/packages/services/Car/car-lib/src/android/car/telemetry/ |
H A D | CarTelemetryManager.java | 122 void onResult(@NonNull MetricsConfigKey key, @NonNull byte[] result); in onResult() method 155 public void onResult(@NonNull MetricsConfigKey key, @NonNull byte[] result) { in onResult() method in CarTelemetryManager.CarTelemetryServiceListener 160 manager.onResult(key, result); in onResult() 183 private void onResult(MetricsConfigKey key, byte[] result) { in onResult() method in CarTelemetryManager 192 listener.onResult(key, result); in onResult()
|
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/ |
H A D | ThemedIconSwitchProvider.java | 54 void onResult(boolean isEnabled); in onResult() method 104 postMainThread(() -> callback.onResult(isEnabled)); in fetchThemedIconEnabled() 111 () -> callback.onResult(mCustomizationPreferences.getThemedIconEnabled())); in fetchThemedIconEnabled()
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | MagnificationController.java | 96 void onResult(boolean success); in onResult() method 184 transitionCallBack.onResult(true); in transitionMagnificationModeLocked() 200 transitionCallBack.onResult(true); in transitionMagnificationModeLocked() 483 public void onResult(boolean success) { in onResult() method in MagnificationController.DisableMagnificationCallback 497 mTransitionCallBack.onResult(success); in onResult() 522 mTransitionCallBack.onResult(true); in restoreToCurrentMagnificationMode()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | MagnificationControllerTest.java | 142 verify(mTransitionCallBack).onResult(true); in transitionToWindowMode_notMagnifying_doNothing() 161 mCallbackArgumentCaptor.getValue().onResult(true); in transitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow() 163 verify(mTransitionCallBack).onResult(true); in transitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow() 181 verify(mTransitionCallBack).onResult(true); in transitionToWindowMode_disablingWindowMode_enablingWindowWithFormerCenter() 217 verify(mTransitionCallBack).onResult(true); in transitionToFullScreenMode_windowMagnifying_disableWindowAndEnableFullScreen() 237 verify(mTransitionCallBack).onResult(true); in transitionToFullScreen_centerNotInTheBounds_magnifyTheCenterOfMagnificationBounds() 257 verify(mTransitionCallBack).onResult(true); in transitionToFullScreenMode_disablingFullScreen_enableFullScreenWithFormerCenter() 277 verify(mTransitionCallBack).onResult(false); in interruptDuringTransitionToFullScreenMode_windowMagnifying_notifyTransitionFailed() 559 mCallbackArgumentCaptor.getValue().onResult(true); in transitionToWindow_windowModeActivated_showMagnificationButton()
|
H A D | WindowMagnificationConnectionWrapperTest.java | 72 verify(mAnimationCallback).onResult(true); in enableWindowMagnification() 87 verify(mAnimationCallback).onResult(true); in disableWindowMagnification()
|
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
H A D | TetheringService.java | 149 listener.onResult(TETHER_ERROR_NO_ERROR); in stopTethering() 192 listener.onResult(TETHER_ERROR_NO_ERROR); in stopAllTethering() 202 listener.onResult(TETHER_ERROR_NO_ERROR); in isTetheringSupported() 224 listener.onResult(TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION); in checkAndNotifyCommonError() 228 listener.onResult(TETHER_ERROR_UNSUPPORTED); in checkAndNotifyCommonError()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/ |
H A D | AsyncResultHelper.java | 38 callback.onResult(result); in returnResult() 44 callback.onResult(result); in returnResult()
|
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
H A D | PerformInitializeTaskTest.java | 135 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()
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BinderHeavyHitterTest.java | 100 private void onResult(final List<HeavyHitterContainer> results, final Integer inputSize, in onResult() method in BinderHeavyHitterTest 129 watcher.setConfig(true, inputs.size(), 0.333f, this::onResult); in testPositive() 157 watcher.setConfig(true, inputs.size(), 0.333f, this::onResult); in testNegative()
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputConnectionWrapper.java | 375 callback.onResult(result); in executeMessage() 405 callback.onResult(result); in executeMessage() 434 callback.onResult(result); in executeMessage() 468 callback.onResult(result); in executeMessage() 498 callback.onResult(result); in executeMessage() 530 callback.onResult(result); in executeMessage() 809 callback.onResult(result ? 1 : 0); in executeMessage() 873 callback.onResult(result ? 1 : 0); in executeMessage()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/appsearch/ |
H A D | AppSearchSessionUnitTest.java | 88 public void onResult(AppSearchBatchResult<String, Void> result) { in testPutDocument_throwsNullException() 129 public void onResult(AppSearchBatchResult<String, Void> result) { in testGetEmptyNextPage() 187 public void onResult(AppSearchBatchResult<String, Void> result) { in testGetEmptyNextPage_multiPages()
|
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | EventResultPersister.java | 93 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()
|