Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h329 explicit ClientManager(int32_t totalCost);
459 ClientManager<KEY, VALUE, LISTENER>::ClientManager(int32_t totalCost) : mMaxCost(totalCost) {} in ClientManager() argument
499 int64_t totalCost = getCurrentCostLocked() + cost; in wouldEvictLocked() local
543 totalCost -= curCost; in wouldEvictLocked()
549 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) && in wouldEvictLocked()
559 totalCost -= curCost; in wouldEvictLocked()
564 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()
577 if (totalCost > mMaxCost && highestPriorityOwner != owner) { in wouldEvictLocked()
761 int64_t totalCost = 0; in getCurrentCostLocked() local
763 totalCost += x->getCost(); in getCurrentCostLocked()
[all …]