Lines Matching defs:deviceName
76 String deviceName = usbDevice.getDeviceName();
79 MtpDevice mtpDevice = mDevices.get(deviceName);
92 mDevices.remove(deviceName);
93 mRequestPermissionDevices.remove(deviceName);
94 mIgnoredDevices.remove(deviceName);
100 mRequestPermissionDevices.remove(deviceName);
115 mIgnoredDevices.add(deviceName);
186 String deviceName = usbDevice.getDeviceName();
190 if (isCamera(usbDevice) && !mIgnoredDevices.contains(deviceName)
191 && !mRequestPermissionDevices.contains(deviceName)) {
194 mRequestPermissionDevices.add(deviceName);
204 mIgnoredDevices.add(deviceName);
208 mIgnoredDevices.add(deviceName);
251 * @param deviceName the name of the USB device
254 public MtpDevice getDevice(String deviceName) {
256 return mDevices.get(deviceName);
296 * @param deviceName the name of the USB device
299 public List<MtpStorageInfo> getStorageList(String deviceName) {
300 MtpDevice device = getDevice(deviceName);
327 * @param deviceName the name of the USB device
331 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) {
332 MtpDevice device = getDevice(deviceName);
342 * @param deviceName the name of the USB device
346 public boolean deleteObject(String deviceName, int objectHandle) {
347 MtpDevice device = getDevice(deviceName);
362 * @param deviceName the name of the USB device
367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) {
368 MtpDevice device = getDevice(deviceName);
397 * @param deviceName the name of the USB device containing the object
403 public byte[] getObject(String deviceName, int objectHandle, int objectSize) {
404 MtpDevice device = getDevice(deviceName);
414 * @param deviceName the name of the USB device containing the object
418 public byte[] getThumbnail(String deviceName, int objectHandle) {
419 MtpDevice device = getDevice(deviceName);
429 * @param deviceName the name of the USB device containing the object
436 public boolean importFile(String deviceName, int objectHandle, String destPath) {
437 MtpDevice device = getDevice(deviceName);