Commit graph

28427 commits

Author SHA1 Message Date
Blair Prescott
28833592b3 wifi: Fix VTS error for non-p2p devices am: 230e96521d am: bd7b0bceee am: 3f4660cec8 am: 2b6cf192a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: I5352dd40433b5073aa1525119d5760b9a23d8440
2020-10-08 23:13:58 +00:00
Blair Prescott
2b6cf192a1 wifi: Fix VTS error for non-p2p devices am: 230e96521d am: bd7b0bceee am: 3f4660cec8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: Ibdb539dab2f1fcd461bbe3e462ea6c780c0a55a1
2020-10-08 23:07:20 +00:00
Blair Prescott
3f4660cec8 wifi: Fix VTS error for non-p2p devices am: 230e96521d am: bd7b0bceee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: I7d4eef43b8a8eecf4ca6ad11fb6658359b734123
2020-10-08 22:45:34 +00:00
Blair Prescott
bd7b0bceee wifi: Fix VTS error for non-p2p devices am: 230e96521d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1453396

Change-Id: I24c7f0abc78d065d0fec4f0c158501295603a9dc
2020-10-08 22:16:21 +00:00
TreeHugger Robot
70d0e89dcd Merge changes from topic "contexthub_hal_1_2"
* changes:
  Add VTS tests for Context Hub HAL 1.2
  Adds default (mock) Context Hub HAL 1.2 impl
  Adds Context Hub HAL v1.2
2020-10-08 22:15:32 +00:00
TreeHugger Robot
943b0e6290 Merge "Move Emulated User HAL to Emulated Vehicle Connector Class" 2020-10-08 01:58:09 +00:00
Arthur Ishiguro
d06c45e008 Add VTS tests for Context Hub HAL 1.2
Also updates the compatibility matrix.

Bug: 166845383
Test: Run test on device with HAL 1.2 implemented, verify pass

Change-Id: Iac53e755cfa38fbd1322421279475de76b4bb572
2020-10-07 13:50:11 -07:00
Arthur Ishiguro
46c2bd0439 Adds default (mock) Context Hub HAL 1.2 impl
Also refactors common code.

Bug: 166845383
Test: Compile only (VTS test coming up in future CL)
Change-Id: Iae6cf09e2fffb854af61c29e6004ceb062a892b3
2020-10-07 13:49:28 -07:00
Arthur Ishiguro
08596b4629 Adds Context Hub HAL v1.2
Add support for extended setting changes.

Bug: 166845383
Test: Compile
Change-Id: I912f01447e4d0e2f345620fa1b5599f50cc9a4f8
2020-10-07 13:47:26 -07:00
Amy Zhang
99adeec067 Merge "Add isHighPriority scan message type into Tuner HAL 1.1" 2020-10-07 20:16:46 +00:00
Blair Prescott
230e96521d wifi: Fix VTS error for non-p2p devices
Fix VtsHalWifiSupplicantP2pV1_0TargetTest to skip tests
in such a way that VTS reports the module as complete on
devices that don't support Wifi Direct.

Bug: 170326147
Test: run vts -m VtsHalWifiSupplicantP2pV1_0TargetTest
Change-Id: Ia418c4bb72f4772422d724636453395c4ba9fb2d
2020-10-07 19:54:39 +00:00
Benjamin Schwartz
6708bf6ae5 Merge "power/stats: Rename PowerStats HAL" 2020-10-07 19:27:16 +00:00
Michael Butler
cb9c293a6e [automerger skipped] Merge "Create conversions to/from NNAPI canonical types" am: f77f02bf50 am: b175b10734 am: 367198e13c am: d6e46433d7 -s ours
am skip reason: Change-Id I0732e658c1f4ed40cd122f1ca8581fb40b056757 with SHA-1 a685c3dbf4 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449138

Change-Id: I696e4d0d92c8c503cb4425f037a3631d41f5d41c
2020-10-06 23:32:05 +00:00
Michael Butler
d6e46433d7 Merge "Create conversions to/from NNAPI canonical types" am: f77f02bf50 am: b175b10734 am: 367198e13c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449138

Change-Id: I6c4d795c4d63593dba7061a979e0e441dbe52931
2020-10-06 23:05:57 +00:00
Michael Butler
367198e13c Merge "Create conversions to/from NNAPI canonical types" am: f77f02bf50 am: b175b10734
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449138

Change-Id: I9576bfa3083eba6a66c66ed65fb4001231d0225d
2020-10-06 22:14:43 +00:00
Michael Butler
b175b10734 Merge "Create conversions to/from NNAPI canonical types" am: f77f02bf50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449138

Change-Id: Ic1a7e29d28a9c6ac3213a2fe95b5732206a0da85
2020-10-06 21:49:31 +00:00
Michael Butler
f77f02bf50 Merge "Create conversions to/from NNAPI canonical types" 2020-10-06 21:22:49 +00:00
TreeHugger Robot
0cfdd53e9c Merge "Handle the empty display information" into rvc-qpr-dev am: be5dec4265 am: d312f17772
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12746598

Change-Id: Ia60211b2e108d3b0b5dd758aed7b9a3871173302
2020-10-06 16:55:45 +00:00
Benjamin Schwartz
71c6f8ba6f power/stats: Rename PowerStats HAL
Bug: 169864180
Test: m
Change-Id: I6abacd82d9bcbc5957dcad891ae5c742bc307316
2020-10-06 09:20:21 -07:00
TreeHugger Robot
d312f17772 Merge "Handle the empty display information" into rvc-qpr-dev am: be5dec4265
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12746598

Change-Id: Ia7824e93695383e09a58cbf2fc2959f58929ef11
2020-10-06 16:10:55 +00:00
TreeHugger Robot
be5dec4265 Merge "Handle the empty display information" into rvc-qpr-dev 2020-10-06 15:40:12 +00:00
Amy Zhang
7ec2b704fa Add isHighPriority scan message type into Tuner HAL 1.1
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 169868608
Change-Id: I49a82dc9eda0fc9b1f90bc67cd6d1a20bbafcc00
2020-10-05 18:07:20 -07:00
Treehugger Robot
a668303dbe Merge "Remove vts10 reference vts_target_tests_defaults" am: c576a3ccba am: 06640f702b am: de1427a797 am: 659769bff3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449815

Change-Id: Ib28e3b72edf79f477b91627625208e2d43ce110e
2020-10-06 00:58:31 +00:00
Treehugger Robot
659769bff3 Merge "Remove vts10 reference vts_target_tests_defaults" am: c576a3ccba am: 06640f702b am: de1427a797
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449815

Change-Id: I1941b0b0a895e430fdefa4c45f3ddbcdaa8ecc4e
2020-10-06 00:27:46 +00:00
Treehugger Robot
de1427a797 Merge "Remove vts10 reference vts_target_tests_defaults" am: c576a3ccba am: 06640f702b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449815

Change-Id: I18bf2466b59e26245d4bd43a484d14e966ef483d
2020-10-06 00:12:58 +00:00
Treehugger Robot
06640f702b Merge "Remove vts10 reference vts_target_tests_defaults" am: c576a3ccba
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1449815

Change-Id: I372939a9814fb5f93a2178f695d0c8253b291fd2
2020-10-05 23:46:34 +00:00
Treehugger Robot
c576a3ccba Merge "Remove vts10 reference vts_target_tests_defaults" 2020-10-05 23:34:35 +00:00
Jing-yan, Jang
6116f07d7d Merge "fastboot: add a new oem command for post wipe userdata" into rvc-qpr-dev-plus-aosp am: 4004b36500
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12761318

Change-Id: I97c5c2655fd5310a438cef92096947dc1b0cff79
2020-10-05 23:32:32 +00:00
Jing-yan, Jang
4004b36500 Merge "fastboot: add a new oem command for post wipe userdata" into rvc-qpr-dev-plus-aosp 2020-10-05 23:04:55 +00:00
TreeHugger Robot
4f6d6196da Merge "power/stats: Move PowerStats HAL 2.0 to power/stats" 2020-10-05 22:50:05 +00:00
TreeHugger Robot
af8029aefb Merge "powerstats: Refine PowerStats HAL 2.0 documentation" 2020-10-05 22:49:56 +00:00
Treehugger Robot
b26f98b50d [automerger skipped] Merge "wifi: Deprecate older versions of wifi HAL" am: 3d2cde64ee am: 60ce011e2f am: dfa6d1aca7 am: 364d13c85b -s ours
am skip reason: Change-Id I20f5b3665650c86fc0f976c544194f87157e6b90 with SHA-1 854acd7c7d is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1448439

Change-Id: Ibdb4001657b50e638134f406e52526cfe5e700b3
2020-10-05 21:37:22 +00:00
Treehugger Robot
364d13c85b Merge "wifi: Deprecate older versions of wifi HAL" am: 3d2cde64ee am: 60ce011e2f am: dfa6d1aca7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1448439

Change-Id: I872baaad08c8d85414e84d2face356af4cacc76c
2020-10-05 21:22:03 +00:00
Treehugger Robot
dfa6d1aca7 Merge "wifi: Deprecate older versions of wifi HAL" am: 3d2cde64ee am: 60ce011e2f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1448439

Change-Id: Ie58c2ed7188a874a3af5a51726960dfa45eee580
2020-10-05 21:10:50 +00:00
Ady Abraham
fd3189fda9 [automerger skipped] composer: hold a sp<IComposer> from the service itself am: 1368c29213 am: 5d4d79d9de -s ours
am skip reason: Change-Id I3962ede51ce823368c62c4e4e5fb30f7a5680bdf with SHA-1 43e42ff6ec is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12754286

Change-Id: Ieb18141efd33c7b769ba0083783ba99947d0c00f
2020-10-05 20:49:16 +00:00
Treehugger Robot
60ce011e2f Merge "wifi: Deprecate older versions of wifi HAL" am: 3d2cde64ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1448439

Change-Id: I73569302fbf6af2bc53e438e8558caf5a704993f
2020-10-05 20:49:10 +00:00
Ady Abraham
5d4d79d9de composer: hold a sp<IComposer> from the service itself am: 1368c29213
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12754286

Change-Id: Ia3f955a51bde0549072afdf35b92a9de28a065a6
2020-10-05 20:30:47 +00:00
Treehugger Robot
3d2cde64ee Merge "wifi: Deprecate older versions of wifi HAL" 2020-10-05 20:30:20 +00:00
Treehugger Robot
5008fe1a09 Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847 am: d66b12008f am: 0bd8713642 am: befda6dd70
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: Ibbb66c51703347f85f4ec21a281eb3014e5c3169
2020-10-05 20:01:59 +00:00
Treehugger Robot
befda6dd70 Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847 am: d66b12008f am: 0bd8713642
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: Ic3174b0647e3bc675c26a308046ddff124369c0e
2020-10-05 19:48:02 +00:00
Michael Butler
b98aa6d6bf Create conversions to/from NNAPI canonical types
This CL creates the following primary sets of functions:
* V1_X::utils::convert(<canonical_type>) -- Converts a canonical type
  to the corresponding HAL version type.
* nn::convert(<V1_X_HAL_type>) -- Converts a HAL version type to the
  corresponding canonical type.
* neuralnetworks::utils::hasNoPointerData -- Indicates if the object
  contains no pointer-based data that could be relocated to shared
  memory.
* neuralnetworks::utils::flushDataFromPointerToShared -- Relocate
  pointer-based data to shared memory.
* neuralnetworks::utils::unflushDataFromSharedToPointer -- Undoes
  `flushDataFromPointerToShared` on a Request object. More
  specifically, `unflushDataFromSharedToPointer` copies the output
  shared memory data from the transformed Request object back to the
  output pointer-based memory in the original Request object.

It also introduces some other minor utility code, including
makeQuantized8PerformanceConsistentWithP, countNumberOfConsumers,
validate, valid, and validatedConvertToCanonical.

Bug: 160667419
Test: mma
Change-Id: I0732e658c1f4ed40cd122f1ca8581fb40b056757
Merged-In: I0732e658c1f4ed40cd122f1ca8581fb40b056757
(cherry picked from commit a685c3dbf4)
2020-10-05 12:47:57 -07:00
Treehugger Robot
0bd8713642 Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847 am: d66b12008f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: I68df407a9e76197cae516a479880cf0c6ad5a815
2020-10-05 19:02:26 +00:00
Treehugger Robot
d66b12008f Merge "Skip GnssMeasurement VTS for Android Automotive OS." am: d8a767a847
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1443915

Change-Id: Ic934f94ed2cb553ba473e3d2cd1074a140048328
2020-10-05 18:42:05 +00:00
Treehugger Robot
d8a767a847 Merge "Skip GnssMeasurement VTS for Android Automotive OS." 2020-10-05 18:38:50 +00:00
Ady Abraham
1368c29213 composer: hold a sp<IComposer> from the service itself
IComposerClient assumes that IComposer will outlive its life cycle
and holds a simple pointer to HwcHal. This change is taking the same
approach of newer composer versions (2.2, 2.3, and 2.4) to make sure
that IComposer would outlive IComposerClient.

Test: coral booting with this change
Fixes: 155769496
Change-Id: I3962ede51ce823368c62c4e4e5fb30f7a5680bdf
Merged-In: I3962ede51ce823368c62c4e4e5fb30f7a5680bdf
(cherry picked from commit 43e42ff6ec)
2020-10-05 18:09:08 +00:00
Dan Shi
f27b504a10 Remove vts10 reference vts_target_tests_defaults
The module is obsoleted.

Bug: 169581727
Test: build
Change-Id: I55853a2cde4c042c489b0e6ac8bcab93fc47be73
2020-10-05 10:48:24 -07:00
Benjamin Schwartz
bcd9053514 power/stats: Move PowerStats HAL 2.0 to power/stats
Bug: 169864180
Test: dumpsys android.hardware.powerstats.IPowerStats/default
Change-Id: Icbadece98b09505efb2f6d0863f15d4b77a29df2
2020-10-05 09:53:33 -07:00
Benjamin Schwartz
5345624e36 powerstats: Refine PowerStats HAL 2.0 documentation
Bug: 169864180
Test: m
Change-Id: I988ff3508fdb09803a0ffdafc9d40cac3b72e075
2020-10-05 09:53:22 -07:00
Roshan Pius
5a3efa4878 wifi: Deprecate older versions of wifi HAL
Various wifi protocol MAC randomizations are mandatory in Android 11.
So, deprecate older versions of wifi HAL which don't support the
corresponding API's.

Bug: 169201652
Test: Compiles
Merged-In: I20f5b3665650c86fc0f976c544194f87157e6b90
Change-Id: I20f5b3665650c86fc0f976c544194f87157e6b90
2020-10-05 09:11:13 -07:00
Roshan Pius
fa96d00429 Merge "wifi: Deprecate older versions of wifi HAL" 2020-10-05 16:00:17 +00:00