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

/packages/services/Car/car-lib/src/android/car/hardware/camera/
H A DICarCamera.aidl26 int getCapabilities(in int cameraType) = 1;
28 Rect getCameraCrop(in int cameraType) = 2;
30 void setCameraCrop(in int cameraType, in Rect rect) = 3;
32 Rect getCameraPosition(in int cameraType) = 4;
34 void setCameraPosition(in int cameraType, in Rect rect) = 5;
36 CarCameraState getCameraState(in int cameraType) = 6;
38 void setCameraState(in int cameraType, in CarCameraState state) = 7;
H A DCarCameraManager.java76 * @param cameraType Camera type to query capabilites
80 public int getCameraCapabilities(int cameraType) throws CarNotConnectedException { argument
83 capabilities = mService.getCapabilities(cameraType);
91 public CarCamera openCamera(int cameraType) { argument
94 // Find cameraType in the list of available cameras
96 if(i == cameraType) {
97 camera = new CarCamera(mService, cameraType);
H A DCarCamera.java35 public CarCamera(ICarCamera service, int cameraType) { argument
37 mCameraType = cameraType;
/packages/services/Car/service/src/com/android/car/
H A DCarCameraService.java51 int[] cameraType = nativeGetSupportedCameras(mModule);
53 if (cameraType != null) {
54 for (int i : cameraType) {
57 Log.e(TAG, "Null device pointer returned for cameraType = " + i);
113 public int getCapabilities(int cameraType) { argument
115 Log.d(TAG, "getCapabilities called, type = " + String.valueOf(cameraType));
118 long device = getDeviceIdLocked(cameraType);
124 public Rect getCameraCrop(int cameraType) { argument
127 long device = getDeviceIdLocked(cameraType);
137 public void setCameraCrop(int cameraType, Rec argument
148 getCameraPosition(int cameraType) argument
161 setCameraPosition(int cameraType, Rect rect) argument
172 getCameraState(int cameraType) argument
185 setCameraState(int cameraType, CarCameraState state) argument
200 getDeviceIdLocked(int cameraType) argument
216 nativeGetDevice(long module, int cameraType) argument
[all...]
/packages/services/Car/service/jni/
H A Dcom_android_car_CarCameraService.cpp94 (JNIEnv *env, jobject, jlong mod, jint cameraType)
103 module->common.methods->open((hw_module_t*)module, cameraTypeString[cameraType], &device);
93 com_android_car_CarCameraService_nativeGetDevice(JNIEnv *env, jobject, jlong mod, jint cameraType) argument

Completed in 123 milliseconds