Searched refs:SubType (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libmedia/include/media/ |
D | MediaResource.h | 33 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/ |
D | MediaResource.cpp | 28 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/ |
D | DrmSessionManager.cpp | 65 using SubType = aidl::android::media::MediaResourceSubType; in toResourceVec() typedef 68 Type::kDrmSession, SubType::kUnspecifiedSubType, in toResourceVec()
|
/frameworks/av/services/mediaresourcemanager/fuzzer/ |
D | README.md | 13 2. Media Resource SubType (parameter name: `mediaResourceSubType`)
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 191 if (resources[i].subType == MediaResource::SubType::kAudioCodec) { in notifyResourceGranted() 193 } else if (resources[i].subType == MediaResource::SubType::kVideoCodec) { in notifyResourceGranted() 369 && resource.subType == MediaResource::SubType::kUnspecifiedSubType) { in onFirstAdded() 378 && resource.subType == MediaResource::SubType::kVideoCodec) { in onFirstAdded() 386 && resource.subType == MediaResource::SubType::kUnspecifiedSubType in onLastRemoved() 392 && resource.subType == MediaResource::SubType::kVideoCodec) { in onLastRemoved()
|
D | ResourceManagerService.h | 48 MediaResource::Type, MediaResource::SubType, std::vector<uint8_t>>,
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 217 …ush_back(MediaResource(MediaResource::Type::kSecureCodec, MediaResource::SubType::kVideoCodec, 1)); in testCombineResource() 223 …expected.push_back(MediaResource(MediaResource::Type::kSecureCodec, MediaResource::SubType::kVideo… in testCombineResource() 659 …resources1.push_back(MediaResource(MediaResource::Type::kBattery, MediaResource::SubType::kVideoCo… in testBatteryStats() 670 …resources2.push_back(MediaResource(MediaResource::Type::kBattery, MediaResource::SubType::kVideoCo… in testBatteryStats()
|