/packages/modules/Connectivity/framework/src/android/net/ |
D | Network.java | 319 public URLConnection openConnection(URL url) throws IOException { in openConnection() method in Network 332 return openConnection(url, proxy); in openConnection() 346 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { in openConnection() method in Network 372 return urlConnectionFactory.openConnection(url, socketFactory, proxy); in openConnection()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbUtil.java | 39 UsbDeviceConnection connection = openConnection(usbManager, device); in findAllPossibleAndroidDevices() 49 public static UsbDeviceConnection openConnection(UsbManager manager, UsbDevice device) { in openConnection() method in UsbUtil
|
D | UsbHostController.java | 231 UsbDeviceConnection connection = UsbUtil.openConnection(usbManager, device); in isDeviceAoapPossible() 347 UsbDeviceConnection connection = UsbUtil.openConnection(mUsbManager, failedDevice); in onFailure()
|
D | UsbDeviceHandlerResolver.java | 203 UsbDeviceConnection devConnection = UsbUtil.openConnection(mUsbManager, device); in doHandleResolveHandlers() 223 UsbDeviceConnection connection = UsbUtil.openConnection(mUsbManager, device); in requestAoapSwitch()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | NetworkUriImageRequest.java | 60 connection = (HttpURLConnection) url.openConnection(); in isGif() 91 connection = (HttpURLConnection) url.openConnection(); in loadBitmapInternal()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 118 void openConnection(BluetoothAdapter adapter); in openConnection() method 631 openConnection(); in onBonded() 640 private void openConnection() { in openConnection() method in BluetoothDevicePairer 645 mBTConnector.openConnection(adapter); in openConnection()
|
D | BluetoothInputDeviceConnector.java | 158 public void openConnection(BluetoothAdapter adapter) { in openConnection() method in BluetoothInputDeviceConnector
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeSystemFacade.java | 82 when(network.openConnection(any())).then(new Answer<URLConnection>() { in getNetwork() 86 return url.openConnection(); in getNetwork()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/ |
D | HttpClient.java | 118 connection = (HttpsURLConnection) url.openConnection(); in createConnection() 120 connection = (HttpsURLConnection) network.openConnection(url); in createConnection()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | NetworkUtils.java | 43 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); in isNetworkAvailable()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | HttpFetcher.java | 71 conn = (HttpURLConnection) url.openConnection(); in sendRequestAsByteArray() 131 httpUrlConnection = (HttpURLConnection) url.openConnection(); in sendRequestAsInputStream()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | HttpsTransportTest.java | 58 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/ |
D | TlsConnectionAvailableRule.java | 71 HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
/packages/services/Telephony/testapps/TestSliceApp/app/src/main/java/com/google/android/sample/testsliceapp/ |
D | RequestTask.java | 58 HttpURLConnection connection = (HttpURLConnection) network.openConnection(httpUrl); in httpGet()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
D | HttpUrlConnectionBuilder.java | 203 final HttpURLConnection connection = (HttpURLConnection) mUrl.openConnection(); in build()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnection.java | 47 mConnection = (HttpsURLConnection) network.openConnection(url); in HttpsServiceConnection()
|
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/ |
D | ConnectivityTestActivity.java | 87 urlConnection = (HttpURLConnection) targetURL.openConnection(); in httpRequest()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | TestNetworkStackService.kt | 100 override fun openConnection(url: URL) = MockConnection( in getInputStream() method
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | AggregateReportSenderTest.java | 112 Mockito.doReturn(mockConnection).when(spyUrl).openConnection(); in testCreateHttpUrlConnection()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/ |
D | HttpClientTest.java | 181 when(network.openConnection(url)).thenReturn(connection); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork() 194 verify(network).openConnection(url); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
|
D | FakeURLStreamHandler.java | 57 public URLConnection openConnection(URL u) { in openConnection() method in FakeURLStreamHandler
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | ServerAuctionE2ETestBase.java | 58 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in makeWarmUpNetworkCall()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.kt | 112 val c: HttpURLConnection = u.openConnection() as HttpURLConnection in createConnection()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | CommonUtils.java | 87 connection = (HttpsURLConnection) url.openConnection(); in connectToURL()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/ |
D | HttpClient.java | 62 URLConnection urlConnection = url.openConnection(); in setup()
|