Searched refs:getNumberOfCameras (Results 1 – 6 of 6) sorted by relevance
117 String[] names = new String[android.hardware.Camera.getNumberOfCameras()]; in getDeviceNames()118 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { in getDeviceNames()126 return android.hardware.Camera.getNumberOfCameras(); in getDeviceCount()215 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) {
239 if (android.hardware.Camera.getNumberOfCameras() < 2) { in switchCamera()353 if (deviceName == null || android.hardware.Camera.getNumberOfCameras() == 0) { in lookupDeviceName()359 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { in lookupDeviceName()615 id = (id + 1) % android.hardware.Camera.getNumberOfCameras(); in switchCameraOnCameraThread()
177 assertThat(Camera.getNumberOfCameras(), equalTo(0)); in testCameraInfoNoCameras()187 assertThat(Camera.getNumberOfCameras(), equalTo(1)); in testCameraInfoBackOnly()198 assertThat( Camera.getNumberOfCameras(), equalTo(2) ); in testCameraInfoBackAndFront()
84 for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { in initializeCamera()101 for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { in initializeCamera()111 for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { in initializeCamera()
110 public static int getNumberOfCameras() { in getNumberOfCameras() method in ShadowCamera
238 return (Camera.getNumberOfCameras() >= 2); in HaveTwoCameras()