Home
last modified time | relevance | path

Searched refs:mediaResource (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/mediaresourcemanager/
DDefaultResourceModel.cpp45 MediaResourceParcel mediaResource{.type = reclimRequestInfo.mResources[0].type, in getAllClients() local
49 &mediaResource}; in getAllClients()
66 mediaResource.type = MediaResource::Type::kNonSecureCodec; in getAllClients()
79 mediaResource.type = MediaResource::Type::kSecureCodec; in getAllClients()
107 mediaResource.id = reclimRequestInfo.mResources[0].id; in getAllClients()
108 mediaResource.value = reclimRequestInfo.mResources[0].value; in getAllClients()
120 MediaResourceParcel mediaResource; in getCodecClients() local
123 &mediaResource}; in getCodecClients()
129 mediaResource.type = reclimRequestInfo.mResources[index].type; in getCodecClients()
130 mediaResource.subType = reclimRequestInfo.mResources[index].subType; in getCodecClients()
[all …]
DResourceManagerService.cpp522 MediaResourceParcel mediaResource{.type = MediaResource::Type::kSecureCodec, in getTargetClients() local
524 ResourceRequestInfo resourceRequestInfo{callingPid, clientId, &mediaResource}; in getTargetClients()
531 mediaResource.type = MediaResource::Type::kNonSecureCodec; in getTargetClients()
539 MediaResourceParcel mediaResource{.type = MediaResource::Type::kSecureCodec, in getTargetClients() local
541 ResourceRequestInfo resourceRequestInfo{callingPid, clientId, &mediaResource}; in getTargetClients()
/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp56 vector<MediaResourceParcel> mediaResource; member
189 ->addResource(clientInfo, tArgs->testClient, tArgs->mediaResource); in addResource()
203 (tArgs->service)->removeResource(clientInfo, tArgs->mediaResource); in removeResource()
204 (tArgs->service)->reclaimResource(clientInfo, tArgs->mediaResource, &result); in removeResource()
243 vector<MediaResourceParcel> mediaResource[numThreadPairs]; in setResources() local
259 mediaResource[k].push_back(MediaResource(static_cast<MedResType>(mediaResourceType), in setResources()
262 threadArgs[k].mediaResource = mediaResource[k]; in setResources()