frameworks/av/services/mediaresourcemanager/aidl/android/media/MediaResourceType.aidl
enum MediaResourceType {
kUnspecified = 0,
kSecureCodec = 1,
kNonSecureCodec = 2,
kGraphicMemory = 3,
kCpuBoost = 4,
kBattery = 5,
kDrmSession = 6,
}
frameworks/av/services/mediaresourcemanager/aidl/android/media/MediaResourceSubType.aidl
enum MediaResourceSubType {
kUnspecifiedSubType = 0,
kAudioCodec = 1,
kVideoCodec = 2,
}
frameworks/av/services/mediaresourcemanager/aidl/android/media/MediaResourceParcel.aidl
arcelable MediaResourceParcel {
// TODO: default enum value is not supported yet.
// Set default enum value when b/142739329 is fixed.
/**
* Type of the media resource.
*/
MediaResourceType type;// = MediaResourceTypeEnum::kUnspecified;
/**
* Sub-type of the media resource.
*/
MediaResourceSubType subType;// = MediaResourceSubTypeEnum::kUnspecifiedSubType;
/**
* Identifier of the media resource (eg. Drm session id).
*/
byte[] id