Commit graph

28647 commits

Author SHA1 Message Date
Hayden Gomes
aeeb9b083d Default implementation for AudioControl AIDL HAL
Bug: b/170335834
Test: Built in target and ran `adb shell dumpsys
android.hardware.automotive.audiocontrol.IAudioControl/default` commands

Change-Id: Iccf5784fce7635c78ca8cc0f9066b4dc9f24b3bd
2020-11-03 10:44:14 -08:00
Hayden Gomes
49c845ffa3 Adding AIDL version of AudioControl HAL
- Updated APIs to use strings instead of enum for AudioUsages
- Updated dumpsys commands to take strings for usages instead of
integers

Bug: b/170335834
Test: build and run VTS tests
Change-Id: I1773383812e97e7dee6da2eba250ea842d59b8cb
2020-11-02 12:30:52 -08:00
Daniel Bright
2c51ab2ebc Merge "Add HAL for pdu session id support" 2020-10-30 16:06:04 +00:00
Daniel Bright
996a86c5d1 Add HAL for pdu session id support
* Add in HAL support for AOSP allocating pdu session ids from modem
* Add in HAL support that notifies modem when a handover has begun and was cannceled

Test: N/A
Bug: 161572859
Change-Id: I2771b4773381ba68f482a80e743bdbb05a8e59d1
2020-10-29 21:24:47 -07:00
Sasha Kuznetsov
4568a0d5cf Merge "Clarifiy ADR states in documentation" 2020-10-29 17:10:50 +00:00
Jimmy Chen
2dbb494ea4 Merge "wifi: add enable SAE H2E only mode API" 2020-10-29 02:42:36 +00:00
Jack Yu
4b27178f24 Merge "Added global retry support" 2020-10-29 02:29:53 +00:00
Sasha Kuznetsov
343f95e23e Clarifiy ADR states in documentation
Bug: 167930284
Test: n/a
Change-Id: Ifa0633b2cfa7bb80e32d2c68d70992bc1b0c5461
2020-10-28 17:18:57 -07:00
TreeHugger Robot
3214fcc65e Merge "Make audio*-base.h files autogenerated again" 2020-10-28 19:50:42 +00:00
Ilya Matyukhin
fbd95222f5 Merge "Enable the Java backend for IFace" 2020-10-28 19:31:37 +00:00
Jack Yu
990cc41da3 Added global retry support
The retry timer suggested by the network will persist
accross network requests. Also changed the retry timer
to a 64-bit value to be consistent with types used in
Android time APIs.

Test: FrameworksTelephonytests
Fix: 159672248
Change-Id: I763afdf34378512c60c0838830cb84875b1c66f0
2020-10-27 21:31:12 -07:00
Treehugger Robot
3e7494fa9c [automerger skipped] Merge "Ability to configure NR dual connectivity" am: 974ddb9f1a am: 74b6ba9fd6 am: d6e315438f am: 35706cac89 -s ours
am skip reason: Change-Id I628edc2d6157ab2db279c2f32deb57798f2dd9ce with SHA-1 edeee5a914 is in history

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

Change-Id: Ib9f1bc5a2f75747e1095ac31648db340c4abb537
2020-10-27 22:40:53 +00:00
Treehugger Robot
35706cac89 Merge "Ability to configure NR dual connectivity" am: 974ddb9f1a am: 74b6ba9fd6 am: d6e315438f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1473537

Change-Id: I359b61bd22279cfdab613953d770a63c574b2f61
2020-10-27 22:28:53 +00:00
Treehugger Robot
d6e315438f Merge "Ability to configure NR dual connectivity" am: 974ddb9f1a am: 74b6ba9fd6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1473537

Change-Id: I4337de411dd7fadb2707c69419a80b5bc0e812b8
2020-10-27 21:59:54 +00:00
Treehugger Robot
74b6ba9fd6 Merge "Ability to configure NR dual connectivity" am: 974ddb9f1a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1473537

Change-Id: I8a3831957fddf9dcba099aa6787bdea64f672fe2
2020-10-27 21:32:55 +00:00
Treehugger Robot
974ddb9f1a Merge "Ability to configure NR dual connectivity" 2020-10-27 21:19:24 +00:00
Yifan Hong
8bfa2d7629 [automerger skipped] Add audio V7 to compatility matrix. am: 00df90125c am: 8dc380a8a0 am: ed35d0c471 am: 687a5061e1 -s ours
am skip reason: Change-Id I98a0798cc08761e8aa6a9ca920c67aa6f8155de4 with SHA-1 6446c735a6 is in history

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

Change-Id: I0283b1e0427a84552603897a4cd0092e51a87895
2020-10-27 18:45:24 +00:00
Mikhail Naganov
4149093be5 [automerger skipped] Audio: Build file updates am: a8814e51be am: c08a0f2cf2 am: 3d1f3dabe5 am: e4e1d96e92 -s ours
am skip reason: Change-Id I6c891893398617a36f4748f185e189064ba4d4ee with SHA-1 6cd03bfdb9 is in history

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

Change-Id: Ic9999d51c3788b4cd539d0dad29e961fba6c5ffe
2020-10-27 18:45:22 +00:00
Mikhail Naganov
a2318572b6 [automerger skipped] Audio: Copy HAL V6 into V7 am: 60ced768f3 am: ccf6fefbe5 am: 7ecfd10a80 am: 4adabf448b -s ours
am skip reason: Change-Id Ifd91cc0bb59608cd92d1d8e4e76c3abea0a8da5e with SHA-1 159260c586 is in history

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

Change-Id: Id36b73e59c6b70732104c527790db7f014a56a44
2020-10-27 18:45:20 +00:00
Mikhail Naganov
32d650a031 [automerger skipped] Audio: Update and fix copyHAL script am: 3b1172dfe4 am: 898c369e24 am: 106b37269a am: 3da2809a68 -s ours
am skip reason: Change-Id I5bc2344dae611fbf7e3e0fef185deee999c4aefa with SHA-1 5ebbfe417c is in history

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

Change-Id: I0785a6013e0ad997140188ef58a0bf0363c26a48
2020-10-27 18:45:17 +00:00
Yifan Hong
687a5061e1 Add audio V7 to compatility matrix. am: 00df90125c am: 8dc380a8a0 am: ed35d0c471
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1476656

Change-Id: I394a3ab4235d73f522113ead8d06114e72540130
2020-10-27 18:30:55 +00:00
Mikhail Naganov
e4e1d96e92 Audio: Build file updates am: a8814e51be am: c08a0f2cf2 am: 3d1f3dabe5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475341

Change-Id: Ic6a583f7566a51a6646b67c45005444a361c25c6
2020-10-27 18:30:53 +00:00
Mikhail Naganov
4adabf448b Audio: Copy HAL V6 into V7 am: 60ced768f3 am: ccf6fefbe5 am: 7ecfd10a80
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475340

Change-Id: Id0e9e8f69a2fca6bca86e93ae066a392eaf53e78
2020-10-27 18:30:51 +00:00
Mikhail Naganov
3da2809a68 Audio: Update and fix copyHAL script am: 3b1172dfe4 am: 898c369e24 am: 106b37269a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475339

Change-Id: I2a945d2f4d34588c2c8c78fd4aa60c9f8f74b054
2020-10-27 18:30:48 +00:00
Yifan Hong
ed35d0c471 Add audio V7 to compatility matrix. am: 00df90125c am: 8dc380a8a0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1476656

Change-Id: If47732d98a1302b3408e1ce6947fedbda0639fc9
2020-10-27 18:16:13 +00:00
Mikhail Naganov
3d1f3dabe5 Audio: Build file updates am: a8814e51be am: c08a0f2cf2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475341

Change-Id: I7b9b3738d8122e15331341b0d286eadeced07aaf
2020-10-27 18:16:12 +00:00
Mikhail Naganov
7ecfd10a80 Audio: Copy HAL V6 into V7 am: 60ced768f3 am: ccf6fefbe5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475340

Change-Id: Iab002374939b0ad5862f7fb8a0ec96b8a2dca191
2020-10-27 18:16:11 +00:00
Mikhail Naganov
106b37269a Audio: Update and fix copyHAL script am: 3b1172dfe4 am: 898c369e24
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475339

Change-Id: I6e626c3aa49523c9595de07f370eec8f3907c24e
2020-10-27 18:16:10 +00:00
Yifan Hong
8dc380a8a0 Add audio V7 to compatility matrix. am: 00df90125c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1476656

Change-Id: I65fb12657bc33a9ce7f7fe17a9319628d06f6732
2020-10-27 17:41:00 +00:00
Mikhail Naganov
c08a0f2cf2 Audio: Build file updates am: a8814e51be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475341

Change-Id: I1e217e6cd4aa2fdad1a5901e35365e0ed58fb357
2020-10-27 17:40:57 +00:00
Mikhail Naganov
ccf6fefbe5 Audio: Copy HAL V6 into V7 am: 60ced768f3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475340

Change-Id: I90cd551bd26717ea19fa9b5f01a33eb6c211bc17
2020-10-27 17:40:53 +00:00
Mikhail Naganov
898c369e24 Audio: Update and fix copyHAL script am: 3b1172dfe4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1475339

Change-Id: I2bad10dbf837ba3cef2d2de980c03580512062c7
2020-10-27 17:40:20 +00:00
Yifan Hong
00df90125c Add audio V7 to compatility matrix.
All HIDL HALs defined in the source tree must be specified
in some framework compatibility matrix.

Bug: 110261831
Test: builds
Change-Id: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
Merged-In: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
2020-10-27 15:24:36 +01:00
Mikhail Naganov
a8814e51be Audio: Build file updates
Add target for the library with code generated by xsdc.

Temporarily disable default implementation and VTS targets.

Bug: 142480271
Test: m
Change-Id: I6c891893398617a36f4748f185e189064ba4d4ee
Merged-In: I6c891893398617a36f4748f185e189064ba4d4ee
2020-10-27 15:24:36 +01:00
Mikhail Naganov
60ced768f3 Audio: Copy HAL V6 into V7
This is an automated copy performed using copyHAL.sh script.

Bug: 142480271
Test: m
Change-Id: Ifd91cc0bb59608cd92d1d8e4e76c3abea0a8da5e
Merged-In: Ifd91cc0bb59608cd92d1d8e4e76c3abea0a8da5e
2020-10-27 15:24:36 +01:00
Mikhail Naganov
3b1172dfe4 Audio: Update and fix copyHAL script
Make necessary updates and fixes to produce HAL V7 and VTS.

Bug: 142480271
Test: audio/common/all-versions/copyHAL.sh 6.0 7.0 &&
      atest --rebuild-module-info -b VtsHalAudioV7_0TargetTest &&
      m
Change-Id: I5bc2344dae611fbf7e3e0fef185deee999c4aefa
Merged-In: I5bc2344dae611fbf7e3e0fef185deee999c4aefa
2020-10-27 15:24:36 +01:00
Marin Shalamanov
7e96241e82 Merge "Clean ComposerClient cache on hotplug" 2020-10-27 14:14:33 +00:00
Marin Shalamanov
ac6cc1f97e Clean ComposerClient cache on hotplug
On subsequent hotplug connected event for a display
SurfaceFlinger destroys the previous framebuffers and
recreates them. When the new buffers are created
ComposerClient still holds a handle to the old buffers and
they are not destroyed. This way the new framebuffers
may get allocated on non continuous memory causing garbled
screens for the user.

Bug: 160112047
Bug: 169255692
Test: 1. limit cma ion memory to 32 MB
      2. flash device
      3. plug hdmi out and in
      4. verify that the display image is not garbled
Change-Id: Idf7cdf7a070ffc83ecec34ac24c8a7d696f68aa6
2020-10-27 13:37:40 +01:00
Slava Shklyaev
5efe702d3b Merge "Migrate NNAPI to canonical types" 2020-10-27 09:51:56 +00:00
stevensd
55493667bd Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f am: 4d7af21173 am: 2213315dff am: c384897178
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: Ib5a6b58f5607e071c559192e028b43329247651c
2020-10-27 02:03:50 +00:00
stevensd
c384897178 Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f am: 4d7af21173 am: 2213315dff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: I39ef92439dee2658a592f80b53a32ac8e3440ec1
2020-10-27 01:42:41 +00:00
stevensd
2213315dff Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f am: 4d7af21173
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: Iedd577650d8a1dffd70ffa81014eae06999b2483
2020-10-27 01:02:18 +00:00
stevensd
4d7af21173 Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: If1e261b913564d29ca15c5426408668650cba02e
2020-10-27 00:49:38 +00:00
stevensd
2d82c11b0f Merge "graphics: fix use-after-free in mapper 2.0 passthrough" 2020-10-27 00:35:56 +00:00
Amy Zhang
9b56370985 Merge "Add Scrambling Status Monitor merchanism in Tuner 1.1" 2020-10-26 21:34:07 +00:00
Mikhail Naganov
a5273c760c Make audio*-base.h files autogenerated again
Major change: audio-base.h is generated from "core" types.hal,
new file audio_common-base.h is generated from "common" types.hal.

In order to be able to add system-only constants to generated
enums, the latter are made anonymous, values got "HAL_" prefix.
Then in system/audio.h a full enum is constructed.

Removed audio_drain_type_t from exported, as it belongs to
libhardware only.

Added missing enums that were introduced at the system side
only in Android R.

Bug: 122858783
Test: m
Change-Id: I8c017912395a03beacea077fd562fae2329ad975
2020-10-26 20:15:17 +00:00
Amy Zhang
803f77cd47 Merge "Add new Frontend Status Types and a new scan msg in Tuner HAL 1.1" 2020-10-26 19:36:49 +00:00
TreeHugger Robot
c66e023c62 Merge "audio: Align lists of enum values between framework and HAL" 2020-10-26 18:24:08 +00:00
Amy Zhang
b6d44ea486 Add Scrambling Status Monitor merchanism in Tuner 1.1
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158779948
Change-Id: Ie6d837dba732e213180ae5fac0ee86f9d310fa33
2020-10-26 10:56:49 -07:00
Kevin Chyn
4239f892ee Merge "Add default implementation for several methods" 2020-10-26 17:41:59 +00:00