Searched refs:MtpDevice (Results 1 – 14 of 14) sorted by relevance
/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 | 53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { in open() 163 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open() 175 MtpDevice::MtpDevice(struct usb_device* device, int interface, in MtpDevice() function in android::MtpDevice 196 MtpDevice::~MtpDevice() { in ~MtpDevice() 206 void MtpDevice::initialize() { in initialize() 222 void MtpDevice::close() { in close() 230 void MtpDevice::print() { in print() 272 const char* MtpDevice::getDeviceName() { in getDeviceName() 279 bool MtpDevice::openSession() { in openSession() 300 bool MtpDevice::closeSession() { in closeSession() [all …]
|
D | MtpDevice.h | 37 class MtpDevice { 63 MtpDevice(struct usb_device* device, int interface, 68 static MtpDevice* open(const char* deviceName, int fd); 70 virtual ~MtpDevice();
|
D | MtpTypes.h | 51 class MtpDevice; variable 55 typedef Vector<MtpDevice*> MtpDeviceList;
|
D | Android.mk | 24 MtpDevice.cpp \
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 88 MtpDevice* get_device_from_object(JNIEnv* env, jobject javaDevice) in get_device_from_object() 90 return (MtpDevice*)env->GetIntField(javaDevice, field_context); in get_device_from_object() 111 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open() 122 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_close() 133 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_device_info() 170 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_ids() 189 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_info() 224 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_handles() 243 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_info() 317 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 30 public final class MtpDevice { class 45 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 | 609 android.mtp.MtpDevice
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 4028 http://developer.android.com/reference/android/mtp/MtpDevice.html
|
/frameworks/base/api/ |
D | current.txt | 13005 public final class MtpDevice { 13006 ctor public MtpDevice(android.hardware.usb.UsbDevice);
|