Home
last modified time | relevance | path

Searched refs:ServiceEntitlementException (Results 1 – 16 of 16) sorted by relevance

/aosp12/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
H A DEapAkaChallengeTest.java140 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withoutRand()
150 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withoutAutn()
160 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withoutRandAndAutn()
170 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withCodeResponse()
180 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withWrongLength()
190 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withEapType99()
200 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withSubType99()
210 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withLengthOverData()
220 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withRandLength16()
230 ServiceEntitlementException.class, in parseEapAkaChallengeRequest_withAutnLength16()
[all …]
H A DEapAkaSecurityContextTest.java28 import com.android.libraries.entitlement.ServiceEntitlementException;
98 ServiceEntitlementException exception = in parseResponseData_invalidWithWrongTag_throwsException()
100 ServiceEntitlementException.class, in parseResponseData_invalidWithWrongTag_throwsException()
104 .isEqualTo(ServiceEntitlementException.ERROR_ICC_AUTHENTICATION_NOT_AVAILABLE); in parseResponseData_invalidWithWrongTag_throwsException()
115 ServiceEntitlementException.class, () -> EapAkaSecurityContext.from(encodedData)); in parseResponseData_invalidWithWrongResLength_throwsException()
124 ServiceEntitlementException.class, () -> EapAkaSecurityContext.from(encodedData)); in parseResponseData_invalidWithWrongCkLength_throwsException()
133 ServiceEntitlementException.class, () -> EapAkaSecurityContext.from(encodedData)); in parseResponseData_invalidWithWrongIkLength_throwsException()
H A DEapAkaApiTest.java43 import com.android.libraries.entitlement.ServiceEntitlementException;
212 ServiceEntitlementException exception = expectThrows( in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException()
213 ServiceEntitlementException.class, in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException()
220 ServiceEntitlementException.ERROR_MALFORMED_HTTP_RESPONSE); in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
H A DServiceEntitlementException.java22 public class ServiceEntitlementException extends Exception { class
79 public ServiceEntitlementException(int error, String message) { in ServiceEntitlementException() method in ServiceEntitlementException
83 public ServiceEntitlementException(int error, int httpStatus, String message) { in ServiceEntitlementException() method in ServiceEntitlementException
87 public ServiceEntitlementException( in ServiceEntitlementException() method in ServiceEntitlementException
95 public ServiceEntitlementException(int error, String message, Throwable cause) { in ServiceEntitlementException() method in ServiceEntitlementException
99 public ServiceEntitlementException(int error, int httpStatus, String message, Throwable cause) { in ServiceEntitlementException() method in ServiceEntitlementException
103 public ServiceEntitlementException( in ServiceEntitlementException() method in ServiceEntitlementException
H A DServiceEntitlement.java120 throws ServiceEntitlementException { in queryEntitlementStatus()
135 throws ServiceEntitlementException { in queryEntitlementStatus()
151 throws ServiceEntitlementException { in performEsimOdsa()
H A DEapAkaHelper.java105 } catch (ServiceEntitlementException e) { in getEapAkaResponse()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
H A DHttpClient.java19 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_HTTP_STATUS_NOT_S…
21 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_SERVER_NOT_CONNEC…
36 import com.android.libraries.entitlement.ServiceEntitlementException;
60 public HttpResponse request(HttpRequest request) throws ServiceEntitlementException { in request()
79 throw new ServiceEntitlementException( in request()
88 private void createConnection(HttpRequest request) throws ServiceEntitlementException { in createConnection()
111 throw new ServiceEntitlementException( in createConnection()
124 throws ServiceEntitlementException { in getHttpResponse()
131 throw new ServiceEntitlementException(ERROR_HTTP_STATUS_NOT_SUCCESS, responseCode, in getHttpResponse()
138 throw new ServiceEntitlementException( in getHttpResponse()
[all …]
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
H A DEapAkaApi.java19 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_EAP_AKA_SYNCHRONI…
20 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_MALFORMED_HTTP_RE…
33 import com.android.libraries.entitlement.ServiceEntitlementException;
113 throws ServiceEntitlementException { in queryEntitlementStatus()
162 throws ServiceEntitlementException { in respondToEapAkaChallenge()
167 throw new ServiceEntitlementException( in respondToEapAkaChallenge()
192 throw new ServiceEntitlementException( in respondToEapAkaChallenge()
206 throws ServiceEntitlementException { in challengeResponse()
212 throw new ServiceEntitlementException( in challengeResponse()
239 throws ServiceEntitlementException { in performEsimOdsaOperation()
[all …]
H A DEapAkaResponse.java19 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_ICC_AUTHENTICATIO…
31 import com.android.libraries.entitlement.ServiceEntitlementException;
85 throws ServiceEntitlementException { in respondToEapAkaChallenge()
97 throw new ServiceEntitlementException( in respondToEapAkaChallenge()
117 throw new ServiceEntitlementException( in respondToEapAkaChallenge()
126 throw new ServiceEntitlementException( in respondToEapAkaChallenge()
142 throw new ServiceEntitlementException( in respondToEapAkaChallenge()
H A DEapAkaChallenge.java19 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_ICC_AUTHENTICATIO…
28 import com.android.libraries.entitlement.ServiceEntitlementException;
61 throws ServiceEntitlementException { in parseEapAkaChallenge()
66 throw new ServiceEntitlementException( in parseEapAkaChallenge()
75 throw new ServiceEntitlementException( in parseEapAkaChallenge()
H A DEapAkaSecurityContext.java19 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_ICC_AUTHENTICATIO…
28 import com.android.libraries.entitlement.ServiceEntitlementException;
58 throws ServiceEntitlementException { in from()
62 throw new ServiceEntitlementException( in from()
H A DMasterKey.java26 import com.android.libraries.entitlement.ServiceEntitlementException;
65 throws ServiceEntitlementException { in create()
/aosp12/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
H A DImsEntitlementApiTest.java21 import static com.android.libraries.entitlement.ServiceEntitlementException.ERROR_HTTP_STATUS_NOT_S…
42 import com.android.libraries.entitlement.ServiceEntitlementException;
217 new ServiceEntitlementException( in checkEntitlementStatus_httpResponse511_dataStoreReset()
236 new ServiceEntitlementException( in checkEntitlementStatus_httpResponse511_fullAuthnDone()
264 new ServiceEntitlementException( in checkEntitlementStatus_httpResponse503WithDateTime_returnsRetryAfter()
287 new ServiceEntitlementException( in checkEntitlementStatus_httpResponse503WithNumericValue_returnsRetryAfter()
/aosp12/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
H A DHttpClientTest.java32 import com.android.libraries.entitlement.ServiceEntitlementException;
122 ServiceEntitlementException exception = in request_httpGetResponseBadRequest_throwsException()
123 expectThrows(ServiceEntitlementException.class, () -> mHttpClient.request(request)); in request_httpGetResponseBadRequest_throwsException()
127 ServiceEntitlementException.ERROR_HTTP_STATUS_NOT_SUCCESS); in request_httpGetResponseBadRequest_throwsException()
/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
H A DImsEntitlementApi.java43 import com.android.libraries.entitlement.ServiceEntitlementException;
135 } catch (ServiceEntitlementException e) { in checkEntitlementStatus()
136 if (e.getErrorCode() == ServiceEntitlementException.ERROR_HTTP_STATUS_NOT_SUCCESS) { in checkEntitlementStatus()
/aosp12/frameworks/libs/service_entitlement/
H A DAndroid.bp84 "java/com/android/libraries/entitlement/ServiceEntitlementException.java",