Home
last modified time | relevance | path

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

/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/core/java/android/net/
DNetwork.java327 public URLConnection openConnection(URL url) throws IOException { in openConnection() method in Network
340 return openConnection(url, proxy); in openConnection()
354 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { in openConnection() method in Network
358 return mUrlConnectionFactory.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/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/apex/java/android/media/
DMedia2HTTPConnection.java186 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); in seekTo()
188 mConnection = (HttpURLConnection)url.openConnection(); in seekTo()
DMediaPlayer2.java4869 final HttpURLConnection connection = (HttpURLConnection) url.openConnection();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java47 mConnection = (HttpsURLConnection) network.openConnection(url); in HttpsServiceConnection()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java251 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); in seekTo()
253 mConnection = (HttpURLConnection)url.openConnection(); in seekTo()
DMediaPlayer.java5273 final HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in run()
/frameworks/base/services/core/java/com/android/server/location/
DGpsPsdsDownloader.java122 connection = (HttpURLConnection) (new URL(url)).openConnection(); in doDownload()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java100 URLConnection ucon = url.openConnection(); in DownloadFromUrl()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DURLFetcher.java99 connection = (HttpURLConnection) url.openConnection(); in getWebContentFromUrl()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java120 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp()
182 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.java219 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java245 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java276 urlConnection = (HttpsURLConnection) mNetwork.openConnection(mUrl); in performTlsConnection()
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java681 public void openConnection(MmTelFeature.Listener listener) throws RemoteException { in openConnection() method in MmTelFeatureConnection
DImsManager.java1695 mMmTelFeatureConnection.openConnection(listener); in open()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...