Home
last modified time | relevance | path

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

12

/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/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DHttpResponse.kt26 val redirectUrl: String? = null constant in com.android.server.net.integrationtests.HttpResponse
33 redirectUrl = null)
40 writeString(redirectUrl) in writeToParcel()
/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.java751 result.redirectUrl); in notifyNetworkTested()
838 private void recordValidationResult(int result, String redirectUrl) { in recordValidationResult() argument
842 mNetworkValidationMetrics.setValidationResult(result, redirectUrl); in recordValidationResult()
1188 (useRedirectUrlForPortal() && makeURL(probeRes.redirectUrl) != null) in processMessage()
1189 ? probeRes.redirectUrl : probeRes.detectUrl; in processMessage()
1251 mLastPortalProbeResult.redirectUrl); in enter()
1598 mLastPortalProbeResult.redirectUrl); in processMessage()
1602 probeResult.redirectUrl); in processMessage()
2373 + " RedirectUrl=" + result.redirectUrl in isCaptivePortal()
2464 String redirectUrl = null; in sendHttpProbe() local
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java546 String redirectUrl = ((Bundle) msg.obj).getString(REDIRECT_URL_KEY); in handleMessage() local
550 + redirectUrl); in handleMessage()
554 if (null != redirectUrl) { in handleMessage()
555 uri = Uri.parse(redirectUrl); in handleMessage()
558 Log.wtf(LOG_TAG, "Surprising URI : " + redirectUrl, e); in handleMessage()
1076 protected void networkStatus(int status, String redirectUrl) { in networkStatus() argument
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java1873 final String redirectUrl = bundle.getString(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL);
1874 assertEquals(TEST_HTTP_URL, redirectUrl);
2464 final String redirectUrl = bundle.getString(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL);
2465 assertEquals(expectedUrl, redirectUrl);
2862 private NetworkMonitor runNetworkTest(int testResult, int probesSucceeded, String redirectUrl)
2865 probesSucceeded, redirectUrl);
2869 int testResult, int probesSucceeded, String redirectUrl) throws RemoteException {
2872 verifyNetworkTested(testResult, probesSucceeded, redirectUrl);
2882 private void verifyNetworkTested(int testResult, int probesSucceeded, String redirectUrl)
2886 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/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/aidl_api/networkstack-aidl-interfaces/8/android/net/
DNetworkTestResultParcelable.aidl24 String redirectUrl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/
DNetworkTestResultParcelable.aidl25 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.aidl26 String redirectUrl;
DINetworkMonitorCallbacks.aidl23 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl) = 1; in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/
DNetworkTestResultParcelable.aidl26 String redirectUrl;
DINetworkMonitorCallbacks.aidl23 oneway void notifyNetworkTested(int testResult, @nullable String redirectUrl) = 1; in notifyNetworkTested() argument
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DNetworkTestResultParcelable.aidl45 String redirectUrl;
/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/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/4/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

12