/frameworks/base/core/java/android/os/health/ |
D | SystemHealthManager.java | 233 @NonNull Consumer<List<PowerMonitor>> onResult) { in getSupportedPowerMonitors() argument 247 executor.execute(() -> onResult.accept(result)); in getSupportedPowerMonitors() 249 onResult.accept(result); in getSupportedPowerMonitors() 264 executor.execute(()-> onResult.accept(result)); in getSupportedPowerMonitors() 266 onResult.accept(result); in getSupportedPowerMonitors() 290 @NonNull OutcomeReceiver<PowerMonitorReadings, RuntimeException> onResult) { in getPowerMonitorReadings() argument 295 executor.execute(() -> onResult.onError(error)); in getPowerMonitorReadings() 297 onResult.onError(error); in getPowerMonitorReadings() 318 executor.execute(() -> onResult.onResult(result)); in getPowerMonitorReadings() 320 onResult.onResult(result); in getPowerMonitorReadings() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationControllerTest.java | 194 verify(mAnimationCallback).onResult(true); in enableWindowMagnification_disabled_expectedValuesAndInvokeCallback() 225 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationWithScaleOne_disabled_NoAnimationAndInvokeCallback() 257 verify(mAnimationCallback).onResult(false); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 258 verify(mAnimationCallback2).onResult(true); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 271 verify(mAnimationCallback2).onResult(true); in enableWindowMagnificationWithUnchanged_enabling_expectedValuesToDefault() 273 verify(mAnimationCallback).onResult(false); in enableWindowMagnificationWithUnchanged_enabling_expectedValuesToDefault() 314 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() 356 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() 392 verify(mAnimationCallback).onResult(true); in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback() 429 verify(mAnimationCallback).onResult(false); in enableMagnificationWithoutCallback_enabling_expectedValuesAndInvokeFormerCallback() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | MagnificationAnimationCallback.java | 35 void onResult(boolean success); in onResult() method 45 default void onResult(boolean success, MagnificationSpec lastSpecSent) { in onResult() method 46 onResult(success); in onResult()
|
D | IRemoteMagnificationAnimationCallback.aidl | 33 void onResult(boolean success); in onResult() method
|
/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 172 response.onResult(result); in addAccount() 202 response.onResult(result); in confirmCredentials() 230 response.onResult(result); in getAuthTokenLabel() 258 response.onResult(result); in getAuthToken() 289 response.onResult(result); in updateCredentials() 307 response.onResult(result); in editProperties() 324 response.onResult(result); in hasFeatures() 341 response.onResult(result); in getAccountRemovalAllowed() 359 response.onResult(result); in getAccountCredentialsForCloning() 379 response.onResult(result); in addAccountFromCredentials() [all …]
|
D | AccountManagerResponse.java | 42 public void onResult(Bundle result) { in onResult() method in AccountManagerResponse 44 mResponse.onResult(result); in onResult()
|
D | AccountAuthenticatorResponse.java | 47 public void onResult(Bundle result) { in onResult() method in AccountAuthenticatorResponse 54 mAccountAuthenticatorResponse.onResult(result); in onResult()
|
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
D | SatelliteManagerWrapper.java | 517 public void onResult(Boolean result) { in requestIsEnabled() 518 callback.onResult(result); in requestIsEnabled() 536 public void onResult(Boolean result) { in requestIsDemoModeEnabled() 537 callback.onResult(result); in requestIsDemoModeEnabled() 555 public void onResult(Boolean result) { in requestIsEmergencyModeEnabled() 556 callback.onResult(result); in requestIsEmergencyModeEnabled() 574 public void onResult(Boolean result) { in requestIsSupported() 575 callback.onResult(result); in requestIsSupported() 593 public void onResult(SatelliteCapabilities result) { in requestCapabilities() 594 callback.onResult( in requestCapabilities() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSender.java | 145 public void onResult(IccOpenLogicalChannelResponse openChannelResponse) { in send() 215 public void onResult(IccIoResult response) { in sendCommand() 221 public void onResult(IccIoResult fullResponse) { in sendCommand() 273 resultCallback.onResult(lastResponse); in getCompleteResponse() 282 public void onResult(IccIoResult response) { in getCompleteResponse() 305 public void onResult(Boolean aBoolean) { in closeAndReturn() 318 resultCallback.onResult(response); in closeAndReturn() 342 public void onResult(Boolean isSuccess) { in closeExistingChannelIfExists()
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallback.java | 32 void onResult(@Nullable Bundle result); in onResult() method 72 mListener.onResult(result); in sendResult() 76 mListener.onResult(result); in sendResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 329 public void onResult(EuiccProfileInfo[] result) { in getAllProfiles() 379 public void onResult(EuiccProfileInfo result) { in getProfile() 464 public void onResult(EuiccProfileInfo result) { in getEnabledProfile() 515 public void onResult(Void result) { in disableProfile() 566 public void onResult(EuiccProfileInfo profile) { in switchToProfile() 569 public void onResult(Void result) { in switchToProfile() 633 public void onResult(Void result) { in setNickname() 683 public void onResult(Void result) { in deleteProfile() 736 public void onResult(Void result) { in resetMemory() 789 public void onResult(String result) { in getDefaultSmdpAddress() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/ |
D | AsyncResultHelper.java | 38 callback.onResult(result); in returnResult() 44 callback.onResult(result); in returnResult()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 618 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() 650 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionSuccessWithPasswordForwarding() 690 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartAddAccountSessionReturnWithInvalidIntent() 720 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartAddAccountSessionReturnWithValidIntent() 785 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartAddAccountSessionError() 838 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() 869 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() 909 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartUpdateCredentialsSessionReturnWithInvalidIntent() 939 verify(mMockAccountManagerResponse).onResult(mBundleCaptor.capture()); in testStartUpdateCredentialsSessionReturnWithValidIntent() 969 verify(mMockAccountManagerResponse, never()).onResult(any(Bundle.class)); in testStartUpdateCredentialsSessionError() [all …]
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | IpSecPacketLossDetectorTest.java | 185 xfrmStateReceiver.onResult(mTransformStateInitial); in testStartMonitor() 204 xfrmStateReceiver.onResult(mTransformStateInitial); in testStartedMonitor_enterDozeMoze() 225 xfrmStateReceiver.onResult(mTransformStateInitial); in testStartedMonitor_updateInboundTransform() 295 xfrmStateReceiver.onResult(mTransformStateInitial); in testTransformStateReceiverOnResultWhenStopped() 301 xfrmStateReceiver.onResult(newTransformState(1, 1, newReplayBitmap(1))); in testTransformStateReceiverOnResultWhenStopped() 310 xfrmStateReceiver.onResult(mTransformStateInitial); in testTransformStateReceiverOnError() 330 xfrmStateReceiver.onResult(mTransformStateInitial); in checkHandleLossRate() 331 xfrmStateReceiver.onResult(transformNew); in checkHandleLossRate()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
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() 341 verify(mObserver).onResult(eq(registeredTransportName), eq(TRANSPORT_OK)); in testRun_whenOnlyOneTransportNotRegistered()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotActionsProvider.kt | 164 private fun onDeferrableActionTapped(onResult: (ScreenshotSavedResult) -> Unit) { in onDeferrableActionTapped() 165 result?.let { onResult.invoke(it) } ?: run { pendingAction = onResult } in onDeferrableActionTapped()
|
/frameworks/base/core/java/android/app/ondeviceintelligence/ |
D | OnDeviceIntelligenceManager.java | 153 () -> featureReceiver.onResult(result))); in getFeature() 187 () -> featureListReceiver.onResult(result))); in listFeatures() 225 () -> featureDetailsReceiver.onResult(result))); in getFeatureDetails() 327 () -> outcomeReceiver.onResult(tokenInfo))); in requestTokenInfo() 379 callbackExecutor.execute(() -> processingCallback.onResult(result)); in processRequest() 458 () -> streamingProcessingCallback.onResult(result)); in processRequestStreaming()
|
/frameworks/base/core/java/android/service/credentials/ |
D | CredentialProviderService.java | 265 public void onResult(BeginGetCredentialResponse result) { 304 public void onResult(BeginCreateCredentialResponse result) { 342 public void onResult(Void result) {
|
/frameworks/base/core/java/android/credentials/ |
D | CredentialManager.java | 657 mExecutor.execute(() -> mCallback.onResult( in onResponse() 750 mExecutor.execute(() -> mCallback.onResult(response)); in onResponse() 809 mExecutor.execute(() -> mCallback.onResult(response)); in onResponse() 868 mExecutor.execute(() -> mCallback.onResult(response)); in onResponse() 902 mCallback.onResult(null); in onSuccess() 936 mExecutor.execute(() -> mCallback.onResult(result)); in onResponse() 946 mExecutor.execute(() -> mCallback.onResult(null)); in onResponse()
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | IBlobCommitCallback.aidl | 20 void onResult(int result); in onResult() method
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderHeavyHitterTest.java | 109 private void onResult(final List<HeavyHitterContainer> results, final Integer inputSize, in onResult() method in BinderHeavyHitterTest 139 watcher.setConfig(true, inputs.size(), 0.333f, this::onResult); in testPositive() 168 watcher.setConfig(true, inputs.size(), 0.333f, this::onResult); in testNegative()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IBooleanListener.aidl | 24 void onResult(boolean value); in onResult() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/ |
D | DeviceBasedSatelliteRepositoryImplTest.kt | 194 receiver.onResult(allowed) in isSatelliteAllowed_readsSatelliteManagerState_enabled() 217 receiver.onResult(allowed) in isSatelliteAllowed_readsSatelliteManagerState_disabled() 240 receiver.onResult(allowed) in isSatelliteAllowed_pollsOnTimeout() 284 receiver.onResult(allowed) in isSatelliteAllowed_pollingRestartsWhenCollectionRestarts() 365 callback.onResult(true) in satelliteProvisioned_returnsException_defaultsToFalse() 411 callback.onResult(true) in satelliteProvisioned_throwsWhenQuerying_defaultsToFalse() 773 callback.onResult(satelliteSupported) in setUpRepo() 781 callback.onResult(initialSatelliteIsProvisioned) in setUpRepo()
|
/frameworks/base/core/java/android/companion/ |
D | ISystemDataTransferCallback.aidl | 21 oneway void onResult(); in onResult() method
|