Lines Matching refs:MtpConstants
310 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) {
488 MtpConstants.FORMAT_UNDEFINED,
490 MtpConstants.FORMAT_ASSOCIATION,
491 MtpConstants.FORMAT_TEXT,
492 MtpConstants.FORMAT_HTML,
493 MtpConstants.FORMAT_WAV,
494 MtpConstants.FORMAT_MP3,
495 MtpConstants.FORMAT_MPEG,
496 MtpConstants.FORMAT_EXIF_JPEG,
497 MtpConstants.FORMAT_TIFF_EP,
498 MtpConstants.FORMAT_BMP,
499 MtpConstants.FORMAT_GIF,
500 MtpConstants.FORMAT_JFIF,
501 MtpConstants.FORMAT_PNG,
502 MtpConstants.FORMAT_TIFF,
503 MtpConstants.FORMAT_WMA,
504 MtpConstants.FORMAT_OGG,
505 MtpConstants.FORMAT_AAC,
506 MtpConstants.FORMAT_MP4_CONTAINER,
507 MtpConstants.FORMAT_MP2,
508 MtpConstants.FORMAT_3GP_CONTAINER,
509 MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST,
510 MtpConstants.FORMAT_WPL_PLAYLIST,
511 MtpConstants.FORMAT_M3U_PLAYLIST,
512 MtpConstants.FORMAT_PLS_PLAYLIST,
513 MtpConstants.FORMAT_XML_DOCUMENT,
514 MtpConstants.FORMAT_FLAC,
526 MtpConstants.PROPERTY_STORAGE_ID,
527 MtpConstants.PROPERTY_OBJECT_FORMAT,
528 MtpConstants.PROPERTY_PROTECTION_STATUS,
529 MtpConstants.PROPERTY_OBJECT_SIZE,
530 MtpConstants.PROPERTY_OBJECT_FILE_NAME,
531 MtpConstants.PROPERTY_DATE_MODIFIED,
532 MtpConstants.PROPERTY_PARENT_OBJECT,
533 MtpConstants.PROPERTY_PERSISTENT_UID,
534 MtpConstants.PROPERTY_NAME,
535 MtpConstants.PROPERTY_DATE_ADDED,
540 MtpConstants.PROPERTY_STORAGE_ID,
541 MtpConstants.PROPERTY_OBJECT_FORMAT,
542 MtpConstants.PROPERTY_PROTECTION_STATUS,
543 MtpConstants.PROPERTY_OBJECT_SIZE,
544 MtpConstants.PROPERTY_OBJECT_FILE_NAME,
545 MtpConstants.PROPERTY_DATE_MODIFIED,
546 MtpConstants.PROPERTY_PARENT_OBJECT,
547 MtpConstants.PROPERTY_PERSISTENT_UID,
548 MtpConstants.PROPERTY_NAME,
549 MtpConstants.PROPERTY_DISPLAY_NAME,
550 MtpConstants.PROPERTY_DATE_ADDED,
553 MtpConstants.PROPERTY_ARTIST,
554 MtpConstants.PROPERTY_ALBUM_NAME,
555 MtpConstants.PROPERTY_ALBUM_ARTIST,
556 MtpConstants.PROPERTY_TRACK,
557 MtpConstants.PROPERTY_ORIGINAL_RELEASE_DATE,
558 MtpConstants.PROPERTY_DURATION,
559 MtpConstants.PROPERTY_GENRE,
560 MtpConstants.PROPERTY_COMPOSER,
565 MtpConstants.PROPERTY_STORAGE_ID,
566 MtpConstants.PROPERTY_OBJECT_FORMAT,
567 MtpConstants.PROPERTY_PROTECTION_STATUS,
568 MtpConstants.PROPERTY_OBJECT_SIZE,
569 MtpConstants.PROPERTY_OBJECT_FILE_NAME,
570 MtpConstants.PROPERTY_DATE_MODIFIED,
571 MtpConstants.PROPERTY_PARENT_OBJECT,
572 MtpConstants.PROPERTY_PERSISTENT_UID,
573 MtpConstants.PROPERTY_NAME,
574 MtpConstants.PROPERTY_DISPLAY_NAME,
575 MtpConstants.PROPERTY_DATE_ADDED,
578 MtpConstants.PROPERTY_ARTIST,
579 MtpConstants.PROPERTY_ALBUM_NAME,
580 MtpConstants.PROPERTY_DURATION,
581 MtpConstants.PROPERTY_DESCRIPTION,
586 MtpConstants.PROPERTY_STORAGE_ID,
587 MtpConstants.PROPERTY_OBJECT_FORMAT,
588 MtpConstants.PROPERTY_PROTECTION_STATUS,
589 MtpConstants.PROPERTY_OBJECT_SIZE,
590 MtpConstants.PROPERTY_OBJECT_FILE_NAME,
591 MtpConstants.PROPERTY_DATE_MODIFIED,
592 MtpConstants.PROPERTY_PARENT_OBJECT,
593 MtpConstants.PROPERTY_PERSISTENT_UID,
594 MtpConstants.PROPERTY_NAME,
595 MtpConstants.PROPERTY_DISPLAY_NAME,
596 MtpConstants.PROPERTY_DATE_ADDED,
599 MtpConstants.PROPERTY_DESCRIPTION,
604 MtpConstants.PROPERTY_STORAGE_ID,
605 MtpConstants.PROPERTY_OBJECT_FORMAT,
606 MtpConstants.PROPERTY_PROTECTION_STATUS,
607 MtpConstants.PROPERTY_OBJECT_SIZE,
608 MtpConstants.PROPERTY_OBJECT_FILE_NAME,
609 MtpConstants.PROPERTY_DATE_MODIFIED,
610 MtpConstants.PROPERTY_PARENT_OBJECT,
611 MtpConstants.PROPERTY_PERSISTENT_UID,
612 MtpConstants.PROPERTY_NAME,
613 MtpConstants.PROPERTY_DISPLAY_NAME,
614 MtpConstants.PROPERTY_DATE_ADDED,
617 MtpConstants.PROPERTY_DESCRIPTION,
620 MtpConstants.PROPERTY_ARTIST,
621 MtpConstants.PROPERTY_ALBUM_NAME,
622 MtpConstants.PROPERTY_ALBUM_ARTIST,
623 MtpConstants.PROPERTY_TRACK,
624 MtpConstants.PROPERTY_ORIGINAL_RELEASE_DATE,
625 MtpConstants.PROPERTY_DURATION,
626 MtpConstants.PROPERTY_GENRE,
627 MtpConstants.PROPERTY_COMPOSER,
630 MtpConstants.PROPERTY_ARTIST,
631 MtpConstants.PROPERTY_ALBUM_NAME,
632 MtpConstants.PROPERTY_DURATION,
633 MtpConstants.PROPERTY_DESCRIPTION,
636 MtpConstants.PROPERTY_DESCRIPTION,
641 case MtpConstants.FORMAT_MP3:
642 case MtpConstants.FORMAT_WAV:
643 case MtpConstants.FORMAT_WMA:
644 case MtpConstants.FORMAT_OGG:
645 case MtpConstants.FORMAT_AAC:
647 case MtpConstants.FORMAT_MPEG:
648 case MtpConstants.FORMAT_3GP_CONTAINER:
649 case MtpConstants.FORMAT_WMV:
651 case MtpConstants.FORMAT_EXIF_JPEG:
652 case MtpConstants.FORMAT_GIF:
653 case MtpConstants.FORMAT_PNG:
654 case MtpConstants.FORMAT_BMP:
665 MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER,
666 MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME,
667 MtpConstants.DEVICE_PROPERTY_IMAGE_SIZE,
676 return new MtpPropertyList(0, MtpConstants.RESPONSE_SPECIFICATION_BY_GROUP_UNSUPPORTED);
715 return MtpConstants.RESPONSE_GENERAL_ERROR;
722 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE;
727 return MtpConstants.RESPONSE_OBJECT_WRITE_PROTECTED;
734 return MtpConstants.RESPONSE_GENERAL_ERROR;
741 return MtpConstants.RESPONSE_GENERAL_ERROR;
759 return MtpConstants.RESPONSE_GENERAL_ERROR;
785 return MtpConstants.RESPONSE_OK;
791 case MtpConstants.PROPERTY_OBJECT_FILE_NAME:
795 return MtpConstants.RESPONSE_OBJECT_PROP_NOT_SUPPORTED;
801 case MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER:
802 case MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME:
811 return MtpConstants.RESPONSE_OK;
813 case MtpConstants.DEVICE_PROPERTY_IMAGE_SIZE:
822 return MtpConstants.RESPONSE_OK;
825 return MtpConstants.RESPONSE_DEVICE_PROP_NOT_SUPPORTED;
831 case MtpConstants.DEVICE_PROPERTY_SYNCHRONIZATION_PARTNER:
832 case MtpConstants.DEVICE_PROPERTY_DEVICE_FRIENDLY_NAME:
836 return (e.commit() ? MtpConstants.RESPONSE_OK
837 : MtpConstants.RESPONSE_GENERAL_ERROR);
840 return MtpConstants.RESPONSE_DEVICE_PROP_NOT_SUPPORTED;
889 outFileLengthFormat[1] = MtpConstants.FORMAT_ASSOCIATION;
890 return MtpConstants.RESPONSE_OK;
904 return MtpConstants.RESPONSE_OK;
906 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE;
910 return MtpConstants.RESPONSE_GENERAL_ERROR;
933 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE;
937 return MtpConstants.RESPONSE_GENERAL_ERROR;
942 return MtpConstants.RESPONSE_OBJECT_WRITE_PROTECTED;
945 if (format == MtpConstants.FORMAT_ASSOCIATION) {
957 if (format != MtpConstants.FORMAT_ASSOCIATION
966 return MtpConstants.RESPONSE_OK;
968 return MtpConstants.RESPONSE_INVALID_OBJECT_HANDLE;
972 return MtpConstants.RESPONSE_GENERAL_ERROR;
1019 return MtpConstants.RESPONSE_OK;
1024 return MtpConstants.RESPONSE_GENERAL_ERROR;