Searched refs:getNumberOfCameras (Results 1 – 7 of 7) 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()
249 assertThat(Camera.getNumberOfCameras()).isEqualTo(0); in testCameraInfoNoCameras()259 assertThat(Camera.getNumberOfCameras()).isEqualTo(1); in testCameraInfoBackOnly()270 assertThat(Camera.getNumberOfCameras()).isEqualTo(2); in testCameraInfoBackAndFront()
209 for (int i = 0; i < Camera.getNumberOfCameras(); i++) { in getCameraId()
196 protected static int getNumberOfCameras() { in getNumberOfCameras() method in ShadowCamera
238 return (Camera.getNumberOfCameras() >= 2); in HaveTwoCameras()