Home
last modified time | relevance | path

Searched refs:mCameraIds (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/camera2/
DMultiCameraPreviewActivity.java59 private String[] mCameraIds; field in MultiCameraPreviewActivity
111 mCameraIds = mCameraManager.getCameraIdListNoLazy(); in onCreate()
112 if (mCameraIds.length == 0) { in onCreate()
117 for (int camIdx = 0; camIdx < mCameraIds.length; camIdx++) { in onCreate()
118 Log.i(TAG, "Creating preview for camera with ID " + mCameraIds[camIdx]); in onCreate()
120 mCameraIds[camIdx], in onCreate()
137 int numColumns = (int) Math.ceil(Math.sqrt(mCameraIds.length)); in addPreviewCells()
138 int numRows = -Math.floorDiv(-mCameraIds.length, numColumns); //==ceilDiv(nCameras, nCols) in addPreviewCells()
139 int numPadded = numColumns * numRows - mCameraIds.length; in addPreviewCells()
197 getString(R.string.camera2_selection_checkbox, mCameraIds[camIdx])); in addPreviewSurfaceView()
[all …]
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DCamera2PermissionTest.java50 private String[] mCameraIds; field in Camera2PermissionTest
68 mCameraIds = mCameraManager.getCameraIdList(); in setUp()
69 assertNotNull("Camera ids shouldn't be null", mCameraIds); in setUp()
89 for (String id : mCameraIds) { in testCameraOpen()
107 for (String id : mCameraIds) { in testSystemCameraDiscovery()
126 for (String id : mCameraIds) { in testCameraCharacteristicsNeedingPermission()
/packages/services/Car/cpp/evs/support_library/
DBaseUseCase.h69 BaseUseCase(vector<string> cameraIds) : mCameraIds(cameraIds) {}; in BaseUseCase()
74 vector<string> mCameraIds;
DAnalyzeUseCase.cpp59 string cameraId = mCameraIds[0]; in initialize()
111 mResourceManager->releaseStreamHandler(mCameraIds[0]); in stopVideoStream()
DDisplayUseCase.cpp88 string cameraId = mCameraIds[0]; in initialize()
181 mResourceManager->releaseStreamHandler(mCameraIds[0]); in stopVideoStream()