Searched refs:FakeHttpsURLConnection (Results 1 – 2 of 2) sorted by relevance
48 private List<FakeHttpsURLConnection> mConnections = new ArrayList<>();57 FakeHttpsURLConnection connection = in openConnection()58 new FakeHttpsURLConnection(u, mResponses.get(u.toString())); in openConnection()79 public ImmutableList<FakeHttpsURLConnection> getConnections() { in getConnections()84 public static class FakeHttpsURLConnection extends HttpsURLConnection { class in FakeURLStreamHandler88 public FakeHttpsURLConnection(URL url, FakeResponse response) { in FakeHttpsURLConnection() method in FakeURLStreamHandler.FakeHttpsURLConnection
36 import com.android.libraries.entitlement.testing.FakeURLStreamHandler.FakeHttpsURLConnection;149 FakeHttpsURLConnection connection = new FakeHttpsURLConnection(url, responseContent); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()192 FakeHttpsURLConnection connection = sFakeURLStreamHandler.getConnections().get(0); in request_postJson_doNotEscapeForwardSlash()