Home
last modified time | relevance | path

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

/frameworks/base/tests/net/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()
DTestNetworkStackService.kt81 doReturn(response.redirectUrl).`when`(connection).getHeaderField("location") in openConnection()
/frameworks/base/core/java/android/net/
DNetworkAgent.java488 String redirectUrl = ((Bundle) msg.obj).getString(REDIRECT_URL_KEY); in handleMessage() local
492 + redirectUrl); in handleMessage()
496 if (null != redirectUrl) { in handleMessage()
497 uri = Uri.parse(redirectUrl); in handleMessage()
500 Log.wtf(LOG_TAG, "Surprising URI : " + redirectUrl, e); in handleMessage()
852 protected void networkStatus(int status, String redirectUrl) { in networkStatus() argument
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java644 public void networkStatus(int status, String redirectUrl) { in makeNetworkAgent()
645 mRedirectUrl = redirectUrl; in makeNetworkAgent()
670 p.redirectUrl = mNmValidationRedirectUrl; in onValidationRequested()
738 public void connectWithCaptivePortal(String redirectUrl, boolean isStrictMode) { in connectWithCaptivePortal() argument
739 setNetworkPortal(redirectUrl, isStrictMode); in connectWithCaptivePortal()
781 void setNetworkPortal(String redirectUrl, boolean isStrictMode) { in setNetworkPortal() argument
783 mNmValidationRedirectUrl = redirectUrl; in setNetworkPortal()
2705 String redirectUrl = "http://android.com/path"; in testCaptivePortalOnPartialConnectivity() local
2706 mWiFiNetworkAgent.connectWithCaptivePortal(redirectUrl, false /* isStrictMode */); in testCaptivePortalOnPartialConnectivity()
2708 assertEquals(mWiFiNetworkAgent.waitForRedirectUrl(), redirectUrl); in testCaptivePortalOnPartialConnectivity() local
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2890 @NonNull NetworkAgentInfo nai, int testResult, @NonNull String redirectUrl) { in handleNetworkTested() argument
2901 final String logMsg = !TextUtils.isEmpty(redirectUrl) in handleNetworkTested()
2902 ? " with redirect to " + redirectUrl in handleNetworkTested()
2941 redirectUrlBundle.putString(NetworkAgent.REDIRECT_URL_KEY, redirectUrl); in handleNetworkTested()
3010 public void notifyNetworkTested(int testResult, @Nullable String redirectUrl) { in notifyNetworkTested() argument
3024 mNetId, p.result, p.timestampMillis, p.redirectUrl)); in notifyNetworkTestedWithExtras()
7919 int netId, int testResult, long timestampMillis, @Nullable String redirectUrl) { in NetworkTestedResults() argument
7923 mRedirectUrl = redirectUrl; in NetworkTestedResults()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2991 private void onNetworkStatusChanged(int status, int cid, String redirectUrl) { in onNetworkStatusChanged() argument
2992 if (!TextUtils.isEmpty(redirectUrl)) { in onNetworkStatusChanged()
2994 intent.putExtra(TelephonyManager.EXTRA_REDIRECTION_URL, redirectUrl); in onNetworkStatusChanged()
2996 log("Notify carrier signal receivers with redirectUrl: " + redirectUrl); in onNetworkStatusChanged()