Commit Graph

28937 Commits

Author SHA1 Message Date
TreeHugger Robot
fbb65fb5d3 Merge "Update fingerprint AIDL for CTS" 2020-11-23 21:52:12 +00:00
Treehugger Robot
dde7d77254 [automerger skipped] Merge changes from topic "nullzero-hal-v7" am: 8d93e3a8d3 am: 06821f258b am: e6bb7c2a5e -s ours
am skip reason: Change-Id Ic9e2b986d3f9734dd884a2c88ca86d251147126b with SHA-1 58d9942ade is in history

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

Change-Id: I33993b66f16dd2d00066989d769d7d033ae4622c
2020-11-23 21:04:51 +00:00
Mikhail Naganov
f364dde684 [automerger skipped] audio: Implement VTS tests for V7.0 am: d72a7c27ab am: c70238a35b am: 443308e8e2 -s ours
am skip reason: Change-Id Ia7c2d49a02783725080c8fed6a25853e91bba487 with SHA-1 343450a074 is in history

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

Change-Id: I371e3da8f072f24e6d6696f5972d6f6db0a49884
2020-11-23 21:04:49 +00:00
Mikhail Naganov
f46751ae58 [automerger skipped] audio: Add example HAL implementation am: baf57fb136 am: 5b0e2ae0b7 am: 06e69ef109 -s ours
am skip reason: Change-Id Ie3dd62c5db1cdb5534df4dd7f326c4c8776bf3c4 with SHA-1 c9e1607de4 is in history

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

Change-Id: Ibfe16922c32416b5075cbc1b67b5a731b1228a4a
2020-11-23 21:04:47 +00:00
Mikhail Naganov
936e0f903e [automerger skipped] audio: Reformat README as Markdown am: 1074c22fe1 am: cbce6cefb4 am: ffcbe24f63 -s ours
am skip reason: Change-Id Ic6f60a21def4bf210a7e1446454d709f68a13422 with SHA-1 108e702dc7 is in history

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

Change-Id: Ic394b822c414dd25671664756a057413236a2148
2020-11-23 21:04:45 +00:00
Mikhail Naganov
093b5bb0df [automerger skipped] audio: HAL V7 tweaks am: 355dd0630c am: e29f53a9a7 am: d7ff547d02 -s ours
am skip reason: Change-Id I1951b2de383751fe53b96954dfd02cdd1ab6cc8f with SHA-1 648ec5b750 is in history

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

Change-Id: If5ee6dfae57d3d6f3c04648d7f7ec30d5fc2f302
2020-11-23 21:04:44 +00:00
Treehugger Robot
3815d594d8 Merge "Bluetooth HAL: fix ISO handling for H4 protocol" am: 389e9aa728 am: a088953e11 am: be4a2078ea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506098

Change-Id: Iada45628ee56c9fded5b114abe563a1c7e17483a
2020-11-23 21:04:20 +00:00
Treehugger Robot
e6bb7c2a5e Merge changes from topic "nullzero-hal-v7" am: 8d93e3a8d3 am: 06821f258b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507221

Change-Id: I95dc35f00d164bfb4d0d1d0049c3299772b480b7
2020-11-23 20:18:51 +00:00
Mikhail Naganov
443308e8e2 audio: Implement VTS tests for V7.0 am: d72a7c27ab am: c70238a35b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507220

Change-Id: If805eb94f5b0fee507186dc303b8e61a38ef2b11
2020-11-23 20:18:49 +00:00
Mikhail Naganov
06e69ef109 audio: Add example HAL implementation am: baf57fb136 am: 5b0e2ae0b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507219

Change-Id: Iacce33d57ca6cd7d985dc90341a6c7dfdab74728
2020-11-23 20:18:48 +00:00
Mikhail Naganov
ffcbe24f63 audio: Reformat README as Markdown am: 1074c22fe1 am: cbce6cefb4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507218

Change-Id: I100dab32d113941e6e3afae74232bc0e5fccc782
2020-11-23 20:18:45 +00:00
Mikhail Naganov
d7ff547d02 audio: HAL V7 tweaks am: 355dd0630c am: e29f53a9a7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507217

Change-Id: I12a137907268bb3a5b84c166779313d6a8f6eace
2020-11-23 20:18:44 +00:00
Treehugger Robot
be4a2078ea Merge "Bluetooth HAL: fix ISO handling for H4 protocol" am: 389e9aa728 am: a088953e11
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506098

Change-Id: Ia0478fe7751009940814bc933cf847b246da460c
2020-11-23 20:17:57 +00:00
Treehugger Robot
06821f258b Merge changes from topic "nullzero-hal-v7" am: 8d93e3a8d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507221

Change-Id: I4ace30bfcb61da281c6d5f0f19df4e319a4639c8
2020-11-23 19:47:56 +00:00
Mikhail Naganov
c70238a35b audio: Implement VTS tests for V7.0 am: d72a7c27ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507220

Change-Id: Ia1311ceeec97d51c6f1d777cb48d0829141bce4c
2020-11-23 19:47:53 +00:00
Mikhail Naganov
5b0e2ae0b7 audio: Add example HAL implementation am: baf57fb136
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507219

Change-Id: Ie8e9afcb1a6179305c01730f9e80a17394c7d7ad
2020-11-23 19:47:51 +00:00
Mikhail Naganov
cbce6cefb4 audio: Reformat README as Markdown am: 1074c22fe1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507218

Change-Id: Ie69ad37c6adf6f13384b51fede738b0e41a733c9
2020-11-23 19:47:48 +00:00
Mikhail Naganov
e29f53a9a7 audio: HAL V7 tweaks am: 355dd0630c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507217

Change-Id: I77b7193578aa28dc985a9788f8f3a437de1e7d95
2020-11-23 19:47:19 +00:00
Treehugger Robot
a088953e11 Merge "Bluetooth HAL: fix ISO handling for H4 protocol" am: 389e9aa728
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506098

Change-Id: I79da5f6198134090879db7a03d008e00bbcc3617
2020-11-23 19:28:39 +00:00
Treehugger Robot
8d93e3a8d3 Merge changes from topic "nullzero-hal-v7"
* changes:
  Remove PREUPLOAD.cfg from audio HAL example
  audio: Implement VTS tests for V7.0
  audio: Add example HAL implementation
  audio: Reformat README as Markdown
  audio: HAL V7 tweaks
2020-11-23 19:25:49 +00:00
Treehugger Robot
389e9aa728 Merge "Bluetooth HAL: fix ISO handling for H4 protocol" 2020-11-23 18:49:47 +00:00
Jakub Pawlowski
db779b41a3 Bluetooth HAL: fix ISO handling for H4 protocol
Bug: 150670922
Test: run H4ProtocolTest.TestReads
Change-Id: Ib051550da1c99a3b682d149cd6c88cce294dbc9c
2020-11-23 17:43:09 +01:00
Jack Nudelman
f2426e8027 Merge "Change setDataThrottling window parameter to a long millisecond." 2020-11-21 07:58:11 +00:00
Treehugger Robot
cfbee58a1a [automerger skipped] Merge "HAL changes for ThermalMitigation API." am: 6be52d5b34 am: 2c33220ae7 am: 3464a8b712 -s ours
am skip reason: Change-Id I914993a6e80305732564e0507ca6a74b1c296439 with SHA-1 62fd344711 is in history

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

Change-Id: I0d438829c7266b510ae37bf57b3ce51905b7e619
2020-11-21 03:49:15 +00:00
Treehugger Robot
3464a8b712 Merge "HAL changes for ThermalMitigation API." am: 6be52d5b34 am: 2c33220ae7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507840

Change-Id: I231f64e63ca772cf1763708d034f41a85412c9d1
2020-11-21 03:12:27 +00:00
Treehugger Robot
2c33220ae7 Merge "HAL changes for ThermalMitigation API." am: 6be52d5b34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507840

Change-Id: I3f5f6306ce3ad7d6960f7f2d9a2702041d568dbd
2020-11-21 02:35:26 +00:00
Treehugger Robot
9f5533e805 Merge "identity: Change Identitial Credential to pass in subject by attestation params instead of making another function in attestation_utils." am: 4b0d04d39a am: 99fde2e9f8 am: 9e3eb5cfb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506562

Change-Id: I2eb5a6a44f086097fa248c48954e60ae205803ba
2020-11-21 02:34:38 +00:00
Daniel Bright
6d3bda89cf Merge "Introduce Radio Hal Device Capabilities" 2020-11-21 02:27:14 +00:00
Treehugger Robot
9e3eb5cfb5 Merge "identity: Change Identitial Credential to pass in subject by attestation params instead of making another function in attestation_utils." am: 4b0d04d39a am: 99fde2e9f8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506562

Change-Id: Icb061fbb32884ef00a1548a1c0a5d3af77461e80
2020-11-21 02:04:33 +00:00
Treehugger Robot
6be52d5b34 Merge "HAL changes for ThermalMitigation API." 2020-11-21 02:02:39 +00:00
Treehugger Robot
99fde2e9f8 Merge "identity: Change Identitial Credential to pass in subject by attestation params instead of making another function in attestation_utils." am: 4b0d04d39a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506562

Change-Id: I709d838d77322ef596241758008ee6eed7dfd075
2020-11-21 01:27:44 +00:00
TreeHugger Robot
fc9301c147 Merge "audio: Use docstrings instead of comments in types.hal files" 2020-11-21 01:23:50 +00:00
Mikhail Naganov
94ab03a3a2 Remove PREUPLOAD.cfg from audio HAL example
As suggested by the comment on ag/12691153

Bug: 142480271
Test: N/A
Change-Id: Ic9e2b986d3f9734dd884a2c88ca86d251147126b
Merged-In: Ic9e2b986d3f9734dd884a2c88ca86d251147126b
2020-11-21 01:16:10 +00:00
Mikhail Naganov
d72a7c27ab audio: Implement VTS tests for V7.0
The major change in V7.0 is use of enum values defined
in the Audio Policy Configuration XSD schema. This allows
decoupling types used at the HIDL layer from system/audio.h.
Added a header audio_policy_configuration_V7_0-enums.h
with utility functions analogous to ones from system/audio.h
but defined for the types generated from XSD schema.

Since the code of VTS tests is shared between versions,
ensured that the VTS tests for the previous HAL versions
didn't regress.

Bug: 142480271
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
      atest VtsHalAudioV7_0TargetTest
      atest VtsHalAudioEffectV7_0TargetTest
Change-Id: Ia7c2d49a02783725080c8fed6a25853e91bba487
Merged-In: Ia7c2d49a02783725080c8fed6a25853e91bba487
2020-11-21 01:15:53 +00:00
Mikhail Naganov
baf57fb136 audio: Add example HAL implementation
This is partial implementation of the example V7.0 audio HAL
which passes VTS tests. Note that the 'core' part
of the HAL (IDevice/IStream) isn't implemented yet.
It passes VTS because it doesn't provide any devices
(modules) and the audio HAL isn't the 'default' instance.

Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
      atest VtsHalAudioEffectV7_0TargetTest
Change-Id: Ie3dd62c5db1cdb5534df4dd7f326c4c8776bf3c4
Merged-In: Ie3dd62c5db1cdb5534df4dd7f326c4c8776bf3c4
2020-11-21 01:15:39 +00:00
Mikhail Naganov
1074c22fe1 audio: Reformat README as Markdown
Rename README -> README.md, reformat it as Markdown.
Provide missing descriptions for some directories.

Bug: 142480271
Test: N/A
Change-Id: Ic6f60a21def4bf210a7e1446454d709f68a13422
Merged-In: Ic6f60a21def4bf210a7e1446454d709f68a13422
2020-11-21 01:15:19 +00:00
Mikhail Naganov
355dd0630c audio: HAL V7 tweaks
- rename AudioBasicConfig -> AudioConfigBase to better
  match a similar structure in audio.h;

- define AudioProfile structure for defining an I/O profile;

- use AudioProfile to replace IStream.getSupported* methods
  with a single IStream.getSupportedProfiles method;

- define AudioDevice type for convenience and clarity;

- move enums definition for AudioInputFlags and AudioOutputFlags
  into XSD. This allows parsing APM config w/o depending on
  the framework code.

Bug: 142480271
Test: m
Change-Id: I1951b2de383751fe53b96954dfd02cdd1ab6cc8f
Merged-In: I1951b2de383751fe53b96954dfd02cdd1ab6cc8f
2020-11-21 01:15:03 +00:00
Treehugger Robot
4b0d04d39a Merge "identity: Change Identitial Credential to pass in subject by attestation params instead of making another function in attestation_utils." 2020-11-21 01:05:29 +00:00
Jack Nudelman
5cd9414268 HAL changes for ThermalMitigation API.
go/telephony-thermal-mitigation

Bug: 158872959
Test: make, vts

Change-Id: I914993a6e80305732564e0507ca6a74b1c296439
Merged-In: I914993a6e80305732564e0507ca6a74b1c296439
2020-11-21 00:49:48 +00:00
Daniel Bright
d0675b1e9b [automerger skipped] Merge "Added pdu session id to setupDataCall" am: 78293592cc am: 264e65b092 am: 70cea03ae8 -s ours
am skip reason: Change-Id I0e11c8997674cdaad4bb82491d818ca85ee197d1 with SHA-1 7674b03f38 is in history

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

Change-Id: I4e234fb9fc38ab2a490a7816e50e34fe506ca852
2020-11-21 00:40:45 +00:00
Daniel Bright
70cea03ae8 Merge "Added pdu session id to setupDataCall" am: 78293592cc am: 264e65b092
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507689

Change-Id: I503ca91c75173306c0b68573b15862969e1a8b7f
2020-11-21 00:03:27 +00:00
Mikhail Naganov
8e85d1f5a5 audio: Use docstrings instead of comments in types.hal files
Converted comments into docstrings for enums and structures
in Audio HAL V7 definition.

Bug: 142480271
Test: m
Change-Id: Id5e36e7a42e2600ab69612819f8260110871c711
2020-11-20 15:26:14 -08:00
Daniel Bright
264e65b092 Merge "Added pdu session id to setupDataCall" am: 78293592cc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1507689

Change-Id: Ib1149a049adcafcd4dc45a486ea1b16248ac9a0e
2020-11-20 23:26:10 +00:00
Daniel Bright
78293592cc Merge "Added pdu session id to setupDataCall" 2020-11-20 22:54:24 +00:00
Treehugger Robot
02a893f43d [automerger skipped] Merge "Audio: Rearrange types in V7" am: c563bfc08e am: 81f6751d1b am: ee85365aa9 -s ours
am skip reason: Change-Id I986b9bccdade5fa850b06b033143388715a656af with SHA-1 7dd87f42f1 is in history

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

Change-Id: Ia83a0736f1d421a283c3d22c6469daca3540a1e5
2020-11-20 21:44:21 +00:00
Treehugger Robot
ee85365aa9 Merge "Audio: Rearrange types in V7" am: c563bfc08e am: 81f6751d1b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506778

Change-Id: I2f0820dcdb2d9bf6569abe3ea4abb10af6b5b0fa
2020-11-20 21:09:00 +00:00
Daniel Bright
a7d3fbacad [automerger skipped] Merge "Added global retry support" am: 39c8747585 am: 30636cbc1a am: 799f854a9a -s ours
am skip reason: Change-Id I763afdf34378512c60c0838830cb84875b1c66f0 with SHA-1 990cc41da3 is in history

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

Change-Id: Iaef3f63ef6daa51009887afd88fbdf8291706c28
2020-11-20 20:26:23 +00:00
Treehugger Robot
81f6751d1b Merge "Audio: Rearrange types in V7" am: c563bfc08e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1506778

Change-Id: I4f141f2ef831b27a165dbb3f08684732485c6661
2020-11-20 20:22:30 +00:00
Daniel Bright
3c72fbafce Added pdu session id to setupDataCall
The pdu session id needs to be passed to setup data call on handover

(clean cherry-pick)

Test: Tested that handover still worked with logs.  IWlan -> Cell + Cell -> IWlan
Bug: 161572859
Merged-In: I0e11c8997674cdaad4bb82491d818ca85ee197d1
Change-Id: I0e11c8997674cdaad4bb82491d818ca85ee197d1
2020-11-20 12:22:08 -08:00
Daniel Bright
799f854a9a Merge "Added global retry support" am: 39c8747585 am: 30636cbc1a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1504811

Change-Id: Icbdebe6afc16ff4263000cb39ea5f140358c2993
2020-11-20 19:47:39 +00:00