Searched refs:sReasons (Results 1 – 2 of 2) sorted by relevance
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 73 private static Hashtable<Integer, String> sReasons; field in TestWebServer 455 if (sReasons == null) { in createResponse() 456 sReasons = new Hashtable<Integer, String>(); in createResponse() 457 sReasons.put(HttpStatus.SC_UNAUTHORIZED, "Unauthorized"); in createResponse() 458 sReasons.put(HttpStatus.SC_NOT_FOUND, "Not Found"); in createResponse() 459 sReasons.put(HttpStatus.SC_FORBIDDEN, "Forbidden"); in createResponse() 460 sReasons.put(HttpStatus.SC_MOVED_TEMPORARILY, "Moved Temporarily"); in createResponse() 464 reason = sReasons.get(status); in createResponse()
|
D | CtsTestServer.java | 139 private static Hashtable<Integer, String> sReasons; field in CtsTestServer 165 if (sReasons == null) { in getReasonString() 166 sReasons = new Hashtable<Integer, String>(); in getReasonString() 167 sReasons.put(HttpStatus.SC_UNAUTHORIZED, "Unauthorized"); in getReasonString() 168 sReasons.put(HttpStatus.SC_NOT_FOUND, "Not Found"); in getReasonString() 169 sReasons.put(HttpStatus.SC_FORBIDDEN, "Forbidden"); in getReasonString() 170 sReasons.put(HttpStatus.SC_MOVED_TEMPORARILY, "Moved Temporarily"); in getReasonString() 172 return sReasons.get(status); in getReasonString()
|