/frameworks/base/core/java/android/os/storage/ |
D | IMountServiceListener.java | 70 boolean connected; in onTransact() 71 connected = (0 != data.readInt()); in onTransact() 72 this.onUsbMassStorageConnectionChanged(connected); in onTransact() 112 … public void onUsbMassStorageConnectionChanged(boolean connected) throws RemoteException { in onUsbMassStorageConnectionChanged() argument 117 _data.writeInt(((connected) ? (1) : (0))); in onUsbMassStorageConnectionChanged() 164 public void onUsbMassStorageConnectionChanged(boolean connected) throws RemoteException; in onUsbMassStorageConnectionChanged() argument
|
D | StorageEventListener.java | 29 public void onUsbMassStorageConnectionChanged(boolean connected) { in onUsbMassStorageConnectionChanged() argument
|
D | MountServiceListener.java | 30 void onUsbMassStorageConnectionChanged(boolean connected) { in onUsbMassStorageConnectionChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 71 final boolean connected = mStorageManager.isUsbMassStorageConnected(); in StorageNotification() 79 onUsbMassStorageConnectionChanged(connected); in StorageNotification() 86 public void onUsbMassStorageConnectionChanged(final boolean connected) { in onUsbMassStorageConnectionChanged() argument 90 onUsbMassStorageConnectionChangedAsync(connected); in onUsbMassStorageConnectionChanged() 95 private void onUsbMassStorageConnectionChangedAsync(boolean connected) { in onUsbMassStorageConnectionChangedAsync() argument 96 mUmsAvailable = connected; in onUsbMassStorageConnectionChangedAsync() 103 Slog.i(TAG, String.format("UMS connection changed to %s (media state %s)", connected, st)); in onUsbMassStorageConnectionChangedAsync() 105 if (connected && (st.equals( in onUsbMassStorageConnectionChangedAsync() 110 connected = false; in onUsbMassStorageConnectionChangedAsync() 112 updateUsbMassStorageNotification(connected); in onUsbMassStorageConnectionChangedAsync()
|
/frameworks/base/libs/storage/ |
D | IMountServiceListener.cpp | 33 bool connected = (data.readInt32() != 0); in onTransact() local 34 onUsbMassStorageConnectionChanged(connected); in onTransact()
|
/frameworks/base/docs/html/tools/adk/ |
D | aoa.jd | 10 <li><a href="#wait">Wait for and detect connected devices</a></li> 29 in accessory mode, the connected accessory acts as the USB host (powers the bus and enumerates 53 <li>Wait for and detect connected devices</li> 64 <h3 id="wait">Wait for and detect connected devices</h3> 67 for connected Android-powered devices. When a device is connected, your accessory should 73 <p>When an Android-powered device is connected, it can be in one of three states:</p> 84 connected device's USB device descriptor. The vendor ID should match Google's ID (0x18D1) and the 164 <p>After sending the final control request, the connected USB device should re-introduce itself 165 on the bus in accessory mode and the accessory can re-enumerate the connected devices. The 173 accessory should wait for the next device to be connected.</p>
|
D | adk.jd | 30 <li><a href="#wait-adk">Wait for and detect connected devices</a></li> 32 <li><a href="#determine-adk">Determine the connected device's accessory mode 143 enumerate the bus, find a connected Android-powered device that supports accessory mode, and 334 connected to your computer for power (this also allows you to <a href="#monitoring">monitor the 335 ADK board</a>). When connected, accept the prompt that asks for whether or not to open the 341 the servos are connected) or by pressing the relay buttons in the application. On the ADK shield, 382 <h3 id="wait-adk">Wait for and detect connected devices</h3> 385 repeatedly and calls <code>AndroidAccessory::isConnected()</code> to check for any connected 386 devices. If there is a connected device, it continuously updates the input and output streams 387 going to and from the board and application. If nothing is connected, it continuously checks for [all …]
|
/frameworks/base/core/java/android/server/ |
D | BluetoothEventLoop.java | 925 boolean connected = false; in onInputDeviceConnectionResult() 930 connected = true; in onInputDeviceConnectionResult() 932 connected = false; in onInputDeviceConnectionResult() 936 connected = false; in onInputDeviceConnectionResult() 939 connected = true; in onInputDeviceConnectionResult() 944 mBluetoothService.handleInputDevicePropertyChange(address, connected); in onInputDeviceConnectionResult() 962 boolean connected = false; in onPanDeviceConnectionResult() 967 connected = true; in onPanDeviceConnectionResult() 969 connected = false; in onPanDeviceConnectionResult() 973 connected = false; in onPanDeviceConnectionResult() [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | SocketTest.java | 250 private boolean connected; field in SocketTest 269 connected = true; in disable_testSocketConnectClose() 276 Assert.assertFalse("Connect must not succeed. Maybe try different address.", connected); in disable_testSocketConnectClose()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothController.java | 81 final boolean connected = (connectionState == BluetoothAdapter.STATE_CONNECTED); in handleConnectionStateChange() 82 if (connected) { in handleConnectionStateChange()
|
/frameworks/base/core/java/android/app/ |
D | IServiceConnection.aidl | 24 void connected(in ComponentName name, IBinder service); in connected() method
|
/frameworks/base/docs/html/guide/topics/connectivity/usb/ |
D | host.jd | 40 and enumerates connected USB devices. USB host mode is supported in Android 3.1 and higher.</p> 59 <td>Allows you to enumerate and communicate with connected USB devices.</td> 65 <td>Represents a connected USB device and contains methods to access its identifying 197 whether your application is interested in the connected device. If so, you can set up 201 <li>Discover connected USB devices by using an intent filter to be notified when the user 202 connects a USB device or by enumerating USB devices that are already connected.</li> 213 the user connects a device or by enumerating USB devices that are already connected. Using an 215 desired device. Enumerating connected USB devices is useful if you want to get a list of all 216 connected devices or if your application did not filter for an intent.</p> 259 <p>If your application is interested in inspecting all of the USB devices currently connected [all …]
|
D | accessory.jd | 59 accessory acts as the host, provides power to the USB bus, and enumerates connected devices. 119 <td>Allows you to enumerate and communicate with connected USB accessories.</td> 147 <p>When you filter for a connected accessory with an intent filter, the {@link 245 determine whether your application is interested in the connected accessory. If so, you can set 249 <li>Discover connected accessories by using an intent filter that filters for accessory 250 attached events or by enumerating connected accessories and finding the appropriate one.</li> 262 the user connects an accessory or by enumerating accessories that are already connected. Using an 264 desired accessory. Enumerating connected accessories is useful if you want to get a list of all 265 connected accessories or if your application did not filter for an intent.</p> 315 to get an array all the USB accessories that are connected:</p> [all …]
|
D | index.jd | 31 accessory mode, the connected USB hardware (an Android USB accessory in this case) acts as the 51 USB hardware connected to your Android-powered device. This will prevent you from having an 62 <li>Enter <code>adb connect <device-ip-address>:5555</code> You should now be connected
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.1-highlights.jd | 87 <p>Android 3.1 adds broad platform support for a variety of USB-connected 133 driver is needed, in most cases. When multiple devices are connected, users can 139 trackballs. When these are connected, users can interact with the UI using 145 most PC joysticks and gamepads that are connected over USB or Bluetooth HID.</p> 243 only when the device is connected to a Wi-Fi access point. </p> 252 <p>Users can now configure an HTTP proxy for each connected Wi-Fi access point. 255 when the Wi-Fi access point is connected, and may optionally be used by other 280 and identifying connected hardware, as well as for notifying interested 290 is available for interacting with the connected hardware. </p> 294 connected hardware.</p> [all …]
|
D | android-2.3.4.jd | 54 connected peripherals with applications running on the platform. The capability 64 types connected over USB. It also provides the implementation of the API against 89 — When you filter for a connected device or accessory with an intent 102 a peripheral only, with the connected accessory functioning as USB host 113 accessories support, for runtime testing against connected devices</li>
|
/frameworks/native/include/private/gui/ |
D | SharedBufferStack.h | 46 uint8_t connected; member
|
/frameworks/base/include/storage/ |
D | IMountServiceListener.h | 29 virtual void onUsbMassStorageConnectionChanged(const bool connected) = 0;
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 534 uint32_t connected = cblk->connected; in getNumberOfDisplays() local 536 while (connected) { in getNumberOfDisplays() 537 if (connected&1) n++; in getNumberOfDisplays() 538 connected >>= 1; in getNumberOfDisplays()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 49 public void connected() {} in connected() method in DdmHandleExit
|
D | DdmHandleNativeHeap.java | 49 public void connected() {} in connected() method in DdmHandleNativeHeap
|
D | DdmHandleAppName.java | 50 public void connected() {} in connected() method in DdmHandleAppName
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 35 But if you aren't connected to the Internet, or the connection is too slow to complete your 39 connected to the Internet, and if so, what type of connection is in place.</p> 44 <p>There's no need to schedule an update based on an Internet resource if you aren't connected to
|
D | manifest-receivers.jd | 58 your receivers except the connectivity-change receiver. Conversely, once you are connected you can 64 download only after you are connected to Wi-Fi.</p>
|
/frameworks/base/services/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 377 int connected, configured; in updateState() local 380 connected = 0; in updateState() 383 connected = 1; in updateState() 386 connected = 1; in updateState() 394 msg.arg1 = connected; in updateState() 397 sendMessageDelayed(msg, (connected == 0) ? UPDATE_DELAY : 0); in updateState()
|