Commit graph

28546 commits

Author SHA1 Message Date
Andy Hung
6ce19700eb Audio: Add AUDIO_FORMAT_DRA
China DTMB digital TV.
See SJ/T11368-2006
“Specification for multichannel digital audio coding technology”.

Test: atest AudioFormatTest
Bug: 185950819
Merged-In: I941c4991e598e864babfb888a8827d1625d95990
Change-Id: I941c4991e598e864babfb888a8827d1625d95990
2021-04-29 19:07:10 -07:00
Andy Hung
1f90e1fbf8 audio: Add device constants for HDMI EARC
Implementation check by grep -E -r  "HDMI_ARC|HDMI_EARC" .

Test: atest AudioDeviceInfoTest
Bug: 131385398
Bug: 151781316
Merged-In: Idfe27b468a9f09770a31b6b58d83de77bebc6c80
Change-Id: Idfe27b468a9f09770a31b6b58d83de77bebc6c80
2021-04-29 18:49:43 -07:00
Andy Hung
3c5fcc51f5 Audio: Add AUDIO_FORMAT_DTS_UHD
See ETSI TS 103 491 V1.2.1 (2019-05)
DTS-UHD Audio Format; Delivery of Channels,
Objects and Ambisonic Sound Fields

Test: atest AudioFormatTest
Bug: 184538197
Merged-In: I4123efb29a95a599982af85068f8e4468ff15159
Change-Id: I4123efb29a95a599982af85068f8e4468ff15159
2021-04-29 17:55:16 -07:00
Amy Zhang
63f4175b6e Allow users to switch between FE source and DVR source when testing
record/descrambling/broadcast

Test: atest VtsHalTvTunerV1_0TargetTest
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 182519645
CTS-Coverage-Bug: 184077478
Change-Id: I6c57657ac3539d6a6fb3f63d2ecc9af7f6b9e2dc
Merged-In: I6c57657ac3539d6a6fb3f63d2ecc9af7f6b9e2dc
2021-04-28 20:25:36 -07:00
Steven Moreland
a8fd491c79 Merge "Freeze HALs for Android S" am: 2668e4bc46 am: 7cfbe2e8df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1688789

Change-Id: I12ef3d9b606644618592d4267c71dd81c484ec30
2021-04-28 18:26:40 +00:00
Steven Moreland
7cfbe2e8df Merge "Freeze HALs for Android S" am: 2668e4bc46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1688789

Change-Id: I9422403b654dd2e33842be93097703d56da00f1a
2021-04-28 18:08:00 +00:00
Steven Moreland
2668e4bc46 Merge "Freeze HALs for Android S" 2021-04-28 17:28:42 +00:00
Jooyung Han
75c90e37da Merge "aidl: Suppress warnings on out-array" am: b4be35f854 am: b3c0ff4dbf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1687505

Change-Id: Ib1255bb42e7e44fbd19c5f38ac45b9ce29b3cc7d
2021-04-27 23:26:17 +00:00
Jooyung Han
bf1ec6e83e Merge changes from topic "fix-aidl-warnings" am: a886a5c4be am: 5235704ac4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1688165

Change-Id: Iac71017b6bee1b1b41c15054ac7801470c28f08a
2021-04-27 23:26:11 +00:00
Jooyung Han
b3c0ff4dbf Merge "aidl: Suppress warnings on out-array" am: b4be35f854
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1687505

Change-Id: Icfad71ebf7c28b0546c282c637fec13bc120b62b
2021-04-27 23:10:51 +00:00
Jooyung Han
5235704ac4 Merge changes from topic "fix-aidl-warnings" am: a886a5c4be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1688165

Change-Id: I9d3dadf3247491b7c1edf100d1fbd7e8fc0790a9
2021-04-27 23:09:53 +00:00
Jooyung Han
b4be35f854 Merge "aidl: Suppress warnings on out-array" 2021-04-27 22:47:15 +00:00
Jooyung Han
a886a5c4be Merge changes from topic "fix-aidl-warnings"
* changes:
  aidl: Set explicit default values
  aidl: Set explicit default values
  aidl: Set explicit default values for enum-type fields
  aidl: Set explicit defaults to enum-type fields
2021-04-27 22:46:40 +00:00
Treehugger Robot
9591642c01 Merge "Add attestation format documentation" am: af3b58e35a am: 409dfb7fbd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1664840

Change-Id: I52f6f1b5c1ed260eff2ec63b72436c47d4ff6414
2021-04-27 21:39:11 +00:00
Treehugger Robot
409dfb7fbd Merge "Add attestation format documentation" am: af3b58e35a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1664840

Change-Id: Ib8e62affa7440a5ce22a65efd64375153b9da9aa
2021-04-27 21:00:09 +00:00
Treehugger Robot
af3b58e35a Merge "Add attestation format documentation" 2021-04-27 20:40:50 +00:00
Steven Moreland
d116916ba2 Freeze HALs for Android S
Bug: 178221726
Test: none
Change-Id: If18355915c40e8d47c721c1e373efb95db4dcdfa
Merged-In: I77ee02664242827d9aa96c985764cfc109c52b84
2021-04-27 18:18:03 +00:00
David Drysdale
647318f76c Merge "Align KeyMint AIDL with usage" am: 5cde787c9f am: 63bd1b149b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1679847

Change-Id: Iab39fbb7383c15a7dfb5bc30acf67f03643f50ec
2021-04-27 17:41:14 +00:00
David Drysdale
63bd1b149b Merge "Align KeyMint AIDL with usage" am: 5cde787c9f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1679847

Change-Id: I7ee783a56e6c76e8d9e3b52bb52b9e22e80682c6
2021-04-27 17:12:14 +00:00
David Drysdale
5cde787c9f Merge "Align KeyMint AIDL with usage" 2021-04-27 16:43:01 +00:00
Shawn Willden
8691e58bd1 AttestationKey documentation
Test: N/A, only added documentation
Change-Id: I41ed99c385c99511e8a9a19a5aa7aec180ee41ac
2021-04-27 09:22:25 -06:00
Shawn Willden
3cb64a6822 Add attestation format documentation
Somehow the attestation format docs got dropped from KeyMint in the
transition from Keymaster.  This replaces them, and also clarifies
that KeyMint StrongBox should not support device attestation.

Test: VtsAidlKeyMintTargetTest
Change-Id: I2334e99b4797c7a0e2e59727ffa730cf7504df31
2021-04-27 09:22:25 -06:00
Jooyung Han
386e55b616 aidl: Set explicit default values
Fixes: 179853698
Test: mma in hardware/interfaces/vibrator
Change-Id: I231c3cfb17f812944bcc6a88e618d96d7068f6c2
2021-04-27 20:11:54 +09:00
Jooyung Han
9c3ebfc83f aidl: Set explicit default values
This fixes warnings in AIDL files(-Wenum-explicit-default).

No semantic changes. (Explicit values are all zero enumerators.)

Fixes: 179853367
Test: mma in hardware/interfaces/keymaster
Change-Id: If5a70da3efd05a344c39ef1d2e73b7ec2b894f33
2021-04-27 18:33:17 +09:00
Jooyung Han
3a966323ef aidl: Set explicit default values for enum-type fields
Fixes: 179853674
Test: mma in hardware/interfaces/neuralnetworks
Change-Id: I9fdc7089eaf1202299da098220875ef8398667fe
2021-04-27 13:58:46 +09:00
Jooyung Han
695ef7acfe aidl: Set explicit defaults to enum-type fields
Fixes: 179853398
Test: mma in hardware/interfaces/graphics
Change-Id: I6f93bca4ba3c8d538765fc9a811b9050c6142cc3
2021-04-27 12:17:39 +09:00
Jooyung Han
d63cd3fff6 aidl: Suppress warnings on out-array
out-param arrays are considered harmful since the Java backend requires
them to be correctly allocated at caller site. But the only user of
android.hardware.identity is in C++, we can just ignore them.

Fixes: 179853403
Test: mma in hardware/interfaces/identity
Change-Id: Ib9b7ad895b3827c0888869a5b154696e3aff5624
2021-04-27 10:51:57 +09:00
Steven Moreland
f07b44c1f9 audio HAL - fix UAFs am: 7283cbe8cb am: e227bfd15c am: facfee6382 am: da947d5127
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14212414

Change-Id: I7c4ba7e1ed4e7c71e10332ce986bbc7b6aba8f40
2021-04-26 23:10:51 +00:00
Steven Moreland
da947d5127 audio HAL - fix UAFs am: 7283cbe8cb am: e227bfd15c am: facfee6382
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14212414

Change-Id: I50df59e828d44606c2fca8dc44830b5def4f9670
2021-04-26 22:46:24 +00:00
Steven Moreland
facfee6382 audio HAL - fix UAFs am: 7283cbe8cb am: e227bfd15c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14212414

Change-Id: I5b80e2810ef7c4010496687934d93685057d4c82
2021-04-26 22:31:02 +00:00
Steven Moreland
e227bfd15c audio HAL - fix UAFs am: 7283cbe8cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14212414

Change-Id: I975f17cc4c76755b4da89f7782dab18f2e0f36b4
2021-04-26 22:07:21 +00:00
Ady Abraham
8ae4e17e41 composer: VtsDisplay::setDimensions shouldn't be const am: 2fff170562 am: e8bc48b777
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1686815

Change-Id: Idf2bac28fed9070f3d0e874bc407d8dbab14e12a
2021-04-26 21:15:08 +00:00
Ady Abraham
e8bc48b777 composer: VtsDisplay::setDimensions shouldn't be const am: 2fff170562
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1686815

Change-Id: I7f7a949e8b1474c88d927002c3ef1e6bab671a3e
2021-04-26 20:49:44 +00:00
Andy Dyer-smith
40e7a2c691 Merge "Fix typo in PAD_V2 comments" am: e1dd0085d9 am: d6537b480a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682425

Change-Id: I18d6d80a692d90de979477d9ac505553ecc3cb51
2021-04-26 19:23:28 +00:00
Ady Abraham
2fff170562 composer: VtsDisplay::setDimensions shouldn't be const
Fix the usage of const attribute in VtsDisplay

Test: run composer 2.4 VTS
Bug: 185195256
Change-Id: I616ea044f46bc080ad0e82753b5031d9a38369f3
2021-04-26 12:00:06 -07:00
Andy Dyer-smith
d6537b480a Merge "Fix typo in PAD_V2 comments" am: e1dd0085d9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682425

Change-Id: Iee7eb1a06620aba8ed940d2c8d10c302f0005b4e
2021-04-26 18:59:55 +00:00
Andy Dyer-smith
e1dd0085d9 Merge "Fix typo in PAD_V2 comments" 2021-04-26 17:48:17 +00:00
Selene Huang
c7a2fd8fc3 Added various vts tests for attestKey. am: 8f9494c4f6 am: 995962e9dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1683913

Change-Id: Ie19761fd95d753aadb492b348e25b35598b178ec
2021-04-26 12:57:05 +00:00
Selene Huang
995962e9dd Added various vts tests for attestKey. am: 8f9494c4f6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1683913

Change-Id: Iab558b9eafd345d42dce320cb59e2b65a207c95c
2021-04-26 12:32:02 +00:00
Selene Huang
8f9494c4f6 Added various vts tests for attestKey.
- Added tests for signing attest key with factory chain.
  - Added test for signing encryption keys.
  - Added tests for chaining many RSA attest keys on the same chain.
  - Added tests for chaining many Ec attest keys on the same chain.
  - Added tests for alternate chaining of rsa-ec-rsa-ec-rsa attesti
    keys on the same chain.

Test: atest VtsAidlKeyMintTargetTest
Change-Id: I9c67e2b928d6bba6cc4074a4b65f639f33c9ec26
2021-04-24 22:43:13 -07:00
Treehugger Robot
c19539772e Merge "Bluetooth: Turn Bluetooth off while device setup" am: 24c422c48b am: dac4637fcf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1685385

Change-Id: I667fd105125033b855e6fe7224b438af07743719
2021-04-23 18:23:58 +00:00
Treehugger Robot
dac4637fcf Merge "Bluetooth: Turn Bluetooth off while device setup" am: 24c422c48b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1685385

Change-Id: I0535c6cae1f0c070df839789deb7e120746861ef
2021-04-23 18:04:46 +00:00
Treehugger Robot
24c422c48b Merge "Bluetooth: Turn Bluetooth off while device setup" 2021-04-23 17:46:53 +00:00
Andy Dyer-Smith
889c46c11a Fix typo in PAD_V2 comments
Bug: 158315823
Test: m

Change-Id: Ic7ba213f2e0ff523349e4b80926a302399db8d88
2021-04-23 16:25:12 +00:00
Treehugger Robot
a1b895cd8a Merge "Added vts tests for certificate subject and serial for various algorithms and self sign or non-self sign certificates." am: f04466c090 am: 46fe94ee88
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682337

Change-Id: I07574b4862a60b7f4dfcc17ea3ccf2c5e4d9cb68
2021-04-23 08:26:44 +00:00
Treehugger Robot
46fe94ee88 Merge "Added vts tests for certificate subject and serial for various algorithms and self sign or non-self sign certificates." am: f04466c090
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682337

Change-Id: I0fb2dab83f68beff426ab6fcf6ab6b5348c6d349
2021-04-23 08:09:05 +00:00
Treehugger Robot
f04466c090 Merge "Added vts tests for certificate subject and serial for various algorithms and self sign or non-self sign certificates." 2021-04-23 07:53:20 +00:00
Aaron Tsai
9df8b9cbfb Adding 1s time gap between back-to-back calling setDataThrottling API am: 47e14e567f am: 4579f048c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1675558

Change-Id: I2dd705bad62218a0fb51faa742a615d267ff4f40
2021-04-23 04:24:01 +00:00
Aaron Tsai
4579f048c4 Adding 1s time gap between back-to-back calling setDataThrottling API am: 47e14e567f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1675558

Change-Id: Id183e22e843055715080cfcfba3bb5230d77fa59
2021-04-23 04:04:41 +00:00
Cheney Ni
1f3312ce04 Bluetooth: Turn Bluetooth off while device setup
Because there's only one HCI interface, it won't open if Bluetooth is in
use, but encounter unexpected results. Based on the auto-generated test
config file, and this adds BT off condition in the device setup stage.

Bug: 184720725
Test: android-vts/tools/vts-tradefed run commandAndExit vts -m VtsHalBluetoothV1_*TargetTest
Change-Id: If03d3621f9e0cfebce7574126def134c4303b97f
2021-04-23 11:59:33 +08:00