Lines Matching refs:clients

484         Vector<std::shared_ptr<IResourceManagerClient>> *clients) {  in getClientForResource_l()  argument
490 clients->push_back(client); in getClientForResource_l()
503 Vector<std::shared_ptr<IResourceManagerClient>> clients; in reclaimResource() local
530 if (!getAllClients_l(callingPid, MediaResource::Type::kSecureCodec, &clients)) { in reclaimResource()
535 if (!getAllClients_l(callingPid, MediaResource::Type::kNonSecureCodec, &clients)) { in reclaimResource()
542 if (!getAllClients_l(callingPid, MediaResource::Type::kSecureCodec, &clients)) { in reclaimResource()
548 getClientForResource_l(callingPid, drmSession, &clients); in reclaimResource()
549 if (clients.size() == 0) { in reclaimResource()
554 if (clients.size() == 0) { in reclaimResource()
556 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
559 if (clients.size() == 0) { in reclaimResource()
561 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
562 getClientForResource_l(callingPid, nonSecureCodec, &clients); in reclaimResource()
565 if (clients.size() == 0) { in reclaimResource()
569 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
573 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
578 if (clients.size() == 0) { in reclaimResource()
583 for (size_t i = 0; i < clients.size(); ++i) { in reclaimResource()
584 log = String8::format("reclaimResource from client %p", clients[i].get()); in reclaimResource()
587 Status status = clients[i]->reclaimResource(&success); in reclaimResource()
589 failedClient = clients[i]; in reclaimResource()
698 Vector<std::shared_ptr<IResourceManagerClient>> *clients) { in getAllClients_l() argument
719 clients->appendVector(temp); in getAllClients_l()