Home
last modified time | relevance | path

Searched refs:totalCost (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h293 explicit ClientManager(int32_t totalCost);
423 ClientManager<KEY, VALUE, LISTENER>::ClientManager(int32_t totalCost) : mMaxCost(totalCost) {} in ClientManager() argument
463 int64_t totalCost = getCurrentCostLocked() + cost; in wouldEvictLocked() local
499 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) && in wouldEvictLocked()
509 totalCost -= curCost; in wouldEvictLocked()
514 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()
527 if (totalCost > mMaxCost && highestPriorityOwner != owner) { in wouldEvictLocked()
711 int64_t totalCost = 0; in getCurrentCostLocked() local
713 totalCost += x->getCost(); in getCurrentCostLocked()
715 return totalCost; in getCurrentCostLocked()