Home
last modified time | relevance | path

Searched refs:asException (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DMeasurementErrorResponseTest.java68 assertThat(AdServicesStatusUtils.asException(response)) in testAdServicesException_invalidArgument_expectIllegalArgumentException()
76 assertThat(AdServicesStatusUtils.asException(response)) in testAdServicesException_internalError_expectIllegalStateException()
84 assertThat(AdServicesStatusUtils.asException(response)).isInstanceOf(IOException.class); in testAdServicesException_ioError_expectIOException()
93 assertThat(AdServicesStatusUtils.asException(response)) in testAdServicesException_unauthorized_expectSecurityException()
101 assertThat(AdServicesStatusUtils.asException(response)) in testAdServicesException_unrecognized_expectIllegalStateException()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DTestAdSelectionManager.java104 AdServicesStatusUtils.asException( in overrideAdSelectionConfigRemoteInfo()
160 AdServicesStatusUtils.asException( in removeAdSelectionConfigRemoteInfoOverride()
211 AdServicesStatusUtils.asException( in resetAllAdSelectionConfigRemoteOverrides()
270 AdServicesStatusUtils.asException( in overrideAdSelectionFromOutcomesConfigRemoteInfo()
326 AdServicesStatusUtils.asException( in removeAdSelectionFromOutcomesConfigRemoteInfoOverride()
377 AdServicesStatusUtils.asException( in resetAllAdSelectionFromOutcomesConfigRemoteOverrides()
442 AdServicesStatusUtils.asException( in setAdCounterHistogramOverride()
504 AdServicesStatusUtils.asException( in removeAdCounterHistogramOverride()
559 AdServicesStatusUtils.asException( in resetAllAdCounterHistogramOverrides()
DAdSelectionManager.java274 AdServicesStatusUtils.asException(failureParcel)); in getAdSelectionData()
363 AdServicesStatusUtils.asException(failureParcel)); in persistAdSelectionResult()
467 AdServicesStatusUtils.asException(failureParcel)); in selectAds()
582 AdServicesStatusUtils.asException(failureParcel)); in selectAds()
707 AdServicesStatusUtils.asException(failureParcel)); in reportImpression()
793 AdServicesStatusUtils.asException(failureParcel)); in reportEvent()
865 AdServicesStatusUtils.asException(failureParcel)); in setAppInstallAdvertisers()
943 AdServicesStatusUtils.asException(failureParcel)); in updateAdCounterHistogram()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesCommonManager.java154 AdServicesStatusUtils.asException(statusCode))); in isAdServicesEnabled()
274 AdServicesStatusUtils.asException( in enableAdServices()
285 AdServicesStatusUtils.asException(statusCode))); in enableAdServices()
335 AdServicesStatusUtils.asException(statusCode))); in updateAdId()
425 AdServicesStatusUtils.asException(statusCode))); in getAdservicesCommonStates()
DAdServicesStatusUtils.java329 public static Exception asException(@StatusCode int statusCode) { in asException() method in AdServicesStatusUtils
386 public static Exception asException(@NonNull AdServicesResponse adServicesResponse) { in asException() method in AdServicesStatusUtils
387 return asException(adServicesResponse.getStatusCode()); in asException()
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DCustomAudienceManager.java185 AdServicesStatusUtils.asException( in joinCustomAudience()
260 AdServicesStatusUtils.asException( in fetchAndJoinCustomAudience()
319 AdServicesStatusUtils.asException( in leaveCustomAudience()
515 AdServicesStatusUtils.asException( in scheduleCustomAudienceUpdate()
DTestCustomAudienceManager.java98 AdServicesStatusUtils.asException( in overrideCustomAudienceRemoteInfo()
144 AdServicesStatusUtils.asException( in removeCustomAudienceRemoteInfoOverride()
183 AdServicesStatusUtils.asException( in resetAllCustomAudienceOverrides()
/packages/modules/Bluetooth/android/pandora/server/src/
DRfcomm.kt79 throw Status.UNKNOWN.asException() in connectToServer()
109 throw Status.UNKNOWN.asException() in disconnect()
165 throw Status.UNKNOWN.asException() in send()
DUtils.kt146 Status.UNKNOWN.withCause(e).withDescription(sw.toString()).asException() in grpcUnary()
198 Status.UNKNOWN.withCause(it).withDescription(sw.toString()).asException() in grpcBidirectionalStream()
230 Status.UNKNOWN.withCause(e).withDescription(sw.toString()).asException() in grpcBidirectionalStream()
281 Status.UNKNOWN.withCause(it).withDescription(sw.toString()).asException() in grpcServerStream()
DSecurityStorage.kt77 throw Status.UNKNOWN.asException() in isBonded()
93 throw Status.UNKNOWN.asException() in deleteBond()
DA2dp.kt254 Status.UNKNOWN.withDescription("AudioTrack is not started").asException() in playbackAudio()
280 Status.UNKNOWN.withDescription("AudioTrack write failed").asException() in playbackAudio()
289 Status.UNKNOWN.withCause(t).withDescription(sw.toString()).asException() in playbackAudio()
DAsha.kt232 Status.UNKNOWN.withDescription("AudioTrack is not started").asException() in playbackAudio()
260 Status.UNKNOWN.withDescription("AudioTrack write failed").asException() in playbackAudio()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementCompatibleManager.java168 AdServicesStatusUtils.asException( in register()
269 AdServicesStatusUtils.asException( in registerSource()
344 AdServicesStatusUtils.asException( in registerWebSource()
432 AdServicesStatusUtils.asException( in registerWebTrigger()
551 AdServicesStatusUtils.asException( in deleteRegistrations()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DAdIdCompatibleManager.java167 AdServicesStatusUtils.asException( in getAdId()
178 AdServicesStatusUtils.asException(resultCode))); in getAdId()
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/
DAppSetIdManager.java183 AdServicesStatusUtils.asException( in getAppSetId()
194 AdServicesStatusUtils.asException(resultCode))); in getAppSetId()
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DTopicsManager.java208 AdServicesStatusUtils.asException( in getTopics()
219 AdServicesStatusUtils.asException(resultCode))); in getTopics()
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/
DProtectedSignalsManager.java216 AdServicesStatusUtils.asException( in updateSignals()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java5389 mException = AdServicesStatusUtils.asException(responseParcel); in onFailure()
5425 mException = AdServicesStatusUtils.asException(responseParcel); in onFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java3159 mException = AdServicesStatusUtils.asException(responseParcel); in onFailure()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java4393 mException = AdServicesStatusUtils.asException(responseParcel); in onFailure()