Home
last modified time | relevance | path

Searched refs:SubType (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libmedia/include/media/
DMediaResource.h33 using SubType = MediaResourceSubType; variable
37 MediaResource(Type type, SubType subType, int64_t value);
60 inline static const char *asString(MediaResource::SubType i, const char *def = "??") {
62 case MediaResource::SubType::kUnspecifiedSubType: return "unspecified";
63 case MediaResource::SubType::kAudioCodec: return "audio-codec";
64 case MediaResource::SubType::kVideoCodec: return "video-codec";
/frameworks/av/media/libmedia/
DMediaResource.cpp28 this->subType = SubType::kUnspecifiedSubType; in MediaResource()
32 MediaResource::MediaResource(Type type, SubType subType, int64_t value) { in MediaResource()
40 this->subType = SubType::kUnspecifiedSubType; in MediaResource()
49 video ? SubType::kVideoCodec : SubType::kAudioCodec, in CodecResource()
65 return MediaResource(Type::kBattery, SubType::kVideoCodec, 1); in VideoBatteryResource()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp65 using SubType = aidl::android::media::MediaResourceSubType; in toResourceVec() typedef
68 Type::kDrmSession, SubType::kUnspecifiedSubType, in toResourceVec()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp133 if (resources[i].subType == MediaResource::SubType::kAudioCodec) { in notifyResourceGranted()
135 } else if (resources[i].subType == MediaResource::SubType::kVideoCodec) { in notifyResourceGranted()
299 && resource.subType == MediaResource::SubType::kUnspecifiedSubType) { in onFirstAdded()
308 && resource.subType == MediaResource::SubType::kVideoCodec) { in onFirstAdded()
316 && resource.subType == MediaResource::SubType::kUnspecifiedSubType in onLastRemoved()
322 && resource.subType == MediaResource::SubType::kVideoCodec) { in onLastRemoved()
DResourceManagerService.h46 MediaResource::Type, MediaResource::SubType, std::vector<int8_t>>,
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp397 …ush_back(MediaResource(MediaResource::Type::kSecureCodec, MediaResource::SubType::kVideoCodec, 1)); in testCombineResource()
403 …expected.push_back(MediaResource(MediaResource::Type::kSecureCodec, MediaResource::SubType::kVideo… in testCombineResource()
815 …resources1.push_back(MediaResource(MediaResource::Type::kBattery, MediaResource::SubType::kVideoCo… in testBatteryStats()
826 …resources2.push_back(MediaResource(MediaResource::Type::kBattery, MediaResource::SubType::kVideoCo… in testBatteryStats()