Home
last modified time | relevance | path

Searched defs:exception (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/
DCustomAudienceBlobValidatorTest.java395 Exception exception = in testValidator_invalidName_exceedsSizeLimit() local
426 Exception exception = in testValidator_invalidUserBiddingSignals_malformedJson() local
463 Exception exception = in testValidator_invalidUserBiddingSignals_exceedsSizeLimit() local
499 Exception exception = in testValidator_invalidActivationTime_exceedsDelayLimit() local
538 Exception exception = in testValidator_invalidExpirationTime_beforeNow() local
557 Exception exception = in testValidator_invalidExpirationTime_beforeActivationTime() local
577 Exception exception = in testValidator_invalidExpirationTime_exceedsExpiryLimit() local
607 Exception exception = in testValidator_invalidBuyer_emptyIdentifier() local
628 Exception exception = in testValidator_invalidBuyer_missingHost() local
648 Exception exception = in testValidator_invalidBuyer_domainHasPath() local
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/noperm/src/com/android/adservices/tests/permissions/
DPermissionsNoPermTest.java99 ExecutionException exception = in testNoPerm_topics() local
121 ExecutionException exception = in testPermissionNotRequested_fledgeJoinCustomAudience() local
142 ExecutionException exception = in testPermissionNotRequested_fledgeFetchAndJoinCustomAudience() local
157 ExecutionException exception = in testPermissionNotRequested_fledgeLeaveCustomAudience() local
187 ExecutionException exception = in testPermissionNotRequested_fledgeOverrideCustomAudienceRemoteInfo() local
213 ExecutionException exception = in testPermissionNotRequested_fledgeRemoveCustomAudienceRemoteInfoOverride() local
233 ExecutionException exception = in testPermissionNotRequested_fledgeResetAllCustomAudienceOverrides() local
250 ExecutionException exception = in testPermissionNotRequested_selectAds_adSelectionConfig() local
268 ExecutionException exception = in testPermissionNotRequested_selectAds_adSelectionFromOutcomesConfig() local
288 ExecutionException exception = in testPermissionNotRequested_getAdSelectionData() local
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DQosCallbackExceptionTest.java48 final QosCallbackException exception = new QosCallbackException(testcause); in testQosCallbackException() local
58 final QosCallbackException exception = new QosCallbackException(netReleasedException); in testNetworkReleasedExceptions() local
66 final QosCallbackException exception = new QosCallbackException(sockNotBoundException); in testSocketNotBoundExceptions() local
74 final QosCallbackException exception = in testSocketLocalAddressChangedExceptions() local
84 final QosCallbackException exception = new QosCallbackException(sockNotConnectedException); in testSocketNotConnectedExceptions() local
93 final QosCallbackException exception = in testSocketRemoteAddressChangedExceptions() local
120 private void assertThrowableMessageContains(QosCallbackException exception, String errorMsg) in assertThrowableMessageContains()
130 private void triggerException(QosCallbackException exception) throws Exception { in triggerException()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeExceptionTest.java52 final IkeInternalException exception = new IkeInternalException(cause); in testIkeInternalException() local
64 final IkeNetworkLostException exception = in testIkeNetworkLostException() local
72 final IkeTimeoutException exception = new IkeTimeoutException(ERROR_MSG); in testIkeTimeoutException() local
79 final IkeIOException exception = new IkeIOException(cause); in testIkeIOException() local
94 final InvalidKeException exception = new InvalidKeException(DH_GROUP_1024_BIT_MODP); in testInvalidKeException() local
101 final InvalidMajorVersionException exception = in testInvalidMajorVersionException() local
112 final InvalidSelectorsException exception = new InvalidSelectorsException(spi, packetInfo); in testInvalidSelectorsException() local
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DCustomAudienceApiCtsTest.java175 Exception exception = in testJoinCustomAudience_withMissingEnrollment_fail() local
256 Exception exception = in testJoinCustomAudience_invalidAdsMetadata_fail() local
281 Exception exception = in testJoinCustomAudience_invalidAdsRenderUris_fail() local
319 Exception exception = in testJoinCustomAudience_adRenderIdEnabled_invalidAdRenderIds_fail() local
340 Exception exception = in testJoinCustomAudience_invalidNumberOfAds_fail() local
357 Exception exception = in testJoinCustomAudience_mismatchDailyFetchUriDomain_fail() local
371 Exception exception = in testJoinCustomAudience_illegalExpirationTime_fail() local
389 Exception exception = in testJoinCustomAudience_maxTotalCustomAudiences_fail() local
413 Exception exception = in testJoinCustomAudience_maxCustomAudiencesPerApp_fail() local
428 Exception exception = in testFetchAndJoinCustomAudience_withMissingEnrollment_fail() local
[all …]
DTestAdSelectionManagerTest.java185 Exception exception = in assertInvalidAdSelectionIdFailsImpressionReporting() local
201 Exception exception = in testAddOverrideFailsWithDebugModeDisabled() local
223 Exception exception = in testRemoveOverrideFailsWithDebugModeDisabled() local
265 Exception exception = in assertResetAllOverridesFailsWithDebugModeDisabled() local
306 Exception exception = in assertNoBuyersConfigFailsAdSelection() local
331 Exception exception = in testAddFromOutcomesOverrideFailsWithDebugModeDisabled() local
347 Exception exception = in testRemoveFromOutcomesOverrideFailsWithDebugModeDisabled() local
359 Exception exception = in testResetAllFromOutcomesOverridesFailsWithDebugModeDisabled() local
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/
DPermissionsAppOptOutTest.java77 ExecutionException exception = in testAppOptOut_topics() local
99 ExecutionException exception = in testNoEnrollment_fledgeJoinCustomAudience() local
120 ExecutionException exception = in testNoEnrollment_fledgeFetchAndJoinCustomAudience() local
157 ExecutionException exception = in testNoEnrollment_fledgeLeaveCustomAudience() local
199 ExecutionException exception = in testNoEnrollment_selectAds_adSelectionConfig() local
222 ExecutionException exception = in testWithEnrollment_selectAds_adSelectionConfig() local
242 ExecutionException exception = in testNoEnrollment_selectAds_adSelectionFromOutcomesConfig() local
264 ExecutionException exception = in testWithEnrollment_selectAds_adSelectionFromOutcomesConfig() local
288 ExecutionException exception = in testNoEnrollment_reportImpression() local
316 ExecutionException exception = in testWithEnrollment_reportImpression() local
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/notallowed/src/com/android/adservices/tests/permissions/
DNotInAllowListTest.java78 ExecutionException exception = in testNotInAllowList_getTopics() local
101 ExecutionException exception = in testNotInAllowList_fledgeJoinCustomAudience() local
121 ExecutionException exception = in testNotInAllowList_fledgeFetchAndJoinCustomAudience() local
136 ExecutionException exception = in testNotInAllowList_fledgeLeaveCustomAudience() local
157 ExecutionException exception = in testNotInAllowList_selectAds_adSelectionConfig() local
174 ExecutionException exception = in testNotInAllowList_selectAds_adSelectionFromOutcomesConfig() local
192 ExecutionException exception = in testNotInAllowList_reportImpression() local
218 ExecutionException exception = in testNotInAllowList_reportEvent() local
240 ExecutionException exception = in testNotInAllowList_updateAdCounterHistogram() local
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/phr/validations/
DFhirObjectTypeValidatorTest.java252 IllegalArgumentException exception = in testValidate_missingRequiredPrimitiveField_throws() local
285 IllegalArgumentException exception = in testValidate_missingRequiredComplexTypeField_throws() local
378 IllegalArgumentException exception = in testValidate_requiredMultiTypeFieldMissing_throws() local
422 IllegalArgumentException exception = in testValidate_moreThanOneMultiTypeFieldPresent_throws() local
450 IllegalArgumentException exception = in testValidate_unknownField_throws() local
477 IllegalArgumentException exception = in testValidate_complexTypeFieldNotJsonObject_throws() local
506 IllegalArgumentException exception = in testValidate_complexTypeFieldIsNull_throws() local
533 IllegalArgumentException exception = in testValidate_primitiveTypeExtensionNotJsonObject_throws() local
631 IllegalArgumentException exception = in testValidate_arrayFieldIsNotArray_throws() local
670 IllegalArgumentException exception = in testValidate_complexTypeArrayItemNotJsonObject_throws() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/exceptions/
DRetryableAdServicesNetworkExceptionTest.java48 RetryableAdServicesNetworkException exception = in testExceptionWithErrorCodeAndRetryAfter_valid() local
62 Exception exception = in testExceptionWithErrorCodeAndRetryAfter_errorCodeInvalid() local
73 Exception exception = in testExceptionWithErrorCodeAndRetryAfter_retryAfterUnset() local
84 Exception exception = in testExceptionWithErrorCodeAndRetryAfter_retryAfterNegative() local
96 RetryableAdServicesNetworkException exception = in testSetRetryAfterToValidDurationStaysSame() local
108 RetryableAdServicesNetworkException exception = in testSetRetryAfterToValidDurationGetsCappedToDefault() local
120 RetryableAdServicesNetworkException exception = in testSetRetryAfterToValidDurationGetsCappedToMax() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/common/
DAdSelectionServiceFilterTest.java131 FilterException exception = in testFilterRequestThrowsCallerMismatchExceptionWithInvalidPackageName() local
156 FilterException exception = in testFilterRequest_throttled_throwsLimitExceededException() local
180 FilterException exception = in testFilterRequestThrowsWrongCallingApplicationStateExceptionIfForegroundCheckFails() local
239 FilterException exception = in testFilterRequestThrowsAdTechNotAllowedExceptionWhenAdTechNotAuthorized() local
263 FilterException exception = in testFilterRequestThrowsAppNotAllowedExceptionWhenAppNotInAllowlist() local
288 FilterException exception = in testFilterRequest_apiConsentRevoked_throwsRevokedConsentException() local
356 FilterException exception = in testFilterRequest_withLocalhostDomain_doesNotPass() local
440 FilterException exception = in testFilterRequest_withEnrollmentJobNotScheduledAndEnrollmentCheckFails() local
DFledgeAuthorizationFilterTest.java160 SecurityException exception = in testAssertCallingPackageName_isNotCallingPackageName_throwSecurityException() local
188 SecurityException exception = in testAssertCallingPackageName_packageNotExist_throwSecurityException() local
216 SecurityException exception = in testAssertCallingPackageName_packageNotExist_logPersistAdSelectionResultCel() local
404 SecurityException exception = in testAssertAppHasCaPermission_appDoesNotHavePermission_throwSecurityException() local
443 SecurityException exception = in testAssertAppHasCaPermission_appDoesNotHavePermission_throwGetAdSelectionDataCel() local
489 SecurityException exception = in testAssertAppHasAnyPermission_appDoesNotHaveAnyPermissions_throwSecurityException() local
537 SecurityException exception = in testAssertAppHasCaPermission_mismatchedAppPackageName_throwSecurityException() local
578 SecurityException exception = in testAssertAppHasPasPermission_mismatchedAppPackageName_throwSecurityException() local
739 IllegalStateException exception = in testAssertAdTechHasPermission_badApiType_throwsIllegalState() local
768 SecurityException exception = in testAssertAdTechHasPermission_noEnrollmentForAdTech_throwSecurityException() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DAdSelectionFromOutcomesConfigValidatorTest.java81 NullPointerException exception = in testVerifyAdSelectionFromOutcomesConfigCannotBeNull() local
88 IllegalArgumentException exception = in testVerifyAdSelectionFromOutcomesConfigAdOutcomeIdsCannotBeEmpty() local
104 IllegalArgumentException exception = in testVerifyAdSelectionFromOutcomesConfigUriCannotBeEmpty() local
120 IllegalArgumentException exception = in testVerifyAdSelectionFromOutcomesConfigUriCannotBeRelative() local
137 IllegalArgumentException exception = in testVerifyAdSelectionFromOutcomesConfigUriMustBeHttps() local
157 IllegalArgumentException exception = in testVerifyAdSelectionFromOutcomesConfigUriHostShouldBeSameAsSellerHost() local
DReportImpressionScriptEngineTest.java181 Exception exception = in testThrowsJSExecutionExceptionIfFunctionNotFound() local
203 Exception exception = in testThrowsIllegalStateExceptionIfScriptIsNotReturningJson() local
347 Exception exception = in testReportResultFailsWhenCallingRegisterAdBeaconWhenFlagDisabled() local
379 Exception exception = in testReportResultFailsInvalidInteractionKeyType() local
411 Exception exception = in testReportResultFailsInvalidInteractionReportingUriType() local
445 Exception exception = in testReportResultFailsWhenRegisterAdBeaconCalledMoreThanOnce() local
476 Exception exception = in testReportResultFailsWhenRegisterAdBeaconInputNotAnObject__Null() local
507 Exception exception = in testReportResultFailsWhenRegisterAdBeaconInputNotAnObject__Int() local
539 Exception exception = in testReportResultFailsWhenRegisterAdBeaconInputNotAnObject__String() local
571 Exception exception = in testReportResultFailsWhenRegisterAdBeaconInputNotAnObject__Array() local
[all …]
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyEventTest.kt80 val exception = in build_actionFailed_withMissingIssueActionId_throwsIllegalArgumentException() constant
97 val exception = in build_actionFailed_withMissingIssueId_throwsIllegalArgumentException() constant
114 val exception = in build_actionSucceeded_withMissingIssueActionId_throwsIllegalArgumentException() constant
131 val exception = in build_actionSucceeded_withMissingIssueId_throwsIllegalArgumentException() constant
148 val exception = in build_refreshRequested_withMissingRefreshBroadcastId_throwsIllegalArgumentException() constant
160 val exception = assertFailsWith(IllegalArgumentException::class) { SafetyEvent.Builder(-1) } in build_withInvalidType_throwsIllegalArgumentException() constant
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/src/com/android/adservices/common/logging/
DAdServicesErrorLogUtilWithExceptionVerifierTest.java86 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationNegativeTimes_throwsException() local
108 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationZeroTimes_throwsException() local
133 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationMissingThrowable_throwsException() local
155 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationMissingErrorCode_throwsException() local
177 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationMissingPpapiName_throwsException() local
274 Exception exception = in testGetExpectedLogCalls_withMultipleAnnotationZeroTimes_throwsException() local
311 Exception exception = in testGetExpectedLogCalls_withMultipleAnnotationNegativeTimes_throwsException() local
345 Exception exception = in testGetExpectedLogCalls_withMultipleAnnotationsSameInvocation_throwsException() local
DAdServicesErrorLogUtilVerifierTest.java74 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationNegativeTimes_throwsException() local
93 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationZeroTimes_throwsException() local
116 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationMissingErrorCode_throwsException() local
136 Exception exception = in testGetExpectedLogCalls_withSingleAnnotationMissingPpapiName_throwsException() local
208 Exception exception = in testGetExpectedLogCalls_withMultipleAnnotationZeroTimes_throwsException() local
236 Exception exception = in testGetExpectedLogCalls_withMultipleAnnotationNegativeTimes_throwsException() local
262 Exception exception = in testGetExpectedLogCalls_withMultipleAnnotationsSameInvocation_throwsException() local
/packages/services/Car/tests/CarTestLibUnitTest/src/android/car/test/mocks/
DJavaMockitoHelperTest.java114 IllegalStateException exception = assertThrows(IllegalStateException.class, in testGetResult_timeoutException() local
127 IllegalStateException exception = assertThrows(IllegalStateException.class, in testGetResult_executionException() local
140 IllegalStateException exception = assertThrows(IllegalStateException.class, in testGetResult_interruptedException() local
175 IllegalStateException exception = assertThrows(IllegalStateException.class, in testGetResult_withCustomTimeout_timeoutException() local
188 IllegalStateException exception = assertThrows(IllegalStateException.class, in testGetResult_withCustomTimeout_executionException() local
201 IllegalStateException exception = assertThrows(IllegalStateException.class, in testGetResult_withCustomTimeout_interruptedException() local
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/valid/src/com/android/adservices/tests/permissions/
DPermissionsValidTest.java112 ExecutionException exception = in testValidPermissions_fledgeFetchAndJoinCustomAudience() local
131 ExecutionException exception = in testValidPermissions_selectAds_adSelectionConfig() local
151 ExecutionException exception = in testValidPermissions_selectAds_adSelectionFromOutcomesConfig() local
174 ExecutionException exception = in testValidPermissions_reportImpression() local
203 ExecutionException exception = in testValidPermissions_reportEvent() local
227 ExecutionException exception = in testValidPermissions_updateAdCounterHistogram() local
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/common/
DServiceUnavailableExceptionTest.java30 ServiceUnavailableException exception = new ServiceUnavailableException(); in testAdServicesUnavailableException_default() local
37 ServiceUnavailableException exception = new ServiceUnavailableException(ERROR_MESSAGE); in testAdServicesUnavailableException_correctErrorMsg() local
44 ServiceUnavailableException exception = new ServiceUnavailableException(ERROR_MESSAGE); in testAdServicesUnavailableException_isOfTypeIllegalStateException() local
DProviderServiceInternalExceptionTest.java31 ProviderServiceInternalException exception = new ProviderServiceInternalException(); in testProviderServiceInternalException_default() local
38 ProviderServiceInternalException exception = in testProviderServiceInternalException_correctErrorMsg() local
46 ProviderServiceInternalException exception = in testProviderServiceInternalException_isOfTypeIllegalStateException() local
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParseExceptionTest.kt32 val exception = ParseException(message) in propagatesMessage() constant
43 val exception = ParseException(message, cause) in propagatesMessageAndCause() constant
/packages/modules/Permission/SafetyCenter/Persistence/tests/java/com/android/safetycenter/persistence/
DPersistenceExceptionTest.kt32 val exception = PersistenceException(message) in propagatesMessage() constant
43 val exception = PersistenceException(message, cause) in propagatesMessageAndCause() constant
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanError.java99 public IwlanError(@IwlanErrorType int err, @NonNull Exception exception) { in IwlanError()
112 public IwlanError(@NonNull Exception exception) { in IwlanError()
128 private void IwlanErrorIkeProtocolException(@NonNull IkeProtocolException exception) { in IwlanErrorIkeProtocolException()
133 private void IwlanErrorIkeInternalException(@NonNull IkeInternalException exception) { in IwlanErrorIkeInternalException()
142 private void IwlanErrorIkeIOException(@NonNull IkeIOException exception) { in IwlanErrorIkeIOException()
147 private void IwlanErrorIkeNetworkLostException(@NonNull IkeNetworkLostException exception) { in IwlanErrorIkeNetworkLostException()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionCallback.java156 default void onClosedExceptionally(@NonNull IkeException exception) {} in onClosedExceptionally()
164 default void onClosedWithException(@NonNull IkeException exception) { in onClosedWithException()
181 default void onError(@NonNull IkeProtocolException exception) {} in onError()
191 default void onError(@NonNull IkeException exception) { in onError()

12345678910>>...14