• Home
  • Raw
  • Download

Lines Matching refs:clients

251         int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) {  in getClientForResource_l()  argument
257 clients->push_back(client); in getClientForResource_l()
267 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local
291 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
296 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
303 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
309 if (clients.size() == 0) { in reclaimResource()
311 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
314 if (clients.size() == 0) { in reclaimResource()
316 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
317 getClientForResource_l(callingPid, nonSecureCodec, &clients); in reclaimResource()
320 if (clients.size() == 0) { in reclaimResource()
324 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
328 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
333 if (clients.size() == 0) { in reclaimResource()
338 for (size_t i = 0; i < clients.size(); ++i) { in reclaimResource()
339 log = String8::format("reclaimResource from client %p", clients[i].get()); in reclaimResource()
341 if (!clients[i]->reclaimResource()) { in reclaimResource()
342 failedClient = clients[i]; in reclaimResource()
377 int callingPid, MediaResource::Type type, Vector<sp<IResourceManagerClient>> *clients) { in getAllClients_l() argument
398 clients->appendVector(temp); in getAllClients_l()