Lines Matching refs:code

38         int code;  field in MtpPropertyGroup.Property
42 Property(int code, int type, int column) { in Property() argument
43 this.code = code; in Property()
74 private Property createProperty(int code, ArrayList<String> columns) { in createProperty() argument
78 switch (code) { in createProperty()
161 Log.e(TAG, "unsupported property " + code); in createProperty()
167 return new Property(code, type, columns.size() - 1); in createProperty()
169 return new Property(code, type, -1); in createProperty()
201 switch (property.code) { in getPropertyList()
204 list.append(id, property.code, property.type, 0); in getPropertyList()
209 list.append(id, property.code, object.getName()); in getPropertyList()
214 list.append(id, property.code, in getPropertyList()
218 list.append(id, property.code, property.type, object.getStorageId()); in getPropertyList()
221 list.append(id, property.code, property.type, object.getFormat()); in getPropertyList()
224 list.append(id, property.code, property.type, object.getSize()); in getPropertyList()
227 list.append(id, property.code, property.type, in getPropertyList()
235 list.append(id, property.code, property.type, puid); in getPropertyList()
243 list.append(id, property.code, dateTime); in getPropertyList()
249 list.append(id, property.code, MtpConstants.TYPE_UINT16, in getPropertyList()
256 list.append(id, property.code, MtpConstants.TYPE_UINT32, 0); in getPropertyList()
261 list.append(id, property.code, MtpConstants.TYPE_UINT16, 0); in getPropertyList()
266 list.append(id, property.code, property.type, 0); in getPropertyList()
272 list.append(id, property.code, value); in getPropertyList()
278 list.append(id, property.code, property.type, longValue); in getPropertyList()