Home
last modified time | relevance | path

Searched refs:halVersion (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/gui/
DSensor.cpp46 Sensor::Sensor(struct sensor_t const* hwSensor, int halVersion) in Sensor() argument
62 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0) { in Sensor()
70 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
153 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
168 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
187 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
194 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
201 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
208 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
215 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor()
[all …]
/frameworks/native/services/sensorservice/
DSensorDevice.cpp172 const int halVersion = getHalDeviceVersion(); in activate() local
173 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_1) { in activate()
228 const int halVersion = getHalDeviceVersion(); in batch() local
229 if (halVersion < SENSORS_DEVICE_API_VERSION_1_1 && maxBatchReportLatencyNs != 0) { in batch()
262 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_1) { in batch()
336 const int halVersion = getHalDeviceVersion(); in enableAllSensors() local
345 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0) { in enableAllSensors()
359 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0) { in enableAllSensors()
DSensorService.cpp476 const int halVersion = device.getHalDeviceVersion(); in threadLoop() local
555 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) { in threadLoop()
1046 const int halVersion = dev.getHalDeviceVersion(); in flushSensor() local
1058 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) { in flushSensor()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h118 int halVersion, const String16& clientPackageName, int clientUid,
484 status_t connectHelper(const sp<CALLBACK>& cameraCb, const String8& cameraId, int halVersion,
726 int halVersion, int deviceVersion, apiLevel effectiveApiLevel,
783 int halVersion, const String16& clientPackageName, int clientUid, in connectHelper() argument
792 (halVersion == -1) ? "default" : std::to_string(halVersion).c_str(), in connectHelper()
850 clientUid, getpid(), legacyMode, halVersion, deviceVersion, effectiveApiLevel, in connectHelper()
DCameraService.cpp685 int halVersion, int deviceVersion, apiLevel effectiveApiLevel, in makeClient() argument
696 if (halVersion < 0 || halVersion == deviceVersion) { in makeClient()
736 halVersion == CAMERA_DEVICE_API_VERSION_1_0) { in makeClient()
744 " opened as HAL %x device", halVersion, deviceVersion, in makeClient()
1152 int cameraId, int halVersion, in connectLegacy() argument
1160 if (halVersion != CAMERA_HAL_API_VERSION_UNSPECIFIED && in connectLegacy()
1177 ret = connectHelper<ICameraClient,Client>(cameraClient, id, halVersion, clientPackageName, in connectLegacy()
/frameworks/av/services/camera/libcameraservice/common/
DCameraModule.h45 int openLegacy(const char* id, uint32_t halVersion, struct hw_device_t** device);
DCameraModule.cpp224 const char* id, uint32_t halVersion, struct hw_device_t** device) { in openLegacy() argument
225 return mModule->open_legacy(&mModule->common, id, halVersion, device); in openLegacy()
/frameworks/av/camera/
DICameraService.cpp200 int halVersion, in connectLegacy() argument
208 data.writeInt32(halVersion); in connectLegacy()
476 int32_t halVersion = data.readInt32(); in onTransact() local
480 status_t status = connectLegacy(cameraClient, cameraId, halVersion, in onTransact()
DCamera.cpp80 status_t Camera::connectLegacy(int cameraId, int halVersion, in connectLegacy() argument
92 status = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName, in connectLegacy()
/frameworks/base/core/java/android/hardware/
DICameraService.aidl75 int halVersion, in connectLegacy() argument
DCamera.java400 public static Camera openLegacy(int cameraId, int halVersion) { in openLegacy() argument
401 if (halVersion < CAMERA_HAL_API_VERSION_1_0) { in openLegacy()
402 throw new IllegalArgumentException("Invalid HAL version " + halVersion); in openLegacy()
405 return new Camera(cameraId, halVersion); in openLegacy()
415 private Camera(int cameraId, int halVersion) { in Camera() argument
416 int err = cameraInitVersion(cameraId, halVersion); in Camera()
445 private int cameraInitVersion(int cameraId, int halVersion) { in cameraInitVersion() argument
463 return native_setup(new WeakReference<Camera>(this), cameraId, halVersion, in cameraInitVersion()
531 private native final int native_setup(Object camera_this, int cameraId, int halVersion, in native_setup() argument
/frameworks/native/include/gui/
DSensor.h56 Sensor(struct sensor_t const* hwSensor, int halVersion = 0);
/frameworks/av/include/camera/
DICameraService.h153 int cameraId, int halVersion,
DCamera.h77 static status_t connectLegacy(int cameraId, int halVersion,
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp523 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) in android_hardware_Camera_native_setup() argument
534 if (halVersion == CAMERA_HAL_API_VERSION_NORMAL_CONNECT) { in android_hardware_Camera_native_setup()
539 jint status = Camera::connectLegacy(cameraId, halVersion, clientName, in android_hardware_Camera_native_setup()