Home
last modified time | relevance | path

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

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java111 void openConnection(BluetoothAdapter adapter); in openConnection() method
577 openConnection(); in onBonded()
580 private void openConnection() { in openConnection() method in BluetoothDevicePairer
585 btConnector.openConnection(adapter); in openConnection()
DBluetoothInputDeviceConnector.java155 public void openConnection(BluetoothAdapter adapter) { in openConnection() method in BluetoothInputDeviceConnector
DBluetoothA2dpConnector.java122 public void openConnection(BluetoothAdapter adapter) { in openConnection() method in BluetoothA2dpConnector
/packages/modules/Cronet/api/
Dlint-baseline.txt8 AndroidUri: org.chromium.net.CronetEngine#openConnection(java.net.URL):
9 …net.Uri instead of java.net.URL (method org.chromium.net.CronetEngine.openConnection(java.net.URL))
10 AndroidUri: org.chromium.net.CronetEngine#openConnection(java.net.URL) parameter #0:
11 …tead of java.net.URL (parameter url in org.chromium.net.CronetEngine.openConnection(java.net.URL u…
92 MissingNullability: org.chromium.net.CronetEngine#openConnection(java.net.URL):
93 Missing nullability on method `openConnection` return
94 MissingNullability: org.chromium.net.CronetEngine#openConnection(java.net.URL) parameter #0:
95 Missing nullability on parameter `url` in method `openConnection`
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DNetworkUriImageRequest.java60 connection = (HttpURLConnection) url.openConnection(); in isGif()
91 connection = (HttpURLConnection) url.openConnection(); in loadBitmapInternal()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java39 UsbDeviceConnection connection = openConnection(usbManager, device); in findAllPossibleAndroidDevices()
49 public static UsbDeviceConnection openConnection(UsbManager manager, UsbDevice device) { in openConnection() method in UsbUtil
DUsbDeviceHandlerResolver.java173 UsbDeviceConnection devConnection = UsbUtil.openConnection(mUsbManager, device); in doHandleResolveHandlers()
193 UsbDeviceConnection connection = UsbUtil.openConnection(mUsbManager, device); in requestAoapSwitch()
DUsbHostController.java208 UsbDeviceConnection connection = UsbUtil.openConnection(usbManager, device); in isDeviceAoapPossible()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java82 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/
DHttpFetcher.java71 conn = (HttpURLConnection) url.openConnection(); in sendRequestAsByteArray()
131 httpUrlConnection = (HttpURLConnection) url.openConnection(); in sendRequestAsInputStream()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java216 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/
DNetworkMonitorTest.java515 }).when(mCleartextDnsNetwork).openConnection(any()); in setUp()
732 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_meteredNetwork()
752 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()
1712 verify(mCleartextDnsNetwork, never()).openConnection(any());
2456 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any());
2457 verify(mCleartextDnsNetwork, atLeastOnce()).openConnection(any());
2470 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any());
2471 verify(mCleartextDnsNetwork, atLeastOnce()).openConnection(any());
2488 verify(mCleartextDnsNetwork, times(4)).openConnection(any());
2498 verify(mCleartextDnsNetwork, times(4)).openConnection(any());
/packages/apps/TV/src/com/android/tv/util/
DNetworkUtils.java43 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); in isNetworkAvailable()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilder.java203 final HttpURLConnection connection = (HttpURLConnection) mUrl.openConnection(); in build()
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/
DConnectivityTestActivity.java87 urlConnection = (HttpURLConnection) targetURL.openConnection(); in httpRequest()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java131 HttpURLConnection c = (HttpURLConnection) u.openConnection(); in createConnection()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiDownloadReceiver.java107 connection = (HttpURLConnection) url.openConnection(); in doInBackground()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunTunerHal.java136 connection = url.openConnection(); in connectAndOpenInputStream()
DHdHomeRunChannelScan.java69 connection = (HttpURLConnection) url.openConnection(); in scan()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java106 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in getCertificateList()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java210 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in makeHttpsRequest()
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java178 URLConnection urlConnection = new URL(uriString).openConnection(); in getUrlConnection()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DRcsFeatureController.java380 manager.openConnection(); in setupConnectionToService()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java127 connection = (HttpURLConnection) url.openConnection(); in getOrPost()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt112 override fun openConnection(url: URL?): URLConnection { in openConnection() method in com.android.captiveportallogin.DownloadServiceTest.TestNetwork

12