Home
last modified time | relevance | path

Searched refs:OutcomeReceiver (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/java/android/view/
DViewCredentialHandler.java22 import android.os.OutcomeReceiver;
30 private OutcomeReceiver<GetCredentialResponse, GetCredentialException> mCallback;
33 OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback) { in ViewCredentialHandler()
42 public OutcomeReceiver<GetCredentialResponse,
DViewStructure.java32 import android.os.OutcomeReceiver;
411 public OutcomeReceiver<
587 @NonNull OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback) {} in setPendingCredentialRequest()
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/
DSatelliteManagerWrapper.java30 import android.os.OutcomeReceiver;
513 @NonNull OutcomeReceiver<Boolean, SatelliteExceptionWrapper> callback) { in requestIsEnabled()
514 OutcomeReceiver internalCallback = in requestIsEnabled()
515 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsEnabled()
532 @NonNull OutcomeReceiver<Boolean, SatelliteExceptionWrapper> callback) { in requestIsDemoModeEnabled()
533 OutcomeReceiver internalCallback = in requestIsDemoModeEnabled()
534 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsDemoModeEnabled()
551 @NonNull OutcomeReceiver<Boolean, SatelliteExceptionWrapper> callback) { in requestIsEmergencyModeEnabled()
552 OutcomeReceiver internalCallback = in requestIsEmergencyModeEnabled()
553 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsEmergencyModeEnabled()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DCallControl.java27 import android.os.OutcomeReceiver;
90 @NonNull OutcomeReceiver<Void, CallException> callback) { in setActive()
122 @NonNull OutcomeReceiver<Void, CallException> callback) { in answer()
152 @NonNull OutcomeReceiver<Void, CallException> callback) { in setInactive()
194 @NonNull OutcomeReceiver<Void, CallException> callback) { in disconnect()
226 @NonNull OutcomeReceiver<Void, CallException> callback) { in startCallStreaming()
257 @NonNull OutcomeReceiver<Void, CallException> callback) { in requestCallEndpointChange()
290 @NonNull OutcomeReceiver<Void, CallException> callback) { in requestMuteState()
328 @NonNull OutcomeReceiver<Void, CallException> callback) { in requestVideoState()
379 private final OutcomeReceiver<Void, CallException> mClientCallback;
[all …]
/frameworks/base/core/tests/coretests/src/android/credentials/
DCredentialManagerTest.java38 import android.os.OutcomeReceiver;
201 OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback = in testGetCredential_noCredential()
202 mock(OutcomeReceiver.class); in testGetCredential_noCredential()
235 OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback = in testGetCredential_cancel()
236 mock(OutcomeReceiver.class); in testGetCredential_cancel()
259 OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback = in testGetCredential_success()
260 mock(OutcomeReceiver.class); in testGetCredential_success()
326 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback = in testCreateCredential_cancel()
327 mock(OutcomeReceiver.class); in testCreateCredential_cancel()
349 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback = in testCreateCredential_failed()
[all …]
/frameworks/base/core/java/android/credentials/
DCredentialManager.java41 import android.os.OutcomeReceiver;
168 @NonNull OutcomeReceiver<GetCandidateCredentialsResponse, in getCandidateCredentials()
221 @NonNull OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback) { in getCredential()
272 @NonNull OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback) { in getCredential()
306 @NonNull OutcomeReceiver< in prepareGetCredential()
360 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback) { in createCredential()
408 @NonNull OutcomeReceiver<Void, ClearCredentialStateException> callback) { in clearCredentialState()
454 @NonNull OutcomeReceiver<Void, SetEnabledProvidersException> callback) { in setEnabledProviders()
640 private final OutcomeReceiver<
646 OutcomeReceiver<PrepareGetCredentialResponse, GetCredentialException> callback, in PrepareGetCredentialTransport()
[all …]
DPrepareGetCredentialResponse.java31 import android.os.OutcomeReceiver;
78 @NonNull OutcomeReceiver<GetCredentialResponse, GetCredentialException> callback) { in show()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/satellite/
DSatelliteDialogUtilsTest.kt21 import android.os.OutcomeReceiver in <lambda>()
72 any(), any<OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>() in <lambda>()
78 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>( in <lambda>()
100 any(), any<OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>() in <lambda>()
106 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>( in <lambda>()
141 any(), any<OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>() in <lambda>()
147 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>( in <lambda>()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DTransactionalCall.java19 import android.os.OutcomeReceiver;
36 private final OutcomeReceiver<CallControl, CallException> mPendingControl;
42 Executor executor, OutcomeReceiver<CallControl, CallException> pendingControl, in TransactionalCall()
74 public OutcomeReceiver<CallControl, CallException> getPendingControl() { in getPendingControl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImplTest.kt19 import android.os.OutcomeReceiver
193 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_readsSatelliteManagerState_enabled()
200 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_readsSatelliteManagerState_enabled()
216 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_readsSatelliteManagerState_disabled()
223 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_readsSatelliteManagerState_disabled()
239 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_pollsOnTimeout()
246 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_pollsOnTimeout()
283 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_pollingRestartsWhenCollectionRestarts()
290 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_pollingRestartsWhenCollectionRestarts()
316 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_falseWhenErrorOccurs()
[all …]
/frameworks/base/core/java/android/service/credentials/
DCredentialProviderService.java35 import android.os.OutcomeReceiver;
262 new OutcomeReceiver<BeginGetCredentialResponse,
301 new OutcomeReceiver<
340 new OutcomeReceiver<Void, ClearCredentialStateException>() {
384 @NonNull OutcomeReceiver< in onBeginGetCredential()
396 @NonNull OutcomeReceiver<BeginCreateCredentialResponse, in onBeginCreateCredential()
418 @NonNull OutcomeReceiver<Void, in onClearCredentialState()
/frameworks/base/core/java/android/service/ondeviceintelligence/
DOnDeviceIntelligenceService.java50 import android.os.OutcomeReceiver;
299 … @NonNull OutcomeReceiver<PersistableBundle, OnDeviceIntelligenceException> statusReceiver) {
329 private OutcomeReceiver<Feature,
332 return new OutcomeReceiver<>() {
355 private OutcomeReceiver<List<Feature>,
358 return new OutcomeReceiver<>() {
381 private OutcomeReceiver<FeatureDetails,
384 return new OutcomeReceiver<>() {
525 @NonNull OutcomeReceiver<FeatureDetails,
536 @NonNull OutcomeReceiver<Feature,
[all …]
DOnDeviceSandboxedInferenceService.java56 import android.os.OutcomeReceiver;
284 @NonNull OutcomeReceiver<TokenInfo, OnDeviceIntelligenceException> callback);
352 @NonNull OutcomeReceiver<PersistableBundle,
556 private OutcomeReceiver<TokenInfo, OnDeviceIntelligenceException> wrapTokenInfoCallback(
558 return new OutcomeReceiver<>() {
582 …private static OutcomeReceiver<PersistableBundle, OnDeviceIntelligenceException> wrapOutcomeReceiv…
584 return new OutcomeReceiver<>() {
/frameworks/base/location/java/android/location/provider/
DGeocodeProviderBase.java31 import android.os.OutcomeReceiver;
107 @NonNull OutcomeReceiver<List<Address>, Throwable> callback); in onForwardGeocode()
114 @NonNull OutcomeReceiver<List<Address>, Throwable> callback); in onReverseGeocode()
148 private static class SingleUseCallback implements OutcomeReceiver<List<Address>, Throwable> {
/frameworks/base/core/java/android/service/remotelockscreenvalidation/
DRemoteLockscreenValidationService.java31 import android.os.OutcomeReceiver;
62 new OutcomeReceiver<RemoteLockscreenValidationResult,
105 @NonNull OutcomeReceiver<RemoteLockscreenValidationResult, Exception> callback); in onValidateLockscreenGuess()
/frameworks/base/core/java/android/app/contextualsearch/
DCallbackToken.java27 import android.os.OutcomeReceiver;
79 @NonNull OutcomeReceiver<ContextualSearchState, Throwable> callback) { in getContextualSearchState()
147 private final OutcomeReceiver<ContextualSearchState, Throwable> mCallback;
151 @NonNull OutcomeReceiver<ContextualSearchState, Throwable> callback) { in CallbackWrapper()
/frameworks/base/core/java/android/app/
DFullscreenRequestHandler.java29 import android.os.OutcomeReceiver;
49 @Nullable OutcomeReceiver<Void, Throwable> approvalCallback, Configuration config, in requestFullscreenMode()
80 OutcomeReceiver<Void, Throwable> callback, int result) { in notifyFullscreenRequestResult()
/frameworks/base/core/java/android/service/assist/classification/
DFieldClassificationService.java31 import android.os.OutcomeReceiver;
126 @NonNull OutcomeReceiver<FieldClassificationResponse, Exception> outcomeReceiver); in onClassificationRequest()
158 new OutcomeReceiver<FieldClassificationResponse, Exception>() { in handleOnClassificationRequest()
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DIpSecPacketLossDetectorTest.java47 import android.os.OutcomeReceiver;
81 @Captor private ArgumentCaptor<OutcomeReceiver> mTransformStateReceiverCaptor;
161 private OutcomeReceiver<IpSecTransformState, RuntimeException>
176 final OutcomeReceiver<IpSecTransformState, RuntimeException> xfrmStateReceiver = in testStartMonitor()
200 final OutcomeReceiver<IpSecTransformState, RuntimeException> xfrmStateReceiver = in testStartedMonitor_enterDozeMoze()
221 final OutcomeReceiver<IpSecTransformState, RuntimeException> xfrmStateReceiver = in testStartedMonitor_updateInboundTransform()
293 final OutcomeReceiver<IpSecTransformState, RuntimeException> xfrmStateReceiver = in testTransformStateReceiverOnResultWhenStopped()
308 final OutcomeReceiver<IpSecTransformState, RuntimeException> xfrmStateReceiver = in testTransformStateReceiverOnError()
322 final OutcomeReceiver<IpSecTransformState, RuntimeException> xfrmStateReceiver = in checkHandleLossRate()
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/
DCallbackUtils.kt23 import android.os.OutcomeReceiver
83 class SystemDataTransferCallback : OutcomeReceiver<Void, CompanionException> {
/frameworks/base/core/java/android/os/
DOutcomeReceiver.java29 public interface OutcomeReceiver<R, E extends Throwable> { interface
/frameworks/base/services/core/java/com/android/server/security/rkp/
DRemoteProvisioningRegistration.java22 import android.os.OutcomeReceiver;
49 private class GetKeyReceiver implements OutcomeReceiver<RemotelyProvisionedKey, Exception> {
159 new OutcomeReceiver<>() { in storeUpgradedKeyAsync()
DRemoteProvisioningService.java21 import android.os.OutcomeReceiver;
50 OutcomeReceiver<RegistrationProxy, Exception> {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/satellite/
DSatelliteDialogUtils.kt22 import android.os.OutcomeReceiver in <lambda>()
122 object : OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> { in <lambda>()
/frameworks/base/core/java/android/app/ondeviceintelligence/
DOnDeviceIntelligenceManager.java36 import android.os.OutcomeReceiver;
146 @NonNull OutcomeReceiver<Feature, OnDeviceIntelligenceException> featureReceiver) { in getFeature()
180 … @NonNull OutcomeReceiver<List<Feature>, OnDeviceIntelligenceException> featureListReceiver) { in listFeatures()
218 … @NonNull OutcomeReceiver<FeatureDetails, OnDeviceIntelligenceException> featureDetailsReceiver) { in getFeatureDetails()
320 @NonNull OutcomeReceiver<TokenInfo, in requestTokenInfo()

1234