HomeSort by relevance Sort by last modified time
    Searched refs:floatValues (Results 1 - 25 of 30) sorted by null

1 2

  /packages/services/Car/car-support-lib/src/android/support/car/hardware/
CarSensorEvent.java 75 * Indices for {@link CarSensorManager#SENSOR_TYPE_COMPASS} in floatValues.
80 * Indices for {@link CarSensorManager#SENSOR_TYPE_COMPASS} in floatValues.
85 * Indices for {@link CarSensorManager#SENSOR_TYPE_COMPASS} in floatValues.
102 * Array holding float type of sensor data. If the sensor has single value, only floatValues[0]
104 public final float[] floatValues;
121 floatValues = new float[floatValueSize];
129 * @param floatValues {@code null} will be converted to an empty array
134 public CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues) {
137 this.floatValues = (floatValues == null) ? EMPTY_FLOAT_ARRAY : floatValues
    [all...]
CarSensorsProxy.java 329 event.floatValues[CarSensorEvent.INDEX_COMPASS_BEARING] =
331 event.floatValues[CarSensorEvent.INDEX_COMPASS_PITCH] =
333 event.floatValues[CarSensorEvent.INDEX_COMPASS_ROLL] =
346 event.floatValues[CarSensorEvent.INDEX_ACCELEROMETER_X] =
348 event.floatValues[CarSensorEvent.INDEX_ACCELEROMETER_Y] =
350 event.floatValues[CarSensorEvent.INDEX_ACCELEROMETER_Z] =
362 event.floatValues[CarSensorEvent.INDEX_GYROSCOPE_X] = mLastGyroscopeData[0];
363 event.floatValues[CarSensorEvent.INDEX_GYROSCOPE_Y] = mLastGyroscopeData[1];
364 event.floatValues[CarSensorEvent.INDEX_GYROSCOPE_Z] = mLastGyroscopeData[2];
391 event.floatValues[CarSensorEvent.INDEX_LOCATION_ACCURACY] = location.getAccuracy()
    [all...]
CarSensorManagerEmbedded.java 175 return new CarSensorEvent(event.sensorType, event.timestamp, event.floatValues,
  /packages/services/Car/car-lib/src/android/car/hardware/
CarSensorEvent.java 36 * Index in {@link #floatValues} for {@link CarSensorManager#SENSOR_TYPE_FUEL_LEVEL} type of
41 * Index in {@link #floatValues} for {@link CarSensorManager#SENSOR_TYPE_FUEL_LEVEL} type of
131 * Index for {@link CarSensorManager#SENSOR_TYPE_ENVIRONMENT} in floatValues.
136 * Index for {@link CarSensorManager#SENSOR_TYPE_ENVIRONMENT} in floatValues.
152 * array holding float type of sensor data. If the sensor has single value, only floatValues[0]
154 public final float[] floatValues;
163 floatValues = new float[len];
164 in.readFloatArray(floatValues);
180 dest.writeInt(floatValues.length);
181 dest.writeFloatArray(floatValues);
    [all...]
CarDiagnosticEvent.java 56 private final SparseArray<Float> floatValues;
68 floatValues = new SparseArray<>(len);
72 floatValues.put(key, value);
94 dest.writeInt(floatValues.size());
95 for (int i = 0; i < floatValues.size(); ++i) {
96 int key = floatValues.keyAt(i);
98 dest.writeFloat(floatValues.get(key));
123 SparseArray<Float> floatValues,
128 this.floatValues = floatValues;
    [all...]
  /hardware/interfaces/automotive/vehicle/2.0/default/common/src/
VehicleUtils.cpp 42 val->value.floatValues.resize(vecSize);
69 return value.floatValues.size();
89 dest->floatValues = src.floatValues;
118 shallowCopyHidlVec(&dest->value.floatValues, src.value.floatValues);
VehicleObjectPool.cpp 73 val->value.floatValues[0] = value;
145 && check(&v->floatValues,
  /packages/services/Car/service/src/com/android/car/
CarSensorEventFactory.java 39 event.floatValues[0] = value;
DrivingStatePolicy.java 165 if (lastSpeed != null && lastSpeed.floatValues[0] == 0f) { // stopped
180 return event.floatValues[0] == 0f;
  /frameworks/base/core/java/android/hardware/
SensorAdditionalInfo.java 57 public final float[] floatValues;
91 * floatValues[0]: delay estimation in seconds
92 * floatValues[1]: delay estimation standard deviation
100 * floatValues[0]: internal temperature in Celsius.
109 * floatValues[0..11]: First 3 rows of a homogeneous matrix in row major order that captures
118 * floatValues[0..11]: First 3 rows of homogeneous matrix in row major order that describes
129 * floatValues[0]: raw sample period in seconds.
130 * floatValues[1]: standard deviation of sampling period.
198 floatValues = aFloatValues;
SystemSensorManager.java 71 long nativeInstance, int type, float[] floatValues, int[] intValues);
763 int handle, int type, int serial, float[] floatValues, int[] intValues) {
    [all...]
  /hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DefaultConfig.h 41 * floatValues[0] - initial value
42 * floatValues[1] - dispersion defines min and max range relative to initial value
43 * floatValues[2] - increment, with every timer tick the value will be incremented by this amount
82 .initialValue = {.floatValues = {0.0f}}},
90 .initialValue = {.floatValues = {0.0f}}},
101 .initialValue = {.floatValues = {0.0f}},
199 .initialAreaValues = {{toInt(VehicleAreaZone::ROW_1_LEFT), {.floatValues = {16}}},
200 {toInt(VehicleAreaZone::ROW_1_RIGHT), {.floatValues = {20}}}}},
211 .initialValue = {.floatValues = {25.0f}}},
244 .initialValue = {.floatValues = {123000.0f}} // In Milliliter
    [all...]
EmulatedVehicleHal.cpp 210 if (v.floatValues.size() < 3) {
211 ALOGE("%s: expected at least 3 element sin floatValues, got: %zu", __func__,
212 v.floatValues.size());
215 float initialValue = v.floatValues[0];
216 float dispersion = v.floatValues[1];
217 float increment = v.floatValues[2];
VehicleEmulator.cpp 167 val.value.floatValues = std::vector<float> { protoVal.float_values().begin(),
315 for (auto& floatValue : val->value.floatValues) {
  /packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DiagnosticJson.java 32 public final SparseArray<Float> floatValues;
39 SparseArray<Float> floatValues,
44 this.floatValues = Objects.requireNonNull(floatValues);
53 new SparseArrayIterator<>(floatValues)
137 case "floatValues":
VehiclePropValueBuilder.java 52 newValue.value.floatValues.addAll(propValue.value.floatValues);
88 mPropValue.value.floatValues.add(val);
  /frameworks/base/core/jni/
android_animation_PropertyValuesHolder.cpp 105 jfloat *floatValues = env->GetFloatArrayElements(arg, NULL);
108 values[i].f = floatValues[i];
112 env->ReleaseFloatArrayElements(arg, floatValues, JNI_ABORT);
  /packages/services/Car/service/src/com/android/car/hal/
CarPropertyUtils.java 79 v.floatValues.add((Float) o);
83 Collections.addAll(v.floatValues, (Float[]) o);
174 return value.floatValues;
VehicleHal.java 436 return (T) propValue.value.floatValues.get(0);
441 Float[] floatArray = new Float[propValue.value.floatValues.size()];
442 return (T) propValue.value.floatValues.toArray(floatArray);
446 return (T) toFloatArray(propValue.value.floatValues);
673 .append(",floatValues: ").append(Arrays.toString(value.value.floatValues.toArray()))
SensorHalService.java 175 v.value.floatValues.get(0));
DiagnosticHalService.java 184 builder.withFloatValue(i, value.value.floatValues.get(i));
  /hardware/interfaces/automotive/vehicle/2.1/default/common/src/
Obd2SensorStore.cpp 106 propValue->value.floatValues = getFloatSensors();
  /hardware/interfaces/automotive/vehicle/2.1/default/impl/vhal_v2_1/
EmulatedVehicleHal.cpp 161 outValue->value.floatValues = freezeFrame->value.floatValues;
  /hardware/interfaces/automotive/vehicle/2.0/default/tests/
VehicleHalManager_test.cpp 76 pValue->value.floatValues = hidl_vec<float_t> { 1.1, 2.2 };
336 ASSERT_EQ(2u, actualValue.value.floatValues.size());
337 ASSERT_FLOAT_EQ(1.1, actualValue.value.floatValues[0]);
338 ASSERT_FLOAT_EQ(2.2, actualValue.value.floatValues[1]);
374 ASSERT_FLOAT_EQ(42.42, actualValue.value.floatValues[0]);
VehicleHalTestUtils.h 233 << " floatValues: " << vecToString(v.value.floatValues) << ",\n"

Completed in 1135 milliseconds

1 2