Lines Matching full:cost
222 ALOGE("%s: Received error loading camera info for device %d, cost and"
237 // Defaults to use for cost and conflicting devices
238 int cost = 100;
242 // If using post-2.4 module version, query the cost + conflicting devices from the HAL
244 cost = info.resource_cost;
257 mCameraStates.emplace(cameraId, std::make_shared<CameraState>(cameraId, cost,
2314 CameraService::CameraState::CameraState(const String8& id, int cost,
2316 mStatus(ICameraServiceListener::STATUS_PRESENT), mCost(cost), mConflicting(conflicting) {}
2398 int32_t cost = i->getCost();
2410 ret.appendFormat("\n(Camera ID: %s, Cost: %" PRId32 ", PID: %" PRId32 ", Priority: %"
2411 PRId32 ", ", key.string(), cost, pid, priority);
2432 const String8& key, const sp<BasicClient>& value, int32_t cost,
2436 key, value, cost, conflictingKeys, priority, ownerId);
2546 result.appendFormat(" Resource Cost: %d\n", state.second->getCost());