Lines Matching refs:clients

423         int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) {  in getClientForResource_l()  argument
429 clients->push_back(client); in getClientForResource_l()
439 Vector<sp<IResourceManagerClient>> clients; in reclaimResource() local
466 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
471 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
478 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
484 getClientForResource_l(callingPid, drmSession, &clients); in reclaimResource()
485 if (clients.size() == 0) { in reclaimResource()
490 if (clients.size() == 0) { in reclaimResource()
492 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
495 if (clients.size() == 0) { in reclaimResource()
497 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
498 getClientForResource_l(callingPid, nonSecureCodec, &clients); in reclaimResource()
501 if (clients.size() == 0) { in reclaimResource()
505 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
509 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
514 if (clients.size() == 0) { in reclaimResource()
519 for (size_t i = 0; i < clients.size(); ++i) { in reclaimResource()
520 log = String8::format("reclaimResource from client %p", clients[i].get()); in reclaimResource()
522 if (!clients[i]->reclaimResource()) { in reclaimResource()
523 failedClient = clients[i]; in reclaimResource()
558 int callingPid, MediaResource::Type type, Vector<sp<IResourceManagerClient>> *clients) { in getAllClients_l() argument
579 clients->appendVector(temp); in getAllClients_l()