Home
last modified time | relevance | path

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

/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DUrlFetcher.kt46 ((network?.openConnection(url) ?: url.openConnection()) as HttpsURLConnection) in fetch()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestUtils.java57 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in assertUrlConnectionFails()
70 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in assertUrlConnectionSucceeds()
/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/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/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpClient.java124 mConnection = (HttpURLConnection) url.openConnection(); in createConnection()
126 mConnection = (HttpURLConnection) network.openConnection(url); in createConnection()
/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.java5616 final HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in run()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java131 URLConnection connection = url.openConnection(); in fromUrl()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java151 when(network.openConnection(url)).thenReturn(connection); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
164 verify(network).openConnection(url); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java100 URLConnection ucon = url.openConnection(); in DownloadFromUrl()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssPsdsDownloader.java149 connection = (HttpURLConnection) (new URL(url)).openConnection(); in doDownload()
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/
DFakeURLStreamHandler.java56 public URLConnection openConnection(URL u) { in openConnection() method in FakeURLStreamHandler
/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/
DPacProxyService.java243 urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java243 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java185 public void openConnection() throws android.telephony.ims.ImsException { in openConnection() method in RcsFeatureManager
DMmTelFeatureConnection.java346 public void openConnection(MmTelFeature.Listener mmTelListener, in openConnection() method in MmTelFeatureConnection
DImsManager.java2162 c.openConnection(listener, ecbmListener, multiEndpointListener); in open()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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.txt22436 HSPLcom/android/okhttp/HttpHandler;->openConnection(Ljava/net/URL;)Ljava/net/URLConnection;
22919 HSPLcom/android/okhttp/internalandroidapi/HttpURLConnectionFactory;->openConnection(Ljava/net/URL;L…
25763 HSPLjava/net/URL;->openConnection()Ljava/net/URLConnection;
30893 HSPLlibcore/io/ClassPathURLStreamHandler;->openConnection(Ljava/net/URL;)Ljava/net/URLConnection;
31023 HSPLlibcore/net/http/HttpURLConnectionFactory;->openConnection(Ljava/net/URL;Ljavax/net/SocketFacto…