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

/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h38 * resource, and the corresponding cost, priority, owner ID, and conflicting keys list used
80 * Return true if the given key is in this descriptor's conflicting keys list.
85 * Return the set of all conflicting keys for this descriptor.
202 * - Any descriptors with keys that are in the incoming descriptor's 'conflicting keys' list
414 bool conflicting = (curKey == key || i->isConflicting(key) || local
420 if (conflicting && curPriority > priority) {
421 // Pre-existing conflicting client with higher priority exists
425 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) &&
440 if (curPriority > priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) {
441 // Pre-existing conflicting clien
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp223 " conflicting devices fields set to defaults for this device.",
237 // Defaults to use for cost and conflicting devices
242 // If using post-2.4 module version, query the cost + conflicting devices from the HAL
249 std::set<String8> conflicting; local
251 conflicting.emplace(String8(conflicting_devices[i]));
258 conflicting));
1182 ALOGE("CameraService::connect evicting conflicting client for camera ID %s",
1850 ALOGE("Evicting conflicting client for camera ID %s due to user change",
2315 const std::set<String8>& conflicting) : mId(id),
2316 mStatus(ICameraServiceListener::STATUS_PRESENT), mCost(cost), mConflicting(conflicting) {}
2314 CameraState(const String8& id, int cost, const std::set<String8>& conflicting) argument
2401 auto conflicting = i->getConflicting(); local
2545 auto conflicting = state.second->getConflicting(); local
[all...]
H A DCameraService.h424 * Make a new CameraState and set the ID, cost, and conflicting devices using the values
427 CameraState(const String8& id, int cost, const std::set<String8>& conflicting);
469 * Return a set of the IDs of conflicting devices advertised by the HAL for this device.
569 * Add new client to active clients list after conflicting clients have disconnected using the

Completed in 159 milliseconds