Lines Matching refs:DrmSupportInfo
17 #include <drm/DrmSupportInfo.h>
22 DrmSupportInfo::DrmSupportInfo() {
26 DrmSupportInfo::DrmSupportInfo(const DrmSupportInfo& drmSupportInfo):
27 mMimeTypeVector(drmSupportInfo.mMimeTypeVector),
28 mFileSuffixVector(drmSupportInfo.mFileSuffixVector),
29 mDescription(drmSupportInfo.mDescription) {
33 bool DrmSupportInfo::operator<(const DrmSupportInfo& drmSupportInfo) const {
36 return mDescription < drmSupportInfo.mDescription;
39 bool DrmSupportInfo::operator==(const DrmSupportInfo& drmSupportInfo) const {
42 return (mDescription == drmSupportInfo.mDescription);
45 bool DrmSupportInfo::isSupportedMimeType(const String8& mimeType) const {
60 bool DrmSupportInfo::isSupportedFileSuffix(const String8& fileType) const {
71 DrmSupportInfo& DrmSupportInfo::operator=(const DrmSupportInfo& drmSupportInfo) {
72 mMimeTypeVector = drmSupportInfo.mMimeTypeVector;
73 mFileSuffixVector = drmSupportInfo.mFileSuffixVector;
74 mDescription = drmSupportInfo.mDescription;
78 int DrmSupportInfo::getMimeTypeCount(void) const {
82 int DrmSupportInfo::getFileSuffixCount(void) const {
86 status_t DrmSupportInfo::addMimeType(const String8& mimeType) {
91 status_t DrmSupportInfo::addFileSuffix(const String8& fileSuffix) {
96 status_t DrmSupportInfo::setDescription(const String8& description) {
101 String8 DrmSupportInfo::getDescription() const {
105 DrmSupportInfo::FileSuffixIterator DrmSupportInfo::getFileSuffixIterator() {
109 DrmSupportInfo::MimeTypeIterator DrmSupportInfo::getMimeTypeIterator() {
113 DrmSupportInfo::FileSuffixIterator::FileSuffixIterator(
114 const DrmSupportInfo::FileSuffixIterator& iterator) :
120 DrmSupportInfo::FileSuffixIterator& DrmSupportInfo::FileSuffixIterator::operator=(
121 const DrmSupportInfo::FileSuffixIterator& iterator) {
127 bool DrmSupportInfo::FileSuffixIterator::hasNext() {
131 String8& DrmSupportInfo::FileSuffixIterator::next() {
137 DrmSupportInfo::MimeTypeIterator::MimeTypeIterator(
138 const DrmSupportInfo::MimeTypeIterator& iterator) :
144 DrmSupportInfo::MimeTypeIterator& DrmSupportInfo::MimeTypeIterator::operator=(
145 const DrmSupportInfo::MimeTypeIterator& iterator) {
151 bool DrmSupportInfo::MimeTypeIterator::hasNext() {
155 String8& DrmSupportInfo::MimeTypeIterator::next() {