Searched refs:conflicting (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h75 * resource, and the corresponding cost, priority, owner ID, and conflicting keys list used
117 * Return true if the given key is in this descriptor's conflicting keys list.
122 * Return the set of all conflicting keys for this descriptor.
240 * - Any descriptors with keys that are in the incoming descriptor's 'conflicting keys' list
452 bool conflicting = (curKey == key || i->isConflicting(key) || local
458 if (conflicting && curPriority < priority) {
459 // Pre-existing conflicting client with higher priority exists
463 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) &&
478 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) {
479 // Pre-existing conflicting clien
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp248 std::set<String8> conflicting; local
250 conflicting.emplace(String8(cost.conflictingDevices[i].c_str()));
256 std::make_shared<CameraState>(id8, cost.resourceCost, conflicting));
1121 ALOGE("CameraService::connect evicting conflicting client for camera ID %s",
1859 ALOGE("Evicting conflicting client for camera ID %s due to user change",
2319 const std::set<String8>& conflicting) : mId(id),
2320 mStatus(StatusInternal::PRESENT), mCost(cost), mConflicting(conflicting) {}
2406 auto conflicting = i->getConflicting(); local
2426 for (auto& j : conflicting) {
2318 CameraState(const String8& id, int cost, const std::set<String8>& conflicting) argument
H A DCameraService.h443 * Make a new CameraState and set the ID, cost, and conflicting devices using the values
446 CameraState(const String8& id, int cost, const std::set<String8>& conflicting);
489 * Return a set of the IDs of conflicting devices advertised by the HAL for this device.
589 * Add new client to active clients list after conflicting clients have disconnected using the

Completed in 181 milliseconds