Home
last modified time | relevance | path

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

12

/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.java58 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
DHttpsServiceConnectionTest.java72 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.java5274 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/tests/net/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt72 override fun openConnection(url: URL): URLConnection { in openConnection() method in com.android.server.net.integrationtests.TestNetworkStackService
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java131 URLConnection connection = url.openConnection(); in fromUrl()
/frameworks/base/services/core/java/com/android/server/location/gnss/
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/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java267 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in downloadUrl()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java125 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp()
268 doThrow(new IOException()).when(mNetwork).openConnection(any(URL.class)); in verifyInitAndNetworkOpenURLConnectionFailed()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java219 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java184 public void openConnection() throws android.telephony.ims.ImsException { in openConnection() method in RcsFeatureManager
DMmTelFeatureConnection.java350 public void openConnection(MmTelFeature.Listener listener) throws RemoteException { in openConnection() method in MmTelFeatureConnection
DImsManager.java1610 mMmTelFeatureConnection.openConnection(listener); in open()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java243 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java297 urlConnection = mNetwork.openConnection(mUrl); in performTlsConnection()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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/api/
Dcurrent.txt30240 method public java.net.URLConnection openConnection(java.net.URL) throws java.io.IOException;
30241 …method public java.net.URLConnection openConnection(java.net.URL, java.net.Proxy) throws java.io.I…
66416 method public java.net.URLConnection openConnection() throws java.io.IOException;
66417 method public java.net.URLConnection openConnection(java.net.Proxy) throws java.io.IOException;
66518 …method protected abstract java.net.URLConnection openConnection(java.net.URL) throws java.io.IOExc…
66519 …method protected java.net.URLConnection openConnection(java.net.URL, java.net.Proxy) throws java.i…

12