Home
last modified time | relevance | path

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

/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DMediaResourceType.aidl35 kDrmSession = 6, enumConstant
/frameworks/av/media/libmedia/
DMediaResource.cpp71 return MediaResource(Type::kDrmSession, id, value); in DrmSessionResource()
/frameworks/av/media/libmedia/include/media/
DMediaResource.h56 case MediaResource::Type::kDrmSession: return "drm-session";
/frameworks/av/services/mediaresourcemanager/fuzzer/
DREADME.md17 …diaResource::kCpuBoost` 4.`MediaResource::kBattery` 5.`MediaResource::kDrmSession`| Value obtaine…
/frameworks/av/services/mediaresourcemanager/
DDefaultResourceModel.cpp105 case MediaResource::Type::kDrmSession: in getAllClients()
DResourceManagerService.cpp328 if (res.value < 0 && res.type != MediaResource::Type::kDrmSession) { in addResource()
512 case MediaResource::Type::kDrmSession: in getTargetClients()
876 MediaResource::Type::kDrmSession}) { in reclaimResourcesFromClientsPendingRemoval()
DResourceTracker.cpp114 if (res.value < 0 && res.type != MediaResource::Type::kDrmSession) { in addResource()
318 MediaResource::Type::kDrmSession}) { in getClientsMarkedPendingRemoval()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp65 return MediaResource(MediaResource::Type::kDrmSession, in createDrmSessionResource()
163 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, -100)); in testCombineResourceWithNegativeValues()
184 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX)); in testCombineResourceWithNegativeValues()
188 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, 10)); in testCombineResourceWithNegativeValues()
194 expected.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX)); in testCombineResourceWithNegativeValues()
199 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, -10)); in testCombineResourceWithNegativeValues()
206 expected.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX - 10)); in testCombineResourceWithNegativeValues()
211 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MIN)); in testCombineResourceWithNegativeValues()
218 expected.push_back(MediaResource(MediaResource::Type::kDrmSession, 0)); in testCombineResourceWithNegativeValues()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp68 Type::kDrmSession, SubType::kUnspecifiedSubType, in toResourceVec()