Home
last modified time | relevance | path

Searched refs:intValues (Results 1 – 23 of 23) 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/service/src/com/android/car/hal/
DUserHalHelper.java220 public static void addUsersInfo(List<Integer> intValues, UsersInfo usersInfo) { in addUsersInfo() argument
226 addUserInfo(intValues, usersInfo.currentUser); in addUsersInfo()
227 intValues.add(usersInfo.numberUsers); in addUsersInfo()
230 addUserInfo(intValues, userInfo); in addUsersInfo()
235 public static void addUserInfo(List<Integer> intValues, UserInfo userInfo) { in addUserInfo() argument
238 intValues.add(userInfo.userId); in addUserInfo()
239 intValues.add(userInfo.flags); in addUserInfo()
413 List<Integer> intValues = new ArrayList<>(request.numberAssociationTypes + 2); in toHalPropValue() local
414 intValues.add(request.requestId); in toHalPropValue()
415 addUserInfo(intValues, request.userInfo); in toHalPropValue()
[all …]
DVmsHalService.java798 int[] intValues = new int[values.size() + 1]; in createVmsMessage() local
799 intValues[0] = messageType; in createVmsMessage()
801 intValues[i + 1] = values.get(i); in createVmsMessage()
805 /*values=*/intValues); in createVmsMessage()
817 int[] intValues = new int[values.size() + 1]; in createVmsMessage() local
818 intValues[0] = messageType; in createVmsMessage()
820 intValues[i + 1] = values.get(i); in createVmsMessage()
824 /*int32Values=*/intValues, /*floatValues=*/new float[0], in createVmsMessage()
DVehicleHal.java1031 int[] intValues = new int[dataList.size()]; in createPropValueForInjecting() local
1033 intValues[i] = Integer.decode(dataList.get(i)); in createPropValueForInjecting()
1036 intValues); in createPropValueForInjecting()
1117 int[] intValues = new int[values.size()]; in to() local
1120 intValues[i] = value; in to()
1123 HalPropValue propValue = mPropValueBuilder.build(mPropId, mAreaId, intValues); in to()
DClusterHalService.java255 int[] intValues = new int[]{ in reportState() local
270 /* int32Values= */ intValues, /* floatValues= */ new float[0], in reportState()
DUserHalService.java320 List<Integer> intValues = new ArrayList<>(2); in getInitialUserInfo() local
321 intValues.add(requestId); in getInitialUserInfo()
322 intValues.add(requestType); in getInitialUserInfo()
323 UserHalHelper.addUsersInfo(intValues, usersInfo); in getInitialUserInfo()
327 CarServiceUtils.toIntArray(intValues)); in getInitialUserInfo()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java166 public final int[] intValues; field in CarSensorEvent
179 intValues = new int[len]; in CarSensorEvent()
180 in.readIntArray(intValues); in CarSensorEvent()
201 dest.writeInt(intValues.length); in writeToParcel()
202 dest.writeIntArray(intValues); in writeToParcel()
225 intValues = new int[intValueSize]; in CarSensorEvent()
230 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument
235 this.intValues = intValues; in CarSensorEvent()
308 data.ignitionState = intValues[0]; in getIgnitionStateData()
339 data.isNightMode = intValues[0] == 1; in getNightData()
[all …]
DCarSensorManager.java517 event.intValues[0] = (int) propertyValue.getValue(); in createCarSensorEvent()
522 event.intValues[0] = (boolean) propertyValue.getValue() ? 1 : 0; in createCarSensorEvent()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/hal/test/
DDiagnosticJson.java33 public final SparseArray<Integer> intValues; field in DiagnosticJson
40 SparseArray<Integer> intValues, in DiagnosticJson() argument
45 this.intValues = Objects.requireNonNull(intValues); in DiagnosticJson()
51 new SparseArrayIterator<>(intValues) in build()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java100 ArrayList<Integer> intValues = new ArrayList<>(size); in getInt32Values() local
102 intValues.add(propValue.getInt32Value(i)); in getInt32Values()
104 return intValues; in getInt32Values()
272 ArrayList<Integer> intValues = new ArrayList<>(); in testAddUsersInfo_nullCurrentUser() local
277 UserHalHelper.addUsersInfo(intValues, infos)); in testAddUsersInfo_nullCurrentUser()
282 ArrayList<Integer> intValues = new ArrayList<>(); in testAddUsersInfo_mismatchNumberUsers() local
290 UserHalHelper.addUsersInfo(intValues, infos)); in testAddUsersInfo_mismatchNumberUsers()
295 ArrayList<Integer> intValues = new ArrayList<>(); in testAddUsersInfo_success() local
306 UserHalHelper.addUsersInfo(intValues, infos); in testAddUsersInfo_success()
308 assertThat(intValues) in testAddUsersInfo_success()
[all …]
DUserHalServiceTest.java1577 int[] intValues = new int[response.getInt32ValuesSize()]; in replySetPropertyWithOnChangeEvent() local
1580 intValues[i] = responseId; in replySetPropertyWithOnChangeEvent()
1583 intValues[i] = response.getInt32Value(i); in replySetPropertyWithOnChangeEvent()
1586 response.getAreaId(), response.getTimestamp(), response.getStatus(), intValues, in replySetPropertyWithOnChangeEvent()
1770 private HalPropValue createPropRequest(int propId, int requestId, int[] intValues) { in createPropRequest() argument
1771 return createPropRequest(propId, requestId, null, intValues, new String()); in createPropRequest()
1779 int[] intValues) { in createPropRequest() argument
1780 return createPropRequest(propId, requestId, requestType, intValues, new String()); in createPropRequest()
1784 int[] intValues, String stringValue) { in createPropRequest() argument
1785 int intLength = intValues.length + 1; in createPropRequest()
[all …]
DClusterHalServiceTest.java97 ArrayList<Integer> intValues = new ArrayList<Integer>(); in getIntValues() local
99 intValues.add(value.getInt32Value(i)); in getIntValues()
101 return intValues; in getIntValues()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java196 SparseIntArray intValues, in CarDiagnosticEvent() argument
201 mIntValues = intValues; in CarDiagnosticEvent()
455 Integer[] intValues = new Integer[intKeys.length]; in hashCode() local
459 intValues[i] = mIntValues.valueAt(i); in hashCode()
466 int intValuesHash = Objects.hash((Object[]) intValues); in hashCode()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarSensorManagerTest.java240 assertEquals(CarSensorEvent.IGNITION_STATE_ACC, event.intValues[0]); in testIgnitionState()
281 assertEquals(mgrIgnitionState, eventReceived.intValues[0]); in injectIgnitionStateAndAssert()
329 assertEquals(carSensorValue, event.intValues[0]); in injectGearEventAndAssert()
DCarDiagnosticManagerTest.java734 .intValues in testDiagnosticJson()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt122 MissingNullability: android.car.hardware.CarSensorEvent#intValues:
123 Missing nullability on field `intValues` in class `class android.car.hardware.CarSensorEvent`
Dcurrent.txt615 field @Deprecated public final int[] intValues;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVehicleStubTest.java1038 int[] intValues = getTestIntValues(dataSize); in testAidlVehicleCallbackOnPropertyEventLargeData() local
1040 propValue.value.int32Values = intValues; in testAidlVehicleCallbackOnPropertyEventLargeData()
1050 HalPropValue halPropValue = builder.build(TEST_PROP, 0, 0, 0, intValues); in testAidlVehicleCallbackOnPropertyEventLargeData()
/packages/services/Car/car-lib/api/released/
D1.txt211 field public final int[] intValues;
D2.txt217 field public final int[] intValues;
/packages/services/Car/car-lib-module/api/
Dcurrent.txt615 field @Deprecated public final int[] intValues;
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1330 field TIRAMISU_0 int[] intValues;