Commit graph

27130 commits

Author SHA1 Message Date
Yifan Hong
ddb407f12e Merge "Remove health 1.0 IHealth." 2021-01-21 22:19:18 +00:00
Yifan Hong
83a5d54dfc Merge "Deprecate HIDL health storage HAL." 2021-01-21 19:34:10 +00:00
Tomasz Wasilczyk
2af96f7e50 Merge "broadcastradio@2.0 VTS uses FM frequency invalid in some regions" 2021-01-21 16:13:44 +00:00
Shawn Willden
1ddde5e97e Merge "Add basic testing for KeyMint certs." 2021-01-21 13:42:35 +00:00
Jan Kowal
4e04150188 broadcastradio@2.0 VTS uses FM frequency invalid in some regions
In Japan FM frequency range is 76-95MHz thus FmTune test using
hardcoded 101.1MHz fails on devices preconfigured for this
region when TunerSession::tune returns INVALID_PARAMETER.
Proposed new frequency is valid in all regions.

Test: run VtsHalBroadcastradioV2_0TargetTest on hardware units
configured for Europe, US, Japan (and preferably other) analog
tuner regions

Bug: b/177916339

Change-Id: I86081fc3e1c0e0959039d5a00d96873fca454da6
2021-01-21 12:44:44 +01:00
Chengyou Ho
4cd0571bd6 Merge "Add OWNERS file for oemlock" 2021-01-21 06:37:45 +00:00
Jiyong Park
4b97bd3b64 Turn aidl_format on
Bug: 144540481
Test: N/A
Change-Id: I721252d3b725ec094d7cb9fa3230b749ad0ae210
2021-01-21 15:06:51 +09:00
Shawn Willden
0e80b5d108 Add basic testing for KeyMint certs.
This is by no means complete, but it validates basic functionality.
More is coming.

Test: VtsAidlKeyMintTargetTest
Change-Id: I0727a9f5b137b58b9a2f0aaf9935bfdc6525df8f
2021-01-20 22:45:40 -07:00
Yifan Hong
da86cdbf03 Deprecate HIDL health storage HAL.
If a device launching with S VINTF uses health storage HAL,
it must use AIDL. If HIDL health storage HAL is used,
a build error will occur to complain about deprecated HALs.

Test: manual test that if the HIDL HAL is served on cuttlefish, then
      `m check-vintf-all` shows the following error:

android.hardware.health.storage@1.0::IStorage/default is deprecated
in compatibility matrix at FCM Version 6; it should not be served.

Bug: 177470478
Change-Id: I3c28352f5f8d491ed0e1f9292b80d2083699f829
2021-01-20 20:38:12 -08:00
Amos Bianchi
09aa2d02fc Rename interface method name.
Bug: 176240491
Test: atest hidl_lazy_test
Change-Id: I0efa4ebf695035c27ce15594332ee7dee822a52a
2021-01-20 17:38:56 -08:00
Mikhail Naganov
5d62b1774b Merge "Fix UninstantiatedParameterizedTestSuite errors in Audio HAL" 2021-01-21 01:23:53 +00:00
Amy Zhang
c991ca2d7f Merge "Enhance Tuner 1.0 VTS testing and configurations" 2021-01-20 23:42:16 +00:00
Mikhail Naganov
d5b489a3de Fix UninstantiatedParameterizedTestSuite errors in Audio HAL
Fix the specification of the test suite name passed to
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST to
avoid UninstantiatedParameterizedTestSuite errors.

Bug: 177344488
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: I418a488faa61c3bee2b959747e97483428d624b0
2021-01-20 15:21:22 -08:00
Ram Mohan
179a52cbbf OMX VTS: free graphics buffers at the end of test
Bug: 173454295
Test: atest VtsHalMediaOmxV1_0TargetVideoDecTest
Test: atest VtsHalMediaOmxV1_0TargetVideoEncTest
Change-Id: Ib9660ef8967b34114b36d71f9ed424f819b57e7a
2021-01-20 13:59:50 -08:00
Amy Zhang
3c22ce3bf7 Enhance Tuner 1.0 VTS testing and configurations
Broadcom shared a valuable patch to enhance Tuner 1.0 VTS per their
testing experience on the real devices.

We evaluated the suggestions and fix the following issues:
1. Allow testers to set a default frontend
2. Allow testers to enable/disable frontend
3. Skip FMQ creation on filters that do not need FMQ
4. Don't fail if the vendor impl rejects a foreign keytoken
5. Better logs
6. Clean up filter and its callback on close regardless of the closing
result
7. More filter size constants options

Suggestions from: Gareth Fenn <gfenn@broadcom.com>
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 177960135

Change-Id: Ie4dcc6cb284b2b57879f286c436f5bd9adf43201
Merged-In: Ie4dcc6cb284b2b57879f286c436f5bd9adf43201
2021-01-20 21:22:40 +00:00
Yifan Hong
2829019089 Merge changes from topic "health_storage_aidl"
* changes:
  health storage AIDL VTS test.
  health storage: refactor common code for test
  Add default impl for health storage AIDL HAL
  Add health.storage AIDL HAL
  Refactor common implementation for health storage HAL.
2021-01-20 19:45:15 +00:00
Yifan Hong
a5556a989c Remove health 1.0 IHealth.
Test: TH
Bug: 171260613
Change-Id: I3ac81d1d08a4329c90e99d74dc4adc10e875ab7b
2021-01-20 11:24:15 -08:00
Chengyou Ho
d74597173a Merge "Add OWNERS file for authsecret" 2021-01-20 17:39:14 +00:00
ChengYou Ho
5eb77edb95 Add OWNERS file for oemlock
Bug: 176107318
Change-Id: I6f856640b4b82c43096c0362d859541bed0a146a
2021-01-20 17:33:18 +00:00
Treehugger Robot
097b6c9612 Merge "KeyMint/SecureClock: Reverse dependency between keymint and secureclock." 2021-01-20 16:03:59 +00:00
Myles Watson
5e3c45805e Merge "Remove BT Addr property test" 2021-01-20 01:26:07 +00:00
Yifan Hong
c95b581382 Merge "Remove impl and VTS for health 1.0." 2021-01-19 23:32:18 +00:00
Treehugger Robot
9b770726be Merge changes from topics "nnapi-canonical-burst", "nnapi-updatable-drivers"
* changes:
  Relocate NN burst utility to ExecutionBurstUtils
  Relocate ExecutionBurst* classes to NN util code
  Implement partial canonical Burst in NN util code
  Introduce canonical IBurst object in NNAPI -- hal
  Add isUpdatable to NNAPI canonical IDevice -- hal
2021-01-19 22:45:07 +00:00
Yifan Hong
22feb0aaa5 health storage AIDL VTS test.
Test: run it
Bug: 177470478
Change-Id: I1d0091f14c57b06dc37eda28ec1db3bc0bf7d251
2021-01-19 14:06:23 -08:00
Myles Watson
19f2892503 Remove BT Addr property test
Bug: 177917046
Test: atest bluetooth-address-unit-tests
Change-Id: I2f7366ae756ab55a350506cd7495e2ced62893a0
2021-01-19 22:04:58 +00:00
ChengYou Ho
3f2b38db9a Add OWNERS file for authsecret
Bug: 176107318
Change-Id: I639d4f6e643070f4e953eeb341fa1a7796398425
2021-01-20 04:12:10 +08:00
Shuo Qian
89d91f8064 Merge "Add REQUEST_NOT_SUPPORTED in case 5G RAN is not supported in the device" 2021-01-19 19:29:37 +00:00
Michael Butler
8fc489612e Relocate NN burst utility to ExecutionBurstUtils
This CL relocates serialize, deserialize, RequestChannelSender,
RequestChannelReceiver, ResultChannelSender, and ResultChannelReceiver
to ExecutionBurstUtils.

Bug: 177267324
Test: mma
Change-Id: Ie1fffdc89dc5bd325d3cd7806d2de632b8513cf9
Merged-In: Ie1fffdc89dc5bd325d3cd7806d2de632b8513cf9
(cherry picked from commit 297108360f)
2021-01-19 16:21:23 +00:00
Michael Butler
f6b2d1ada3 Relocate ExecutionBurst* classes to NN util code
The only changes when copying these files were .clang-format differences
and correcting a typo in a comment.

Bug: 177267324
Test: mma
Change-Id: I96cc2402642e1e3076ac7e78e06163c1d3d41701
Merged-In: I96cc2402642e1e3076ac7e78e06163c1d3d41701
(cherry picked from commit 87e8306878)
2021-01-19 16:21:20 +00:00
Michael Butler
95331510ad Implement partial canonical Burst in NN util code
This CL adds a simple implementation of IBurst that dispatches calls to
an IPreparedModel object and changes
IPreparedModel::configureExecutionBurst to return this new object
(instead of returning an error).

This CL additionally defines an InvalidBurst class that returns errors
whenever it is used and a ResilientBurst class to recover an IBurst
object when it has died.

Bug: 177267324
Test: mma
Change-Id: I4c7e7ff4e6559aeb5e62c4fa02f2e751fef9d87d
Merged-In: I4c7e7ff4e6559aeb5e62c4fa02f2e751fef9d87d
(cherry picked from commit 44f324fb0d)
2021-01-19 16:21:17 +00:00
Michael Butler
2a8b679bba Introduce canonical IBurst object in NNAPI -- hal
A sibling change to this change introduces a canonical IBurst object and
a new method IPreparedModel::configureExecutionBurst. This CL performs
minimal changes to the NN hal utility code to make the code still
compile.

Bug: 177267324
Test: mma
Change-Id: I076067289dde7def5622a6cb25233619f80efa41
Merged-In: I076067289dde7def5622a6cb25233619f80efa41
(cherry picked from commit b6a7ed5d5f)
2021-01-19 16:21:07 +00:00
Michael Butler
9adab0cf49 Add isUpdatable to NNAPI canonical IDevice -- hal
Bug: 177284207
Test: mma
Change-Id: I580d5325be91f566ee1c591736a87a94d0a74315
Merged-In: I580d5325be91f566ee1c591736a87a94d0a74315
(cherry picked from commit 080fbf755c)
2021-01-19 16:21:01 +00:00
Yifan Hong
571f926977 health storage: refactor common code for test
Test: pass
Bug: 177470478
Change-Id: I7be46664df08fd600143ca018885c64030e8d6a1
2021-01-15 18:36:41 -08:00
Yifan Hong
feed84d11d Add default impl for health storage AIDL HAL
Test: VTS
Bug: 177470478

Change-Id: I23c32d51d40a681eb1d56b8f9fc59f1d4caaad2a
2021-01-15 18:36:41 -08:00
Yifan Hong
c78079b333 Add health.storage AIDL HAL
Test: TH
Bug: 177470478

Change-Id: Ib982fb4e98403edcbe23034569373a7777b139f1
2021-01-15 18:36:41 -08:00
Yifan Hong
9c160b61fe Refactor common implementation for health storage HAL.
Create a new library, libhealth_storage_impl_common, that's useful
for common health storage HAL implementation.

Test: TH
Change-Id: I07c51d0b9c2e2262bf327dc3deabc7b41c89355d
2021-01-15 18:36:41 -08:00
sqian
763b144799 Add REQUEST_NOT_SUPPORTED in case 5G RAN is not supported in the device
Test: vts
Bug: 177215423
Change-Id: I35f09c0b8e22eb9464c0ca1c11225f62d1916286
2021-01-15 22:07:19 +00:00
Yifan Hong
152abdcce8 Remove impl and VTS for health 1.0.
It is removed.

Bug: 171260613
Test: TH
Change-Id: Ieea9cc1c574c0f03e60ff83f5607e67b9da6eecd
2021-01-15 13:42:38 -08:00
Henry Fang
1c15423de7 Merge "update connect status along with stream_configuration_change event." 2021-01-15 19:41:53 +00:00
Treehugger Robot
8f74b34e1d Merge "[Telephony] Implement PhysicalChannelConfig in HAL 1.6" 2021-01-15 19:30:57 +00:00
Treehugger Robot
b1726c6619 Merge "Audio: Add VTS tests for invalid enum-strings, Part 3" 2021-01-15 18:04:49 +00:00
Zoey Chen
e47a5164d8 [Telephony] Implement PhysicalChannelConfig in HAL 1.6
Bug: 169206279
Test: make and VtsHalRadioV1_6Target
Change-Id: I4352ea928a76197aae01b887960eaed05698e3eb
Merged-In: I4352ea928a76197aae01b887960eaed05698e3eb
2021-01-15 16:08:38 +08:00
Janis Danisevskis
6251827cda KeyMint/SecureClock: Reverse dependency between keymint and secureclock.
This patch removes verifyAuthorization from the KeyMint spec in favor of
secureclock and the TimeStampToken. Timestamp has moved to secureclock
and the VerificationToken was removed from keymint. This reverses the
dependency between keymint and secureclock because keymint no imports
TimeStampToken and Timestamp from secureclock.

Test: Tested with CtsVerifier Fingerprint bound keys test.
Change-Id: I4e0bde0d77e74918e2b5483c30be8057417e3bf1
2021-01-14 10:19:28 -08:00
Janis Danisevskis
600b7775ef Merge changes from topic "secclock_sharedkey"
* changes:
  The aidl definition for Shared Secret functionality.
  Add Shared Secret to the compatibility matrix.
  The aidl definition for Secure Clock keymint service.
  Add Secure Clock to the compatibility matrix.
2021-01-14 18:04:02 +00:00
Treehugger Robot
05f6611663 Merge "Update supported sampling frequencies for LC3 codec" 2021-01-14 17:44:45 +00:00
Chirag Pathak
be15180242 The aidl definition for Shared Secret functionality.
Test: N/A
Bug: b/171844725
Change-Id: I5f6217d487df89e8ceab92eb2bea55de5bace141
2021-01-13 15:30:05 -08:00
Joel Galenson
2570af6b96 Add Shared Secret to the compatibility matrix.
Test: Build
Change-Id: Iadac3b304a9b8eba69f6fb2fe7aec41f7200a613
2021-01-13 15:30:05 -08:00
Chirag Pathak
c160ae682e The aidl definition for Secure Clock keymint service.
Test: N/A
Bug: b/168673523

Change-Id: I6134d8b4ce620ecceccc0ea88a234f01e6915798
2021-01-13 15:29:53 -08:00
Treehugger Robot
b3b0b11de3 Merge "Update docs that pdu session id default is 0" 2021-01-13 23:28:38 +00:00
Daniel Bright
a786319a56 Update docs that pdu session id default is 0
Bug: 177387230
Test: N/A
Change-Id: I07eab03934cc0890236a12cfeec5802a75da4abd
2021-01-13 13:18:52 -08:00