Lines Matching refs:deviceName
75 String deviceName = usbDevice.getDeviceName();
78 MtpDevice mtpDevice = mDevices.get(deviceName);
91 mDevices.remove(deviceName);
92 mRequestPermissionDevices.remove(deviceName);
93 mIgnoredDevices.remove(deviceName);
99 mRequestPermissionDevices.remove(deviceName);
114 mIgnoredDevices.add(deviceName);
185 String deviceName = usbDevice.getDeviceName();
189 if (isCamera(usbDevice) && !mIgnoredDevices.contains(deviceName)
190 && !mRequestPermissionDevices.contains(deviceName)) {
193 mRequestPermissionDevices.add(deviceName);
203 mIgnoredDevices.add(deviceName);
207 mIgnoredDevices.add(deviceName);
250 * @param deviceName the name of the USB device
253 public MtpDevice getDevice(String deviceName) {
255 return mDevices.get(deviceName);
295 * @param deviceName the name of the USB device
298 public List<MtpStorageInfo> getStorageList(String deviceName) {
299 MtpDevice device = getDevice(deviceName);
326 * @param deviceName the name of the USB device
330 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) {
331 MtpDevice device = getDevice(deviceName);
341 * @param deviceName the name of the USB device
345 public boolean deleteObject(String deviceName, int objectHandle) {
346 MtpDevice device = getDevice(deviceName);
361 * @param deviceName the name of the USB device
366 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) {
367 MtpDevice device = getDevice(deviceName);
396 * @param deviceName the name of the USB device containing the object
402 public byte[] getObject(String deviceName, int objectHandle, int objectSize) {
403 MtpDevice device = getDevice(deviceName);
413 * @param deviceName the name of the USB device containing the object
417 public byte[] getThumbnail(String deviceName, int objectHandle) {
418 MtpDevice device = getDevice(deviceName);
428 * @param deviceName the name of the USB device containing the object
435 public boolean importFile(String deviceName, int objectHandle, String destPath) {
436 MtpDevice device = getDevice(deviceName);