Home
last modified time | relevance | path

Searched refs:mCameraIdsUnderTest (Results 1 – 3 of 3) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCamera2ParameterizedTestCase.java40 private String[] mCameraIdsUnderTest; field in Camera2ParameterizedTestCase
67 mCameraIdsUnderTest = deriveCameraIdsUnderTest(); in setUp()
68 assertNotNull("Unable to get camera ids", mCameraIdsUnderTest); in setUp()
75 Log.i(TAG, "Camera ids in setup:" + Arrays.toString(mCameraIdsUnderTest)); in tearDown()
78 "Number of cameras changed from " + mCameraIdsUnderTest.length + " to " + in tearDown()
80 mCameraIdsUnderTest.length == cameraIdsPostTest.length); in tearDown()
107 return mCameraIdsUnderTest; in getCameraIdsUnderTest()
/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/
DCamera2HeadlessSystemUserTest.java69 private String[] mCameraIdsUnderTest; field in Camera2HeadlessSystemUserTest
88 mCameraIdsUnderTest = getCameraIdsUnderTest(); in setUp()
89 assertNotNull("Camera ids shouldn't be null", mCameraIdsUnderTest); in setUp()
110 for (int i = 0; i < mCameraIdsUnderTest.length; i++) { in testHeadlessSystemUser_OpenCamera()
115 openCameraAsHeadlessSystemUser(mCameraIdsUnderTest[i]); in testHeadlessSystemUser_OpenCamera()
116 camera = CameraTestUtils.verifyCameraStateOpened(mCameraIdsUnderTest[i], in testHeadlessSystemUser_OpenCamera()
138 for (int i = 0; i < mCameraIdsUnderTest.length; i++) { in testHeadlessSystemUser_InvalidAccess()
142 mCameraManager.openCamera(mCameraIdsUnderTest[i], mCameraListener, mHandler); in testHeadlessSystemUser_InvalidAccess()
144 + "security exception" + mCameraIdsUnderTest[i]); in testHeadlessSystemUser_InvalidAccess()
167 for (int i = 0; i < mCameraIdsUnderTest.length; i++) { in testHeadlessSystemUser_SwitchForegroundUser()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestRule.java76 private String[] mCameraIdsUnderTest; field in Camera2AndroidTestRule
118 CameraTestUtils.verifyExternalCameraConnected(mCameraIdsUnderTest, in getCameraIdsUnderTest()
121 return mCameraIdsUnderTest; in getCameraIdsUnderTest()
244 mCameraIdsUnderTest = deriveCameraIdsUnderTest(); in before()
259 for (String cameraId : mCameraIdsUnderTest) { in before()
266 if (!Arrays.asList(mCameraIdsUnderTest).contains(physicalId) && in before()
277 mAllCameraIds = new String[mCameraIdsUnderTest.length + hiddenPhysicalIds.size()]; in before()
278 System.arraycopy(mCameraIdsUnderTest, 0, mAllCameraIds, 0, mCameraIdsUnderTest.length); in before()
280 mAllCameraIds[mCameraIdsUnderTest.length + i] = hiddenPhysicalIds.get(i); in before()
290 Log.i(TAG, "Camera ids in setup:" + Arrays.toString(mCameraIdsUnderTest)); in after()
[all …]