Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java137 public final int[] intValues; field in CarSensorEvent
146 intValues = new int[len]; in CarSensorEvent()
147 in.readIntArray(intValues); in CarSensorEvent()
162 dest.writeInt(intValues.length); in writeToParcel()
163 dest.writeIntArray(intValues); in writeToParcel()
181 intValues = new int[intValueSize]; in CarSensorEvent()
185 CarSensorEvent(int sensorType, long timeStampNs, float[] floatValues, int[] intValues) { in CarSensorEvent() argument
189 this.intValues = intValues; in CarSensorEvent()
246 data.isNightMode = intValues[0] == 1; in getNightData()
269 data.gear = intValues[0]; in getGearData()
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorEvent.java207 public final int[] intValues; field in CarSensorEvent
218 intValues = new int[len]; in CarSensorEvent()
219 in.readIntArray(intValues); in CarSensorEvent()
236 dest.writeInt(intValues.length); in writeToParcel()
237 dest.writeIntArray(intValues); in writeToParcel()
258 intValues = new int[intValueSize]; in CarSensorEvent()
262 CarSensorEvent(int sensorType, long timeStampNs, float[] floatValues, int[] intValues) { in CarSensorEvent() argument
267 this.intValues = intValues; in CarSensorEvent()
324 data.isNightMode = intValues[0] == 1; in getNightData()
347 data.gear = intValues[0]; in getGearData()
[all …]
DCarSensorManagerEmbedded.java139 event.intValues); in convert()
/packages/services/Car/service/src/com/android/car/hal/
DRadioHalService.java256 Integer intValues[] = new Integer[4]; in createCarRadioEvent() local
257 v.getInt32ValuesList().toArray(intValues); in createCarRadioEvent()
260 if (!isValidPresetNumber(intValues[0]) && !isValidBand(intValues[1])) { in createCarRadioEvent()
265 new CarRadioPreset(intValues[0], intValues[1], intValues[2], intValues[3]); in createCarRadioEvent()
/packages/services/Car/service/src/com/android/car/
DDrivingStatePolicy.java190 return event.intValues[0] == 1; in isParkingBrakeApplied()
194 int gear = event.intValues[0]; in isGearInParkingOrNeutral()
200 int gear = event.intValues[0]; in isGearInParking()
207 event.intValues[0] = drivingState; in createEvent()
DCarSensorEventFactory.java27 event.intValues[0] = value ? 1 : 0; in createBooleanEvent()
33 event.intValues[0] = value; in createIntEvent()
DDayNightModePolicy.java97 event.intValues[0] = isNight ? 1 : 0; in createEvent()
DCarNightService.java56 if (event.intValues[0] == 1) { in handleSensorEvent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkActivity.java85 Log.d(TAG, "driving status:" + event.intValues[0]);
/packages/services/Car/car-lib/api/
Dcurrent.txt215 field public final int[] intValues;
Dsystem-current.txt440 field public final int[] intValues;
/packages/services/Car/car-support-lib/api/
Dcurrent.txt467 field public final int[] intValues;