Commit graph

38661 commits

Author SHA1 Message Date
Nathan Harold
055c02fcfb UsageSetting Compat Stubs
Bug: 210023167
Test: make android.hardware.radio-library.compat
Change-Id: Iea5e016878f375608a167ad0fdc232fd2e743fa6
2021-12-13 14:16:01 -08:00
Nathan Harold
3e777942d8 Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
2021-12-13 14:15:05 -08:00
TreeHugger Robot
46b8a47444 Merge "uwb(hal): Add HAL API for session initialization" 2021-12-10 18:11:45 +00:00
Bob Badour
fdf44806f1 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2021-12-10 17:24:35 +00:00
Patrick Rohr
f57223760d Merge "Add VTS for FilterDelayHint" 2021-12-10 09:16:35 +00:00
Jakub Pawłowski
faa07fef7b Merge "bluetooth.audio pass both source and sink metadata" 2021-12-10 08:39:52 +00:00
Treehugger Robot
f921f83e5c Merge "Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1" am: 297d2f1c44 am: 756676341a am: 41c374b986 am: eba95b5d50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1917160

Change-Id: I79923f45c17203164a270b61e98ca444e0451e41
2021-12-10 08:37:02 +00:00
Treehugger Robot
eba95b5d50 Merge "Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1" am: 297d2f1c44 am: 756676341a am: 41c374b986
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1917160

Change-Id: Iea324f9b2c4ecf3d8ddce4f8eeabbe8c5dc67f3a
2021-12-10 08:18:37 +00:00
Treehugger Robot
41c374b986 Merge "Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1" am: 297d2f1c44 am: 756676341a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1917160

Change-Id: I3259071c6acad9abef52dbdbf856ceb9783d8c04
2021-12-10 08:06:16 +00:00
Treehugger Robot
756676341a Merge "Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1" am: 297d2f1c44
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1917160

Change-Id: I33c06bb5e894936e0ec43ef8dc1cf5d596f23790
2021-12-10 07:44:04 +00:00
Yifan Hong
7a135fd3ad Merge "health: require AIDL HAL and deprecate HIDL HAL." am: 6327a1ac33 am: c201a91c35 am: 90cd53660a am: edf7c8344b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1891478

Change-Id: Ie596a975afe257ed5c931d5cf591d6acade333ba
2021-12-10 07:28:36 +00:00
Treehugger Robot
297d2f1c44 Merge "Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1" 2021-12-10 07:22:13 +00:00
Yifan Hong
edf7c8344b Merge "health: require AIDL HAL and deprecate HIDL HAL." am: 6327a1ac33 am: c201a91c35 am: 90cd53660a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1891478

Change-Id: I597edd1cb8161406f8bc7b93545b288eac1d5b4a
2021-12-10 07:03:45 +00:00
Yifan Hong
90cd53660a Merge "health: require AIDL HAL and deprecate HIDL HAL." am: 6327a1ac33 am: c201a91c35
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1891478

Change-Id: I07bc99f8ed8d06326d412dd0e7ed538472975eee
2021-12-10 06:49:47 +00:00
Yifan Hong
c201a91c35 Merge "health: require AIDL HAL and deprecate HIDL HAL." am: 6327a1ac33
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1891478

Change-Id: I120efc8928356db9b1ce1846f3f042b01c8f6d43
2021-12-10 06:27:29 +00:00
Yifan Hong
6327a1ac33 Merge "health: require AIDL HAL and deprecate HIDL HAL." 2021-12-10 06:09:46 +00:00
Alice Kuo
6f765ce3e3 Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1
LE audio offload plan to fully support on aidl or temporal HAL 2.2. Remove it in HAL 2.1 to make the compatible work easier

Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call

Change-Id: Icc68bea357d2ee0427826e0c20888399662e9bcb
2021-12-10 05:35:52 +00:00
TreeHugger Robot
007a865f47 Merge "Add white point plumbing into command buffer" 2021-12-10 05:02:14 +00:00
Bob Badour
dc205e077e [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/audio/aidl/Android.bp
  wifi/netlinkinterceptor/aidl/default/Android.bp
  wifi/netlinkinterceptor/libnlinterceptor/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I4c18be830a5c0928d1a58f1e8e52067a2d6db66d
2021-12-09 18:54:17 -08:00
Roshan Pius
f2c2939b98 uwb(hal): Add HAL API for session initialization
Bug: 209990508
Test: atest VtsHalUwbTargetTest
Change-Id: I7d10062cb3854ab39717d93a6eadba9dde99330d
2021-12-10 01:29:15 +00:00
Chris Weir
8c42fdd095 Merge changes from topic "iinterceptor"
* changes:
  Add VTS for Netlink Interceptor
  Add default implementation for Nlinterceptor
  Move interceptor AIDL definition
2021-12-09 23:30:19 +00:00
Jakub Pawłowski
ffde16c5cb Merge "Pass sink metadata to Bluetooth" am: cd9bb98da1 am: 0b32a54b2a am: 4951286da9 am: ab9fa264c1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1907864

Change-Id: I55c57b8338ae301e072512b2c04b87497c0635ff
2021-12-09 22:04:44 +00:00
Jakub Pawłowski
ab9fa264c1 Merge "Pass sink metadata to Bluetooth" am: cd9bb98da1 am: 0b32a54b2a am: 4951286da9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1907864

Change-Id: I42d12fbf09be44af086f83aa6240241a929d329c
2021-12-09 21:48:42 +00:00
Alec Mouri
29d2a0f733 Add white point plumbing into command buffer
Bug: 200310158
Test: builds, boots
Change-Id: I67cadb441b24663346452850a86e3d9151868749
2021-12-09 13:29:34 -08:00
Jakub Pawłowski
4951286da9 Merge "Pass sink metadata to Bluetooth" am: cd9bb98da1 am: 0b32a54b2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1907864

Change-Id: I8cbd65327916f072307813359ab347a92b04dda8
2021-12-09 21:24:43 +00:00
Jakub Pawłowski
0b32a54b2a Merge "Pass sink metadata to Bluetooth" am: cd9bb98da1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1907864

Change-Id: I0f0aed30f097476483623f70331f6745fff1b4e6
2021-12-09 20:58:04 +00:00
Jakub Pawłowski
cd9bb98da1 Merge "Pass sink metadata to Bluetooth" 2021-12-09 20:52:58 +00:00
Jakub Pawlowski
37703ea263 bluetooth.audio pass both source and sink metadata
Currently just source metadata is passed through the new aidl.

Test: m android.hardware.bluetooth.audio-update-api
Bug: 203490261
Bug: 150670922
Change-Id: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
2021-12-09 12:37:11 +01:00
Shinru Han
4f6748a928 Merge "Fix GnssHalTest#TestAGnssExtension fail" 2021-12-09 06:14:54 +00:00
Chengyou Ho
be9c5a214d Merge "Weaver: modify default HAL for passing VTS" am: 2697d16c43 am: 21af98f74c am: 3405632a1f am: b357ac04c7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1914892

Change-Id: I0a455d2671889ba856a220a2bc405cf1714f8ea4
2021-12-09 04:59:40 +00:00
Chengyou Ho
b357ac04c7 Merge "Weaver: modify default HAL for passing VTS" am: 2697d16c43 am: 21af98f74c am: 3405632a1f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1914892

Change-Id: Ib6c667c5b830d22555f9abea0c6b33ae9cef83cc
2021-12-09 04:42:20 +00:00
Chengyou Ho
3405632a1f Merge "Weaver: modify default HAL for passing VTS" am: 2697d16c43 am: 21af98f74c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1914892

Change-Id: Ie97ededdb969e62dbf462399c3239594fb579cb2
2021-12-09 04:30:10 +00:00
Chengyou Ho
21af98f74c Merge "Weaver: modify default HAL for passing VTS" am: 2697d16c43
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1914892

Change-Id: Ib24f5aac6d5e1c323d289b32069ac96626489263
2021-12-09 04:16:13 +00:00
Chengyou Ho
2697d16c43 Merge "Weaver: modify default HAL for passing VTS" 2021-12-09 03:57:48 +00:00
Shinru Han
0e0ad3e855 Fix GnssHalTest#TestAGnssExtension fail
Bug: 209711226
Test: 1. atest GnssHalTest
2. gsi_avd/test-mapping-presubmit/vendor_img_sc

Change-Id: I77e597732e29d069f4beaca91b1e530ca5499c78
2021-12-09 01:23:02 +00:00
Brian Murray
9515f38185 Merge "Avoid SIGSEGV if attest key generation fails." am: 14604af9d1 am: b07682e3db am: 7f3d007475 am: 69946003de
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915277

Change-Id: I562a3b420110b7b1450e5d3159deacd1fe6bef31
2021-12-09 00:12:33 +00:00
Treehugger Robot
36f4f4bcfc Merge changes I670f78af,Ie2dce95b,Ic44227c9,I5770ee41,I82d27049, ... am: a15bdb9413 am: 0e98c827b8 am: 077566d063 am: ad7aa264c0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1909397

Change-Id: I6de12ef77cbc137e5a2a4351cd76e23cc6b839ed
2021-12-09 00:11:46 +00:00
Brian Murray
69946003de Merge "Avoid SIGSEGV if attest key generation fails." am: 14604af9d1 am: b07682e3db am: 7f3d007475
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915277

Change-Id: If0291eba3edee3982b68288c459568a587c59938
2021-12-08 23:42:01 +00:00
Treehugger Robot
ad7aa264c0 Merge changes I670f78af,Ie2dce95b,Ic44227c9,I5770ee41,I82d27049, ... am: a15bdb9413 am: 0e98c827b8 am: 077566d063
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1909397

Change-Id: I30019b9497fb152e3a5304876426c406f209f955
2021-12-08 23:40:37 +00:00
Brian Murray
7f3d007475 Merge "Avoid SIGSEGV if attest key generation fails." am: 14604af9d1 am: b07682e3db
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915277

Change-Id: I49f0f1d6daea48ac0a92bedb0bf3db8f4ff4e87c
2021-12-08 23:22:09 +00:00
Treehugger Robot
077566d063 Merge changes I670f78af,Ie2dce95b,Ic44227c9,I5770ee41,I82d27049, ... am: a15bdb9413 am: 0e98c827b8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1909397

Change-Id: I6ec54341ea2123acb3bb8defb8471c3c2f0394a5
2021-12-08 23:19:10 +00:00
Brian Murray
b07682e3db Merge "Avoid SIGSEGV if attest key generation fails." am: 14604af9d1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915277

Change-Id: Ie7e1c93d8b4b0084971f35ca25520f3d70cd67e0
2021-12-08 23:16:51 +00:00
Brian Murray
14604af9d1 Merge "Avoid SIGSEGV if attest key generation fails." 2021-12-08 22:59:01 +00:00
Treehugger Robot
0e98c827b8 Merge changes I670f78af,Ie2dce95b,Ic44227c9,I5770ee41,I82d27049, ... am: a15bdb9413
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1909397

Change-Id: Iaf2e40784ce2b69a57b2595da0990fe97e63a105
2021-12-08 22:54:00 +00:00
Treehugger Robot
a15bdb9413 Merge changes I670f78af,Ie2dce95b,Ic44227c9,I5770ee41,I82d27049, ...
* changes:
  Implement RadioModem for AIDL-HIDL Telephony HAL translator
  Implement RadioVoice for AIDL-HIDL Telephony HAL translator
  Implement RadioNetwork for AIDL-HIDL Telephony HAL translator
  Implement RadioData for AIDL-HIDL Telephony HAL translator
  Implement RadioSim for AIDL-HIDL Telephony HAL translator
  Implement RadioMessaging for AIDL-HIDL Telephony HAL translator
  Initial implementation of HIDL-AIDL Telephony HAL translator
2021-12-08 20:52:51 +00:00
Brian J Murray
aa8a75840f Avoid SIGSEGV if attest key generation fails.
Add an explicit check that `attested_key_cert_chain.size() > 0`.

Bug: 209672758
Test: atest 'PerInstance/AttestKeyTest#AllEcCurves/1_android_hardware_security_keymint_IKeyMintDevice_strongbox'

Signed-off-by: Brian J Murray <brianjmurray@google.com>
Change-Id: I4f7cb4fb1a30f26e6ef15c54714699f6ae91ba36
2021-12-08 10:59:22 -08:00
ChengYou Ho
af61158286 Weaver: modify default HAL for passing VTS
Bug: 178339800
Test: VtsHalWeaverTargetTest
Change-Id: I5b6991874422448b45a30d221ae4922ae7e2b0eb
2021-12-09 00:39:39 +08:00
Patrick Rohr
1586d21f64 Add VTS for FilterDelayHint
The VTS can be configured by adding timeDelayInMs and dataDelayInBytes
attributes to the VTS configuration's filter tags (as long as the filter
is not a media filter (media filters do not support FilterDelayHints)).

In order to circumvent a FilterDelayHint race condition around
configuring the hint (where the internal condition variable is notified
when the delay hint changes. If the scheduler thread has not been
scheduled to run before adjusting the delay hint, and callbacks are
added right after, they are always sent out immediately (as the cv predicate
still returns true when it is first evaluated after adjusting the delay)).

Test: atest VtsHalTvTunerTargetTest
Test: atest android.media.tv.tuner.cts
Bug: 183057734
CTS-Coverage-Bug: 209593343
Change-Id: I1b0893afce262b18ee385ec0f384e6ceebf58c7d
2021-12-08 14:16:10 +01:00
Ady Abraham
7d4d3dace1 Merge "Add Parcelable AidlComposer commands" 2021-12-08 05:03:16 +00:00
Yifan Hong
45f18ec649 health: require AIDL HAL and deprecate HIDL HAL.
Test: builds
Bug: 177269435

Change-Id: Ibd4dec0a2ae324b1207f72a43d08bef3d8abe9f7
2021-12-07 18:01:30 -08:00