Home
last modified time | relevance | path

Searched refs:httpStatus (Results 1 – 4 of 4) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRkpdExceptionTest.java45 for (int httpStatus = 500; httpStatus < 600; ++httpStatus) { in handlesServerErrors()
47 httpStatus); in handlesServerErrors()
50 assertWithMessage(httpStatus + "should have been a server error") in handlesServerErrors()
58 for (int httpStatus = 400; httpStatus < 500; ++httpStatus) { in handlesClientErrors()
60 httpStatus); in handlesClientErrors()
62 if (httpStatus == 444) { in handlesClientErrors()
65 assertWithMessage(httpStatus + "should have been a client error") in handlesClientErrors()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/
DRkpdException.java61 public static RkpdException createFromHttpError(int httpStatus) { in createFromHttpError() argument
62 String message = "HTTP error status encountered: " + httpStatus; in createFromHttpError()
63 if (httpStatus == HTTP_STATUS_DEVICE_NOT_REGISTERED) { in createFromHttpError()
66 if ((httpStatus / 100) == HTTP_CLIENT_ERROR_HUNDREDS_DIGIT) { in createFromHttpError()
69 if ((httpStatus / 100) == HTTP_SERVER_ERROR_HUNDREDS_DIGIT) { in createFromHttpError()
/packages/services/Car/tests/BugReportApp/libs/
Dopencensus-contrib-http-util-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dopencensus-contrib-http-util-0.24.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...