Home
last modified time | relevance | path

Searched refs:kSecureCodec (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp223 resources1.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in addResource()
239 resources3.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in addResource()
293 resources1.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in testCombineResource()
312 expected.push_back(MediaResource(MediaResource::kSecureCodec, 2)); in testCombineResource()
318 … resources11.push_back(MediaResource(MediaResource::kSecureCodec, MediaResource::kVideoCodec, 1)); in testCombineResource()
322 expected.push_back(MediaResource(MediaResource::kSecureCodec, 2)); in testCombineResource()
324 … expected.push_back(MediaResource(MediaResource::kSecureCodec, MediaResource::kVideoCodec, 1)); in testCombineResource()
332 resources1.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in testRemoveResource()
351 expected.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in testRemoveResource()
360 expected.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in testRemoveResource()
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaResource.h31 kSecureCodec, enumerator
68 case MediaResource::kSecureCodec: return "secure-codec";
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp452 if (resources[i].mType == MediaResource::kSecureCodec) { in reclaimResource()
466 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
478 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
508 MediaResource temp(MediaResource::kSecureCodec, 1); in reclaimResource()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp997 secureCodec ? MediaResource::kSecureCodec : MediaResource::kNonSecureCodec; in init()
1113 MediaResource::kSecureCodec : MediaResource::kNonSecureCodec; in configure()
1265 MediaResource::kSecureCodec : MediaResource::kNonSecureCodec; in start()
2062 resourceType = MediaResource::kSecureCodec; in onMessageReceived()