summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-23Removes invalid sensors for automotive emulator am: a89865b297android-mainline-12.0.0_r112android-mainline-11.0.0_r44android-mainline-11.0.0_r23android-mainline-11.0.0_r15aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-extservices-releaseaml_tz2_305400100Tanmay Patil
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/12663203 Change-Id: Ia3209ed4bb347812a6a73e2db34a2dbce8e9f52d
2020-09-22Removes invalid sensors for automotive emulatorTanmay Patil
Removes sensors that are not valid or irrelevant for automotive use-cases on car emulator. Keeps only the accel and gyro sensors, removes: proximity, hinge etc. Modifies the emulator mk file to remove features and the config.ini to remove hardware. Verified on sdk_gcar_x86 Bug: b/153604089 Test: atest SystemFeaturesTest#testSensorFeatures Change-Id: I86da1cfcbdc4e64d386fbe4449fc69b461036351 (cherry picked from commit eecc3621bb4b12e701ed44419444ec564953986e) (cherry picked from commit e52c884359d8f9f678b93d19117e581f0ac1ed30)
2020-07-22Added missing audio libraries to car emulator am: ee3e77d1e7android-mainline-11.0.0_r35Oscar Azucena
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/12204295 Change-Id: Ic59263a1a45f0be8bff74a99c81363c8e122a1cb
2020-07-22Added missing audio libraries to car emulatorOscar Azucena
Added audio effects, audio service, and default submix libraries. Due to a recent change in golfish the libraries were removed from car emulator targets. Bug: 161753755 Bug: 161846952 Test: make -j60,run emulator and play MZ audio. Change-Id: I3ee44d739230bc0249d40acfdd784da9c23e0a38 (cherry picked from commit dcb9c6cc213cc7884a05047e309bd50ac6a341a8)
2020-06-26Enable tethering in auto emulator. am: 7a81f15371Kevin Meier
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11961648 Change-Id: I48f4814acd060cb5253b8189278a42d47687b3de
2020-06-25Enable tethering in auto emulator.android11-devKevin Meier
Install com.android.networkstack.tethering as both user-type FULL and SYSTEM. Bug: 158229071 Test: atest android.tethering.test.TetheringManagerTest Change-Id: Ic9f687e7da14182491ddb39090b39d149200855e
2020-06-19Merge "Update package whitelist for car emulator" into rvc-dev am: 3e432c2018Yan Zhu
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11839389 Change-Id: Ic866df111abb7835ea6af6fe2bcb9f50e0cdaf5b
2020-06-19Merge "Update package whitelist for car emulator" into rvc-devYan Zhu
2020-06-18Enabled car audio in car emulator am: fadcdfa51cOscar Azucena
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11889167 Change-Id: I2214434b20422e11933992de34dfe8248416e40d
2020-06-17Enabled car audio in car emulatorOscar Azucena
Goldfish had disabled car audio with their latest changes. Re-enabled car audio by enabling EMULATOR_VENDOR_NO_SOUND flag. Also added missing car audio HAL information. Bug: 159165632 Test: Run emulator and verify MZ audio works as expected. Change-Id: I4edfc928ce2c1bc89de35719622136f47b6a143d
2020-06-16Add dumpstate sepolicy for emu to pass CTS am: 15d270acabCalvin Huang
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11886039 Change-Id: I776e4d0a4174baa6ec1272eefe1f505d9f77e28b
2020-06-16Add dumpstate sepolicy for emu to pass CTSCalvin Huang
Fix: 158524715 Test: Launch user build emulator Test: atest android.security.cts.SELinuxHostTest Change-Id: Ibfbdcdd133fbe38e49ec9086ea1fbef30e3ed654
2020-06-15Update package whitelist for car emulatorYan Zhu
- Add missing packages to the whitelist - Remove auto generate overlay package Bug: 158123476 Test: lunch gcar_hl_md_emu_x86 && emulator -no-snapshot -skin 1280x720 -multidisplay 1,1280,720,120,0,2,1280,720,120,0 && atest android.car.apitest.PreInstalledPackagesTest#testNoCriticalErrors_enforceMode Change-Id: Ie779bb1fd002fc4cc778dcd21fcd68807bb9cf2d
2020-06-16Merge "Fix ActivityManagerProcessStateTest test for emulator" into rvc-dev ↵TreeHugger Robot
am: d107b6dcc8 Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11875255 Change-Id: I33eadafe7fc5d61d1bc5b876d5659aaf517c8c69
2020-06-16Merge "Fix ActivityManagerProcessStateTest test for emulator" into rvc-devTreeHugger Robot
2020-06-15Fix ActivityManagerProcessStateTest test for emulatorMayank Garg
Bug: 153604818 Test: atest CtsAppTestCases:android.app.cts.ActivityManagerProcessStateTest Change-Id: Icb022cb1ae85d17aed12dc7d03c07d04e5fd7fb6
2020-06-15Merge "Added simulated input devices to HW sound emulator." into rvc-dev am: ↵Oscar Azucena
506b9b82c1 Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11796582 Change-Id: I5a33dd82a4acef98085cdb07b63f337bcb1e3e38
2020-06-15Merge "Added simulated input devices to HW sound emulator." into rvc-devOscar Azucena
2020-06-12Added simulated input devices to HW sound emulator.Oscar Azucena
Added simulated audio input devices to car audio configuration. This devices can be used for any audio zone in particular but are mostly set to target zone 0 and zone 1. Also added osillator struct to keep track of phase and current phase increment (e.g ~frequency) to keep track of current phase changes in simulated input device. Test: m -j, run emulator Bug: 158122733 Change-Id: Iecdcd695975b71ce4d49c0770bd9ea02f9703cd3
2020-06-11Updated car emulator to use new soundtrigger lib. am: 8614600b9dOscar Azucena
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11842642 Change-Id: I8c4354137e882da982c549efe36f21ca9cd16c85
2020-06-11Updated car emulator to use new soundtrigger lib.Oscar Azucena
Updated car emulator to use the newly added sountrigger lib, this implements a non operational library, this safistactory as car emulators do not use the sound triggr. Bug: 157759582 Test: run car emulator, no crash or trigger issues were observed. Change-Id: I1e3f024561e53f4fdc988cd653f3c0a3d089be23
2020-06-09Merge "Remove camera and add sensors" into rvc-dev am: c1056a65a9TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11799330 Change-Id: I2eb30522794299a8806b005be61603de0ec271ac
2020-06-09Merge "Remove camera and add sensors" into rvc-devTreeHugger Robot
2020-06-08Remove camera and add sensorsCalvin Huang
Remove camera permission, since car emus don't support camera Add sensors according to testSensorFeatures Add hinge angle configs to config.ini to enable it. Bug: 153604089 Test: atest android.app.cts.SystemFeaturesTest Change-Id: I4a63aa9d161258ecc4860aa0bda8be09a8d3f4ad
2020-06-08Remove print from automotive emu am: 9727346c0eCalvin Huang
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11795069 Change-Id: I62166649bbecb24e8a57e47bdc279c8f98ae29db
2020-06-08Remove print from automotive emuCalvin Huang
Print is not needed for automotive Test: atest CtsPrintTestCases Bug: 158312287 Change-Id: I7f033fe3243223ebcc01c5770bd03629097fedbd
2020-06-05Merge "Removed configs for car audio display API." into rvc-dev am: 46674d19ffTreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11714658 Change-Id: I9b72fd7c1c38c16bfc10bd80f343a175a81720cf
2020-06-05Merge "Removed configs for car audio display API." into rvc-devTreeHugger Robot
2020-06-03Removed configs for car audio display API.Oscar Azucena
Removed car audio configurations for car audio display API. Bug: 148223185 Test: m -j, run target Merged-In: I377225baf29f6529f232d1df5cd39daf4d40bdc4 Change-Id: I377225baf29f6529f232d1df5cd39daf4d40bdc4 (cherry picked from commit c2209df91cb07cd7a12da182de40446fb56b805d)
2020-06-02Remove PIP feature for automotive emulators am: 5a7f8ac7b9Heemin Seog
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/car/+/11710000 Change-Id: I85f823ade50b26355332e59521f9ae3db06dc00f
2020-06-02Remove PIP feature for automotive emulatorsHeemin Seog
PIP will be disabled by default for AAOS. We will provide instructions for OEMs to re-enable through partner documentation. Bug: 156117761 Test: atest android.server.wm.KeyguardLockedTests#testDismissKeyguardPipActivity, atest CtsWindowManagerDeviceTestCases Change-Id: I5b14f586750597abc9810ae248adc601897f7c4b
2020-05-30Add a FLAG to include ClusterDisplay at the emulator am: 68de103e7fYuncheol Heo
Change-Id: Id52b2727413b037c3e19a14946e3908b226d1be7
2020-05-30Allow to install RRO for DirectRenderingCluster for the system user. am: ↵Yuncheol Heo
b696e88c4a Change-Id: Idb5fd313e4d9fca061509bd3ae51b2523853528f
2020-05-29Add a FLAG to include ClusterDisplay at the emulatorYuncheol Heo
Bug: 155790826 Test: Check if gcar_hl_emu_x86 has a Cluster display. Change-Id: Ib6f1715e82a5e499a23e6f15510f9910aa97602f
2020-05-29Allow to install RRO for DirectRenderingCluster for the system user.Yuncheol Heo
Bug: 155790826 Test: Check if RRO is applied on DirectRenderingCluster (Maps is shown at Cluster). Change-Id: I8b676509e8debaf7f2bc4ebe6ffd9e6149525839
2020-05-29Merge "Fixed audio service crash due to missing library." into rvc-dev am: ↵TreeHugger Robot
0b5b52ab2e Change-Id: I1134b9c03cba1d2b8ac0b9bcd38321094fd4cfe9
2020-05-29Merge "Fixed audio service crash due to missing library." into rvc-devTreeHugger Robot
2020-05-28Fixed audio service crash due to missing library.Oscar Azucena
Audio policy service was crashing due to missing sound trigger library. This library is not used but due to recent changes the audio HAL is reset and thus causes the audio service to crash. Bug: 157097833 Test: make installclean & make -j60 Test: run gcar emulator and verify the audio server does not crashes. Change-Id: I2ffa0ab53a1d58b17439880cb5a39248567c446d
2020-05-28Merge "Allow CarLauncher for user 0" into rvc-dev am: e94dfc4ee1Heemin Seog
Change-Id: I62325782eb630525c5943d7003c6263f32fcc9e8
2020-05-28Merge "Allow CarLauncher for user 0" into rvc-devHeemin Seog
2020-05-28Added missing pre-installed packages. am: 961be549a8Felipe Leme
Change-Id: I7114d07d070166f51cb92a487a9d3be1a966908b
2020-05-28Allow CarLauncher for user 0Heemin Seog
Necessary since the sysui queries system user apps for something that can handle the home intent when launching the keyguard. This should be updated to query based on the foreground user in the future. Bug: 157579456 Test: manual (flash, set security pin, reboot) Change-Id: I691bc20f42d2997260024eaa2eca249fd41ef607
2020-05-21Added missing pre-installed packages.Felipe Leme
Fixes: 157159736 Test: atest PreInstalledPackagesTest Change-Id: I2e7b2bad90582fc34b973300112cb35d18880c26
2020-05-14Install autogenerated RRO packge for CarService. am: 4439d85a30Yuncheol Heo
Change-Id: I51032789f7b866e4433eec1de0116ebddd6d8132
2020-05-14Install autogenerated RRO packge for CarService.Yuncheol Heo
Bug: 156649977 Test: Adding a logcat message to check the resource was overridden. Change-Id: I9c69094dd24cd0552194437c46fa8a40245578d4
2020-05-13Install com.android.networkstack for System user. am: cf3a45fb35Yuncheol Heo
Change-Id: I8cb2dde641b04b6cfa2c8e2d0fa5637eb6aaeae2
2020-05-13Install com.android.networkstack for System user.Yuncheol Heo
- The package is needed for Wifi. Bug: 156102300 Test: Builds gcar_hl_emu_x86 and checks if Wifi works. Change-Id: Ib903066ac740e934b846f11e81659c1bb43866ce
2020-05-13Match the screen size of emulator to Hawk. am: abee5e2f94Yuncheol Heo
Change-Id: Ib21db4a385a32236ab160e29b98ae5663f294564
2020-05-11Match the screen size of emulator to Hawk.Yuncheol Heo
- Hawk (1920x1080, 213.3 dpi) => (9 inch x 5 inch). - Emulator (9x5inch,120 dpi) => (1080x600). Bug: 156306801 Test: Check if the dialog to turn the location on shows correctly in ActivityView. Change-Id: Ic612acf92b8829462c196fdcbafad487f476cf62
2020-05-08Merge "Add sepolicy to register VHAL to car watchdog" into rvc-dev am: ↵TreeHugger Robot
b1c7f770d0 Change-Id: I2003b8f45fdf5c864b58f88c0f4cf0cef4d5109d