/frameworks/native/libs/gui/ |
H A D | Sensor.cpp | 43 Sensor::Sensor(struct sensor_t const* hwSensor, int halVersion) argument 59 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0) { 67 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_3) { 148 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { 163 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { 182 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { 189 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { 196 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { 203 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { 209 if (halVersion > SENSORS_DEVICE_API_VERSION_1_ [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | ICameraService.aidl | 79 int halVersion,
|
H A D | Camera.java | 387 * @param halVersion The HAL API version this camera device to be opened as. 390 * @throws IllegalArgumentException if the {@code halVersion} is invalid 401 public static Camera openLegacy(int cameraId, int halVersion) { argument 402 if (halVersion < CAMERA_HAL_API_VERSION_1_0) { 403 throw new IllegalArgumentException("Invalid HAL version " + halVersion); 406 return new Camera(cameraId, halVersion); 414 * @param halVersion The HAL API version this camera device to be opened as. 416 private Camera(int cameraId, int halVersion) { argument 417 int err = cameraInitVersion(cameraId, halVersion); 446 private int cameraInitVersion(int cameraId, int halVersion) { argument 533 native_setup(Object camera_this, int cameraId, int halVersion, String packageName) argument [all...] |
/frameworks/native/include/gui/ |
H A D | Sensor.h | 56 Sensor(struct sensor_t const* hwSensor, int halVersion = 0);
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 82 result.appendFormat("halVersion %d\n", getHalDeviceVersion()); 167 const int halVersion = getHalDeviceVersion(); local 168 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_1) { 218 const int halVersion = getHalDeviceVersion(); local 219 if (halVersion < SENSORS_DEVICE_API_VERSION_1_1 && maxBatchReportLatencyNs != 0) { 252 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_1) {
|
H A D | SensorService.cpp | 391 const int halVersion = device.getHalDeviceVersion(); local 470 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) { 885 const int halVersion = dev.getHalDeviceVersion(); local 897 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) {
|
/frameworks/av/include/camera/ |
H A D | ICameraService.h | 136 * For halVersion, use CAMERA_API_DEVICE_VERSION_* for a particular 140 int cameraId, int halVersion,
|
H A D | Camera.h | 77 static status_t connectLegacy(int cameraId, int halVersion,
|
/frameworks/av/camera/ |
H A D | ICameraService.cpp | 191 int halVersion, 199 data.writeInt32(halVersion); 477 int32_t halVersion = data.readInt32(); local 481 status_t status = connectLegacy(cameraClient, cameraId, halVersion, 190 connectLegacy(const sp<ICameraClient>& cameraClient, int cameraId, int halVersion, const String16 &clientPackageName, int clientUid, sp<ICamera>& device) argument
|
H A D | Camera.cpp | 80 status_t Camera::connectLegacy(int cameraId, int halVersion, argument 92 status = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName,
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 671 int halVersion, 677 if (halVersion < 0 || halVersion == deviceVersion) { 706 halVersion == CAMERA_DEVICE_API_VERSION_1_0) { 714 " opened as HAL %x device", halVersion, deviceVersion, 786 int cameraId, int halVersion, 792 if (halVersion != CAMERA_HAL_API_VERSION_UNSPECIFIED && 835 halVersion, 662 connectHelperLocked( sp<Client>& client, const sp<ICameraClient>& cameraClient, int cameraId, const String16& clientPackageName, int clientUid, int callingPid, int halVersion, bool legacyMode) argument 784 connectLegacy( const sp<ICameraClient>& cameraClient, int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<ICamera>& device) argument
|
H A D | CameraService.h | 87 int halVersion, const String16& clientPackageName, int clientUid, 464 int halVersion = CAMERA_HAL_API_VERSION_UNSPECIFIED,
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 517 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) 526 if (halVersion == CAMERA_HAL_API_VERSION_NORMAL_CONNECT) { 531 jint status = Camera::connectLegacy(cameraId, halVersion, clientName, 516 android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) argument
|