Lines Matching refs:response
447 public void appResponse(int response) {
448 if (response == APP_RETURN_WANTED_AS_IS) {
453 sendMessage(CMD_CAPTIVE_PORTAL_APP_FINISHED, response);
485 private final int mHttpResponseCode; // HTTP response code returned from Internet probe.
487 final String detectUrl; // URL where a 204 response code indicates
725 // response, we instead simply fetch the PAC script. This is done for a few reasons:
766 sendNetworkConditionsBroadcast(true /* response received */,
775 * @return a CaptivePortalProbeResult inferred from the HTTP response.
816 * @return a CaptivePortalProbeResult inferred from the HTTP response.
837 // Time how long it takes to get a response to our request
843 // Time how long it takes to get a response to our request
850 // NOTE: We may want to consider an "HTTP/1.0 204" response to be a captive
859 probeType, url, "PAC fetch 200 response interpreted as 204 response.");
862 // Consider 200 response with "Content-length=0" to not be a captive portal.
867 "200 response with Content-length=0 interpreted as 204 response.");
871 // response. Do not use available() as it is unreliable. See http://b/33498325.
874 probeType, url, "Empty 200 response interpreted as 204 response.");
989 * @param responseReceived - whether or not we received a valid HTTP response to our request.