Lines Matching refs:cameraIds
307 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound() argument
308 for (int i = 0, n = cameraIds.size(); i < n; ++i) { in isCameraIdFound()
309 if (cameraId == cameraIds[i]) { in isCameraIdFound()
317 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile() argument
334 if (!isCameraIdFound(cameraId, cameraIds)) { in createCamcorderProfile()
335 cameraIds.add(cameraId); in createCamcorderProfile()
440 void MediaProfiles::initRequiredProfileRefs(const Vector<int>& cameraIds) { in initRequiredProfileRefs() argument
441 ALOGV("Number of camera ids: %zu", cameraIds.size()); in initRequiredProfileRefs()
442 CHECK(cameraIds.size() > 0); in initRequiredProfileRefs()
443 mRequiredProfileRefs = new RequiredProfiles[cameraIds.size()]; in initRequiredProfileRefs()
444 for (size_t i = 0, n = cameraIds.size(); i < n; ++i) { in initRequiredProfileRefs()
445 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; in initRequiredProfileRefs()