Lines Matching refs:device
25 * This class represents an MTP or PTP device connected on the USB host bus. An application can
28 * device and objects stored on it, as well as open the connection and transfer data.
43 * @param device the {@link android.hardware.usb.UsbDevice} for the MTP or PTP device
45 public MtpDevice(UsbDevice device) {
46 mDevice = device;
50 * Opens the MTP device. Once the device is open it takes ownership of the
55 * @param connection an open {@link android.hardware.usb.UsbDeviceConnection} for the device
56 * @return true if the device was successfully opened.
85 * Returns the name of the USB device
87 * for the device's {@link android.hardware.usb.UsbDevice}
89 * @return the device name
96 * Returns the USB ID of the USB device.
98 * for the device's {@link android.hardware.usb.UsbDevice}
100 * @return the device ID
112 * Returns the {@link MtpDeviceInfo} for this device
114 * @return the device info
121 * Returns the list of IDs for all storage units on this device
193 * Deletes an object on the device. This call may block, since
205 * Retrieves the object handle for the parent of an object on the device.
215 * Retrieves the ID of the storage unit containing the given object on the device.