Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/
DSensor.cpp44 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/opt/telephony/src/java/com/android/internal/telephony/
DRadioServiceProxy.java43 public void setHidl(HalVersion halVersion, android.hardware.radio.V1_0.IRadio radio) { in setHidl() argument
44 mHalVersion = halVersion; in setHidl()
DRadioImsProxy.java37 public HalVersion setAidl(HalVersion halVersion, android.hardware.radio.ims.IRadioIms ims) { in setAidl() argument
38 HalVersion version = halVersion; in setAidl()
DRadioModemProxy.java37 public HalVersion setAidl(HalVersion halVersion, in setAidl() argument
39 HalVersion version = halVersion; in setAidl()
DRadioConfigResponseAidl.java38 public RadioConfigResponseAidl(RadioConfig radioConfig, HalVersion halVersion) { in RadioConfigResponseAidl() argument
40 mHalVersion = halVersion; in RadioConfigResponseAidl()
DRadioConfigResponseHidl.java38 public RadioConfigResponseHidl(RadioConfig radioConfig, HalVersion halVersion) { in RadioConfigResponseHidl() argument
40 mHalVersion = halVersion; in RadioConfigResponseHidl()
DRadioVoiceProxy.java41 public HalVersion setAidl(HalVersion halVersion, in setAidl() argument
43 HalVersion version = halVersion; in setAidl()
DRadioMessagingProxy.java42 public HalVersion setAidl(HalVersion halVersion, in setAidl() argument
44 HalVersion version = halVersion; in setAidl()
DRadioDataProxy.java51 public HalVersion setAidl(HalVersion halVersion, android.hardware.radio.data.IRadioData data) { in setAidl() argument
52 HalVersion version = halVersion; in setAidl()
DRadioSimProxy.java47 public HalVersion setAidl(HalVersion halVersion, android.hardware.radio.sim.IRadioSim sim) { in setAidl() argument
48 HalVersion version = halVersion; in setAidl()
DRadioNetworkProxy.java71 public HalVersion setAidl(HalVersion halVersion, in setAidl() argument
73 HalVersion version = halVersion; in setAidl()
DRIL.java606 public void setCompatVersion(int rilRequest, @NonNull HalVersion halVersion) { in setCompatVersion() argument
609 if (oldVersion != null && halVersion.greaterOrEqual(oldVersion)) { in setCompatVersion()
610 riljLoge("setCompatVersion with equal or greater one, ignored, halVerion=" + halVersion in setCompatVersion()
614 mCompatOverrides.put(rilRequest, halVersion); in setCompatVersion()
6934 HalVersion halVersion = mHalVersion.get(service); in getHalVersion() local
6935 if (halVersion == null) { in getHalVersion()
6937 halVersion = RADIO_HAL_VERSION_UNKNOWN; in getHalVersion()
6939 halVersion = RADIO_HAL_VERSION_UNSUPPORTED; in getHalVersion()
6942 return halVersion; in getHalVersion()
/frameworks/native/libs/sensor/fuzz/sensor_fuzzer/
Dsensor_fuzzer.cpp44 int halVersion = fdp.ConsumeIntegral<int>(); in LLVMFuzzerTestOneInput() local
45 Sensor sensor1(&sensor_type, halVersion); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h68 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/av/services/audioflinger/
DDeviceEffectManager.cpp123 static const AudioHalVersionInfo halVersion = in checkEffectCompatibility() local
130 || halVersion < sMinDeviceEffectHalVersion) { in checkEffectCompatibility()
132 __func__, desc->name, halVersion.toString().c_str()); in checkEffectCompatibility()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DDomainSelectionResolverTest.java160 private void setUpResolver(boolean deviceConfigEnabled, HalVersion halVersion) { in setUpResolver() argument
162 when(mPhone.getHalVersion(eq(HAL_SERVICE_NETWORK))).thenReturn(halVersion); in setUpResolver()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java1875 String halVersion; in usbGadgetHalVersionToString() local
1878 halVersion = GADGET_HAL_VERSION_2_0; in usbGadgetHalVersionToString()
1880 halVersion = GADGET_HAL_VERSION_1_2; in usbGadgetHalVersionToString()
1882 halVersion = GADGET_HAL_VERSION_1_1; in usbGadgetHalVersionToString()
1884 halVersion = GADGET_HAL_VERSION_1_0; in usbGadgetHalVersionToString()
1886 halVersion = GADGET_HAL_UNKNOWN; in usbGadgetHalVersionToString()
1889 return halVersion; in usbGadgetHalVersionToString()
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHidl.java336 int halVersion; in enableUsbData() local
339 halVersion = getUsbHalVersion(); in enableUsbData()
347 if (halVersion != USB_HAL_V1_3) { in enableUsbData()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DHwModule.h43 HwModule(const char *name, uint32_t halVersion = 0);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp36 HwModule::HwModule(const char *name, uint32_t halVersion) in HwModule() argument
39 mHalVersion(halVersion) in HwModule()
/frameworks/base/core/java/android/hardware/
DCamera.java462 public static Camera openLegacy(int cameraId, int halVersion) { in openLegacy() argument
463 if (halVersion < CAMERA_HAL_API_VERSION_3_0) { in openLegacy()
464 throw new IllegalArgumentException("Unsupported HAL version " + halVersion); in openLegacy()
/frameworks/native/services/sensorservice/
DSensorService.cpp1052 const int halVersion = device.getHalDeviceVersion(); in threadLoop() local
1160 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) { in threadLoop()
2140 const int halVersion = dev.getHalDeviceVersion(); in flushSensor() local
2154 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) { in flushSensor()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java721 GnssConfiguration.HalInterfaceVersion halVersion = in handleRequestLocation() local
723 if (isUserEmergency || halVersion.mMajor < 2) { in handleRequestLocation()