/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 29 import android.mtp.MtpDevice; 59 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); 71 MtpDevice mtpDevice = mDevices.get(deviceName); 118 public void deviceAdded(MtpDevice device); in deviceAdded() 125 public void deviceRemoved(MtpDevice device); in deviceRemoved() 171 private MtpDevice openDeviceLocked(UsbDevice usbDevice) { in openDeviceLocked() 178 MtpDevice mtpDevice = new MtpDevice(usbDevice); in openDeviceLocked() 228 public MtpDevice getDevice(String deviceName) { in getDevice() 241 public MtpDevice getDevice(int id) { in getDevice() 252 public List<MtpDevice> getDeviceList() { in getDeviceList() [all …]
|
D | CameraBrowser.java | 23 import android.mtp.MtpDevice; 45 private List<MtpDevice> mDeviceList; 83 MtpDevice device = mDeviceList.get(position); in getView() 127 public void deviceAdded(MtpDevice device) { in deviceAdded() 133 public void deviceRemoved(MtpDevice device) { in deviceRemoved()
|
D | StorageBrowser.java | 22 import android.mtp.MtpDevice;
|
D | ObjectBrowser.java | 26 import android.mtp.MtpDevice;
|
/frameworks/av/media/mtp/ |
D | MtpDevice.cpp | 67 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { in open() 196 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open() 208 MtpDevice::MtpDevice(struct usb_device* device, int interface, in MtpDevice() function in android::MtpDevice 234 MtpDevice::~MtpDevice() { in ~MtpDevice() 244 void MtpDevice::initialize() { in initialize() 260 void MtpDevice::close() { in close() 268 void MtpDevice::print() { in print() 310 const char* MtpDevice::getDeviceName() { in getDeviceName() 317 bool MtpDevice::openSession() { in openSession() 338 bool MtpDevice::closeSession() { in closeSession() [all …]
|
D | MtpDevice.h | 39 class MtpDevice { 81 MtpDevice(struct usb_device* device, 87 static MtpDevice* open(const char* deviceName, int fd); 89 virtual ~MtpDevice();
|
D | MtpTypes.h | 51 class MtpDevice; variable 55 typedef Vector<MtpDevice*> MtpDeviceList;
|
D | Android.mk | 24 MtpDevice.cpp \
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpManager.java | 27 import android.mtp.MtpDevice; 70 private final SparseArray<MtpDevice> mDevices = new SparseArray<>(); 94 final MtpDevice device = new MtpDevice(rawDevice); in openDevice() 131 final MtpDevice device = getDevice(deviceId); in getObjectInfo() 141 final MtpDevice device = getDevice(deviceId); in getObjectHandles() 151 final MtpDevice device = getDevice(deviceId); in getObject() 161 final MtpDevice device = getDevice(deviceId); in getPartialObject() 169 final MtpDevice device = getDevice(deviceId); in getPartialObject64() 176 final MtpDevice device = getDevice(deviceId); in getThumbnail() 185 final MtpDevice device = getDevice(deviceId); in deleteDocument() [all …]
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 133 MtpDevice* get_device_from_object(JNIEnv* env, jobject javaDevice) in get_device_from_object() 135 return (MtpDevice*)env->GetLongField(javaDevice, field_context); in get_device_from_object() 197 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open() 208 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_close() 219 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_device_info() 286 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_ids() 305 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_info() 340 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_handles() 359 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_info() 397 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 38 public final class MtpDevice { class 53 public MtpDevice(UsbDevice device) { in MtpDevice() method in MtpDevice
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.1.jd | 155 <li>The {@link android.mtp.MtpDevice} encapsulates an MTP device that is 161 <li>{@link android.mtp.MtpDevice#getObjectHandles(int, int, int) 164 application can pass a handle to {@link android.mtp.MtpDevice#getObjectInfo(int) 166 <li>{@link android.mtp.MtpDevice#importFile(int, java.lang.String) 172 android.mtp.MtpDevice#open(android.hardware.usb.UsbDeviceConnection) open()} 174 <li>{@link android.mtp.MtpDevice#getThumbnail(int) getThumbnail()} returns
|
/frameworks/base/ |
D | preloaded-classes | 1476 android.mtp.MtpDevice
|
D | compiled-classes-phone | 2627 android.mtp.MtpDevice
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16850 public final class MtpDevice { 16851 ctor public MtpDevice(android.hardware.usb.UsbDevice);
|
/frameworks/base/api/ |
D | current.txt | 23319 public final class MtpDevice { 23320 ctor public MtpDevice(android.hardware.usb.UsbDevice);
|
D | system-current.txt | 25100 public final class MtpDevice { 25101 ctor public MtpDevice(android.hardware.usb.UsbDevice);
|
D | test-current.txt | 23393 public final class MtpDevice { 23394 ctor public MtpDevice(android.hardware.usb.UsbDevice);
|