Lines Matching refs:cost
464 CameraResourceCost cost; in addStates() local
465 status_t res = mCameraProviderManager->getResourceCost(cameraId, &cost); in addStates()
479 for (size_t i = 0; i < cost.conflictingDevices.size(); i++) { in addStates()
480 conflicting.emplace(cost.conflictingDevices[i]); in addStates()
485 mCameraStates.emplace(cameraId, std::make_shared<CameraState>(cameraId, cost.resourceCost, in addStates()
5024 CameraService::CameraState::CameraState(const std::string& id, int cost, in CameraState() argument
5027 mStatus(StatusInternal::NOT_PRESENT), mCost(cost), mConflicting(conflicting), in CameraState()
5143 int32_t cost = i->getCost(); in toString() local
5157 PRId32 ", State: %" PRId32, key.c_str(), cost, pid, score, state); in toString()
5178 const std::string& key, const sp<BasicClient>& value, int32_t cost, in makeClientDescriptor() argument
5186 key, value, cost, conflictingKeys, score_adj, ownerId, state_adj, in makeClientDescriptor()