Lines Matching refs:MtpConstants
116 MtpConstants.FORMAT_UNDEFINED,
118 MtpConstants.FORMAT_ASSOCIATION,
119 MtpConstants.FORMAT_TEXT,
120 MtpConstants.FORMAT_HTML,
121 MtpConstants.FORMAT_WAV,
122 MtpConstants.FORMAT_MP3,
123 MtpConstants.FORMAT_MPEG,
124 MtpConstants.FORMAT_EXIF_JPEG,
125 MtpConstants.FORMAT_TIFF_EP,
126 MtpConstants.FORMAT_BMP,
127 MtpConstants.FORMAT_GIF,
128 MtpConstants.FORMAT_JFIF,
129 MtpConstants.FORMAT_PNG,
130 MtpConstants.FORMAT_TIFF,
131 MtpConstants.FORMAT_WMA,
132 MtpConstants.FORMAT_OGG,
133 MtpConstants.FORMAT_AAC,
134 MtpConstants.FORMAT_MP4_CONTAINER,
135 MtpConstants.FORMAT_MP2,
136 MtpConstants.FORMAT_3GP_CONTAINER,
137 MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST,
138 MtpConstants.FORMAT_WPL_PLAYLIST,
139 MtpConstants.FORMAT_M3U_PLAYLIST,
140 MtpConstants.FORMAT_PLS_PLAYLIST,
141 MtpConstants.FORMAT_XML_DOCUMENT,
142 MtpConstants.FORMAT_FLAC,
143 MtpConstants.FORMAT_DNG,
144 MtpConstants.FORMAT_HEIF,
148 MtpConstants.PROPERTY_STORAGE_ID,
149 MtpConstants.PROPERTY_OBJECT_FORMAT,
150 MtpConstants.PROPERTY_PROTECTION_STATUS,
151 MtpConstants.PROPERTY_OBJECT_SIZE,
152 MtpConstants.PROPERTY_OBJECT_FILE_NAME,
153 MtpConstants.PROPERTY_DATE_MODIFIED,
154 MtpConstants.PROPERTY_PERSISTENT_UID,
155 MtpConstants.PROPERTY_PARENT_OBJECT,
156 MtpConstants.PROPERTY_NAME,
157 MtpConstants.PROPERTY_DISPLAY_NAME,
158 MtpConstants.PROPERTY_DATE_ADDED,
162 MtpConstants.PROPERTY_ARTIST,
163 MtpConstants.PROPERTY_ALBUM_NAME,
164 MtpConstants.PROPERTY_ALBUM_ARTIST,
165 MtpConstants.PROPERTY_TRACK,
166 MtpConstants.PROPERTY_ORIGINAL_RELEASE_DATE,
167 MtpConstants.PROPERTY_DURATION,
168 MtpConstants.PROPERTY_GENRE,
169 MtpConstants.PROPERTY_COMPOSER,
170 MtpConstants.PROPERTY_AUDIO_WAVE_CODEC,
171 MtpConstants.PROPERTY_BITRATE_TYPE,
172 MtpConstants.PROPERTY_AUDIO_BITRATE,
173 MtpConstants.PROPERTY_NUMBER_OF_CHANNELS,
174 MtpConstants.PROPERTY_SAMPLE_RATE,
178 MtpConstants.PROPERTY_ARTIST,
179 MtpConstants.PROPERTY_ALBUM_NAME,
180 MtpConstants.PROPERTY_DURATION,
181 MtpConstants.PROPERTY_DESCRIPTION,
185 MtpConstants.PROPERTY_DESCRIPTION,
189 MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER,
190 MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME,
191 MtpConstants.DEVICE_PROPERTY_IMAGE_SIZE,
192 MtpConstants.DEVICE_PROPERTY_BATTERY_LEVEL,
193 MtpConstants.DEVICE_PROPERTY_PERCEIVED_DEVICE_TYPE,
199 case MtpConstants.FORMAT_MP3: in getSupportedObjectProperties()
200 case MtpConstants.FORMAT_WAV: in getSupportedObjectProperties()
201 case MtpConstants.FORMAT_WMA: in getSupportedObjectProperties()
202 case MtpConstants.FORMAT_OGG: in getSupportedObjectProperties()
203 case MtpConstants.FORMAT_AAC: in getSupportedObjectProperties()
206 case MtpConstants.FORMAT_MPEG: in getSupportedObjectProperties()
207 case MtpConstants.FORMAT_3GP_CONTAINER: in getSupportedObjectProperties()
208 case MtpConstants.FORMAT_WMV: in getSupportedObjectProperties()
211 case MtpConstants.FORMAT_EXIF_JPEG: in getSupportedObjectProperties()
212 case MtpConstants.FORMAT_GIF: in getSupportedObjectProperties()
213 case MtpConstants.FORMAT_PNG: in getSupportedObjectProperties()
214 case MtpConstants.FORMAT_BMP: in getSupportedObjectProperties()
215 case MtpConstants.FORMAT_DNG: in getSupportedObjectProperties()
216 case MtpConstants.FORMAT_HEIF: in getSupportedObjectProperties()
226 case MtpConstants.FORMAT_MP3: in getObjectPropertiesUri()
227 case MtpConstants.FORMAT_WAV: in getObjectPropertiesUri()
228 case MtpConstants.FORMAT_WMA: in getObjectPropertiesUri()
229 case MtpConstants.FORMAT_OGG: in getObjectPropertiesUri()
230 case MtpConstants.FORMAT_AAC: in getObjectPropertiesUri()
232 case MtpConstants.FORMAT_MPEG: in getObjectPropertiesUri()
233 case MtpConstants.FORMAT_3GP_CONTAINER: in getObjectPropertiesUri()
234 case MtpConstants.FORMAT_WMV: in getObjectPropertiesUri()
236 case MtpConstants.FORMAT_EXIF_JPEG: in getObjectPropertiesUri()
237 case MtpConstants.FORMAT_GIF: in getObjectPropertiesUri()
238 case MtpConstants.FORMAT_PNG: in getObjectPropertiesUri()
239 case MtpConstants.FORMAT_BMP: in getObjectPropertiesUri()
240 case MtpConstants.FORMAT_DNG: in getObjectPropertiesUri()
241 case MtpConstants.FORMAT_HEIF: in getObjectPropertiesUri()
276 MtpConstants.DEVICE_PROPERTY_BATTERY_LEVEL);
474 return new MtpPropertyList(MtpConstants.RESPONSE_PARAMETER_NOT_SUPPORTED); in getObjectPropertyList()
476 return new MtpPropertyList(MtpConstants.RESPONSE_SPECIFICATION_BY_GROUP_UNSUPPORTED); in getObjectPropertyList()
486 return new MtpPropertyList(MtpConstants.RESPONSE_SPECIFICATION_BY_DEPTH_UNSUPPORTED); in getObjectPropertyList()
494 return new MtpPropertyList(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE); in getObjectPropertyList()
500 return new MtpPropertyList(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE); in getObjectPropertyList()
514 return new MtpPropertyList(MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE); in getObjectPropertyList()
524 MtpPropertyList ret = new MtpPropertyList(MtpConstants.RESPONSE_OK); in getObjectPropertyList()
550 if (err != MtpConstants.RESPONSE_OK) { in getObjectPropertyList()
560 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE; in renameFile()
566 return MtpConstants.RESPONSE_GENERAL_ERROR; in renameFile()
580 return MtpConstants.RESPONSE_GENERAL_ERROR; in renameFile()
609 return MtpConstants.RESPONSE_OK; in renameFile()
618 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE; in beginMoveObject()
621 return allowed ? MtpConstants.RESPONSE_OK : MtpConstants.RESPONSE_GENERAL_ERROR; in beginMoveObject()
688 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE; in beginCopyObject()
709 case MtpConstants.PROPERTY_OBJECT_FILE_NAME: in setObjectProperty()
713 return MtpConstants.RESPONSE_OBJECT_PROP_NOT_SUPPORTED; in setObjectProperty()
720 case MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER: in getDeviceProperty()
721 case MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME: in getDeviceProperty()
730 return MtpConstants.RESPONSE_OK; in getDeviceProperty()
731 case MtpConstants.DEVICE_PROPERTY_IMAGE_SIZE: in getDeviceProperty()
741 return MtpConstants.RESPONSE_OK; in getDeviceProperty()
742 case MtpConstants.DEVICE_PROPERTY_PERCEIVED_DEVICE_TYPE: in getDeviceProperty()
744 return MtpConstants.RESPONSE_OK; in getDeviceProperty()
745 case MtpConstants.DEVICE_PROPERTY_BATTERY_LEVEL: in getDeviceProperty()
748 return MtpConstants.RESPONSE_OK; in getDeviceProperty()
750 return MtpConstants.RESPONSE_DEVICE_PROP_NOT_SUPPORTED; in getDeviceProperty()
757 case MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER: in setDeviceProperty()
758 case MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME: in setDeviceProperty()
762 return (e.commit() ? MtpConstants.RESPONSE_OK in setDeviceProperty()
763 : MtpConstants.RESPONSE_GENERAL_ERROR); in setDeviceProperty()
766 return MtpConstants.RESPONSE_DEVICE_PROP_NOT_SUPPORTED; in setDeviceProperty()
793 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE; in getObjectFilePath()
803 return MtpConstants.RESPONSE_OK; in getObjectFilePath()
846 case MtpConstants.FORMAT_HEIF: in getThumbnailInfo()
847 case MtpConstants.FORMAT_EXIF_JPEG: in getThumbnailInfo()
848 case MtpConstants.FORMAT_JFIF: in getThumbnailInfo()
861 case MtpConstants.FORMAT_PNG: in getThumbnailInfo()
862 case MtpConstants.FORMAT_GIF: in getThumbnailInfo()
863 case MtpConstants.FORMAT_BMP: in getThumbnailInfo()
883 case MtpConstants.FORMAT_HEIF: in getThumbnailData()
884 case MtpConstants.FORMAT_EXIF_JPEG: in getThumbnailData()
885 case MtpConstants.FORMAT_JFIF: in getThumbnailData()
894 case MtpConstants.FORMAT_PNG: in getThumbnailData()
895 case MtpConstants.FORMAT_GIF: in getThumbnailData()
896 case MtpConstants.FORMAT_BMP: in getThumbnailData()
911 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE; in beginDeleteObject()
914 return MtpConstants.RESPONSE_GENERAL_ERROR; in beginDeleteObject()
916 return MtpConstants.RESPONSE_OK; in beginDeleteObject()
985 return MtpConstants.RESPONSE_OPERATION_NOT_SUPPORTED; in setObjectReferences()