/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | NetworkFragment.java | 221 HttpsURLConnection connection = null; in downloadUrl() local 224 connection = (HttpsURLConnection) url.openConnection(); in downloadUrl() 226 connection.setReadTimeout(3000); in downloadUrl() 228 connection.setConnectTimeout(3000); in downloadUrl() 230 connection.setRequestMethod("GET"); in downloadUrl() 233 connection.setDoInput(true); in downloadUrl() 235 connection.connect(); in downloadUrl() 237 int responseCode = connection.getResponseCode(); in downloadUrl() 242 stream = connection.getInputStream(); in downloadUrl() 254 if (connection != null) { in downloadUrl() [all …]
|
/development/samples/browseable/BasicNetworking/ |
D | _index.jd | 9 a network connection, and if so, what type of connection it is. 11 … on the active connection, and then the connection type is printed to an on-screen console.
|
/development/samples/training/network-usage/ |
D | README.txt | 11 when any network connection is available, or only when a Wi-Fi connection is available. 13 -- Detects when there is a change in the device's connection status and responds accordingly. For e… 14 the device loses its network connection, the app will not attempt to download the feed.
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnService.java | 118 private void startConnection(final ToyVpnConnection connection) { in startConnection() argument 120 final Thread thread = new Thread(connection, "ToyVpnThread"); in startConnection() 124 connection.setConfigureIntent(mConfigureIntent); in startConnection() 125 connection.setOnEstablishListener(tunInterface -> { in startConnection() 141 private void setConnection(final Connection connection) { in setConnection() argument 142 final Connection oldConnection = mConnection.getAndSet(connection); in setConnection()
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbTestActivity.java | 132 UsbDeviceConnection connection = mManager.openDevice(device); in setAdbInterface() local 133 if (connection != null) { in setAdbInterface() 135 if (connection.claimInterface(intf, false)) { in setAdbInterface() 138 mDeviceConnection = connection; in setAdbInterface() 146 connection.close(); in setAdbInterface()
|
D | AdbDevice.java | 48 public AdbDevice(AdbTestActivity activity, UsbDeviceConnection connection, in AdbDevice() argument 51 mDeviceConnection = connection; in AdbDevice() 52 mSerial = connection.getSerial(); in AdbDevice()
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
D | MissileLauncherActivity.java | 135 UsbDeviceConnection connection = mUsbManager.openDevice(device); in setDevice() local 136 if (connection != null && connection.claimInterface(intf, true)) { in setDevice() 138 mConnection = connection; in setDevice()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | NetworkUtilities.java | 237 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in downloadAvatar() local 238 connection.connect(); in downloadAvatar() 241 final Bitmap avatar = BitmapFactory.decodeStream(connection.getInputStream(), in downloadAvatar() 258 connection.disconnect(); in downloadAvatar()
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
D | RssReader.java | 309 URLConnection connection = url.openConnection(); in run() local 310 connection.setConnectTimeout(10000); in run() 312 connection.connect(); in run() 313 InputStream in = connection.getInputStream(); in run()
|
/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/ |
D | MainActivity.java | 110 public void onPortsConnected(final MidiConnection connection) { in onPortsConnected() argument 114 if (connection == null) { in onPortsConnected()
|
/development/tools/axl/ |
D | chewie.py | 103 opentime, host, connection = opened[thread] 105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection]
|
/development/samples/browseable/Timer/ |
D | _index.jd | 9 independently on the wearable with no phone connection.
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiPortConnector.java | 82 abstract public void onPortsConnected(MidiConnection connection); in onPortsConnected() argument
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiPortConnector.java | 82 abstract public void onPortsConnected(MidiConnection connection); in onPortsConnected() argument
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 529 irrelevant - j. having no bearing on or connection with the subject at issue 822 relevant - j. having a bearing on or connection with the subject at issue
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 2057 …31694UKLSFWSB70s6PtRog@fakeemail.com,Fix ClearKeySystemTest fails Wifi connection test in emulator. 2121 …rm/cts,fake_wPmH3kcdSFeQvcykzVF6Xw@fakeemail.com,Add test for the second connection of MediaBrowser 4039 …G6u-QSaMmJT6pEOGcA@fakeemail.com,Make sure to properly close uiautomator connection in backup tests 4458 …65eed,platform/cts,fake_DGbnL6-oQrG-BP4td_yJEA@fakeemail.com,Add extra connection check on testAut… 5934 …em/core,fake_0kX09PMgSMWMh-POhYioVA@fakeemail.com,Allow multiple tcp adb connection to same device. 7322 …tem/core,fake_YfZgUkXGT9KUV3N17LsBvA@fakeemail.com,Ensure property_set connection sockets are CLOE… 7527 …stem/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,adb: extract atransport's connection interface. 7724 …s/test/connectivity,fake_bSGCCfG8QJOGRRU95wUSsg@fakeemail.com,Added async command to ssh connection 7744 …t/connectivity,fake_bSGCCfG8QJOGRRU95wUSsg@fakeemail.com,Added a close method to the ssh connection 7769 …fake_6aRNTluaSTu9at5rSHu1XA@fakeemail.com,Change the default wait time for connection state change. [all …]
|
/development/tools/logblame/ |
D | sample.txt | 838 Unbind failed: could not find connection for android.os.BinderProxy@d2a6c1d
|
/development/sdk/ |
D | sdk_files_NOTICE.txt | 246 or omissions of such Commercial Contributor in connection with its 10093 Commercial Contributor in connection with its distribution of the 11931 …tent caused by the acts or omissions of such Commercial Contributor in connection with its distrib… 13320 …tent caused by the acts or omissions of such Commercial Contributor in connection with its distrib…
|