/packages/services/Car/tools/emulator/ |
D | diagjson.example | 5 "intValues": [ 49 "intValues": [ 93 "intValues": [ 137 "intValues": [ 181 "intValues": [ 225 "intValues": [ 269 "intValues": [ 313 "intValues": [ 357 "intValues": [ 401 "intValues": [ [all …]
|
D | obd2_to_diagjson.py | 118 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/ |
D | CarDiagnosticEvent.java | 52 private final SparseIntArray intValues; field in CarDiagnosticEvent 77 intValues = new SparseIntArray(len); in CarDiagnosticEvent() 81 intValues.put(key, value); in CarDiagnosticEvent() 102 dest.writeInt(intValues.size()); in writeToParcel() 103 for (int i = 0; i < intValues.size(); ++i) { in writeToParcel() 104 int key = intValues.keyAt(i); in writeToParcel() 106 dest.writeInt(intValues.get(key)); in writeToParcel() 143 for (int i = 0; i < intValues.size(); ++i) { in writeToJson() 145 jsonWriter.name("id").value(intValues.keyAt(i)); in writeToJson() 146 jsonWriter.name("value").value(intValues.valueAt(i)); in writeToJson() [all …]
|
/packages/services/Car/car-support-lib/src/android/support/car/hardware/ |
D | CarSensorEvent.java | 115 public final int[] intValues; field in CarSensorEvent 135 intValues = new int[intValueSize]; in CarSensorEvent() 149 public CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument 154 this.intValues = (intValues == null) ? EMPTY_INT_ARRAY : intValues; in CarSensorEvent() 175 this.intValues = EMPTY_INT_ARRAY; in CarSensorEvent() 177 this.intValues = new int[byteValues.length]; in CarSensorEvent() 179 this.intValues[i] = byteValues[i]; in CarSensorEvent() 261 return new ParkingBrakeData(timestamp, (intValues[0] == 1)); in getParkingBrakeData() 290 return new NightData(timestamp, (intValues[0] == 1)); in getNightData() 369 return new DrivingStatusData(timestamp, intValues[0]); in getDrivingStatusData() [all …]
|
D | CarSensorsProxy.java | 382 event.intValues[CarSensorEvent.INDEX_LOCATION_LATITUDE_INTS] = in populateLocationCarSensorEvent() 386 event.intValues[CarSensorEvent.INDEX_LOCATION_LATITUDE_INTS] = in populateLocationCarSensorEvent() 410 event.intValues[0] = present; in populateLocationCarSensorEvent() 434 event.intValues[CarSensorEvent.INDEX_GPS_SATELLITE_NUMBER_IN_USE] = numberInUse; in createGpsStatusCarSensorEvent() 435 event.intValues[CarSensorEvent.INDEX_GPS_SATELLITE_NUMBER_IN_VIEW] = numberInView; in createGpsStatusCarSensorEvent() 450 event.intValues[iInt] = satellite.usedInFix() ? 1 : 0; in createGpsStatusCarSensorEvent()
|
D | CarSensorManagerEmbedded.java | 186 event.intValues, event.longValues); in convert()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorEvent.java | 167 public final int[] intValues; field in CarSensorEvent 179 intValues = new int[len]; in CarSensorEvent() 180 in.readIntArray(intValues); in CarSensorEvent() 198 dest.writeInt(intValues.length); in writeToParcel() 199 dest.writeIntArray(intValues); in writeToParcel() 221 intValues = new int[intValueSize]; in CarSensorEvent() 226 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument 231 this.intValues = intValues; in CarSensorEvent() 298 data.isNightMode = intValues[0] == 1; in getNightData() 326 data.gear = intValues[0]; in getGearData() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | RadioHalService.java | 259 Integer intValues[] = new Integer[4]; in createCarRadioEvent() local 260 v.value.int32Values.toArray(intValues); in createCarRadioEvent() 263 if (!isValidPresetNumber(intValues[0]) && !isValidBand(intValues[1])) { in createCarRadioEvent() 268 new CarRadioPreset(intValues[0], intValues[1], intValues[2], intValues[3]); in createCarRadioEvent()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | DiagnosticJson.java | 31 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/ |
D | DrivingStatePolicy.java | 184 return event.intValues[0] == 1; in isParkingBrakeApplied() 188 int gear = event.intValues[0]; in isGearInParkingOrNeutral() 194 int gear = event.intValues[0]; in isGearInParking() 209 event.intValues[0] = drivingState; in createEvent()
|
D | CarSensorEventFactory.java | 28 event.intValues[0] = value ? 1 : 0; in createBooleanEvent() 34 event.intValues[0] = value; in createIntEvent() 56 event.intValues[i] = v.value.int32Values.get(i); in createComplexEvent()
|
D | DayNightModePolicy.java | 90 event.intValues[0] = isNight ? 1 : 0; in createEvent()
|
D | CarNightService.java | 67 if (event.intValues[0] == 1) { in handleSensorEvent()
|
D | CarSensorService.java | 176 + ((event == null) ? "not ready" : + event.intValues[0])); in getInitialNightMode() 196 "not ready" : " 0x" + Integer.toHexString(event.intValues[0]))); in getInitialDrivingStatus()
|
D | BluetoothDeviceConnectionPolicy.java | 637 Log.d(TAG, "Sensor value : " + event.intValues[0]); in onSensorChanged() 639 if (event.intValues[0] == CarSensorEvent.IGNITION_STATE_START) { in onSensorChanged()
|
/packages/services/Car/tests/CarDiagnosticVerifier/src/com/google/android/car/diagnosticverifier/ |
D | DiagnosticJsonConverter.java | 72 for (int i = 0; i < diagnosticJson.intValues.size(); i++) { in readEventAndCanonicalize() 73 builder.withIntValue(diagnosticJson.intValues.keyAt(i), in readEventAndCanonicalize() 74 diagnosticJson.intValues.valueAt(i)); in readEventAndCanonicalize()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | CarSensorManagerTest.java | 239 assertEquals(CarSensorEvent.IGNITION_STATE_ACC, event.intValues[0]); in testIgnitionState() 278 assertEquals(mgrIgnitionState, eventReceived.intValues[0]); in injectIgnitionStateAndAssert() 336 assertEquals(CarSensorEvent.GEAR_NINTH, event.intValues[0]); in testGear() 352 assertEquals(carSensorValue, event.intValues[0]); in injectGearEventAndAssert()
|
D | CarDiagnosticManagerTest.java | 536 .intValues in testDiagnosticJson()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkActivity.java | 173 Log.d(TAG, "driving status:" + event.intValues[0]);
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 845 mLatestDrivingState = lastEvent.intValues[0]; in resetState()
|
/packages/services/Car/car-support-lib/api/ |
D | current.txt | 109 field public final int[] intValues;
|
/packages/services/Car/car-lib/api/ |
D | 1.txt | 211 field public final int[] intValues;
|
D | 2.txt | 217 field public final int[] intValues;
|
D | current.txt | 225 field public final int[] intValues;
|
D | system-2.txt | 456 field public final int[] intValues;
|