Home
last modified time | relevance | path

Searched refs:openConnection (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/net/
DNetwork.java320 public URLConnection openConnection(URL url) throws IOException { in openConnection() method in Network
333 return openConnection(url, proxy); in openConnection()
347 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { in openConnection() method in Network
373 return urlConnectionFactory.openConnection(url, socketFactory, proxy); in openConnection()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbDeviceStateController.java116 UsbDeviceConnection conn = openConnection(device); in doHandleDeviceReset()
144 UsbDeviceConnection connection = openConnection(device); in doHandleAoapStart()
171 UsbDeviceConnection connNow = openConnection(device); in resetUsbDeviceAndConfirmModeChange()
246 public UsbDeviceConnection openConnection(UsbDevice device) { in openConnection() method in UsbDeviceStateController
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestUtils.java55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in assertUrlConnectionFails()
68 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in assertUrlConnectionSucceeds()
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java84 protected URLConnection openConnection(URL url) { in testFromUrl()
95 protected URLConnection openConnection(URL url) throws IOException { in testFromUrl()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java99 .openConnection(); in testUrlConnection()
123 .openConnection(); in testUrlConnectionv6()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsTransportTest.java56 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
DHttpsServiceConnectionTest.java70 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java252 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); in seekTo()
254 mConnection = (HttpURLConnection)url.openConnection(); in seekTo()
DMediaPlayer.java5273 final HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in run()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java47 mConnection = (HttpsURLConnection) network.openConnection(url); in HttpsServiceConnection()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java131 URLConnection connection = url.openConnection(); in fromUrl()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt74 override fun openConnection(url: URL): URLConnection { in openConnection() method in com.android.server.net.integrationtests.TestNetworkStackService
/frameworks/base/services/core/java/com/android/server/location/
DGpsPsdsDownloader.java122 connection = (HttpURLConnection) (new URL(url)).openConnection(); in doDownload()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DURLFetcher.java99 connection = (HttpURLConnection) url.openConnection(); in getWebContentFromUrl()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java100 URLConnection ucon = url.openConnection(); in DownloadFromUrl()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java121 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp()
261 doThrow(new IOException()).when(mNetwork).openConnection(any(URL.class)); in verifyInitAndNetworkOpenURLConnectionFailed()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java267 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java213 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get()
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java350 public void openConnection(MmTelFeature.Listener listener) throws RemoteException { in openConnection() method in MmTelFeatureConnection
DRcsFeatureManager.java185 public void openConnection() throws android.telephony.ims.ImsException { in openConnection() method in RcsFeatureManager
DImsManager.java1611 mMmTelFeatureConnection.openConnection(listener); in open()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java244 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java285 urlConnection = mNetwork.openConnection(mUrl); in performTlsConnection()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17102 method public java.net.URLConnection openConnection(java.net.URL) throws java.io.IOException;
43406 method public java.net.URLConnection openConnection() throws java.io.IOException;
43407 method public java.net.URLConnection openConnection(java.net.Proxy) throws java.io.IOException;
43507 …method protected abstract java.net.URLConnection openConnection(java.net.URL) throws java.io.IOExc…
43508 …method protected java.net.URLConnection openConnection(java.net.URL, java.net.Proxy) throws java.i…
55040 …method public abstract void openConnection(org.apache.http.conn.OperatedClientConnection, org.apac…
56212 …method public void openConnection(org.apache.http.conn.OperatedClientConnection, org.apache.http.H…
/frameworks/base/config/
Dboot-image-profile.txt19887 HSPLcom/android/ims/MmTelFeatureConnection;->openConnection(Landroid/telephony/ims/feature/MmTelFea…
24754 HSPLcom/android/okhttp/HttpHandler;->openConnection(Ljava/net/URL;)Ljava/net/URLConnection;
27341 HSPLjava/net/URL;->openConnection()Ljava/net/URLConnection;
30677 HSPLlibcore/io/ClassPathURLStreamHandler;->openConnection(Ljava/net/URL;)Ljava/net/URLConnection;
42209 HSPLandroid/net/Network;->openConnection(Ljava/net/URL;Ljava/net/Proxy;)Ljava/net/URLConnection;
42210 HSPLandroid/net/Network;->openConnection(Ljava/net/URL;)Ljava/net/URLConnection;

12