Home
last modified time | relevance | path

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

/packages/services/Car/service/jni/
Dcom_android_car_CarCameraService.cpp71 uint32_t numCameras; in com_android_car_CarCameraService_nativeGetSupportedCameras() local
74 camera_list = module->get_camera_device_list(&numCameras); in com_android_car_CarCameraService_nativeGetSupportedCameras()
76 if ((numCameras > 0) && (camera_list != NULL)) { in com_android_car_CarCameraService_nativeGetSupportedCameras()
77 outArray = env->NewIntArray(numCameras); in com_android_car_CarCameraService_nativeGetSupportedCameras()
84 env->SetIntArrayRegion(outArray, 0, numCameras, (jint*)camera_list); in com_android_car_CarCameraService_nativeGetSupportedCameras()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DVideoChatTestActivity.java194 int numCameras = Camera.getNumberOfCameras(); in doInBackground() local
196 for (int i = 0; i < numCameras; i++) { in doInBackground()
206 for (int i = 0; i < numCameras; i++) { in doInBackground()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java480 int numCameras = info.getNumberOfCameras(); in getCameraId() local
481 for (int i = 0; i < numCameras; ++i) { in getCameraId()