HomeSort by relevance Sort by last modified time
    Searched refs:mtp (Results 1 - 25 of 32) sorted by null

1 2

  /frameworks/base/media/java/android/mtp/
MtpDeviceInfo.java 17 package android.mtp;
20 * This class encapsulates information about an MTP device.
22 * section 5.1.1 of the MTP specification.
36 * Returns the manufacturer's name for the MTP device
45 * Returns the model name for the MTP device
54 * Returns the version string the MTP device
63 * Returns the unique serial number for the MTP device
MtpStorageInfo.java 17 package android.mtp;
20 * This class encapsulates information about a storage unit on an MTP device.
22 * section 5.2.2 of the MTP specification.
38 * The storage ID uniquely identifies the storage unit on the MTP device.
67 * MTP host.
MtpStorage.java 17 package android.mtp;
22 * This class represents a storage unit on an MTP device.
23 * Used only for MTP support in USB responder mode.
24 * MtpStorageInfo is used in MTP host mode
87 * This can be set to a non-zero value to prevent MTP from filling up the entire storage.
MtpObjectInfo.java 17 package android.mtp;
20 * This class encapsulates information about an object on an MTP device.
22 * section 5.3.1 of the MTP specification.
51 * Returns the object handle for the MTP object
60 * Returns the storage ID for the MTP object's storage unit
69 * Returns the format code for the MTP object
78 * Returns the protection status for the MTP object
82 * <li> {@link android.mtp.MtpConstants#PROTECTION_STATUS_NONE}
83 * <li> {@link android.mtp.MtpConstants#PROTECTION_STATUS_READ_ONLY}
84 * <li> {@link android.mtp.MtpConstants#PROTECTION_STATUS_NON_TRANSFERABLE_DATA
    [all...]
MtpPropertyList.java 17 package android.mtp;
MtpServer.java 17 package android.mtp;
20 * Java wrapper for MTP/PTP support as USB responder.
MtpDevice.java 17 package android.mtp;
25 * This class represents an MTP or PTP device connected on the USB host bus. An application can
43 * @param device the {@link android.hardware.usb.UsbDevice} for the MTP or PTP device
50 * Opens the MTP device. Once the device is open it takes ownership of the
MtpConstants.java 17 package android.mtp;
20 * A class containing constants in the MTP and PTP specifications.
24 // MTP Data Types
70 // MTP Response Codes
158 // MTP format codes
296 // MTP object properties
464 // MTP device properties
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MtpDeviceSet.java 23 import android.mtp.MtpDeviceInfo;
44 mNotifier = new ChangeNotifier(this, Uri.parse("mtp://"), application);
53 List<android.mtp.MtpDevice> devices = mMtpContext.getMtpClient().getDeviceList();
55 for (android.mtp.MtpDevice mtpDevice : devices) {
73 android.mtp.MtpDevice device = mtpContext.getMtpClient().getDevice(deviceId);
MtpContext.java 10 import android.mtp.MtpObjectInfo;
83 public void deviceAdded(android.mtp.MtpDevice device) {
88 public void deviceRemoved(android.mtp.MtpDevice device) {
94 mContext.getContentResolver().notifyChange(Uri.parse("mtp://"), null);
MtpDevice.java 22 import android.mtp.MtpConstants;
23 import android.mtp.MtpObjectInfo;
24 import android.mtp.MtpStorageInfo;
53 mNotifier = new ChangeNotifier(this, Uri.parse("mtp://"), application);
54 mItemPath = Path.fromString("/mtp/item/" + String.valueOf(deviceId));
MtpClient.java 29 import android.mtp.MtpDevice;
30 import android.mtp.MtpDeviceInfo;
31 import android.mtp.MtpObjectInfo;
32 import android.mtp.MtpStorageInfo;
42 * This class helps an application manage a list of connected MTP or PTP devices.
43 * It listens for MTP devices being attached and removed from the USB host bus
44 * and notifies the application when the MTP device list changes.
51 "android.mtp.MtpClient.action.USB_PERMISSION";
60 // List of MTP devices we should not try to open for which we are currently
63 // List of MTP devices we should not try to open
    [all...]
MtpImage.java 29 import android.mtp.MtpObjectInfo;
129 // Currently only JPEG is supported in MTP.
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectBrowser.java 25 import android.mtp.MtpConstants;
26 import android.mtp.MtpDevice;
27 import android.mtp.MtpObjectInfo;
StorageBrowser.java 22 import android.mtp.MtpDevice;
23 import android.mtp.MtpStorageInfo;
MtpClient.java 29 import android.mtp.MtpDevice;
30 import android.mtp.MtpDeviceInfo;
31 import android.mtp.MtpObjectInfo;
32 import android.mtp.MtpStorageInfo;
42 * This class helps an application manage a list of connected MTP or PTP devices.
43 * It listens for MTP devices being attached and removed from the USB host bus
44 * and notifies the application when the MTP device list changes.
51 "android.mtp.MtpClient.action.USB_PERMISSION";
109 * An interface for being notified when MTP or PTP devices are attached
165 * Opens the {@link android.hardware.usb.UsbDevice} for an MTP or PT
    [all...]
CameraBrowser.java 23 import android.mtp.MtpDevice;
24 import android.mtp.MtpDeviceInfo;
ObjectViewer.java 26 import android.mtp.MtpConstants;
27 import android.mtp.MtpObjectInfo;
  /frameworks/base/media/jni/
Android.mk 42 frameworks/base/media/mtp \
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 26 import android.mtp.MtpDatabase;
27 import android.mtp.MtpServer;
28 import android.mtp.MtpStorage;
96 private boolean mMtpDisabled; // true if MTP is disabled due to secure keyguard
103 // lock MTP if the keyguard is locked and secure
130 Log.d(TAG, "starting MTP server in " + (mPtpMode ? "PTP mode" : "MTP mode"));
  /external/qemu/distrib/sdl-1.2.12/src/cdrom/os2/
SDL_syscdrom.c 147 MCI_TOC_PARMS mtp; local
174 mtp.pBuf = mtr;
175 mtp.ulBufSize = cdrom->numtracks*sizeof(MCI_TOC_REC);
176 if (LOUSHORT(mciSendCommand(cdrom->id,MCI_GETTOC,MCI_WAIT,&mtp, 0)) != MCIERR_SUCCESS)