Home
last modified time | relevance | path

Searched refs:getNumberOfCameras (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java117 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) {
DVideoCapturerAndroid.java239 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()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraTest.java249 assertThat(Camera.getNumberOfCameras()).isEqualTo(0); in testCameraInfoNoCameras()
259 assertThat(Camera.getNumberOfCameras()).isEqualTo(1); in testCameraInfoBackOnly()
270 assertThat(Camera.getNumberOfCameras()).isEqualTo(2); in testCameraInfoBackAndFront()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java209 for (int i = 0; i < Camera.getNumberOfCameras(); i++) { in getCameraId()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java209 for (int i = 0; i < Camera.getNumberOfCameras(); i++) { in getCameraId()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java196 protected static int getNumberOfCameras() { in getNumberOfCameras() method in ShadowCamera
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java238 return (Camera.getNumberOfCameras() >= 2); in HaveTwoCameras()