Home
last modified time | relevance | path

Searched refs:RkpProxyException (Results 1 – 5 of 5) sorted by relevance

/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/
DRkpProxyExceptionTest.java20 import android.security.rkp.service.RkpProxyException;
32 assertThat(new RkpProxyException(error, "").getError()).isEqualTo(error); in testGetError()
38 Exception unknown = new RkpProxyException(0, "oh no"); in testGetMessage()
42 Exception permanent = new RkpProxyException(3, "fail"); in testGetMessage()
49 Exception e = new RkpProxyException( in testGetCause()
50 RkpProxyException.ERROR_UNKNOWN, "", new Exception("nope")); in testGetCause()
56 Exception e = new RkpProxyException(RkpProxyException.ERROR_UNKNOWN, ""); in testGetCauseNull()
DRegistrationProxyTests.java51 import android.security.rkp.service.RkpProxyException;
425 assertThat(error).isInstanceOf(RkpProxyException.class); in getKeyAsyncHandleError()
439 RkpProxyException.ERROR_UNKNOWN, in getKeyAsyncCorrectlyMapsErrorCodes()
441 RkpProxyException.ERROR_PENDING_INTERNET_CONNECTIVITY, in getKeyAsyncCorrectlyMapsErrorCodes()
443 RkpProxyException.ERROR_REQUIRES_SECURITY_PATCH, in getKeyAsyncCorrectlyMapsErrorCodes()
445 RkpProxyException.ERROR_PERMANENT); in getKeyAsyncCorrectlyMapsErrorCodes()
460 final RkpProxyException exception = (RkpProxyException) errorReceiver.waitForError(); in getKeyAsyncCorrectlyMapsErrorCodes()
/packages/modules/RemoteKeyProvisioning/system-server/src/android/security/rkp/service/
DRkpProxyException.java34 public final class RkpProxyException extends Exception { class
79 public RkpProxyException(@ErrorCode int error, @NonNull String message) { in RkpProxyException() method in RkpProxyException
89 public RkpProxyException(@ErrorCode int error, @NonNull String message, in RkpProxyException() method in RkpProxyException
DRegistrationProxy.java270 new RkpProxyException(convertGetKeyError(error), description))); in getKeyAsync()
345 return RkpProxyException.ERROR_REQUIRES_SECURITY_PATCH; in convertGetKeyError()
347 return RkpProxyException.ERROR_PENDING_INTERNET_CONNECTIVITY; in convertGetKeyError()
349 return RkpProxyException.ERROR_PERMANENT; in convertGetKeyError()
351 return RkpProxyException.ERROR_UNKNOWN; in convertGetKeyError()
354 return RkpProxyException.ERROR_UNKNOWN; in convertGetKeyError()
/packages/modules/RemoteKeyProvisioning/system-server/api/
Dsystem-server-current.txt15 public final class RkpProxyException extends java.lang.Exception {
16 ctor public RkpProxyException(int, @NonNull String);
17 ctor public RkpProxyException(int, @NonNull String, @NonNull Throwable);