Home
last modified time | relevance | path

Searched refs:redirectUrl (Results 1 – 19 of 19) sorted by relevance

/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
DCaptivePortalProbeResult.java63 public final String redirectUrl; // Redirect destination returned from Internet probe. field in CaptivePortalProbeResult
90 public CaptivePortalProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CaptivePortalProbeResult() argument
92 this(httpResponseCode, redirectUrl, detectUrl, null, probeType); in CaptivePortalProbeResult()
95 public CaptivePortalProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CaptivePortalProbeResult() argument
99 this.redirectUrl = redirectUrl; in CaptivePortalProbeResult()
/packages/modules/NetworkStack/src/android/net/captiveportal/
DCapportApiProbeResult.java34 this(result.mHttpResponseCode, result.redirectUrl, result.detectUrl, capportData, in CapportApiProbeResult()
38 public CapportApiProbeResult(int httpResponseCode, @Nullable String redirectUrl, in CapportApiProbeResult() argument
41 super(httpResponseCode, redirectUrl, detectUrl, probeType); in CapportApiProbeResult()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java173 public static ValidationResult validationResultToEnum(int result, String redirectUrl) { in validationResultToEnum() argument
178 } else if (redirectUrl != null) { in validationResultToEnum()
224 public void setValidationResult(int result, String redirectUrl) { in setValidationResult() argument
225 mStatsBuilder.setValidationResult(validationResultToEnum(result, redirectUrl)); in setValidationResult()
/packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/
DCaptivePortalProbeSpecTest.java116 final String redirectUrl = "https://google.com/probe"; in testParseSpecOrNull_UsesSpec() local
118 specUrl + "@@/@@302@@/@@" + redirectUrl); in testParseSpecOrNull_UsesSpec()
122 assertSuccess(spec.getResult(302, redirectUrl)); in testParseSpecOrNull_UsesSpec()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java742 result.redirectUrl); in notifyNetworkTested()
829 private void recordValidationResult(int result, String redirectUrl) { in recordValidationResult() argument
833 mNetworkValidationMetrics.setValidationResult(result, redirectUrl); in recordValidationResult()
1178 (useRedirectUrlForPortal() && makeURL(probeRes.redirectUrl) != null) in processMessage()
1179 ? probeRes.redirectUrl : probeRes.detectUrl; in processMessage()
1566 probeResult.redirectUrl); in processMessage()
2337 + " RedirectUrl=" + result.redirectUrl in isCaptivePortal()
2428 String redirectUrl = null; in sendHttpProbe() local
2444 redirectUrl = urlConnection.getHeaderField("location"); in sendHttpProbe()
2517 probeResult = new CaptivePortalProbeResult(httpResponseCode, redirectUrl, in sendHttpProbe()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java1744 final String redirectUrl = bundle.getString(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL);
1745 assertEquals(TEST_HTTP_URL, redirectUrl);
2328 final String redirectUrl = bundle.getString(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL);
2329 assertEquals(expectedUrl, redirectUrl);
2618 private NetworkMonitor runNetworkTest(int testResult, int probesSucceeded, String redirectUrl)
2621 probesSucceeded, redirectUrl);
2625 int testResult, int probesSucceeded, String redirectUrl) throws RemoteException {
2628 verifyNetworkTested(testResult, probesSucceeded, redirectUrl);
2638 private void verifyNetworkTested(int testResult, int probesSucceeded, String redirectUrl)
2642 matchNetworkTestResultParcelable(testResult, probesSucceeded, redirectUrl));
[all …]
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DNetworkTestResultParcelable.aidl24 String redirectUrl;
DINetworkMonitorCallbacks.aidl22 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl) = 1; in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
DNetworkTestResultParcelable.aidl24 String redirectUrl;
DINetworkMonitorCallbacks.aidl22 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl) = 1; in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DNetworkTestResultParcelable.aidl24 String redirectUrl;
DINetworkMonitorCallbacks.aidl22 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl) = 1; in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DNetworkTestResultParcelable.aidl44 String redirectUrl;
DINetworkMonitorCallbacks.aidl31 void notifyNetworkTested(int testResult, @nullable String redirectUrl) = 1; in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
DINetworkMonitorCallbacks.aidl21 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl); in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/
DINetworkMonitorCallbacks.aidl4 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl); in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
DINetworkMonitorCallbacks.aidl4 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl); in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DINetworkMonitorCallbacks.aidl22 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl); in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
DINetworkMonitorCallbacks.aidl4 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl); in notifyNetworkTested() argument