Searched refs:halVersion (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/sensor/ |
D | Sensor.cpp | 44 Sensor::Sensor(struct sensor_t const* hwSensor, int halVersion) : in Sensor() argument 45 Sensor(*hwSensor, uuid_t(), halVersion) { in Sensor() 48 Sensor::Sensor(struct sensor_t const& hwSensor, const uuid_t& uuid, int halVersion) : in Sensor() argument 65 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0) { in Sensor() 73 if (halVersion >= SENSORS_DEVICE_API_VERSION_1_3) { in Sensor() 156 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor() 171 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor() 198 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor() 205 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor() 212 if (halVersion < SENSORS_DEVICE_API_VERSION_1_3) { in Sensor() [all …]
|
/frameworks/native/libs/sensor/include/sensor/ |
D | Sensor.h | 68 explicit Sensor(struct sensor_t const* hwSensor, int halVersion = 0); 69 Sensor(struct sensor_t const& hwSensor, const uuid_t& uuid, int halVersion = 0);
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 1410 String halVersion; in usbGadgetHalVersionToString() local 1413 halVersion = GADGET_HAL_VERSION_1_2; in usbGadgetHalVersionToString() 1415 halVersion = GADGET_HAL_VERSION_1_1; in usbGadgetHalVersionToString() 1417 halVersion = GADGET_HAL_VERSION_1_0; in usbGadgetHalVersionToString() 1419 halVersion = GADGET_HAL_UNKNOWN; in usbGadgetHalVersionToString() 1422 return halVersion; in usbGadgetHalVersionToString()
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.cpp | 126 float halVersion = effectsFactory->getHalVersion(); in checkEffectCompatibility() local 130 || halVersion < sMinDeviceEffectHalVersion) { in checkEffectCompatibility() 132 __func__, desc->name, halVersion); in checkEffectCompatibility()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 461 public static Camera openLegacy(int cameraId, int halVersion) { in openLegacy() argument 462 if (halVersion < CAMERA_HAL_API_VERSION_3_0) { in openLegacy() 463 throw new IllegalArgumentException("Unsupported HAL version " + halVersion); in openLegacy()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 912 const int halVersion = device.getHalDeviceVersion(); in threadLoop() local 994 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) { in threadLoop() 1904 const int halVersion = dev.getHalDeviceVersion(); in flushSensor() local 1918 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) { in flushSensor()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 580 GnssConfiguration.HalInterfaceVersion halVersion = in handleRequestLocation() local 582 if (isUserEmergency || halVersion.mMajor < 2) { in handleRequestLocation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 456 public void setCompatVersion(int rilRequest, @NonNull HalVersion halVersion) { in setCompatVersion() argument 459 if (oldVersion != null && halVersion.greaterOrEqual(oldVersion)) { in setCompatVersion() 460 riljLoge("setCompatVersion with equal or greater one, ignored, halVerion=" + halVersion in setCompatVersion() 464 mCompatOverrides.put(rilRequest, halVersion); in setCompatVersion()
|