Home
last modified time | relevance | path

Searched refs:cameraType (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarCameraService.java51 int[] cameraType = nativeGetSupportedCameras(mModule); in init() local
53 if (cameraType != null) { in init()
54 for (int i : cameraType) { in init()
113 public int getCapabilities(int cameraType) { in getCapabilities() argument
115 Log.d(TAG, "getCapabilities called, type = " + String.valueOf(cameraType)); in getCapabilities()
118 long device = getDeviceIdLocked(cameraType); in getCapabilities()
124 public Rect getCameraCrop(int cameraType) { in getCameraCrop() argument
127 long device = getDeviceIdLocked(cameraType); in getCameraCrop()
137 public void setCameraCrop(int cameraType, Rect rect) { in setCameraCrop() argument
142 long device = getDeviceIdLocked(cameraType); in setCameraCrop()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/camera/
DICarCamera.aidl26 int getCapabilities(in int cameraType) = 1; in getCapabilities() argument
28 Rect getCameraCrop(in int cameraType) = 2; in getCameraCrop() argument
30 void setCameraCrop(in int cameraType, in Rect rect) = 3; in setCameraCrop() argument
32 Rect getCameraPosition(in int cameraType) = 4; in getCameraPosition() argument
34 void setCameraPosition(in int cameraType, in Rect rect) = 5; in setCameraPosition() argument
36 CarCameraState getCameraState(in int cameraType) = 6; in getCameraState() argument
38 void setCameraState(in int cameraType, in CarCameraState state) = 7; in setCameraState() argument
DCarCameraManager.java80 public int getCameraCapabilities(int cameraType) throws CarNotConnectedException { in getCameraCapabilities() argument
83 capabilities = mService.getCapabilities(cameraType); in getCameraCapabilities()
91 public CarCamera openCamera(int cameraType) { in openCamera() argument
96 if(i == cameraType) { in openCamera()
97 camera = new CarCamera(mService, cameraType); in openCamera()
DCarCamera.java35 public CarCamera(ICarCamera service, int cameraType) { in CarCamera() argument
37 mCameraType = cameraType; in CarCamera()
/packages/services/Car/service/jni/
Dcom_android_car_CarCameraService.cpp94 (JNIEnv *env, jobject, jlong mod, jint cameraType) in com_android_car_CarCameraService_nativeGetDevice() argument
103 module->common.methods->open((hw_module_t*)module, cameraTypeString[cameraType], &device); in com_android_car_CarCameraService_nativeGetDevice()