Searched refs:MediaResourceSubType (Results 1 – 11 of 11) sorted by relevance
52 inline int32_t getMetricsCodecType(MediaResourceSubType codecType) { in getMetricsCodecType()54 case MediaResourceSubType::kHwAudioCodec: in getMetricsCodecType()55 case MediaResourceSubType::kSwAudioCodec: in getMetricsCodecType()57 case MediaResourceSubType::kHwVideoCodec: in getMetricsCodecType()58 case MediaResourceSubType::kSwVideoCodec: in getMetricsCodecType()60 case MediaResourceSubType::kHwImageCodec: in getMetricsCodecType()61 case MediaResourceSubType::kSwImageCodec: in getMetricsCodecType()63 case MediaResourceSubType::kUnspecifiedSubType: in getMetricsCodecType()69 inline const char* getCodecType(MediaResourceSubType codecType) { in getCodecType()71 case MediaResourceSubType::kHwAudioCodec: return "Hw Audio"; in getCodecType()[all …]
44 if (res.subType == MediaResourceSubType::kHwVideoCodec || in getObservableType()45 res.subType == MediaResourceSubType::kSwVideoCodec) { in getObservableType()
16 "aidl/android/media/MediaResourceSubType.aidl",
20 import android.media.MediaResourceSubType;36 MediaResourceSubType subType = MediaResourceSubType.kUnspecifiedSubType;
20 import android.media.MediaResourceSubType;36 MediaResourceSubType codecType = MediaResourceSubType.kUnspecifiedSubType;
25 enum MediaResourceSubType { enum
27 using aidl::android::media::MediaResourceSubType;33 using SubType = MediaResourceSubType;40 static MediaResource CodecResource(bool secure, MediaResourceSubType subType,
38 // frameworks/av/services/mediaresourcemanager/aidl/android/media/MediaResourceSubType.aidl
65 using SubType = aidl::android::media::MediaResourceSubType; in toResourceVec()
37 using MedResSubType = aidl::android::media::MediaResourceSubType;
1069 static MediaResourceSubType toMediaResourceSubType(bool isHardware, MediaCodec::Domain domain) { in toMediaResourceSubType()1072 return isHardware? MediaResourceSubType::kHwVideoCodec : in toMediaResourceSubType()1073 MediaResourceSubType::kSwVideoCodec; in toMediaResourceSubType()1075 return isHardware? MediaResourceSubType::kHwAudioCodec : in toMediaResourceSubType()1076 MediaResourceSubType::kSwAudioCodec; in toMediaResourceSubType()1078 return isHardware? MediaResourceSubType::kHwImageCodec : in toMediaResourceSubType()1079 MediaResourceSubType::kSwImageCodec; in toMediaResourceSubType()1081 return MediaResourceSubType::kUnspecifiedSubType; in toMediaResourceSubType()