Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/aidl/android/media/
DMediaResourceType.aidl32 kDrmSession = 6, enumConstant
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp281 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, -100)); in testCombineResourceWithNegativeValues()
298 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX)); in testCombineResourceWithNegativeValues()
302 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, 10)); in testCombineResourceWithNegativeValues()
308 expected.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX)); in testCombineResourceWithNegativeValues()
313 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, -10)); in testCombineResourceWithNegativeValues()
320 expected.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX - 10)); in testCombineResourceWithNegativeValues()
325 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MIN)); in testCombineResourceWithNegativeValues()
333 expected.push_back(MediaResource(MediaResource::Type::kDrmSession, 0)); in testCombineResourceWithNegativeValues()
/frameworks/av/media/libmedia/include/media/
DMediaResource.h55 case MediaResource::Type::kDrmSession: return "drm-session";
/frameworks/av/media/libmedia/
DMediaResource.cpp70 return MediaResource(Type::kDrmSession, id, value); in DrmSessionResource()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp68 Type::kDrmSession, SubType::kUnspecifiedSubType, in toResourceVec()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp366 if (res.value < 0 && res.type != MediaResource::Type::kDrmSession) { in addResource()
522 } else if (type == MediaResource::Type::kDrmSession) { in reclaimResource()