/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/ml/nn/common/ |
D | Utils.cpp | 199 HalVersion halVersion) in OperationValidationContext() argument 206 halVersion(halVersion) {} in OperationValidationContext() 230 HalVersion halVersion; member in android::nn::__anon8d54713c0111::OperationValidationContext 238 return halVersion; in getHalVersion() 684 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument 686 if (halVersion < minSupportedHalVersion) { in validateHalVersion() 689 << " and later (validating using " << toString(halVersion) << ")"; in validateHalVersion() 851 HalVersion halVersion) { in validateOperation() argument 853 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation() 858 halVersion, {}); in validateOperation() [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/ |
D | Camera.java | 465 public static Camera openLegacy(int cameraId, int halVersion) { in openLegacy() argument 466 if (halVersion < CAMERA_HAL_API_VERSION_1_0) { in openLegacy() 467 throw new IllegalArgumentException("Invalid HAL version " + halVersion); in openLegacy() 470 return new Camera(cameraId, halVersion); in openLegacy() 480 private Camera(int cameraId, int halVersion) { in Camera() argument 481 int err = cameraInitVersion(cameraId, halVersion); in Camera() 508 private int cameraInitVersion(int cameraId, int halVersion) { in cameraInitVersion() argument 526 return native_setup(new WeakReference<Camera>(this), cameraId, halVersion, in cameraInitVersion() 619 private native final int native_setup(Object camera_this, int cameraId, int halVersion, in native_setup() argument
|
/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraService.aidl | 102 int halVersion, in connectLegacy() argument
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 660 int halVersion, int deviceVersion, apiLevel effectiveApiLevel, in makeClient() argument 663 if (halVersion < 0 || halVersion == deviceVersion) { in makeClient() 710 halVersion == CAMERA_DEVICE_API_VERSION_1_0) { in makeClient() 719 " opened as HAL %x device", halVersion, deviceVersion, in makeClient() 723 cameraId.string(), deviceVersion, halVersion); in makeClient() 1324 int api1CameraId, int halVersion, in connectLegacy() argument 1335 ret = connectHelper<ICameraClient,Client>(cameraClient, id, api1CameraId, halVersion, in connectLegacy() 1397 int api1CameraId, int halVersion, const String16& clientPackageName, int clientUid, in connectHelper() argument 1408 (halVersion == -1) ? "default" : std::to_string(halVersion).c_str(), in connectHelper() 1492 halVersion, deviceVersion, effectiveApiLevel, in connectHelper()
|
D | CameraService.h | 132 int32_t cameraId, int32_t halVersion, 655 int api1CameraId, int halVersion, const String16& clientPackageName, 957 int halVersion, int deviceVersion, apiLevel effectiveApiLevel,
|
/frameworks/av/camera/ |
D | Camera.cpp | 80 status_t Camera::connectLegacy(int cameraId, int halVersion, in connectLegacy() argument 93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName, in connectLegacy()
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 87 static status_t connectLegacy(int cameraId, int halVersion,
|
/frameworks/ml/nn/common/include/ |
D | Utils.h | 351 inline std::string toString(HalVersion halVersion) { 352 switch (halVersion) { 409 HalVersion halVersion, const SubgraphValidationHelper& helper);
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 464 #define TEST_SINGLE_OPERATION(operation, halVersion, criteria) \ argument 465 TEST_P(SingleOperationTest, operation##_##halVersion) { \ 467 .versions = {TestHalVersion::halVersion}}; \
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 559 jobject weak_this, jint cameraId, jint halVersion, jstring clientPackageName) in android_hardware_Camera_native_setup() argument 570 if (halVersion == CAMERA_HAL_API_VERSION_NORMAL_CONNECT) { in android_hardware_Camera_native_setup() 575 jint status = Camera::connectLegacy(cameraId, halVersion, clientName, in android_hardware_Camera_native_setup()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 706 const int halVersion = device.getHalDeviceVersion(); in threadLoop() local 788 if (halVersion < SENSORS_DEVICE_API_VERSION_1_0) { in threadLoop() 1608 const int halVersion = dev.getHalDeviceVersion(); in flushSensor() local 1623 if (halVersion <= SENSORS_DEVICE_API_VERSION_1_0 || isVirtualSensor(handle)) { in flushSensor()
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 980 DeviceSpecification(const std::string& name, float perf, HalVersion halVersion, in DeviceSpecification() 985 makeOperationMask(halVersion, operationMaskV1_0, operationMaskV1_1, in DeviceSpecification() 987 mHalVersion = halVersion; in DeviceSpecification() 1019 static uint32_t makeOperationMask(HalVersion halVersion, uint32_t operationMaskV1_0, in makeOperationMask() 1022 if (halVersion < HalVersion::V1_3) { in makeOperationMask() 1025 if (halVersion < HalVersion::V1_2) { in makeOperationMask() 1028 if (halVersion < HalVersion::V1_1) { in makeOperationMask()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 780 GnssConfiguration.HalInterfaceVersion halVersion = in handleRequestLocation() local 782 if (isUserEmergency || (halVersion.mMajor < 2 && !independentFromGnss)) { in handleRequestLocation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 450 public void setCompatVersion(int rilRequest, @NonNull HalVersion halVersion) { in setCompatVersion() argument 453 if (oldVersion != null && halVersion.greaterOrEqual(oldVersion)) { in setCompatVersion() 454 riljLoge("setCompatVersion with equal or greater one, ignored, halVerion=" + halVersion in setCompatVersion() 458 mCompatOverrides.put(rilRequest, halVersion); in setCompatVersion()
|