Commit graph

5608 commits

Author SHA1 Message Date
Treehugger Robot
11e52152dd [automerger skipped] Merge "Merge redfin/bramble support." am: 52e9473f1e -s ours
am skip reason: Change-Id Icce4e4f44a811726f76a8602a44e9060cc1dbaa1 with SHA-1 3109cbe663 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1465935

Change-Id: I8277f169a1a084b98aee309daec057b2b5862484
2020-10-20 19:03:49 +00:00
Treehugger Robot
52e9473f1e Merge "Merge redfin/bramble support." 2020-10-19 23:20:09 +00:00
Xin Li
2c9a8c3b66 Merge redfin/bramble support.
Bug: 171218636
Merged-In: Icce4e4f44a811726f76a8602a44e9060cc1dbaa1
Change-Id: I0a1a06f871172953b18c2fcdd6aedf19ed7b1460
2020-10-19 10:08:21 -07:00
TreeHugger Robot
f07217e43a Merge "Convert mask types from uint32_t to enum type" 2020-10-13 05:05:42 +00:00
Xin Li
2a7a58ac99 [automerger skipped] Merge ab/6749736 in stage. am: 3109cbe663 -s ours am: eab682d153 -s ours am: 8a3e98d302 -s ours
am skip reason: Change-Id I047a6d3c09be4f762a745319e2f37d5551abf9f1 with SHA-1 c59eaa7b18 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12804499

Change-Id: Ib0c768d949f82a23c735553e385dbfc63eaf5f53
2020-10-13 04:50:30 +00:00
Xin Li
8a3e98d302 [automerger skipped] Merge ab/6749736 in stage. am: 3109cbe663 -s ours am: eab682d153 -s ours
am skip reason: Change-Id I047a6d3c09be4f762a745319e2f37d5551abf9f1 with SHA-1 c59eaa7b18 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12804499

Change-Id: I3b771b9b9743ec9496e03bc065a0398e2cf7a144
2020-10-13 04:22:38 +00:00
Xin Li
eab682d153 [automerger skipped] Merge ab/6749736 in stage. am: 3109cbe663 -s ours
am skip reason: Change-Id I047a6d3c09be4f762a745319e2f37d5551abf9f1 with SHA-1 c59eaa7b18 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12804499

Change-Id: I902f417b7c08aefd32ce14596e3dcb74f403d6fa
2020-10-13 03:51:00 +00:00
Xin Li
3109cbe663 Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: I047a6d3c09be4f762a745319e2f37d5551abf9f1
Change-Id: Icce4e4f44a811726f76a8602a44e9060cc1dbaa1
2020-10-08 22:58:30 -07:00
Mikhail Naganov
27aa8b3a53 Convert mask types from uint32_t to enum type
This applies to the following types:

- audio_gain_mode_t;
- audio_flags_mask_t;
- audio_channel_representation_t;
- audio_channel_mask_t;
- audio_devices_t.

Enum types are distinct thus proper overloading on the type
is possible in C++. Also, assignments to enum types are
less prone to errors.

Bug: 169889714
Test: basic audio functionality
Change-Id: I8f1e6fa2bbad8900fdae66f01ac70c75953fd62c
2020-10-02 13:35:41 -07:00
Rahul Sabnis
6c1390c065 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: db5579e341
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I0aa34ac2347044a6f9bead9d679b341a7424446d
2020-09-16 08:08:36 +00:00
Rahul Sabnis
b0911dd250 Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: 3f8c5b4ec1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: I2ea381656e154f9fc1ef0e3c4d6d4c5ff16bcaef
2020-09-16 08:05:14 +00:00
Victor Khimenko
e898b37e64 Make libhardware_headers available for native_bridge am: 8abec648ca am: 41139b5fc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12128050

Change-Id: I336118147d64d8153b4e549a4acec378fcec73ec
2020-09-16 06:41:49 +00:00
Xin Li
2b6b3978f2 [automerger skipped] Merge "Merge Android R" am: 02dfcc7c15 -s ours am: 5f3a19f76a -s ours am: 51eba9d0f1 -s ours am: c1e843d407 -s ours am: 4702bf0671 -s ours
am skip reason: Change-Id Ib50a9978c77eda7e20e27f2d63615599f0517b6d with SHA-1 fae361f24e is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1422436

Change-Id: Id29f9eb28277e279f7c78d9c8ae48918042fa555
2020-09-11 21:27:10 +00:00
Xin Li
4702bf0671 [automerger skipped] Merge "Merge Android R" am: 02dfcc7c15 -s ours am: 5f3a19f76a -s ours am: 51eba9d0f1 -s ours am: c1e843d407 -s ours
am skip reason: Change-Id Ib50a9978c77eda7e20e27f2d63615599f0517b6d with SHA-1 fae361f24e is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1422436

Change-Id: Ib97618f24a680ee8927935929bf5fea4904e1c95
2020-09-11 03:58:41 +00:00
Xin Li
c1e843d407 [automerger skipped] Merge "Merge Android R" am: 02dfcc7c15 -s ours am: 5f3a19f76a -s ours am: 51eba9d0f1 -s ours
am skip reason: Change-Id Ib50a9978c77eda7e20e27f2d63615599f0517b6d with SHA-1 fae361f24e is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1422436

Change-Id: I06fc514a2fe82c1826fefaab9b80ddf718339690
2020-09-11 03:33:10 +00:00
Xin Li
51eba9d0f1 [automerger skipped] Merge "Merge Android R" am: 02dfcc7c15 -s ours am: 5f3a19f76a -s ours
am skip reason: Change-Id Ib50a9978c77eda7e20e27f2d63615599f0517b6d with SHA-1 fae361f24e is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1422436

Change-Id: Ie11c65689005146632761708cfa20033aaa32b20
2020-09-11 02:02:20 +00:00
Xin Li
5f3a19f76a [automerger skipped] Merge "Merge Android R" am: 02dfcc7c15 -s ours
am skip reason: Change-Id Ib50a9978c77eda7e20e27f2d63615599f0517b6d with SHA-1 fae361f24e is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1422436

Change-Id: I1dfdc73c439333e21b5a057c255f40f58361c6ef
2020-09-11 00:39:36 +00:00
Xin Li
02dfcc7c15 Merge "Merge Android R" 2020-09-10 17:22:03 +00:00
Xin Li
1d4cade478 Merge Android R
Bug: 168057903
Merged-In: Ib50a9978c77eda7e20e27f2d63615599f0517b6d
Change-Id: I7cefed0e9b2048b48227da4a2043658ef231a56e
2020-09-08 16:55:29 -07:00
Xin Li
1ca793ef28 [automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: fae361f24e -s ours am: bebd516578 -s ours am: dd4825f900 -s ours am: 77d46c26dd -s ours
am skip reason: Change-Id I500b53e89f132b3925e6a1912c75b7834ea47ff4 with SHA-1 0d57727f5a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12470210

Change-Id: Icf4264a8865ff991bc04c46f7cecd1524097f7bd
2020-09-02 01:59:04 +00:00
Xin Li
77d46c26dd [automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: fae361f24e -s ours am: bebd516578 -s ours am: dd4825f900 -s ours
am skip reason: Change-Id I500b53e89f132b3925e6a1912c75b7834ea47ff4 with SHA-1 0d57727f5a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12470210

Change-Id: I7e196cf74e2566fb120d7fe949de512db583feb2
2020-09-01 22:09:39 +00:00
Xin Li
dd4825f900 [automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: fae361f24e -s ours am: bebd516578 -s ours
am skip reason: Change-Id I500b53e89f132b3925e6a1912c75b7834ea47ff4 with SHA-1 0d57727f5a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12470210

Change-Id: I57fc999bbd30f806d73339da274f73dac471cd85
2020-09-01 21:46:23 +00:00
Xin Li
bebd516578 [automerger skipped] Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) am: fae361f24e -s ours
am skip reason: Change-Id I500b53e89f132b3925e6a1912c75b7834ea47ff4 with SHA-1 0d57727f5a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12470210

Change-Id: Ie456f76702a06d46e628202a79b4c70dc19c75ae
2020-09-01 20:36:48 +00:00
Xin Li
fae361f24e Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I500b53e89f132b3925e6a1912c75b7834ea47ff4
Change-Id: Ib50a9978c77eda7e20e27f2d63615599f0517b6d
2020-08-27 10:16:42 -07:00
Christopher Ferris
0687ec5775 Merge "Update codeMap for v5.8 kernel update." am: a1a6f9e819 am: 36bca0314d am: e7438cd2e8 am: c59eaa7b18 am: d2a4d93d26
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1388971

Change-Id: Ib372751fae06de2af191adc2463cd480483ed8e8
2020-08-06 18:00:47 +00:00
Christopher Ferris
d2a4d93d26 Merge "Update codeMap for v5.8 kernel update." am: a1a6f9e819 am: 36bca0314d am: e7438cd2e8 am: c59eaa7b18
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1388971

Change-Id: I3df9d42508194850bee89054672a9a8114cc7f50
2020-08-06 17:39:43 +00:00
Christopher Ferris
c59eaa7b18 Merge "Update codeMap for v5.8 kernel update." am: a1a6f9e819 am: 36bca0314d am: e7438cd2e8
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1388971

Change-Id: I047a6d3c09be4f762a745319e2f37d5551abf9f1
2020-08-06 17:24:12 +00:00
Christopher Ferris
e7438cd2e8 Merge "Update codeMap for v5.8 kernel update." am: a1a6f9e819 am: 36bca0314d
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1388971

Change-Id: Idcd89f3476767814cf615190cc6d1ece461081e2
2020-08-06 17:05:42 +00:00
Christopher Ferris
36bca0314d Merge "Update codeMap for v5.8 kernel update." am: a1a6f9e819
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1388971

Change-Id: I8223f390579ecaae7fd39e416f728b71b62ccfdd
2020-08-06 16:49:00 +00:00
Christopher Ferris
a1a6f9e819 Merge "Update codeMap for v5.8 kernel update." 2020-08-06 16:31:03 +00:00
Rahul Sabnis
127e4dd225 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 81c9bbc7c3 am: 34bcef0e6c am: bc0b7ff24e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I8f07d5490826fa0190e0e88a97c6f244d9393b23
2020-08-06 00:08:31 +00:00
Rahul Sabnis
d5050ed485 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 10851b8aa1 am: 383735dae1 am: 53885c02f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I238beac281cb8c4a864fd96713a9eb5fb8d4d214
2020-08-06 00:08:03 +00:00
Rahul Sabnis
6657d8ec6a Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 81c9bbc7c3 am: a04c971bc8 am: 557ec98f22
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I594f1b17ffa0b2fd202cc4cab4ceec34b8a722f7
2020-08-06 00:07:25 +00:00
Rahul Sabnis
bc0b7ff24e Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 81c9bbc7c3 am: 34bcef0e6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I4172e0dd6dbad94693e73e6d6b285bebf768b4fd
2020-08-05 23:49:18 +00:00
Rahul Sabnis
53885c02f3 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 10851b8aa1 am: 383735dae1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I6268d2c866aa29d7c7429b30ed3d03417fbec923
2020-08-05 23:48:38 +00:00
Rahul Sabnis
557ec98f22 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 81c9bbc7c3 am: a04c971bc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: Ibcd7617a909b27d0c20e54117aa44f813d64fc3e
2020-08-05 23:48:13 +00:00
Automerger Merge Worker
1b6c0c2dd7 Merge "Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: db07ea5953 am: 8aea9c4f52" into rvc-qpr-dev-plus-aosp am: 8c3b3eae1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: I8feaa236be6dbc3d9566af47a873aca86cf11bc9
2020-08-05 23:42:41 +00:00
Rahul Sabnis
a849bf3bcd Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: 0be32e9f2f am: 0917c68fae am: e8ad567c0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: Ie6572162911009f7b0f10a8fa7939a0269366877
2020-08-05 23:41:39 +00:00
Rahul Sabnis
52c41657ac Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: db07ea5953 am: 4be5facf6d am: 10e168c2fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: I91097e88055675521f61b7c41d9bfe9cf36103f5
2020-08-05 23:40:46 +00:00
Rahul Sabnis
34bcef0e6c Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 81c9bbc7c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I1a038ca914191305d8ecd9fd02030e4426ec12ca
2020-08-05 23:32:53 +00:00
Rahul Sabnis
383735dae1 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 10851b8aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I6e07ba92c64312d186599612ee71db5458048409
2020-08-05 23:32:51 +00:00
Rahul Sabnis
a04c971bc8 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04 am: 81c9bbc7c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: Iddc22e92298742abd95811ade6332ff501cefdd1
2020-08-05 23:31:30 +00:00
Automerger Merge Worker
8c3b3eae1e Merge "Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: db07ea5953 am: 8aea9c4f52" into rvc-qpr-dev-plus-aosp 2020-08-05 23:22:06 +00:00
Rahul Sabnis
2ca9e17e61 Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: db07ea5953 am: 8aea9c4f52
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: Ie7f4e597985654e7849ac2efa27dcff7b866acb3
2020-08-05 23:22:00 +00:00
Rahul Sabnis
e8ad567c0e Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: 0be32e9f2f am: 0917c68fae
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: Ia2728e1746dd7afc7f1598f131ed674e169b9bc7
2020-08-05 23:21:53 +00:00
Rahul Sabnis
10e168c2fa Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: db07ea5953 am: 4be5facf6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: Ia61eda1026ba84a3265f3486d2a020de2d95da22
2020-08-05 23:20:43 +00:00
Rahul Sabnis
db5579e341 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I2fbd2a546c660f028b4f86bafbc687fa1800b9f3
2020-08-05 23:03:12 +00:00
Rahul Sabnis
10851b8aa1 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: I8a02bfc690c9a631b579a835e9e2f87623559bbe
2020-08-05 23:01:54 +00:00
Rahul Sabnis
81c9bbc7c3 Update the signature of init function to include whether the device is am: 3e7b35ee18 am: 43e0dd5936 am: 234cb4857b am: 1d90247bb1 am: e5ef2a3f04 am: 984f2f2d43 am: 34b5501c04
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134

Change-Id: Ibdd38a7ea19c183ac7d34c55de9d62879ebf4626
2020-08-05 23:01:50 +00:00
Rahul Sabnis
0917c68fae Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: 0be32e9f2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133

Change-Id: I2d44ccbca4d272ba0809da1351d3c34a5ab1a386
2020-08-05 22:53:47 +00:00