Home
last modified time | relevance | path

Searched refs:intValues (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tools/emulator/
Ddiagjson.example5 "intValues": [
49 "intValues": [
93 "intValues": [
137 "intValues": [
181 "intValues": [
225 "intValues": [
269 "intValues": [
313 "intValues": [
357 "intValues": [
401 "intValues": [
[all …]
Dobd2_to_diagjson.py118 self.store.intValues = []
122 self.store.intValues.append(d)
125 def intValues(self): member in Event
128 for value in self.store.intValues:
151 for intValue in json.intValues:
162 for id, value in self.intValues():
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java53 private final SparseIntArray intValues; field in CarDiagnosticEvent
78 intValues = new SparseIntArray(len); in CarDiagnosticEvent()
82 intValues.put(key, value); in CarDiagnosticEvent()
103 dest.writeInt(intValues.size()); in writeToParcel()
104 for (int i = 0; i < intValues.size(); ++i) { in writeToParcel()
105 int key = intValues.keyAt(i); in writeToParcel()
107 dest.writeInt(intValues.get(key)); in writeToParcel()
144 for (int i = 0; i < intValues.size(); ++i) { in writeToJson()
146 jsonWriter.name("id").value(intValues.keyAt(i)); in writeToJson()
147 jsonWriter.name("value").value(intValues.valueAt(i)); in writeToJson()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java130 public final int[] intValues; field in CarSensorEvent
142 intValues = new int[len]; in CarSensorEvent()
143 in.readIntArray(intValues); in CarSensorEvent()
161 dest.writeInt(intValues.length); in writeToParcel()
162 dest.writeIntArray(intValues); in writeToParcel()
184 intValues = new int[intValueSize]; in CarSensorEvent()
189 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument
194 this.intValues = intValues; in CarSensorEvent()
258 data.ignitionState = intValues[0]; in getIgnitionStateData()
286 data.isNightMode = intValues[0] == 1; in getNightData()
[all …]
DCarSensorManager.java470 event.intValues[0] = (int) propertyValue.getValue(); in createCarSensorEvent()
475 event.intValues[0] = (boolean) propertyValue.getValue() ? 1 : 0; in createCarSensorEvent()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticJson.java31 public final SparseArray<Integer> intValues; field in DiagnosticJson
38 SparseArray<Integer> intValues, in DiagnosticJson() argument
43 this.intValues = Objects.requireNonNull(intValues); in DiagnosticJson()
49 new SparseArrayIterator<>(intValues) in build()
/packages/services/Car/service/src/com/android/car/
DCarSensorEventFactory.java30 event.intValues[0] = value ? 1 : 0; in createBooleanEvent()
36 event.intValues[0] = value; in createIntEvent()
75 event.intValues[i] = v.value.int32Values.get(i); in createMixedEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarSensorManagerTest.java234 assertEquals(CarSensorEvent.IGNITION_STATE_ACC, event.intValues[0]); in testIgnitionState()
275 assertEquals(mgrIgnitionState, eventReceived.intValues[0]); in injectIgnitionStateAndAssert()
323 assertEquals(carSensorValue, event.intValues[0]); in injectGearEventAndAssert()
DCarDiagnosticManagerTest.java554 .intValues in testDiagnosticJson()
/packages/services/Car/car-lib/api/released/
D2.txt217 field public final int[] intValues;
D1.txt211 field public final int[] intValues;
/packages/services/Car/car-lib/api/
Dcurrent.txt419 field @Deprecated public final int[] intValues;