/frameworks/base/core/java/android/net/captiveportal/ |
D | CaptivePortalProbeResult.java | 35 public final String redirectUrl; // Redirect destination returned from Internet probe. field in CaptivePortalProbeResult 45 public CaptivePortalProbeResult(int httpResponseCode, String redirectUrl, String detectUrl) { in CaptivePortalProbeResult() argument 46 this(httpResponseCode, redirectUrl, detectUrl, null); in CaptivePortalProbeResult() 49 public CaptivePortalProbeResult(int httpResponseCode, String redirectUrl, String detectUrl, in CaptivePortalProbeResult() argument 52 this.redirectUrl = redirectUrl; in CaptivePortalProbeResult()
|
/frameworks/base/tests/net/java/android/net/captiveportal/ |
D | CaptivePortalProbeSpecTest.java | 117 final String redirectUrl = "https://google.com/probe"; in testParseSpecOrNull_UsesSpec() local 119 specUrl + "@@/@@302@@/@@" + redirectUrl); in testParseSpecOrNull_UsesSpec() 123 assertSuccess(spec.getResult(302, redirectUrl)); in testParseSpecOrNull_UsesSpec()
|
/frameworks/base/core/java/android/net/ |
D | NetworkAgent.java | 277 String redirectUrl = ((Bundle)msg.obj).getString(REDIRECT_URL_KEY); in handleMessage() local 280 (msg.arg1 == VALID_NETWORK ? "VALID, " : "INVALID, ") + redirectUrl); in handleMessage() 282 networkStatus(msg.arg1, redirectUrl); in handleMessage() 427 protected void networkStatus(int status, String redirectUrl) { in networkStatus() argument
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkMonitor.java | 642 notifyNetworkTestResultInvalid(probeResult.redirectUrl); in processMessage() 649 notifyNetworkTestResultInvalid(probeResult.redirectUrl); in processMessage() 1075 String redirectUrl = null; in sendHttpProbe() local 1094 redirectUrl = urlConnection.getHeaderField("location"); in sendHttpProbe() 1146 return new CaptivePortalProbeResult(httpResponseCode, redirectUrl, url.toString()); in sendHttpProbe() 1148 return probeSpec.getResult(httpResponseCode, redirectUrl); in sendHttpProbe()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 2148 protected void networkStatus(int status, String redirectUrl) { in networkStatus() argument 2149 if(!TextUtils.isEmpty(redirectUrl)) { in networkStatus() 2150 log("validation status: " + status + " with redirection URL: " + redirectUrl); in networkStatus() 2155 redirectUrl); in networkStatus()
|
D | DcTracker.java | 3130 private void onDataConnectionRedirected(String redirectUrl) { in onDataConnectionRedirected() argument 3131 if (!TextUtils.isEmpty(redirectUrl)) { in onDataConnectionRedirected() 3133 intent.putExtra(TelephonyIntents.EXTRA_REDIRECTION_URL_KEY, redirectUrl); in onDataConnectionRedirected() 3135 log("Notify carrier signal receivers with redirectUrl: " + redirectUrl); in onDataConnectionRedirected()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 434 public void networkStatus(int status, String redirectUrl) { in MockNetworkAgent() 435 mRedirectUrl = redirectUrl; in MockNetworkAgent() 549 public void connectWithCaptivePortal(String redirectUrl) { in connectWithCaptivePortal() argument 551 mWrappedNetworkMonitor.gen204ProbeRedirectUrl = redirectUrl; in connectWithCaptivePortal()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2234 final String redirectUrl = (msg.obj instanceof String) ? (String) msg.obj : ""; in maybeHandleNetworkMonitorMessage() local 2237 final String logMsg = !TextUtils.isEmpty(redirectUrl) in maybeHandleNetworkMonitorMessage() 2238 ? " with redirect to " + redirectUrl in maybeHandleNetworkMonitorMessage() 2257 redirectUrlBundle.putString(NetworkAgent.REDIRECT_URL_KEY, redirectUrl); in maybeHandleNetworkMonitorMessage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 4564 protected void networkStatus(int status, String redirectUrl) { in networkStatus() argument
|