Commit graph

464 commits

Author SHA1 Message Date
TreeHugger Robot
104c92216a Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0 am: e7997bd1ff am: cca31440ef am: a187ed332d
Change-Id: I772d7458d472d0c716a734f3ee4cdc7295010e68
2020-04-24 01:13:45 +00:00
TreeHugger Robot
cca31440ef Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0 am: e7997bd1ff
Change-Id: I41b8e7b6283e74f982549a5fcb486cf3bd1f97e3
2020-04-24 00:57:26 +00:00
TreeHugger Robot
1b3d00a560 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722 am: 4ee3d99007 am: cffea8bcc7 am: 377eee141b
Change-Id: Ibb520d55cedc8ad18b51bbb09ecf266506eb79cf
2020-04-24 00:50:52 +00:00
TreeHugger Robot
e7997bd1ff Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0
Change-Id: Ic981e7f833ca7a7360336882bedd875d07fd2be7
2020-04-24 00:39:46 +00:00
TreeHugger Robot
a772a420b0 Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev 2020-04-24 00:23:34 +00:00
TreeHugger Robot
cffea8bcc7 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722 am: 4ee3d99007
Change-Id: I3686b6a0caae79eba0c481fe160182c36fb7af21
2020-04-24 00:19:30 +00:00
TreeHugger Robot
4ee3d99007 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722
Change-Id: I2ee22516956b8ec8b5baf9ca5f0273637e6b5868
2020-04-23 23:47:57 +00:00
TreeHugger Robot
bb0349f722 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev 2020-04-23 23:26:20 +00:00
Calvin Huang
ed4bb9e1d0 Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7 am: 3c9af5eb07 am: cf71ec955c am: e961adcb75
Change-Id: I2ccc2c38387cc3d864b0e22822470a3bf74394f8
2020-04-23 21:31:17 +00:00
Felipe Leme
0fd963cad8 Minor corrections on USER_SWITCH documentation.
Also removed the hash check on Vehicle HAL files, as they're still being
worked on.

Test: m
Bug: 15249991

Change-Id: I214ebc9b5bbd71e5db1a1332296ceb4e426c50cf
2020-04-23 14:28:30 -07:00
Calvin Huang
cf71ec955c Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7 am: 3c9af5eb07
Change-Id: I63955b4db7c285e63f73872a3fad05a86ffc15dd
2020-04-23 20:57:16 +00:00
Calvin Huang
3c9af5eb07 Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7
Change-Id: I3d0d89cb9b8b36a0e2428b867dcccf8a2be7a978
2020-04-23 20:41:01 +00:00
Calvin Huang
96ea2ce5e7 Merge "Add manifest to vintf fragments" into rvc-dev 2020-04-23 20:24:30 +00:00
Jordan Jozwiak
2542fe9c35 Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7 am: 8de5b31ff7 am: cde6e952a4 am: b3022ad86c
Change-Id: I16f431bcfdd3baa60f6ef21de5d9d69b5e4232ae
2020-04-23 20:12:35 +00:00
felipeal
67664dfacc Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY.
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587 i 1 i 1 i 2
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --get 299896587

Bug: 150409351

Change-Id: I5f05c1689abdeeffd1abcd0e85fd01b584501a2e
2020-04-23 12:54:09 -07:00
Jordan Jozwiak
cde6e952a4 Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7 am: 8de5b31ff7
Change-Id: I0b7798a57a15830208b64587687a8c89608ca831
2020-04-23 19:45:33 +00:00
Jordan Jozwiak
8de5b31ff7 Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7
Change-Id: If8ec9373e256476213d5743c7504b8e2d18fe705
2020-04-23 19:33:09 +00:00
Jordan Jozwiak
93f22c85c7 Merge "Add config for tire pressure display units" into rvc-dev 2020-04-23 19:19:54 +00:00
Jordan Jozwiak
7faa170ff1 Add config for tire pressure display units
Bug: 154751939
Test: aae app vhal apply google
// verify property included in dump
adb -s c3139966 shell dumpsys activity service com.android.car get-carpropertyconfig | grep TIRE_PRESSURE_DISPLAY_UNITS -A5

Change-Id: Id7a3ad7351db5a4f03ab3a29fa06e9c82321a44e
2020-04-22 14:38:52 -07:00
Calvin Huang
a653616f18 Add manifest to vintf fragments
Bug: 153734354
Test: Manual
Change-Id: I5f29cdacced0bdc0bf5a74f92ecda916f10bea06
2020-04-21 14:44:10 -07:00
Calvin Huang
43ca6c25d4 Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c am: ad84b138cb am: 76363ffeb5 am: 7b252da62a
Change-Id: I89b06e7f57b147fcce94088fc9cbcc3a6a48b81d
2020-04-17 02:25:59 +00:00
Calvin Huang
76363ffeb5 Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c am: ad84b138cb
Change-Id: Ia3e2a3cbf1c08f6870210bbcb964e1c717010116
2020-04-17 01:41:46 +00:00
Calvin Huang
ad84b138cb Merge "Add manifest for IVehicle" into rvc-dev am: ef826c728c
Change-Id: Ie123467e4298da21ed6dfcc4daa937fb73e94185
2020-04-17 01:21:13 +00:00
Calvin Huang
a7f44eb83c Add manifest for IVehicle
Bug: 153734354
Test: Manual
Change-Id: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
2020-04-16 16:02:17 -07:00
Hayden Gomes
db0f920adc Merge "Adding android_filesystem_config.h import" into rvc-dev am: 6eaedbae7c am: 0004813471 am: fbf06faecb am: b8f1fb89e6
Change-Id: I022564be49f859c717c4ecff3d9921844990a6f1
2020-04-10 17:27:19 +00:00
Hayden Gomes
fbf06faecb Merge "Adding android_filesystem_config.h import" into rvc-dev am: 6eaedbae7c am: 0004813471
Change-Id: Id43f6f0895ca4501302a17ef6caa96f6c88cf446
2020-04-10 16:29:39 +00:00
Hayden Gomes
0004813471 Merge "Adding android_filesystem_config.h import" into rvc-dev am: 6eaedbae7c
Change-Id: Ic5d6e807172e65480621cd9c2781c2f332a52869
2020-04-10 16:28:24 +00:00
Hayden Gomes
6eaedbae7c Merge "Adding android_filesystem_config.h import" into rvc-dev 2020-04-10 16:19:37 +00:00
Hayden Gomes
8261cac9e8 Adding android_filesystem_config.h import
Addressing outstanding todo in VehicleHalManager

Bug: 148098383
Test: m vts and atest android.hardware.automotive.vehicle@2.0-manager-unit-tests
Change-Id: I9a222077d0de91f8c7353c80d8a1aeff53cffa61
2020-04-09 17:17:31 -07:00
TreeHugger Robot
d2dd71446f Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev am: b82cdd09a3 am: 95a080b38c am: 01148c0fcb am: 9a0327997e
Change-Id: Ib2c98724dad29442d081cb6b94ea053ca8812cee
2020-04-09 21:59:57 +00:00
TreeHugger Robot
01148c0fcb Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev am: b82cdd09a3 am: 95a080b38c
Change-Id: Ie06a3eb402bd4415516a5f49edbd0380676305a1
2020-04-09 21:13:37 +00:00
TreeHugger Robot
95a080b38c Merge "Move virtualization-specific proto definition to /device/google/trout" into rvc-dev am: b82cdd09a3
Change-Id: I47fdd9bdab69346ffb8a1ee5aa9647e9a7f8b958
2020-04-09 20:47:58 +00:00
Hao Chen
37cd4646ac Move virtualization-specific proto definition to /device/google/trout
Test: build
Bug: 148816426
Change-Id: I5ea4a078d2733d0b5fc370211389ebc0488898ef
2020-04-09 18:20:15 +00:00
TreeHugger Robot
2bdbefa23f Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev am: 03a34b7964 am: 91c9d6f16e am: 0b46f3eb21 am: 0662d5a277
Change-Id: I9819a2ceec2a757a57777164db3cda4a674d5051
2020-04-07 21:34:12 +00:00
TreeHugger Robot
451ea9a14e Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev am: 03a34b7964
Change-Id: Icafe246cdc3bc69d55f9dc713bf59d04e7c2739d
2020-04-07 20:18:46 +00:00
TreeHugger Robot
03a34b7964 Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev 2020-04-07 20:05:47 +00:00
Calvin Huang
04df530681 Merge "Override VHAL property init value with json" into rvc-dev am: 0c8803cb75 am: 1fc6ac7c9d am: 4b56583b25 am: d609dc7886
Change-Id: If38405f94a3113ca049f0b3a597c5384f4898e06
2020-04-07 19:16:44 +00:00
Calvin Huang
d5608a2d5a Override VHAL property init value with json
Bug: 150978133
Test: Manual
Change-Id: Iaa45adad3712ca3cc325d52433048b3208109402
2020-04-06 22:07:02 -07:00
Hao Chen
efc31de2b6 Add filegroup for trout project to use VehicleHalProto definition
Other virtualization specific definitions and build rules will be moved
to /device/google/trout in the following patches. Keep them for now so
that we will not break the build.

Test: build
Bug: 148816426
Change-Id: I8a579346b55aa812db3dd30a34050c9515f7a68d
2020-04-06 16:27:15 -07:00
TreeHugger Robot
8024de7fcc Merge "Implemented SWITCH_USER in the emulated User HAL." into rvc-dev am: 5a8697164d am: 4d4556aacd am: 6bd37ccfa4 am: 7a9c5dcaae
Change-Id: Ifb913d4610d80cd8642ab3832581232a97a222bd
2020-03-31 00:59:12 +00:00
TreeHugger Robot
4d4556aacd Merge "Implemented SWITCH_USER in the emulated User HAL." into rvc-dev am: 5a8697164d
Change-Id: I94ff3ceec6ae85b25ea5f9f89526713f896cccb8
2020-03-30 23:58:28 +00:00
felipeal
eb5c657bc7 Implemented SWITCH_USER in the emulated User HAL.
Examples:

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
No InitialUserInfo response
No SwitchUser response

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896584 a 1 i 666 i 3 i 1 s "D\\'OH!"
Set property {.timestamp = 63698971001637, .areaId = 1, .prop = 299896584, .status = AVAILABLE, .value = {.int32Values = [3]{666, 3, 1}, .floatValues = [0]{}, .int64Values = [0]{}, .bytes = [0]{}, .stringValue = "D'OH!"}}

$ adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
No InitialUserInfo response
SwitchUser response: {.timestamp = 63698971001637, .areaId = 1, .prop = 299896584, .status = AVAILABLE, .value = {.int32Values = [3]{666, 3, 1}, .floatValues = [0]{}, .int64Values = [0]{}, .bytes = [0]{}, .stringValue = "D'OH!"}}

Test: see commands above
Bug: 150409110

Change-Id: Id5b92774fccebbc39ed8d3f553df3f5aa30fc656
2020-03-23 09:43:34 -07:00
Kai Wang
e290b293d0 Merge "Add timestamp for continuously property." into rvc-dev am: e5a22f2fa1 am: 668f6889dd am: e8b5b7b482 am: 5169e0b0f4
Change-Id: Ie4b312703a4348b42b0d3f087d7ac1efdd304e03
2020-03-18 19:05:55 +00:00
Kai Wang
668f6889dd Merge "Add timestamp for continuously property." into rvc-dev am: e5a22f2fa1
Change-Id: I5ee32d0f9a88c46f021434dbb6270815bcbe74f8
2020-03-18 17:55:54 +00:00
Kai Wang
6780365567 Merge "Add timestamp for continuously property." into rvc-dev am: e5a22f2fa1
Change-Id: I704d3a902c9077cddb3aa8be4a057371db7d3b6a
2020-03-18 17:55:37 +00:00
Kai Wang
e5a22f2fa1 Merge "Add timestamp for continuously property." into rvc-dev 2020-03-18 17:47:04 +00:00
Kai
47a9378d4d Add timestamp for continuously property.
Bug: 148960132
Test: 1. apply google vhal to device
      2. atest CtsCarTestCases:CarPropertyManagerTest

Change-Id: Ib6690b5e242287958017c87632f56a546d418674
2020-03-17 22:46:06 +00:00
Huihong Luo
034c9bc96e Don't send brightness to car service inside Emulator
This fixes this cts test: android.cts.statsd.atom.UidAtomTests#testScreenBrightness

Bug: 139959479
Test: atest android.cts.statsd.atom.UidAtomTests#testScreenBrightness
Change-Id: I66f858ce7686a90cd395f4e646133e8ea4604be4
Merged-In: I66f858ce7686a90cd395f4e646133e8ea4604be4
(cherry picked from commit 1322465c48d0c3dfa5953573b80a89460b8e7e95)
(cherry picked from commit 5d463fdaaa)
2020-03-11 19:34:00 -07:00
Huihong Luo
ffb22ec965 Merge "Don't send brightness to car service inside Emulator" 2020-03-11 16:49:24 +00:00
Automerger Merge Worker
c70775f853 Merge "Bugfix: add "override" explicitly to make the compiler happy" into rvc-dev am: 8f3fee6216 am: 72d170ffb7 am: 104b9d3367 am: 1665d91e76
Change-Id: I2006463f0b03570c3a229362cb85b402008086e5
2020-03-10 22:01:38 +00:00