Lines Matching refs:cameraIds
310 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound() argument
311 for (int i = 0, n = cameraIds.size(); i < n; ++i) { in isCameraIdFound()
312 if (cameraId == cameraIds[i]) { in isCameraIdFound()
320 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile() argument
337 if (!isCameraIdFound(cameraId, cameraIds)) { in createCamcorderProfile()
338 cameraIds.add(cameraId); in createCamcorderProfile()
443 void MediaProfiles::initRequiredProfileRefs(const Vector<int>& cameraIds) { in initRequiredProfileRefs() argument
444 ALOGV("Number of camera ids: %zu", cameraIds.size()); in initRequiredProfileRefs()
445 CHECK(cameraIds.size() > 0); in initRequiredProfileRefs()
446 mRequiredProfileRefs = new RequiredProfiles[cameraIds.size()]; in initRequiredProfileRefs()
447 for (size_t i = 0, n = cameraIds.size(); i < n; ++i) { in initRequiredProfileRefs()
448 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; in initRequiredProfileRefs()