/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/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/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/browseable/Timer/ |
D | _index.jd | 9 independently on the wearable with no phone connection.
|
/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/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/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/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/logblame/ |
D | sample.txt | 838 Unbind failed: could not find connection for android.os.BinderProxy@d2a6c1d
|