Lines Matching refs:MediaResource

105     static bool isEqualResources(const Vector<MediaResource> &resources1,  in isEqualResources()
106 const Vector<MediaResource> &resources2) { in isEqualResources()
119 const Vector<MediaResource> &resources) { in expectEqResourceInfo()
154 Vector<MediaResource> resources1; in addResource()
155 resources1.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in addResource()
157 resources1.push_back(MediaResource(MediaResource::kGraphicMemory, 200)); in addResource()
158 Vector<MediaResource> resources11; in addResource()
159 resources11.push_back(MediaResource(MediaResource::kGraphicMemory, 200)); in addResource()
163 Vector<MediaResource> resources2; in addResource()
164 resources2.push_back(MediaResource(MediaResource::kNonSecureCodec, 1)); in addResource()
165 resources2.push_back(MediaResource(MediaResource::kGraphicMemory, 300)); in addResource()
169 Vector<MediaResource> resources3; in addResource()
171 resources3.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in addResource()
172 resources3.push_back(MediaResource(MediaResource::kGraphicMemory, 100)); in addResource()
240 MediaResource::Type type = MediaResource::kSecureCodec; in testGetAllClients()
254 Vector<MediaResource> resources; in testReclaimResourceSecure()
255 resources.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in testReclaimResourceSecure()
256 resources.push_back(MediaResource(MediaResource::kGraphicMemory, 150)); in testReclaimResourceSecure()
356 Vector<MediaResource> resources; in testReclaimResourceSecure()
357 resources.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in testReclaimResourceSecure()
374 Vector<MediaResource> resources; in testReclaimResourceNonSecure()
375 resources.push_back(MediaResource(MediaResource::kNonSecureCodec, 1)); in testReclaimResourceNonSecure()
376 resources.push_back(MediaResource(MediaResource::kGraphicMemory, 150)); in testReclaimResourceNonSecure()
429 Vector<MediaResource> resources; in testReclaimResourceNonSecure()
430 resources.push_back(MediaResource(MediaResource::kNonSecureCodec, 1)); in testReclaimResourceNonSecure()
446 MediaResource::Type type = MediaResource::kGraphicMemory; in testGetLowestPriorityBiggestClient()
465 MediaResource::Type type = MediaResource::kGraphicMemory; in testGetLowestPriorityPid()
476 type = MediaResource::kNonSecureCodec; in testGetLowestPriorityPid()
485 MediaResource::Type type = MediaResource::kGraphicMemory; in testGetBiggestClient()