Lines Matching refs:properties
76 * This is a mapping between libmtp internal MTP properties and
1095 add_ptp_error_to_errorstack(device, ret, "LIBMTP_Is_Property_Supported(): could not get properties supported.");
1392 // using the cached properties don't usually call this function.
1433 // using the cached properties don't usually call this function.
2189 * the same, it is just different properties of the same object.
2344 // Original file-specific properties
2395 // First see which properties can be retrieved for this object format
2890 printf("Device Properties Supported:\n");
2903 printf("Playable File (Object) Types and Object Properties Supported:\n");
2916 add_ptp_error_to_errorstack(device, ret, "LIBMTP_Dump_Device_Info(): error on query for object properties.");
3559 * properties as described by the PTP spec.
3692 * properties, then creates a linked list and puts the list head into
3952 // Original file-specific properties
4002 // First see which properties can be retrieved for this object format
4086 // Original file-specific properties
4120 // First see which properties can be retrieved for this object format
4336 // First see which properties can be retrieved for this object format
4510 // Original file-specific properties
4618 // Original file-specific properties
5686 uint16_t *properties = NULL;
5692 ret = ptp_mtp_getobjectpropssupported(params, of, &propcnt, &properties);
5697 ret = ptp_mtp_getobjectpropdesc(params, properties[i], of, &opd);
5702 switch (properties[i]) {
5752 free(properties);
5813 * function can update the right file. If some properties
5818 * or all of the properties fail to update we will still
5820 * properties that exist cannot be updated.
5829 uint16_t *properties = NULL;
5832 // First see which properties can be set on this file format and apply accordingly
5834 ret = ptp_mtp_getobjectpropssupported(params, map_libmtp_type_to_ptp_type(metadata->filetype), &propcnt, &properties);
5838 "could not retrieve supported object properties.");
5850 ret = ptp_mtp_getobjectpropdesc(params, properties[i], map_libmtp_type_to_ptp_type(metadata->filetype), &opd);
5855 switch (properties[i]) {
6004 free(properties);
6012 ret = ptp_mtp_getobjectpropdesc(params, properties[i], map_libmtp_type_to_ptp_type(metadata->filetype), &opd);
6017 switch (properties[i]) {
6180 free(properties);
6184 // update cached object properties if metadata cache exists
6187 free(properties);
6298 // update cached object properties if metadata cache exists
7039 uint16_t *properties = NULL;
7093 ret = ptp_mtp_getobjectpropssupported(params, objectformat, &propcnt, &properties);
7098 ret = ptp_mtp_getobjectpropdesc(params, properties[i], objectformat, &opd);
7103 switch (properties[i]) {
7187 free(properties);
7243 // set the properties one by one
7244 ret = ptp_mtp_getobjectpropssupported(params, objectformat, &propcnt, &properties);
7249 ret = ptp_mtp_getobjectpropdesc(params, properties[i], objectformat, &opd);
7254 switch (properties[i]) {
7313 free(properties);
7357 uint16_t *properties = NULL;
7361 // First see which properties can be set
7363 ret = ptp_mtp_getobjectpropssupported(params, objectformat, &propcnt, &properties);
7367 "could not retrieve supported object properties.");
7379 ret = ptp_mtp_getobjectpropdesc(params, properties[i], objectformat, &opd);
7384 switch (properties[i]) {
7446 // proplist could be NULL if we can't write any properties
7456 free(properties);
7463 switch (properties[i]) {
7521 free(properties);
7529 free(properties);
7533 free(properties);
7766 // First see which properties can be retrieved for albums
8011 * properties for.
8054 add_ptp_error_to_errorstack(device, ret, "LIBMTP_Get_Representative_Sample_Format(): could not get object properties.");
8058 * TODO: when walking through these object properties, make calls to
8060 * PTP_OC_MTP_GetObjectPropDesc to get max/min values of the properties
8183 add_ptp_error_to_errorstack(device, ret, "LIBMTP_Send_Representative_Sample(): could not get object properties.");
8277 add_ptp_error_to_errorstack(device, ret, "LIBMTP_Get_Representative_Sample(): could not get object properties.");
8310 // Get the other properties