/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/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 111 void openConnection(BluetoothAdapter adapter); in openConnection() method 598 openConnection(); in onBonded() 601 private void openConnection() { in openConnection() method in BluetoothDevicePairer 606 btConnector.openConnection(adapter); in openConnection()
|
D | BluetoothInputDeviceConnector.java | 155 public void openConnection(BluetoothAdapter adapter) { in openConnection() method in BluetoothInputDeviceConnector
|
D | BluetoothA2dpConnector.java | 167 public void openConnection(BluetoothAdapter adapter) { in openConnection() method in BluetoothA2dpConnector
|
/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/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 | UsbDeviceHandlerResolver.java | 203 UsbDeviceConnection devConnection = UsbUtil.openConnection(mUsbManager, device); in doHandleResolveHandlers() 223 UsbDeviceConnection connection = UsbUtil.openConnection(mUsbManager, device); in requestAoapSwitch()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | ServerInterface.java | 62 HttpURLConnection con = (HttpURLConnection) url.openConnection(); in requestSignedCertificates() 114 HttpURLConnection con = (HttpURLConnection) url.openConnection(); in fetchGeek()
|
/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/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/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 216 final URLConnection ucon = url.openConnection(); in persistContentToScratchSpace() 273 final URLConnection ucon = url.openConnection(); in persistContent()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 536 }).when(mCleartextDnsNetwork).openConnection(any()); in setUp() 753 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_meteredNetwork() 773 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig() 1800 verify(mCleartextDnsNetwork, never()).openConnection(any()); 2592 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any()); 2593 verify(mCleartextDnsNetwork, atLeastOnce()).openConnection(any()); 2606 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any()); 2607 verify(mCleartextDnsNetwork, atLeastOnce()).openConnection(any()); 2624 verify(mCleartextDnsNetwork, times(4)).openConnection(any()); 2634 verify(mCleartextDnsNetwork, times(4)).openConnection(any()); [all …]
|
/packages/apps/TV/src/com/android/tv/util/ |
D | NetworkUtils.java | 43 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); in isNetworkAvailable()
|
/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()
|
D | HttpsServiceConnectionTest.java | 72 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | CommonUtils.java | 71 connection = (HttpsURLConnection) url.openConnection(); in connectToURL()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnection.java | 47 mConnection = (HttpsURLConnection) network.openConnection(url); in HttpsServiceConnection()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
D | HttpUrlConnectionBuilder.java | 203 final HttpURLConnection connection = (HttpURLConnection) mUrl.openConnection(); in build()
|
/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 | 73 override fun openConnection(url: URL): URLConnection { in openConnection() method in com.android.server.net.integrationtests.TestNetworkStackService
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | CallComposerPictureTransfer.java | 239 (HttpURLConnection) network.openConnection(new URL(uploadUrl)); in prepareInitialPost() 258 (HttpURLConnection) network.openConnection(new URL(imageUrl)); in prepareImageDownloadRequest()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.java | 131 HttpURLConnection c = (HttpURLConnection) u.openConnection(); in createConnection()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunTunerHal.java | 136 connection = url.openConnection(); in connectAndOpenInputStream()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | WifiDownloadReceiver.java | 107 connection = (HttpURLConnection) url.openConnection(); in doInBackground()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuServerConnectionTest.java | 124 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp() 267 doThrow(new IOException()).when(mNetwork).openConnection(any(URL.class)); in verifyInitAndNetworkOpenURLConnectionFailed()
|