/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 29 import android.mtp.MtpDevice; 59 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); 71 MtpDevice mtpDevice = mDevices.get(deviceName); 74 if (mtpDevice == null) { 75 mtpDevice = openDeviceLocked(usbDevice); 77 if (mtpDevice != null) { 79 listener.deviceAdded(mtpDevice); 83 if (mtpDevice != null) [all...] |
CameraBrowser.java | 23 import android.mtp.MtpDevice; 45 private List<MtpDevice> mDeviceList; 83 MtpDevice device = mDeviceList.get(position); 127 public void deviceAdded(MtpDevice device) { 133 public void deviceRemoved(MtpDevice device) {
|
StorageBrowser.java | 22 import android.mtp.MtpDevice;
|
ObjectBrowser.java | 26 import android.mtp.MtpDevice;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpClient.java | 30 import android.mtp.MtpDevice; 60 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); 79 MtpDevice mtpDevice = mDevices.get(deviceName); 82 if (mtpDevice == null) { 83 mtpDevice = openDeviceLocked(usbDevice); 85 if (mtpDevice != null) { 87 listener.deviceAdded(mtpDevice); 91 if (mtpDevice != null) [all...] |
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 17 #define LOG_TAG "MtpDevice" 20 #include "MtpDevice.h" 53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { 163 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, 165 mtpDevice->initialize(); 166 return mtpDevice; 175 MtpDevice::MtpDevice(struct usb_device* device, int interface [all...] |
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();
|
MtpTypes.h | 51 class MtpDevice; 55 typedef Vector<MtpDevice*> MtpDeviceList;
|
Android.mk | 24 MtpDevice.cpp \
|
/frameworks/base/media/jni/ |
android_mtp_MtpDevice.cpp | 34 #include "MtpDevice.h" 88 MtpDevice* get_device_from_object(JNIEnv* env, jobject javaDevice) 90 return (MtpDevice*)env->GetIntField(javaDevice, field_context); 111 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); 122 MtpDevice* device = get_device_from_object(env, thiz); 133 MtpDevice* device = get_device_from_object(env, thiz); 170 MtpDevice* device = get_device_from_object(env, thiz); 189 MtpDevice* device = get_device_from_object(env, thiz); 224 MtpDevice* device = get_device_from_object(env, thiz) [all...] |
android_media_MediaPlayer.cpp | [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
MtpThumbnailDrawable.java | 19 import android.mtp.MtpDevice; 40 MtpDevice device = MtpDeviceIndex.getInstance().getDevice();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
ImportTask.java | 20 import android.mtp.MtpDevice; 45 private MtpDevice mDevice; 48 public ImportTask(MtpDevice device, Collection<MtpObjectInfo> objectsToImport,
|
IngestService.java | 26 import android.mtp.MtpDevice; 62 private MtpDevice mDevice; 90 List<MtpDevice> devices = sClient.getDeviceList(); 109 private void setDevice(MtpDevice device) { 191 public void deviceAdded(MtpDevice device) { 200 public void deviceRemoved(MtpDevice device) {
|
MtpDeviceIndex.java | 20 import android.mtp.MtpDevice; 86 private MtpDevice mDevice; 110 synchronized public MtpDevice getDevice() { 115 * Sets the MtpDevice that should be indexed and initializes state, but does 119 * @param device The MtpDevice that should be indexed 121 synchronized public void setDevice(MtpDevice device) { 129 * been correctly initialized (by calling {@link #setDevice(MtpDevice)}) and 403 private MtpDevice mDevice; 408 public IndexRunnable(MtpDevice device) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpBitmapFetch.java | 22 import android.mtp.MtpDevice; 39 public static Bitmap getThumbnail(MtpDevice device, MtpObjectInfo info) { 65 public static BitmapWithMetadata getFullsize(MtpDevice device, MtpObjectInfo info) { 69 public static BitmapWithMetadata getFullsize(MtpDevice device, MtpObjectInfo info, int maxSide) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
MtpImageView.java | 21 import android.mtp.MtpDevice; 43 private MtpDevice mFetchDevice; 72 public void setMtpDeviceAndObjectInfo(MtpDevice device, MtpObjectInfo object, int gen) { 91 protected Object fetchMtpImageDataFromDevice(MtpDevice device, MtpObjectInfo info) { 193 MtpDevice device;
|
MtpThumbnailTileView.java | 23 import android.mtp.MtpDevice; 65 protected Object fetchMtpImageDataFromDevice(MtpDevice device, MtpObjectInfo info) {
|
/frameworks/base/media/java/android/mtp/ |
MtpDevice.java | 30 public final class MtpDevice { 32 private static final String TAG = "MtpDevice"; 45 public MtpDevice(UsbDevice device) { 67 * Closes all resources related to the MtpDevice object.
|
/frameworks/base/docs/html/about/versions/ |
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 [all...] |
/prebuilts/sdk/18/ |
android.jar | |
/frameworks/base/ |
preloaded-classes | 609 android.mtp.MtpDevice [all...] |
/external/libmtp/src/ |
libmtp.c | [all...] |
/frameworks/base/docs/html/ |
sitemap.txt | [all...] |