• Home
  • Raw
  • Download

Lines Matching refs:clients

306         int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) {  in getClientForResource_l()  argument
312 clients->push_back(client); in getClientForResource_l()
322 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local
346 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
351 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
358 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
364 if (clients.size() == 0) { in reclaimResource()
366 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
369 if (clients.size() == 0) { in reclaimResource()
371 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
372 getClientForResource_l(callingPid, nonSecureCodec, &clients); in reclaimResource()
375 if (clients.size() == 0) { in reclaimResource()
379 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
383 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
388 if (clients.size() == 0) { in reclaimResource()
393 for (size_t i = 0; i < clients.size(); ++i) { in reclaimResource()
394 log = String8::format("reclaimResource from client %p", clients[i].get()); in reclaimResource()
396 if (!clients[i]->reclaimResource()) { in reclaimResource()
397 failedClient = clients[i]; in reclaimResource()
432 int callingPid, MediaResource::Type type, Vector<sp<IResourceManagerClient>> *clients) { in getAllClients_l() argument
453 clients->appendVector(temp); in getAllClients_l()