Commit graph

5481 commits

Author SHA1 Message Date
Treehugger Robot
38e37ba4c6 Merge "r_submix: Implement get_capture_position" am: 6ca3fb08ca
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1642345

Change-Id: I51c3439b5427c593755f8b46be56a05abc70064a
2021-03-22 09:14:45 +00:00
Treehugger Robot
6ca3fb08ca Merge "r_submix: Implement get_capture_position" 2021-03-22 08:40:25 +00:00
Treehugger Robot
a0662b0c10 Merge "Update oob data struct" am: f2c4a568cc
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1636699

Change-Id: I3c401d8fed1fcaf012fcf6947e266e0650934614
2021-03-19 21:37:27 +00:00
Treehugger Robot
f2c4a568cc Merge "Update oob data struct" 2021-03-19 21:13:18 +00:00
Mikhail Naganov
8c97d24e3a r_submix: Implement get_capture_position
IStream.getCapturePosition becomes mandatory in
audio HAL V7. The legacy implementation must
provide it for the default HAL implementation.

Bug: 161253754
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: I2f2094f0499ba85f53f291e0a269211981b4c9d8
2021-03-17 13:19:49 -07:00
Martin Brabham
7094c89e5c Update oob data struct
Bug: 178007935
Test: compiles and runs
Tag: #feature
Change-Id: Ia06b8c65cac45694a3a9f01ca73bf6e0b3010d06
Merged-In: Ia06b8c65cac45694a3a9f01ca73bf6e0b3010d06
2021-03-15 19:29:22 +00:00
Paul Crowley
e92e08a8a4 Merge "Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error" am: 43972e7d10
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1581935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I26af986c4429e48c6ec492c8bf32a34931e9e585
2021-02-27 07:25:36 +00:00
Paul Crowley
43972e7d10 Merge "Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error" 2021-02-27 05:05:50 +00:00
Xin Li
706a6ab36d Mark ab/7061308 as merged in stage.
Bug: 180401296
Merged-In: I6b99e5e590504bda7f681ae6cdd7557f74402378
Change-Id: I95c93d049f84bb0b88d87533ade5f7cf715e074f
2021-02-20 00:24:30 -08:00
Bob Badour
c623db5c2c Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware" am: a3888bdcb9
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1588486

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice476cfd865dc5b9ef4a03006800505aff83c4b0
2021-02-19 00:58:31 +00:00
Bob Badour
a3888bdcb9 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware" 2021-02-18 23:43:48 +00:00
Paul Crowley
1f4800f20a Add MAX_BOOT_LEVEL tag, BOOT_LEVEL_EXCEEDED error
Test: Treehugger
Bug: 176450483
Change-Id: Ibfc838496fec507dbe4831e86b933666296a4b35
2021-02-18 09:50:56 -08:00
Shawn Willden
a5d7ebd9a3 Merge "Add ATTEST_KEY" am: 41e68bfb11
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1584435

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I909a2e2b5aad3d1bcce88f055a4569621a6c97df
2021-02-17 19:42:22 +00:00
Shawn Willden
41e68bfb11 Merge "Add ATTEST_KEY" 2021-02-17 19:12:20 +00:00
Bob Badour
d7984ccf02 [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware
Added SPDX-license-identifier-Apache-2.0 to:
  modules/audio/Android.bp
  modules/audio_remote_submix/Android.bp
  modules/audio_remote_submix/tests/Android.bp
  modules/camera/3_0/Android.bp
  modules/consumerir/Android.bp
  modules/fingerprint/Android.bp
  modules/gralloc/Android.mk
  modules/hwcomposer/Android.bp
  modules/input/evdev/Android.bp
  modules/local_time/Android.bp
  modules/nfc-nci/Android.bp
  modules/nfc/Android.bp
  modules/power/Android.bp
  modules/radio/Android.bp
  modules/sensors/Android.bp
  modules/sensors/Android.mk
  modules/sensors/dynamic_sensor/Android.bp
  modules/sensors/dynamic_sensor/HidUtils/Android.bp
  modules/soundtrigger/Android.bp
  modules/thermal/Android.bp
  modules/tv_input/Android.bp
  modules/usbaudio/Android.bp
  modules/usbcamera/Android.bp
  modules/vibrator/Android.bp
  modules/vr/Android.bp
  tests/camera3/Android.bp
  tests/fingerprint/Android.bp
  tests/hardware/Android.bp
  tests/hwc/Android.bp
  tests/input/evdev/Android.bp
  tests/nusensors/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  Android.bp
  modules/camera/3_4/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I28924363e6c478f5d0b465b63534c4efd041c770
2021-02-12 20:51:13 -08:00
Shawn Willden
46c5244839 Add ATTEST_KEY
Bug: 171845787
Test: Build
Change-Id: I41451eb35dd0992c049525782e7afb5228ed6b3f
2021-02-11 07:50:39 -07:00
Janis Danisevskis
864b71f5ff Merge "Keymint: Add CERTIFICATE_* tags" am: ead6cd16d8
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1566355

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibb299a56e9021c33e0029473f091bb120450db15
2021-02-08 17:26:53 +00:00
Janis Danisevskis
ead6cd16d8 Merge "Keymint: Add CERTIFICATE_* tags" 2021-02-08 16:52:16 +00:00
David Li
b956508fa6 Merge "add audio.usbv2.default linking libtinyalsav2 and libalsautilsv2" am: bd8ee49f8b
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1566240

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I689db4fd3cc57044fea5b5d8bb988bb6ff5ce6ae
2021-02-03 01:33:25 +00:00
David Li
bd8ee49f8b Merge "add audio.usbv2.default linking libtinyalsav2 and libalsautilsv2" 2021-02-03 01:08:57 +00:00
Janis Danisevskis
06cd71d88a Keymint: Add CERTIFICATE_* tags
Add CERTIFICATE_NOT_BEFORE/AFTER and change CERTIFICATE_SERIAL to bignum
type.

Test: N/A
Change-Id: I5b1ed20a9babe8425e98a03637cdc14be842872c
2021-01-31 22:08:17 -08:00
David Li
98b3be0068 add audio.usbv2.default linking libtinyalsav2 and libalsautilsv2
Test: mm audio.usb.default audio.usbv2.default
Bug: 134958010
Change-Id: I2664a7461afaed6f71d58d730c7b8d5463240653
2021-02-01 05:33:03 +00:00
Andy Hung
4ca7eb33b5 Merge "audio: add implementation for TV related API" am: 541a8d3e5b
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1562805

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1e1940b2690d789adb892cf465c80fbe79583031
2021-01-28 18:20:34 +00:00
Andy Hung
541a8d3e5b Merge "audio: add implementation for TV related API" 2021-01-28 18:03:34 +00:00
Kuowei Li
96374df243 audio: add implementation for TV related API
1. AudioDescriptionMixLevel getter/setter.
2. DualMonoMode getter/setter.
3. PlaybackRate getter/setter.

Test: TIS player with instrumented HAL
Test: atest AudioTrackTest#testTunerConfiguration
Test: atest AudioTrackTest#testDualMonoMode
Test: atest AudioTrackTest#testAudioDescriptionMixLevel
Test: atest AudioManagerTest#testGetAdditionalOutputDeviceDelay
Bug: 173482792
Merged-In: Id89dd151797723dbb58a44db48ff05bff3f20e04
Change-Id: Id89dd151797723dbb58a44db48ff05bff3f20e04
2021-01-27 19:24:54 -08:00
Treehugger Robot
15ff37860e Merge "Add limited use key tag defination." am: 3cd53f9f9d
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1538759

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifc5e42d48094e0ba4e8f46218f4ee25456d072af
2021-01-26 23:27:54 +00:00
Treehugger Robot
3cd53f9f9d Merge "Add limited use key tag defination." 2021-01-26 23:05:51 +00:00
David Zeuthen
4f136a5659 Merge "Add KM_PURPOSE_AGREE_KEY constant." am: 203813672e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1556301

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44156928417a3288a6b2fdcf21604b6bca8eeafd
2021-01-26 22:26:41 +00:00
David Zeuthen
203813672e Merge "Add KM_PURPOSE_AGREE_KEY constant." 2021-01-26 22:05:24 +00:00
David Zeuthen
3107e47dfc Add KM_PURPOSE_AGREE_KEY constant.
Test: VtsAidlKeyMintTargetTest
Bug: 171847641
Change-Id: I9e3128652767509911445491248c01953359cb67
2021-01-25 13:23:51 -05:00
Qi Wu
ba765a66c1 Add limited use key tag defination.
Test: none
Change-Id: I5464f6411b8bce94a3736cd033d064e75d313fe1
2021-01-13 22:37:19 +08:00
Treehugger Robot
cdfe32fd8a Merge "audio HAL: new track metadata version" am: 29ae34bcde
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1540995

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I265c473032e6452baf7cc65a55352d8c0e005b5d
2021-01-07 22:07:02 +00:00
Treehugger Robot
29ae34bcde Merge "audio HAL: new track metadata version" 2021-01-07 21:52:07 +00:00
Eric Laurent
bc512ab977 audio HAL: new track metadata version
Add channel mask and audio attributes tags to playback
and record track metadata sent to audio HAL.
Add new HAL methods and structs for use with HALs version 3.2
and above to provide backwards compatibility with old HALs.

Bug: 168751366
Test: make
Change-Id: I30cc3d35f97bb1bc5f80983f6ae85f3e820bf414
Merged-In: I30cc3d35f97bb1bc5f80983f6ae85f3e820bf414
2021-01-05 12:50:59 -08:00
David Zeuthen
ee427986d8 Merge "Add libhardware support for RSA OAEP MGF1." am: 1de976f07b
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1533863

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I03baee6348ebf1964c42e4a4eef4647d8cd26a5d
2021-01-05 16:51:41 +00:00
David Zeuthen
1de976f07b Merge "Add libhardware support for RSA OAEP MGF1." 2021-01-05 16:31:02 +00:00
Chirag Pathak
39fd306e43 Add libhardware support for RSA OAEP MGF1.
Test: atest VtsAidlKeyMintV1_0TargetTest
Bug: 160968519
Change-Id: I2c534d2a9ad401a48451ca392ebf6e0039345de4
2020-12-21 18:45:35 -05:00
Tianjie Xu
afd797f823 Merge "Add a function pointer to get active boot slot" am: c4b24df2ef am: 8281ca965f
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1514949

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6b99e5e590504bda7f681ae6cdd7557f74402378
2020-12-11 23:02:11 +00:00
Tianjie Xu
8281ca965f Merge "Add a function pointer to get active boot slot" am: c4b24df2ef
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1514949

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie39cf55d1752b1c60746d986395db769eb8d9d06
2020-12-11 22:41:54 +00:00
Tianjie Xu
c4b24df2ef Merge "Add a function pointer to get active boot slot" 2020-12-11 21:57:24 +00:00
Treehugger Robot
2f7c222e5e Merge "Add a new API for getting audio_port_v7." am: d12f224486 am: e8860846c6
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1518624

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8ebd3ca635263b9d7882ae17cca10526a598ff1f
2020-12-09 11:25:16 +00:00
Treehugger Robot
e8860846c6 Merge "Add a new API for getting audio_port_v7." am: d12f224486
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1518624

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5f15574d6be358ba5b6e2eb12f6f33a1aab90770
2020-12-09 10:40:37 +00:00
Treehugger Robot
d12f224486 Merge "Add a new API for getting audio_port_v7." 2020-12-09 10:05:53 +00:00
jiabin
31d6646e63 Add a new API for getting audio_port_v7.
Add a function to audio HAL interface for retrieving audio_port_v7
structure directly. The legacy audio_port structure can always be
converted into audio_port_v7, however the latter may contain more
information.

This function must be supported from legacy HAL version 3.2.

Bug: 160352965
Test: make
Change-Id: I60f2615791c19aed37fdb91328e8bc420bc3419d
Merged-In: I60f2615791c19aed37fdb91328e8bc420bc3419d
2020-12-09 01:57:58 +00:00
Tianjie
a40c2001fa Add a function pointer to get active boot slot
bootcontrol 1.2 adds a new function to get the active boot slot
on the next boot. Since the getter is closely related to the gpt
implementation of bootcontrol, we add the header here and expose
to clients of libhardware. Devices with an old HAL should never
call this new getter function.

Bug: 173808057
Test: Vts tests for bootcontrol

Change-Id: I19135ed16bf0ba546e0a8d9cb2d521ec0a9c5bbc
2020-12-08 14:29:11 -08:00
Treehugger Robot
da306dc2f7 Merge "Delete keymaster0" am: d87b1d1ace am: a3849fec82
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1515114

Change-Id: I3be37dacb4c1970538b18768a074ddcde38e468c
2020-12-07 03:29:37 +00:00
Treehugger Robot
a3849fec82 Merge "Delete keymaster0" am: d87b1d1ace
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1515114

Change-Id: I76fbc563b095c7305c46a96413f7d24956f22d27
2020-12-07 03:22:48 +00:00
Treehugger Robot
d87b1d1ace Merge "Delete keymaster0" 2020-12-07 02:47:29 +00:00
Shawn Willden
937d61c8c4 Delete keymaster0
Test: Build
Change-Id: I55f713587ccd91a9ec76cc10f84ecb0109aad7ac
2020-12-04 11:52:34 -07:00
Treehugger Robot
38eedb9d19 Merge "Convert mask types from uint32_t to enum type" am: 30a37a7a4b am: 1478481533
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1510315

Change-Id: I2508231eb6b38f921d5271d039f5fd35d71b020e
2020-12-01 18:08:52 +00:00