Home
last modified time | relevance | path

Searched refs:MtpConstants (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java96 case MtpConstants.PROPERTY_STORAGE_ID: in createProperty()
98 type = MtpConstants.TYPE_UINT32; in createProperty()
100 case MtpConstants.PROPERTY_OBJECT_FORMAT: in createProperty()
102 type = MtpConstants.TYPE_UINT16; in createProperty()
104 case MtpConstants.PROPERTY_PROTECTION_STATUS: in createProperty()
106 type = MtpConstants.TYPE_UINT16; in createProperty()
108 case MtpConstants.PROPERTY_OBJECT_SIZE: in createProperty()
110 type = MtpConstants.TYPE_UINT64; in createProperty()
112 case MtpConstants.PROPERTY_OBJECT_FILE_NAME: in createProperty()
114 type = MtpConstants.TYPE_STR; in createProperty()
[all …]
DMtpDatabase.java146 MtpConstants.DEVICE_PROPERTY_BATTERY_LEVEL);
378 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) { in endSendObject()
556 MtpConstants.FORMAT_UNDEFINED, in getSupportedPlaybackFormats()
558 MtpConstants.FORMAT_ASSOCIATION, in getSupportedPlaybackFormats()
559 MtpConstants.FORMAT_TEXT, in getSupportedPlaybackFormats()
560 MtpConstants.FORMAT_HTML, in getSupportedPlaybackFormats()
561 MtpConstants.FORMAT_WAV, in getSupportedPlaybackFormats()
562 MtpConstants.FORMAT_MP3, in getSupportedPlaybackFormats()
563 MtpConstants.FORMAT_MPEG, in getSupportedPlaybackFormats()
564 MtpConstants.FORMAT_EXIF_JPEG, in getSupportedPlaybackFormats()
[all …]
DMtpPropertyList.java71 mDataTypes[index] = MtpConstants.TYPE_STR; in append()
DMtpConstants.java22 public final class MtpConstants { class
/frameworks/base/media/java/android/media/
DMediaFile.java22 import android.mtp.MtpConstants;
170 addFileType("MP3", FILE_TYPE_MP3, "audio/mpeg", MtpConstants.FORMAT_MP3);
171 addFileType("MPGA", FILE_TYPE_MP3, "audio/mpeg", MtpConstants.FORMAT_MP3);
172 addFileType("M4A", FILE_TYPE_M4A, "audio/mp4", MtpConstants.FORMAT_MPEG);
173 addFileType("WAV", FILE_TYPE_WAV, "audio/x-wav", MtpConstants.FORMAT_WAV);
177 addFileType("WMA", FILE_TYPE_WMA, "audio/x-ms-wma", MtpConstants.FORMAT_WMA);
179 addFileType("OGG", FILE_TYPE_OGG, "audio/ogg", MtpConstants.FORMAT_OGG);
180 addFileType("OGG", FILE_TYPE_OGG, "application/ogg", MtpConstants.FORMAT_OGG);
181 addFileType("OGA", FILE_TYPE_OGG, "application/ogg", MtpConstants.FORMAT_OGG);
182 addFileType("AAC", FILE_TYPE_AAC, "audio/aac", MtpConstants.FORMAT_AAC);
[all …]
DMediaScanner.java31 import android.mtp.MtpConstants;
485 (isDirectory ? MtpConstants.FORMAT_ASSOCIATION : 0)); in beginFile()
960 } else if (entry.mFormat == MtpConstants.FORMAT_ASSOCIATION) {
1128 if (!exists && !MtpConstants.isAbstractObject(format)) {
1511 (format == MtpConstants.FORMAT_ASSOCIATION), true, isNoMediaPath(path));
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectBrowser.java25 import android.mtp.MtpConstants;
92 if (thumbFormat == MtpConstants.FORMAT_EXIF_JPEG in getView()
93 || thumbFormat == MtpConstants.FORMAT_JFIF) { in getView()
136 if (info.getFormat() == MtpConstants.FORMAT_ASSOCIATION) { in onListItemClick()
DObjectViewer.java26 import android.mtp.MtpConstants;
150 if (thumbFormat == MtpConstants.FORMAT_EXIF_JPEG in onResume()
151 || thumbFormat == MtpConstants.FORMAT_JFIF) { in onResume()
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd192 <li>{@link android.mtp.MtpConstants} provides constants for declaring MTP file
/frameworks/base/docs/html/
Dsitemap.txt4031 http://developer.android.com/reference/android/mtp/MtpConstants.html
/frameworks/base/api/
Dcurrent.txt17991 public final class MtpConstants {
17992 ctor public MtpConstants();
Dsystem-current.txt19503 public final class MtpConstants {
19504 ctor public MtpConstants();