254 Commits
bq1 ... udc

Author SHA1 Message Date
0a2c9ecfd4 lynx: Initialize for Evolution X 9.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-09-10 14:09:05 -07:00
Michael Bestas
0fbecf1c65 lynx: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-09-10 02:49:23 +03:00
Michael Bestas
ead4921467 lynx: Remove 32bit libedgetpu_util that is actually 64bit
This can't have ever worked and it breaks makefile regeneration.

Change-Id: Ic273bffaa3391463b8736bcc287a96f20d831a47
2024-09-10 01:10:22 +03:00
Aaron Kling
b120e6fa90 lynx: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-09-07 13:59:00 +03:00
Cosmin Tanislav
26949e38e3 lynx: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-09-07 13:58:59 +03:00
Michael Bestas
fbac536b10 lynx: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-09-07 13:58:59 +03:00
Michael Bestas
7b4c750021 lynx: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-09-07 13:58:59 +03:00
Cosmin Tanislav
ef8a056e1d lynx: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-09-07 13:58:59 +03:00
Michael Bestas
ebf9c121b9 lynx: fix libprotobuf-cpp-full-21.12 ELF check
Change-Id: I24632ade0e1ead24fc7f4ab3ca017962510c807a
2024-09-07 13:58:59 +03:00
Michael Bestas
a6e27eee9e lynx: fix libprotobuf-cpp-lite-21.12 ELF check
Change-Id: I028723e6ff9ef71514857d683e2c65caf9e28fa0
2024-09-07 13:58:59 +03:00
Michael Bestas
1843eaddd8 lynx: fix edge TPU ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-09-07 13:58:58 +03:00
Aaron Kling
de83542561 lynx: Add vendor soong imports to extract
Change-Id: Ib19e69dc35af6b04519eeb695228af65f3d01d2a
2024-09-07 13:58:58 +03:00
Aaron Kling
9168a37a28 lynx: Enable elf checks
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-09-07 13:35:11 +03:00
Michael Bestas
78f68eadbe lynx: Remove unused RIL libs
Change-Id: Iaf93e17c12c5621142d12b249bc9cac3893684dc
2024-09-07 13:29:43 +03:00
Michael Bestas
eebc8301c7 proprietary-files: AP2A.240905.003
Change-Id: I8e8fd5caecee0f4fc4c9f19ceeabb0df797e081e
2024-09-04 21:13:53 +03:00
Michael Bestas
fe0e783a8e Update fingerprint/build description from AP2A.240905.003
Change-Id: I35c3cb50134b3ae55e641952c022390753072856
2024-09-04 06:03:06 +03:00
Michael Bestas
e775461ffb Merge tag 'android-14.0.0_r67' into staging/lineage-21_merge-android-14.0.0_r67
Android 14.0.0 release 67

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZteFuQAKCRDorT+BmrEO
# eEetAJ9gQVDB174WcU5hTmN0s5TCowW+7wCghV5Uk5qsU5Y7hbOtGtVZZQ5TxQk=
# =c2Mn
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Sep  4 00:55:05 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2594 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (2) and Lokesh Kumar Goel (1)
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r67':
  Update lynx SVN to 46
  Update lynx SVN to 45
  lynx: Use build_flags for SVN

Change-Id: Ic70e7dad5ca2c3d47e53bf98c72b8654afb40c07
2024-09-04 05:54:38 +03:00
Michael Bestas
3cca8fa95e lynx: Sync extract scripts with templates
Change-Id: I83561b9064f7f27af90e21ac72a9c76e1dad8fad
2024-08-29 10:35:40 +03:00
Michael Bestas
5551d8ca1e Update fingerprint/build description from AP2A.240805.005
Change-Id: Id710943410ea631b4b9f07e2540cff2350a331ce
2024-08-15 06:31:24 +03:00
Android Build Coastguard Worker
2d9b310f21 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28807517'] into 24Q2-release.
Change-Id: If0b9d7a1e25ef122ff7186e56cc2abc7691f7852
2024-08-15 00:44:44 +00:00
Ankur Bakshi
58e15e5e74 Update lynx SVN to 46
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77778e537020b1a4a1f7887ddb03b823e4a6b946)
Merged-In: Ib31e9c68c0849c7affc5b4410ea2226e9ff9126b
Change-Id: Ib31e9c68c0849c7affc5b4410ea2226e9ff9126b
2024-08-15 00:41:31 +00:00
Michael Bestas
90c54722bb Merge tag 'android-14.0.0_r55' into staging/lineage-21_merge-android-14.0.0_r55
Android 14.0.0 Release 55 (AP2A.240805.005)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZrKMEgAKCRDorT+BmrEO
# eAqDAJ9UJtG+Uu4qmIM2NiAWZDJrtkh7HACfWFCH+IigJKx6wnsiGYkmKvJ187M=
# =agMN
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Aug  6 20:48:18 2024 UTC
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Can't check signature: No public key

# By Ankur Bakshi (1) and Jason Hsu (1)
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r55':
  audio: update fortemedia table on 5/23
  Update lynx SVN to 44

Change-Id: I0159be5438f61473fa603ff0182d0ea62f8d5037
2024-08-12 20:53:48 +00:00
Android Build Coastguard Worker
8a0de4ac64 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26824327', 'googleplex-android-review.googlesource.com/28319740'] into 24Q2-release.
Change-Id: I7805807271d190897b0b3d860e3927b75ecbf4ea
2024-07-19 20:29:20 +00:00
Ankur Bakshi
38a9b3b9af Update lynx SVN to 45
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:89ddd0be8396f992edc0305e71ba087bb8d91a7f)
Merged-In: I9ae3af899655057a07488fee2e085cd1884fcca0
Change-Id: I9ae3af899655057a07488fee2e085cd1884fcca0
2024-07-19 20:14:14 +00:00
Lokesh Kumar Goel
322fcbc804 lynx: Use build_flags for SVN
Flag: build.RELEASE_SVN_LYNX
Bug: 332726030
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6d2650cbf619521a78364321a84489ec7acdae4)
Merged-In: Id2c31d9b6b8db9d7948a7a1174be141e3b913171
Change-Id: Id2c31d9b6b8db9d7948a7a1174be141e3b913171
2024-07-19 20:13:54 +00:00
Michael Bestas
7c16e2bb1e lynx: Declare HBM lib as symlink during extraction
Change-Id: I97c07aa18250d37080e3f7d9c5c179a297f69657
2024-07-04 01:56:47 +03:00
Michael Bestas
a51e28b5c9 lynx: Declare DM libs as symlinks during extraction
Change-Id: Icb6c2c284037f67478c80725f63b4a7db7c552c0
2024-07-04 01:55:49 +03:00
Michael Bestas
62cd62462d Update fingerprint/build description from AP2A.240705.004
Change-Id: I571f738c492985a03a1c81d592f624229699ab22
2024-07-03 18:18:57 +03:00
Michael Bestas
f1eed0ae75 Merge tag 'android-14.0.0_r52' into staging/lineage-21_merge-android-14.0.0_r52
Android 14.0.0 release 52

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZoRM9QAKCRDorT+BmrEO
# eLMtAJ0awDZglqyFxtu20XdQLzspjGDSXgCdEKTWBs2+eQ381ueQHGEaFP3Rc4M=
# =p8Bu
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jul  2 21:54:45 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2565 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r52':
  Update lynx SVN to 43

Change-Id: Icec5bd518ed30923e317137cd7315dfec1b1670e
2024-07-03 07:09:50 +03:00
Michael Bestas
d815593f5b lynx: Add GoogleCamera_6gb_or_more_ram.xml
Change-Id: I77d4457cd67b9ae2bd554bc077fb9a0f4c2357ea
2024-06-28 12:05:52 +00:00
Michael Bestas
f262d53691 proprietary-files: AP2A.240605.024
Change-Id: I1ce822c57a2c0a5ef2a08f211ba6a536334fffed
2024-06-16 00:29:41 +03:00
Michael Bestas
d048646d8a Update fingerprint/build description from AP2A.240605.024
Change-Id: I0b145df6d148469471bdb83ba9320e24eabc3700
2024-06-15 23:01:19 +03:00
Beverly
f9168cdea3 Remove unused dimen auth_ripple_alpha_in_duration
Bug: 274785453
Test: device builds
Change-Id: I16995427297c5d11ee5448fb8be53682ab36e5d7
2024-06-15 22:34:48 +03:00
Michael Bestas
4ded46465e Merge tag 'android-14.0.0_r50' into staging/lineage-21_merge-android-14.0.0_r50
Android 14.0.0 Release 50 (AP2A.240605.024)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmwAKCRDorT+BmrEO
# eNNpAJwKvTVC+DLfz4Sl7xzEgprlo2X14QCfRjWeharHDhNNxqpvbPPB0c+XxrM=
# =bSK4
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 11 00:43:55 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2543 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Jacky Liu (1) and others
# Via Android Build Coastguard Worker (5) and others
* tag 'android-14.0.0_r50':
  Update i2c device paths
  sepolicy: lynx: add wireless path permission
  Update SELinux error

Change-Id: I4638c539d96a440804f0952fb2a5e27893d58489
2024-06-15 22:34:33 +03:00
Michael Bestas
47c4bc4498 Merge tag 'android-14.0.0_r50' into staging/lineage-21_merge-android-14.0.0_r50
Android 14.0.0 Release 50 (AP2A.240605.024)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmgAKCRDorT+BmrEO
# eCtfAJ0afpWkhLnwep9zwfdwgbpBzohvEQCfSeA0NKvU1QSwfUP+LW5ZyYgqo+c=
# =CHvs
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 11 00:43:54 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2543 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (15) and others
# Via Android Build Coastguard Worker (31) and others
* tag 'android-14.0.0_r50': (34 commits)
  update educeBrightColorsStrengt setting
  Update lynx SVN to 42
  Update lynx SVN to 41
  Update lynx SVN to 40
  Update lynx SVN to 39
  Update lynx SVN to 38
  Update lynx SVN to 37
  Update lynx SVN to 36
  gps: Disable Vzw SUPL OTDOA
  Enabling Observe mode
  Initial Bootloader prebuilt for AP3% build
  lynx: Enable fast scan
  Enable NFC firmware logging
  Update lynx SVN to 35
  Update i2c device paths
  Update lynx SVN to 34
  Update lynx SVN to 33
  Update lynx SVN to 32
  powerstats: use display MRR state residency data provider
  Update pixel pitch of device
  ...

 Conflicts:
	device-lynx.mk
	lynx/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml

Change-Id: I6ec827ff81d19e592aa8616a571a97edd0a84ef9
2024-06-15 22:34:28 +03:00
Android Build Coastguard Worker
90809d5f5a Merge cherrypicks of ['googleplex-android-review.googlesource.com/27478118'] into 24Q2-release.
Change-Id: Ib876688c7bd02ae2eedf72967d2edf1b4c8b9880
2024-06-14 18:56:07 +00:00
Jason Hsu
be81f2565c audio: update fortemedia table on 5/23
Bug: 325559120
Test: verified by Acoustic team

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b35a1123388cb0f48b048216ae0f36e18e90598a)
Merged-In: I6eaf2b19d5af8e929988ac469637e9e20af594d5
Change-Id: I6eaf2b19d5af8e929988ac469637e9e20af594d5
2024-06-14 18:55:23 +00:00
Android Build Coastguard Worker
2f3eabef88 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27586565'] into 24Q2-release.
Change-Id: I7527bfbfb849917090b19ea6961e409d6ff00d4a
2024-06-13 05:23:01 +00:00
Ankur Bakshi
2067b56e5c Update lynx SVN to 44
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:41a7537b0b1a5789ce54f47aa99fd10b39edf88e)
Merged-In: I6be0c030e892e41624d6ca3cdaf2f1d8b505711b
Change-Id: I6be0c030e892e41624d6ca3cdaf2f1d8b505711b
2024-06-13 05:14:34 +00:00
Android Build Coastguard Worker
bfcd05e1a6 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27095499'] into 24Q2-release.
Change-Id: Ic218737a4957eeb18c773f6e613668f5c650782d
2024-05-21 04:29:59 +00:00
Ankur Bakshi
9957aa80ab Update lynx SVN to 43
Bug: 336526332
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3a7dfa53382da81877a2d5d81eab5000011ba775)
Merged-In: I04e92d25ba10b7ddcb3e343af63b7ca80c25931a
Change-Id: I04e92d25ba10b7ddcb3e343af63b7ca80c25931a
2024-05-21 04:26:17 +00:00
Michael Bestas
6db84dd191 Update fingerprint/build description from AP1A.240505.005
Change-Id: I1e6300497f903f2bf8d98559aa790806990650d7
2024-05-08 02:27:07 +03:00
Michael Bestas
0c8e874524 Merge tag 'android-14.0.0_r35' into staging/lineage-21_merge-android-14.0.0_r35
Android 14.0.0 release 35

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZjprZgAKCRDorT+BmrEO
# eJwVAJ4ibzyvsp2PQhOEeLQ6e8JkACXZfgCfWw9rgpvoBXowZ1iDFkzT213QWrQ=
# =rO6D
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue May  7 20:56:54 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2431 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r35':
  Update lynx SVN to 39
  Update lynx SVN to 38
  Update lynx SVN to 37

Change-Id: Ic0ae01206d13f7c583adc77c6748735db41c7dc8
2024-05-08 02:00:30 +03:00
Michael Bestas
6f89b75df0 lynx: Remove debuggable check from modem logger
Allows disabling modem logging for userdebug builds

Change-Id: Id34f80600d40cc84f8fc5661b66b7075558ac18f
2024-04-24 21:19:32 +03:00
Michael Bestas
725d8d67f9 Update fingerprint/build description from AP1A.240405.002.B1
Change-Id: I0f1e9e3a3639708fcab342e21e8e63962dd004d3
2024-04-24 04:24:41 +03:00
Michael Bestas
ef8380c7fb Merge tag 'android-14.0.0_r33' into staging/lineage-21_merge-android-14.0.0_r33
Android 14.0.0 Release 33 (AP1A.240405.002.B1)

# -----BEGIN PGP SIGNATURE-----
#
# iFwEABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZh1wjAAKCRDorT+BmrEO
# eIJpAJYy4Y87vKpj7WjV05loyYsYYh+kAJ0X8U44QppRhOIvjvnh8xtnowor7w==
# =9FJE
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Apr 15 21:23:08 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2423 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r33':
  Update lynx SVN to 38
  Update lynx SVN to 37

Change-Id: I6f2f43d8e3d558e7849232a10f162f79633ab154
2024-04-24 04:23:41 +03:00
Android Build Coastguard Worker
f9450ba767 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26247061', 'googleplex-android-review.googlesource.com/26465466'] into 24Q1-release.
Change-Id: I1a81f698df3d84f19af559da4c63cb2cc25268c1
2024-04-05 17:20:04 +00:00
Ankur Bakshi
eea3860855 Update lynx SVN to 39
Bug: 325156176
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a9cb7d8123379ef4e14d091e3afec082f954d75f)
Merged-In: I2a7d1e94068fff910a2d970def9a5aed105fff31
Change-Id: I2a7d1e94068fff910a2d970def9a5aed105fff31
2024-04-05 17:16:09 +00:00
Ankur Bakshi
ae8a8bab5f Update lynx SVN to 38
Bug: 325156176
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6275a87edb642f6ca7b6841dfd37b5af1d9d4e03)
Merged-In: I337a8128a53772cca01fc9da375a0226b2f16ed4
Change-Id: I337a8128a53772cca01fc9da375a0226b2f16ed4
2024-04-05 17:15:55 +00:00
Android Build Coastguard Worker
74446137fe [coastguard skipped] Merge sparse cherrypicks from sparse-11480754-L69200030002950439 into 24Q1-release.
COASTGUARD_SKIP: I337a8128a53772cca01fc9da375a0226b2f16ed4
COASTGUARD_SKIP: I19739180c3e5722f8e64094018f10c3511300541
COASTGUARD_SKIP: I97b4ba16f13f604c0a078f4c16792fdbc8a0e61f

Change-Id: I2e31f83f13a53d8668fd09dd9298ba50aa51383c
2024-04-05 15:11:28 +00:00
Android Build Coastguard Worker
7ecf0e9656 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26244786', 'googleplex-android-review.googlesource.com/26247061'] into sparse-11480754-L69200030002950439.
SPARSE_CHANGE: I19739180c3e5722f8e64094018f10c3511300541
SPARSE_CHANGE: I337a8128a53772cca01fc9da375a0226b2f16ed4

Change-Id: I97b4ba16f13f604c0a078f4c16792fdbc8a0e61f
2024-04-05 15:08:03 +00:00
Ankur Bakshi
dfa918da90 Update lynx SVN to 38
Bug: 325156176
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6275a87edb642f6ca7b6841dfd37b5af1d9d4e03)
Merged-In: I337a8128a53772cca01fc9da375a0226b2f16ed4
Change-Id: I337a8128a53772cca01fc9da375a0226b2f16ed4
2024-04-05 15:04:48 +00:00
Ankur Bakshi
bbb6acfe7d Update lynx SVN to 37
Bug: 325156176
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4b3cdd15f9bd656d96c086b507724dfe1aff3196)
Merged-In: I19739180c3e5722f8e64094018f10c3511300541
Change-Id: I19739180c3e5722f8e64094018f10c3511300541
2024-04-05 15:04:35 +00:00
Michael Bestas
dd4bc2f636 Update fingerprint/build description from AP1A.240405.002
Change-Id: I04cf9f4711d99931f97c5d69f5a2fd30942fe5e7
2024-04-03 21:31:11 +03:00
Michael Bestas
eb90ad21a6 Merge tag 'android-14.0.0_r30' into staging/lineage-21_merge-android-14.0.0_r30
Android 14.0.0 Release 30 (AP1A.240405.002)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZgs+ygAKCRDorT+BmrEO
# eARAAJ9F0hv++5iwfuvmh9A1TPRkTR5uPQCfTvdf5Sc7XBooXen1KH2HZ9KAI8A=
# =bcLX
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Apr  2 02:10:02 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2411 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r30':
  Update lynx SVN to 36
  Update lynx SVN to 35

Change-Id: I977588af1e4cdb0696af3d60f0d4384759d42645
2024-04-03 14:15:14 +03:00
Android Build Coastguard Worker
1412285d25 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26244786'] into 24Q1-release.
Change-Id: I7109f4341c21652fdfaff4b40066d67d77973006
2024-03-13 18:40:21 +00:00
Ankur Bakshi
ea1f72b8e9 Update lynx SVN to 37
Bug: 325156176
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c85bce970b914054b2ee8cb926cc4247625eeb4f)
Merged-In: I19739180c3e5722f8e64094018f10c3511300541
Change-Id: I19739180c3e5722f8e64094018f10c3511300541
2024-03-13 18:36:33 +00:00
Michael Bestas
0adddcb3ee Update fingerprint/build description from AP1A.240305.019.A1
Change-Id: I6d7800da59cef9b3c09427ad557b3361a8a27d92
2024-03-10 22:10:57 +02:00
Chirayu Desai
72d1fa85c4 proprietary-files: AP1A.240305.019.A1
Change-Id: Icbf9f5b38e2b0cd1221832e54ef47a4536793d5e
2024-03-10 10:37:25 +02:00
Michael Bestas
cb1a88e6a3 Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29
Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWywAKCRDorT+BmrEO
# eB9NAJ9QYo7qEV7PQ5fRSYVeV/eJQHGamgCfWezaIr8MoOiz7h6hBP62lSayrg0=
# =Q0/q
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:35 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2381 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Wilson Sung (3) and others
# Via Automerger Merge Worker (34) and others
* tag 'android-14.0.0_r29':
  wifi: genfs_contexts: fix path for wifi device
  Update SELinux error
  Remove obsolete bug_map
  Remove fixed or obsolete entries
  Remove the tracking_denials entry as the issue
  Remove obsolete entries
  Remove two hal_camera_default errors from tracking_denials/bug_map
  Update SELinux error
  introduce a new sepolicy owner
  Remove obsolete entries

Change-Id: I6b3b004210964f05fd182ad784d34248df23d41d
2024-03-10 09:18:48 +02:00
Michael Bestas
bc8947b887 Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29
Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWygAKCRDorT+BmrEO
# eI9cAJ9VWEBWZaDHOcuYN9/HflrHwiTPigCeJXzsWeLM6ARuSHKWiHNmXVYq22g=
# =Z5xh
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:34 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2380 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (13) and others
# Via Automerger Merge Worker (767) and others
* tag 'android-14.0.0_r29': (74 commits)
  Update lynx SVN to 34
  Update lynx SVN to 33
  Update lynx SVN to 32
  gps: Disable Vzw SUPL OTDOA
  Update lynx SVN to 31
  Revert "Update L10 bounding box to 14x14mm"
  Update lynx SVN to 30
  aoc: update mixer table for voice capture V2
  aoc: update mixer table for voice capture
  aoc: update mixer table for voice capture V2
  aoc: update mixer table for voice capture
  Branch bootloader prebuilts for 24Q2 release
  Add zoom boost in powerhint for L10
  Update lynx SVN to 29
  Update lynx SVN to 28
  [CCA] Set enable flag by default on Lynx.
  Revert^2 "lynx(nfc): Modify NFC overlays for NFC apex"
  powerhint: game mode tuning
  powerhint: add game mode tuning nodes
  Revert^2 "lynx: Replace NFC app with NFC apex"
  ...

 Conflicts:
	Android.mk
	AndroidProducts.mk
	device-lynx.mk

Change-Id: I54d9cebb9354302a9b7bb567d1e54bef50088a27
2024-03-10 09:18:42 +02:00
Tommy Webb
0608443dda lynx: Update IWLAN config with IMS changes
Resolve issues with VoWiFi (Wi-Fi Calling) for Pixel 7 series, which
now uses a different proprietary package for its qualified networks
service.

Issue: calyxos#1324
Change-Id: Ie2984ff22cf786eb82a536bfb1d9ffaff15ae079
2024-02-25 22:51:56 +02:00
Android Build Coastguard Worker
3cff2a3927 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26244920'] into 24Q1-release.
Change-Id: Ic53518b914eecdecd88c2e9557e8ded47e8667c2
2024-02-21 19:17:52 +00:00
Ankur Bakshi
4ed0deaf6c Update lynx SVN to 36
Bug: 325156176
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b67dba44ab37271a20068443f5e9bf2d1cd88830)
Merged-In: I77899d8e0fd2d125b0fec47e84d0e1f55de2ab0d
Change-Id: I77899d8e0fd2d125b0fec47e84d0e1f55de2ab0d
2024-02-21 19:09:25 +00:00
Michael Bestas
5312cdc486 Revert "lynx: fix padding in status bar"
This reverts commit 67a5f2e039.

Reason for revert: Not working properly.

Change-Id: I81b58e0e7c20470b008dc053def144ad46d4264f
2024-02-18 00:56:20 +02:00
Android Build Coastguard Worker
893d2f5d25 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26229915'] into 24Q1-release.
Change-Id: I9536d6e36449645e3fa16a63a18b2ea5cfcfb474
2024-02-14 19:58:26 +00:00
Ankur Bakshi
0ea8e2ed5e Update lynx SVN to 35
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5b6dd28590cedabb7fc5d0062ced647c596815f7)
Merged-In: Ic14a90668489270a981567f74946cd59048fad9c
Change-Id: Ic14a90668489270a981567f74946cd59048fad9c
2024-02-14 19:56:53 +00:00
Michael Bestas
e87d6b30b8 lynx: Add prebuilt kernel to lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-02-13 19:15:58 +00:00
Chirayu Desai
417fd0f759 lynx: Set TARGET_PREBUILT_KERNEL
Change-Id: I156a4af77bd619f855f734983b24677531156c4d
2024-02-13 19:15:58 +00:00
Michael Bestas
bd887dabc0 lynx: Squashed revert of inline kernel build
Revert "lynx: Build mali_pixel prior to mali_kbase"

This reverts commit edce8f1777.

Revert "lynx: Drop ufs-pixel-fips140.ko"

This reverts commit 5cee66b067.

Revert "lynx: Build external modules"

This reverts commit b9022d7374.

Revert "lynx: Inline kernel building"

This reverts commit ab68d6b8cc.

Change-Id: Ibd0c73352d5d2c52b9f0b31b4c7b8ce400699a35
2024-02-13 19:15:58 +00:00
jabashque
f27ee69930 lynx: Enable Osaifu-Keitai on non-Japanese SKUs
https://github.com/kormax/osaifu-keitai-google-pixel/

Test 1 & 2 on a Global SKU Google Pixel 6a (bluejay):
- Observe that Osaifu-Keitai doesn't function WITHOUT this change.
- Observe that Osaifu-Keitai functions normally WITH this change.

Test 3 & 4 on a Japanese SKU Google Pixel Fold (felix):
- Observe that Osaifu-Keitai functions normally WITHOUT this change.
- Observe that Osaifu-Keitai continues to function normally WITH this change.

Change-Id: I9faac2e130714a41e6922b62d2019dae0d615a3b
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-02-13 11:59:25 +00:00
Android Build Coastguard Worker
bbf90186dc Snap for 11420186 from 1cce81f773 to 24Q2-release
Change-Id: I2e464bf5622acdf257b406e6f2588813b97355d6
2024-02-08 00:02:51 +00:00
Michael Bestas
d48d4dd22f Update fingerprint/build description from UQ1A.240205.002
Change-Id: I7124e5da3b0f432549516801eea3513b3a5c755a
2024-02-06 19:08:47 +02:00
Michael Bestas
0825ae92b8 Merge tag 'android-14.0.0_r22' into staging/lineage-21_merge-android-14.0.0_r22
Android 14.0.0 Release 22 (UQ1A.240205.002)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZcE4AwAKCRDorT+BmrEO
# eAB+AJ9+zI4JOsO745V8OKzVP6TouIQ/XwCfceVw0ujmX1axUQMXXPXInbjgRA0=
# =TVki
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Feb  5 21:33:23 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2249 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r22':
  Update lynx SVN to 29
  Update lynx SVN to 28
  Update lynx SVN to 27
  Update lynx SVN to 27

Change-Id: Iba3ae84e5697e3690a4288e811ac865bb2327950
2024-02-06 18:53:39 +02:00
Android Build Coastguard Worker
b4f8e73689 Snap for 11386701 from 75d49c4e50 to 24Q2-release
Change-Id: I54a82a242f97b08d95dbcc63e378506dbd113e10
2024-02-01 00:02:10 +00:00
Android Build Coastguard Worker
8d23496712 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26029011', 'googleplex-android-review.googlesource.com/26029366', 'googleplex-android-review.googlesource.com/26034524'] into 24Q1-release.
Change-Id: Iab304d25657b092e790acc6e4e03de2761ae988c
2024-01-30 20:47:30 +00:00
Ankur Bakshi
050a0df7ad Update lynx SVN to 34
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ccfdccce0388e14b75a7942d8d94e7027e5b7c39)
Merged-In: I16b0d667a34c579bd7c910d7da9952a2f632187b
Change-Id: I16b0d667a34c579bd7c910d7da9952a2f632187b
2024-01-30 20:30:19 +00:00
Ankur Bakshi
cda7b221c8 Update lynx SVN to 33
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f68880e55d8092e78f9f6e3c79b1d21dbe156725)
Merged-In: Ibe942f1fd0a3996d94921b383bf1f1be0720b813
Change-Id: Ibe942f1fd0a3996d94921b383bf1f1be0720b813
2024-01-30 20:30:11 +00:00
Ankur Bakshi
21a727749e Update lynx SVN to 32
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:30958d3af4d6102c87c1f89c65cf34cb111b3e1d)
Merged-In: Ica046accfb62104cf755106fa60d25ec0aeb0578
Change-Id: Ica046accfb62104cf755106fa60d25ec0aeb0578
2024-01-30 20:30:02 +00:00
Android Build Coastguard Worker
c2f997b4c5 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26012061'] into 24Q1-release.
Change-Id: I00f1c54f9a76908f1bfb1ccad894efa5ad82a54a
2024-01-27 03:01:54 +00:00
Cheng Chang
0593107e62 gps: Disable Vzw SUPL OTDOA
Bug: 322404137
Test: OTDOA test in b/322404137
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5acf68944dee7b76faa7855fdda998a327e9b640)
Merged-In: I9a734fd1e5cad733ab6054c0dabe9388580f5ddb
Change-Id: I9a734fd1e5cad733ab6054c0dabe9388580f5ddb
2024-01-27 02:57:35 +00:00
Android Build Coastguard Worker
00dcbfaeaf Merge cherrypicks of ['googleplex-android-review.googlesource.com/25665316'] into 24Q1-release.
Change-Id: I6f5704bda767d7ecdc6a6be4ca715a14ea61e042
2024-01-17 20:03:49 +00:00
Ankur Bakshi
610ce9a381 Update lynx SVN to 31
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5ed79c05e0283836864ce62efeb57792a4d37c2a)
Merged-In: I24599a118bebe5db84c0ffc2df00e9d554c64ddd
Change-Id: I24599a118bebe5db84c0ffc2df00e9d554c64ddd
2024-01-17 19:53:44 +00:00
Android Build Coastguard Worker
4942877d1a Snap for 11317273 from fe3d38fe37 to 24Q2-release
Change-Id: Ie71b2a56b3557ed82be054ff8ae6ab189227f3a5
2024-01-17 00:11:42 +00:00
Michael Bestas
1685f99e0d Update fingerprint/build description from UQ1A.240105.004
Change-Id: I9f22cd7e4487829c20670f28cbc28a1082d3bbdc
2024-01-08 01:50:45 +02:00
Chirayu Desai
1968aba49b vendor: UQ1A.240105.004
Change-Id: Ic769cc4fc0900a5bc2cf5b443b1baa80841d1748
2024-01-08 01:50:45 +02:00
Michael Bestas
21a4d77bbd Merge tag 'android-14.0.0_r20' into staging/lineage-21_merge-android-14.0.0_r20
Android 14.0.0 release 20

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZZXyBQAKCRDorT+BmrEO
# eJh/AJ9nA3oyHVemhLRTzEt/UnHBpZfndwCgjdoNe4SJK9YJzLwQb3HMSkZH5VE=
# =5oBW
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu Jan  4 01:47:17 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2227 signatures in the past
#      2 years.  Encrypted 4 messages in the past 24 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r20':
  Update lynx SVN to 26
  Update lynx SVN to 25
  Update lynx SVN to 25
  Update lynx SVN to 25
  Update lynx SVN to 24
  Update lynx SVN to 23
  Update lynx SVN to 23

Change-Id: I28b89719a5098c9bdf681ba3b13485a141a69ee6
2024-01-06 14:59:54 +02:00
Android Build Coastguard Worker
fa7f5d5479 Snap for 11275524 from 8e6298f772 to 24Q2-release
Change-Id: If407d2f9ea962cd3d4b9c0ce60a1f3500bf692ee
2024-01-05 00:02:45 +00:00
Android Build Coastguard Worker
bcf3309920 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25720397'] into 24Q1-release.
Change-Id: Iab70d707bbc2d97a2732e43f5407ab4c650cb628
2023-12-27 02:44:24 +00:00
KRIS CHEN
c28a716616 Revert "Update L10 bounding box to 14x14mm"
Revert submission 25359207-L10BB

Reason for revert: Revert it because the dogfood data collection is complete.

Reverted changes: /q/submissionid:25359207-L10BB

Bug: 317304728
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:388e4ee9f5d0d933f8af8fc7ed68d963306bf3d9)
Merged-In: I6b6e23c6c67277c052b976664e56139fed7781bf
Change-Id: I6b6e23c6c67277c052b976664e56139fed7781bf
2023-12-27 02:41:37 +00:00
Android Build Coastguard Worker
ba713e6d03 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25665277'] into 24Q1-release.
Change-Id: I099e25345db13d03998ca24e540f46c76ae4d9bd
2023-12-20 22:50:19 +00:00
Ankur Bakshi
634f4df7fa Update lynx SVN to 30
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6885ce3b993b9f836a702663d548fd9e2ef037e6)
Merged-In: I1f2a52bd66a1c93e18af3b92d54d3e26975b408a
Change-Id: I1f2a52bd66a1c93e18af3b92d54d3e26975b408a
2023-12-20 22:48:26 +00:00
Android Build Coastguard Worker
cbd276575f Merge cherrypicks of ['googleplex-android-review.googlesource.com/25690154', 'googleplex-android-review.googlesource.com/25688298'] into 24Q1-release.
Change-Id: I5f4b2476f9be38c34ffe981d97b71e7cfb4a4dbb
2023-12-18 23:53:50 +00:00
yixuanjiang
1d13e445a9 aoc: update mixer table for voice capture V2
Currently AoC always use 3ch in voice usecase
rather than using mic MAX microphone as ch count.
Modify the mask to map voice request

Bug: 316603846
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a5bb2e6cf0beaa5695383dde9448b6fe58ae357b)
Merged-In: Id61e5ab635e612acd9a359578ec8771a1ce00cde
Change-Id: Id61e5ab635e612acd9a359578ec8771a1ce00cde
2023-12-18 23:53:01 +00:00
yixuanjiang
93db997342 aoc: update mixer table for voice capture
Currently AoC always use 3ch in voice usecase
rather than using mic MAX microphone as ch count.
We have changed mechanism to mapping pdm mask on
voice usecase in AUD_PDM.
Modify the mask to map voice request.

Bug: 316603846
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:95a27172c112c785d90b8e05cc8fbeddf796fe25)
Merged-In: Idf92d1da0df632c6410d30147725857e55cef70b
Change-Id: Idf92d1da0df632c6410d30147725857e55cef70b
2023-12-18 23:52:51 +00:00
Android Build Coastguard Worker
b092b669f5 [coastguard skipped] Merge sparse cherrypicks from sparse-11228636-L77800030000890017 into 24Q1-release.
COASTGUARD_SKIP: Id61e5ab635e612acd9a359578ec8771a1ce00cde
COASTGUARD_SKIP: Ie47aa16ffdfc33d59d7baef2901eb1d9e8e56c9b
COASTGUARD_SKIP: Idf92d1da0df632c6410d30147725857e55cef70b

Change-Id: I317484f23e6c17fb8600b9a01a74b44dc57106e7
2023-12-18 19:13:09 +00:00
Android Build Coastguard Worker
3e26b9d36b Merge cherrypicks of ['googleplex-android-review.googlesource.com/25690154', 'googleplex-android-review.googlesource.com/25688298'] into sparse-11228636-L77800030000890017.
SPARSE_CHANGE: Idf92d1da0df632c6410d30147725857e55cef70b
SPARSE_CHANGE: Id61e5ab635e612acd9a359578ec8771a1ce00cde

Change-Id: Ie47aa16ffdfc33d59d7baef2901eb1d9e8e56c9b
2023-12-18 19:09:22 +00:00
yixuanjiang
0ef5dede39 aoc: update mixer table for voice capture V2
Currently AoC always use 3ch in voice usecase
rather than using mic MAX microphone as ch count.
Modify the mask to map voice request

Bug: 316603846
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a5bb2e6cf0beaa5695383dde9448b6fe58ae357b)
Merged-In: Id61e5ab635e612acd9a359578ec8771a1ce00cde
Change-Id: Id61e5ab635e612acd9a359578ec8771a1ce00cde
2023-12-18 19:09:12 +00:00
yixuanjiang
133a8116e9 aoc: update mixer table for voice capture
Currently AoC always use 3ch in voice usecase
rather than using mic MAX microphone as ch count.
We have changed mechanism to mapping pdm mask on
voice usecase in AUD_PDM.
Modify the mask to map voice request.

Bug: 316603846
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:95a27172c112c785d90b8e05cc8fbeddf796fe25)
Merged-In: Idf92d1da0df632c6410d30147725857e55cef70b
Change-Id: Idf92d1da0df632c6410d30147725857e55cef70b
2023-12-18 19:09:04 +00:00
Android Build Coastguard Worker
0311fd9c92 Snap for 11227258 from b687697ad7 to 24Q2-release
Change-Id: I3b5e28875ed5dc6119300a8083bc614fba729dba
2023-12-16 02:01:55 +00:00
Android Build Coastguard Worker
d4d5f5669a [coastguard skipped] Merge sparse cherrypicks from sparse-11223361-L00700030000821085 into udc-qpr1-release.
COASTGUARD_SKIP: I5f59b89c18e433c8d6e16177a3d44f7da2444092
COASTGUARD_SKIP: I2c42209ecd64e0c6ec73bbb2e795756281a635f2

Change-Id: I1dd806de9118cbc80407457ace004c9398efb7ea
2023-12-15 03:32:27 +00:00
Android Build Coastguard Worker
4c1c54e049 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25620197'] into sparse-11223361-L00700030000821085.
SPARSE_CHANGE: I2c42209ecd64e0c6ec73bbb2e795756281a635f2

Change-Id: I5f59b89c18e433c8d6e16177a3d44f7da2444092
2023-12-15 03:26:56 +00:00
Ankur Bakshi
dd6a9bd407 Update lynx SVN to 29
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:43b710269005523817f0f70697d17288affa645f)
Merged-In: I2c42209ecd64e0c6ec73bbb2e795756281a635f2
Change-Id: I2c42209ecd64e0c6ec73bbb2e795756281a635f2
2023-12-15 03:25:25 +00:00
Android Build Coastguard Worker
12958a836f Merge cherrypicks of ['googleplex-android-review.googlesource.com/25497757', 'googleplex-android-review.googlesource.com/25617919'] into udc-qpr1-release.
Change-Id: Ida46cf1e6ef1bf6d9e87ec8786cf0b9947a06309
2023-12-15 02:47:35 +00:00
Ankur Bakshi
1c5feeb40c Update lynx SVN to 28
Bug: 313797924
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8fd96082864572553e8d76055e418a61600c6cfb)
Merged-In: I1b62f6f6e86128428f8855641d334a87ff90e587
Change-Id: I1b62f6f6e86128428f8855641d334a87ff90e587
2023-12-15 02:42:49 +00:00
Ankur Bakshi
89a306577e Update lynx SVN to 27
Bug: 313696499
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f364e86d290de47c18f9020fd88901ea2ed77f5c)
Merged-In: I62ae585f1fdf41f58c1d0db85cd445afe37eae7a
Change-Id: I62ae585f1fdf41f58c1d0db85cd445afe37eae7a
2023-12-15 02:42:42 +00:00
Android Build Coastguard Worker
e40ea3bb0c Snap for 11220357 from 201e0d7659 to 24Q1-release
Change-Id: I2807285e964deeea559f2a3bb294bc82cf285359
2023-12-15 00:22:05 +00:00
6f8585f548 lynx: Bring Felica configs back
Fixes app clients that use such.

Change-Id: Ia773937560d75ea38029c2be3295ae0efa9ec1fb
Signed-off-by: AnierinB <anierin@evolution-x.org>
2023-12-14 11:48:00 +02:00
Android Build Coastguard Worker
ccdc1b5ef6 Snap for 11211173 from c977d32e4c to 24Q1-release
Change-Id: If25f54886f910f9e519795a3ee8c7da168871f9e
2023-12-13 00:05:18 +00:00
Android Build Coastguard Worker
7751a95af6 [coastguard skipped] Merge sparse cherrypicks from sparse-11206848-L88800030000735408 into udc-qpr1-release.
COASTGUARD_SKIP: I62ae585f1fdf41f58c1d0db85cd445afe37eae7a
COASTGUARD_SKIP: I8d371ff58429f406352118ba59d747f4dd35a18d

Change-Id: I7be9620a425131e392c316e6557885d4b059f494
2023-12-12 05:33:49 +00:00
Android Build Coastguard Worker
fb5888b770 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25497757'] into sparse-11206848-L88800030000735408.
SPARSE_CHANGE: I62ae585f1fdf41f58c1d0db85cd445afe37eae7a

Change-Id: I8d371ff58429f406352118ba59d747f4dd35a18d
2023-12-12 05:27:56 +00:00
Ankur Bakshi
10635798ca Update lynx SVN to 27
Bug: 313696499
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f364e86d290de47c18f9020fd88901ea2ed77f5c)
Merged-In: I62ae585f1fdf41f58c1d0db85cd445afe37eae7a
Change-Id: I62ae585f1fdf41f58c1d0db85cd445afe37eae7a
2023-12-12 05:26:20 +00:00
Android Build Coastguard Worker
29589cc930 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25365436', 'googleplex-android-review.googlesource.com/25499378'] into udc-qpr1-release.
Change-Id: I90e7ac1ad5a2dad3fde13c93e7c9644a382b73f7
2023-12-12 05:02:34 +00:00
Ankur Bakshi
9afeac9412 Update lynx SVN to 26
Bug: 313696499
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bcbc47f9b62759490514f563db329dd28f885765)
Merged-In: I59c0060571e481d7d79a25237e17ddc921e542bb
Change-Id: I59c0060571e481d7d79a25237e17ddc921e542bb
2023-12-12 05:00:42 +00:00
Ankur Bakshi
1791f1b441 Update lynx SVN to 25
Bug: 309529736
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:24c5451e23065adc0eb1d61c63048b711923e674)
Merged-In: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
Change-Id: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
2023-12-12 05:00:35 +00:00
Android Build Coastguard Worker
01880f08e7 Snap for 11206181 from b687697ad7 to 24Q1-release
Change-Id: If20af6f9802f8cc307c0543342583135c5189341
2023-12-12 02:02:05 +00:00
Android Build Coastguard Worker
f4366a9819 Snap for 11206181 from e8d02b6ede to 24Q1-release
Change-Id: Ia9e016a0d5b841f7cab0ca02a437b35d5c687b94
2023-12-12 02:02:04 +00:00
Michael Bestas
9096397971 Update fingerprint/build description from UQ1A.231205.015
Change-Id: I82f2f1e05d4f8f717e00281bda80c2ee91c76536
2023-12-10 16:53:32 +02:00
Michael Bestas
83607a8cd7 proprietary-files: UQ1A.231205.015
Change-Id: I6eea5226a660f82fbf0f0ac5a34ecafd671be9df
2023-12-10 16:41:00 +02:00
Michael Bestas
aa4989cd82 Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17
Android 14.0.0 Release 17 (UQ1A.231205.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
# eEcaAJ9jbP/JlehjXGWuw6P9N31HltDjVQCghLYzyTzatdUgCcUkva/nKugmrPU=
# =AJwW
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:44:34 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2194 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ted Wang (1) and others
# Via Android Build Coastguard Worker (3) and others
* tag 'android-14.0.0_r17':
  L10 sepolicy update for ssr coredump
  Supress kernel avc log before SELinux initialized
  Add sepolicy for grilservice

Change-Id: I3a4138187f86516b4ea8278f2ce43d7c900ec675
2023-12-10 16:24:47 +02:00
Michael Bestas
fa9f0308cc Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17
Android 14.0.0 Release 17 (UQ1A.231205.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
# eBIFAKCSX2cyS5cCTbGCssiqfs/KI5Rm/wCfVMg0zZM/DUjpdQ6zC3C8hDvmHUI=
# =3TWQ
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:44:34 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2194 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Lokesh Kumar Goel (5) and others
# Via Automerger Merge Worker (109) and Android Build Coastguard Worker (47)
* tag 'android-14.0.0_r17': (43 commits)
  Update lynx SVN to 22
  Adding Fast Pair extended IDs for L10
  Update lynx SVN to  21
  Update lynx SVN to  20
  Apply new IA requirement on M23 device
  Disable limiting camera_hal for LAUNCH hint
  Config P23a as LE audio hidden by default
  Revert "DeviceAsWebcam: Add overlays for physical camera id"
  audio: FM table check in for QPR1
  Disable 32k dual mic support on P23a project
  [USB Audio AIDL] Fix wrong capture path on mixer_paths.xml
  Update lynx SVN to 19
  Update lynx SVN to 18
  add mixer path for BT SCO voice call
  gps: set high accuracy shape mode and enable always-on measurements log
  [AIDL] Add mixer paths for BT
  [USB Audio AIDL] Add mixer_paths for usb audio.
  update the gps conf to the latest version
  Adjust Power button light reveal position in line with the power button for L10
  gps: Disable Vzw SUPL OTDOA
  ...

 Conflicts:
	device-lynx.mk

Change-Id: I77fcc3326dd0a46b99183e38a3a9cbe7297c3700
2023-12-10 16:24:40 +02:00
Android Build Coastguard Worker
f3964ea554 Snap for 11200327 from 76bf5beb10 to 24Q1-release
Change-Id: I980e1ab1a839a7a512073459b9a5c67299be7d72
2023-12-09 04:02:25 +00:00
Android Build Coastguard Worker
75940b7c66 Snap for 11192287 from 2d460b2afc to 24Q1-release
Change-Id: I39859bcd1b2dd8268c8167e903eb2fe57327f82a
2023-12-08 00:02:46 +00:00
Android Build Coastguard Worker
4e0771b4dd Snap for 11186783 from 1d9b0c8f26 to 24Q1-release
Change-Id: Iac25d0775fcf329221b64ad5dfc4c3677ef003d6
2023-12-07 00:02:08 +00:00
Android Build Coastguard Worker
cb3d91f201 Snap for 11180250 from cadc3a71b6 to 24Q1-release
Change-Id: I5ce9ece8d8c9ee8b3f3a91140264503351a8d3a2
2023-12-06 00:04:29 +00:00
Michael Bestas
b8c0e596fb lynx: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2023-12-04 19:43:14 +02:00
Michael Bestas
d4ee330545 lynx: Sort blobs list
Change-Id: I9ee0dbbf80b3b556cbdd2c9aea233309dac9d0e1
2023-12-04 14:29:24 +02:00
Android Build Coastguard Worker
f4c04d3cbb Snap for 11162593 from 696029f7df to 24Q1-release
Change-Id: If2ed17b0b683ebdaebac9b2220627a3762c565e7
2023-12-01 00:02:36 +00:00
Michael Bestas
995356402b lynx: Switch to our charging animation
Change-Id: I747ca06359eacbcee995a5f42a532fb02d39c376
2023-11-29 19:40:06 +02:00
Michael Bestas
65fccda312 lynx: Remove unused blobs
Change-Id: I02ac1a6c34d69317b9bd7dfa72dc4f740e3f6f17
2023-11-29 19:40:05 +02:00
Android Build Coastguard Worker
ee6257efa4 Snap for 11146061 from 4f9468f558 to 24Q1-release
Change-Id: I67a70d00066af644d447e855667b5c1c5422e08f
2023-11-28 00:02:37 +00:00
Android Build Coastguard Worker
433d33f27a Snap for 11130229 from 086d9fdfb0 to 24Q1-release
Change-Id: I66f1343f2630109a071af7f3dec915609f44a10c
2023-11-22 00:03:29 +00:00
Android Build Coastguard Worker
bd54c3dcbc [coastguard skipped] Merge sparse cherrypicks from sparse-11129216-L97900030000403629 into udc-qpr1-release.
COASTGUARD_SKIP: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
COASTGUARD_SKIP: I91ee87daac4b1641d8f81be82988c956e4f1d560

Change-Id: I8cd44c2c6f366b62723b118af9a2bba78ba99327
2023-11-21 19:37:54 +00:00
Android Build Coastguard Worker
f858023809 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25365436'] into sparse-11129216-L97900030000403629.
SPARSE_CHANGE: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762

Change-Id: I91ee87daac4b1641d8f81be82988c956e4f1d560
2023-11-21 19:27:49 +00:00
Ankur Bakshi
42b7715e0b Update lynx SVN to 25
Bug: 309529736
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:24c5451e23065adc0eb1d61c63048b711923e674)
Merged-In: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
Change-Id: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
2023-11-21 19:26:26 +00:00
Android Build Coastguard Worker
79086f85c1 Snap for 11124398 from d4d4d10e79 to 24Q1-release
Change-Id: I9cda0a81ce52d156fef46430e1f69d5c94dbb1b7
2023-11-21 00:02:01 +00:00
Android Build Coastguard Worker
2a4c945205 Snap for 11117647 from 24918c3d38 to 24Q1-release
Change-Id: Ie91b6fabce40f2f136e2d4e60e05140e9b474338
2023-11-18 02:01:56 +00:00
Android Build Coastguard Worker
2b26219f55 Snap for 11111096 from 449d7b4cf8 to 24Q1-release
Change-Id: I8b5bd4d5092c86c686de2c7ab9cbff58ae5bce46
2023-11-17 00:01:56 +00:00
Android Build Coastguard Worker
1f16172eca [coastguard skipped] Merge sparse cherrypicks from sparse-11110167-L88200030000349168 into udc-qpr1-release.
COASTGUARD_SKIP: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
COASTGUARD_SKIP: I4792a083f2348372d0f02f5593a0e03603a99bc1

Change-Id: I698d0cbd717d887d450c0623e2179ac9d47d37eb
2023-11-16 21:04:10 +00:00
Android Build Coastguard Worker
ed9b48c76f Merge cherrypicks of ['googleplex-android-review.googlesource.com/25365436'] into sparse-11110167-L88200030000349168.
SPARSE_CHANGE: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762

Change-Id: I4792a083f2348372d0f02f5593a0e03603a99bc1
2023-11-16 20:59:31 +00:00
Ankur Bakshi
50fe440837 Update lynx SVN to 25
Bug: 309529736
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:24c5451e23065adc0eb1d61c63048b711923e674)
Merged-In: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
Change-Id: I2c65f3c6a9488a96d3793ee505a3d91fd6ed1762
2023-11-16 20:58:08 +00:00
Android Build Coastguard Worker
14438f93b9 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25290512', 'googleplex-android-review.googlesource.com/25343936'] into udc-qpr1-release.
Change-Id: I27f2eb26adab744a7447065c56db334805bd9bc3
2023-11-16 18:50:04 +00:00
Ankur Bakshi
80c0fba55f Update lynx SVN to 24
Bug: 309529736
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:13f56384a88aac163dc647bbccb0b8726d37c9a6)
Merged-In: Id02da96e176692058b6075f35e29dcdda92e3367
Change-Id: Id02da96e176692058b6075f35e29dcdda92e3367
2023-11-16 18:39:52 +00:00
Ankur Bakshi
dc69662ca3 Update lynx SVN to 23
Bug: 302612466
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b7613b64d956296125345f8a219261aa1bf89bac)
Merged-In: I06ff3d93eb0bfd675ad63d0b074f2c4a4da7ff21
Change-Id: I06ff3d93eb0bfd675ad63d0b074f2c4a4da7ff21
2023-11-16 18:39:44 +00:00
Android Build Coastguard Worker
56da9f07b8 Snap for 11089623 from ff345904af to 24Q1-release
Change-Id: If857a2b5a022090b710730c8f3099d18dc5301f1
2023-11-14 00:02:05 +00:00
Naman Sood
67a5f2e039 lynx: fix padding in status bar
These overlays seem to be left over from barbet. With these values
adjusted, the padding on left and right sides of the status bar is
more symmetrical, and in line with the lynx stock ROM.

Change-Id: I10c3f495b7627200b05a24f5b259f789e62ada13
2023-11-12 11:49:05 +00:00
Beverly
f81f1fb40c Update udfps burn in vertical translation
So that the mm conversion is less than 1.

Also update missing config auth_ripple_alpha_in_duration
which should have been migrated to be 0 since the device
supports UDFPS.

Test: manual
Bug: 237311757
Change-Id: Ia0ba3145250ea16e58803651d77471f9c701b444
2023-11-12 11:49:05 +00:00
Android Build Coastguard Worker
dedcc17a6c Snap for 11086585 from 0741f1bb95 to 24Q1-release
Change-Id: I5999b15eb8a08e345e488a2d5264d81eb3b13768
2023-11-11 22:01:52 +00:00
LuK1337
edce8f1777 lynx: Build mali_pixel prior to mali_kbase
mali_kbase depends on mali_pixel symbols and thus has to be built first
so that Module.symvers gets generated.

Change-Id: Id4b44eda52a3a3f2d794e3a321e30934b1d22781
2023-11-11 16:40:09 +00:00
Android Build Coastguard Worker
7919116d70 [coastguard skipped] Merge sparse cherrypicks from sparse-11084887-L72000030000226452 into udc-qpr1-release.
COASTGUARD_SKIP: I06ff3d93eb0bfd675ad63d0b074f2c4a4da7ff21
COASTGUARD_SKIP: I344bfa7b23df50af42acf6d3dc9d78e95c8ef218

Change-Id: I341e87749bd79ae17304004bcb70997a1f0417d2
2023-11-11 01:16:04 +00:00
Android Build Coastguard Worker
33d5bc465b Merge cherrypicks of ['googleplex-android-review.googlesource.com/25290512'] into sparse-11084887-L72000030000226452.
SPARSE_CHANGE: I06ff3d93eb0bfd675ad63d0b074f2c4a4da7ff21

Change-Id: I344bfa7b23df50af42acf6d3dc9d78e95c8ef218
2023-11-11 01:07:07 +00:00
Ankur Bakshi
104412ea38 Update lynx SVN to 23
Bug: 302612466
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b7613b64d956296125345f8a219261aa1bf89bac)
Merged-In: I06ff3d93eb0bfd675ad63d0b074f2c4a4da7ff21
Change-Id: I06ff3d93eb0bfd675ad63d0b074f2c4a4da7ff21
2023-11-11 01:05:51 +00:00
Android Build Coastguard Worker
63ec67dffe Snap for 11078623 from 14faa31077 to 24Q1-release
Change-Id: I915afe6f301fd91a6389347ebc26cc933b32a281
2023-11-10 00:02:07 +00:00
Android Build Coastguard Worker
c749c51710 Snap for 11071763 from 22016f30e0 to 24Q1-release
Change-Id: I9cfff4d9d7e0e8d3d6c3a695596dc52aa5871885
2023-11-09 00:02:09 +00:00
Michael Bestas
741fd0dc2c Update fingerprint/build description from UP1A.231105.003
Change-Id: I4409283334cdac4bd341fa1ebaed141d807bf127
2023-11-09 01:10:56 +02:00
Michael Bestas
b2f6e070f6 Merge tag 'android-14.0.0_r14' into staging/lineage-21_merge-android-14.0.0_r14
Android 14.0.0 release 14

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZUmd7AAKCRDorT+BmrEO
# eBMgAKCGMsAQjtIs5hu+ECqo3fFlEgZRyACgkmJl+ibAEAA0RnIW/YVSSKnQeWY=
# =2Cfg
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Nov  7 04:16:12 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2045 signatures in the past
#      2 years.  Encrypted 4 messages in the past 22 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (4) and Lokesh Kumar Goel (3)
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r14':
  Update lynx SVN to  20
  Update lynx SVN to 19
  Update lynx SVN to 19
  Update lynx SVN to 19
  Update lynx SVN to 18
  Update lynx SVN to  17
  Update lynx SVN to  17

Change-Id: Ic2445f4452bf53c8559c8047e43399bc7692f204
2023-11-08 01:28:53 +02:00
Android Build Coastguard Worker
bb054d385b Snap for 11059422 from b8729b4c8c to 24Q1-release
Change-Id: I3a9308fc816da45bccbd314a2f738191b5ffb236
2023-11-07 02:02:31 +00:00
Android Build Coastguard Worker
3fbe630535 Snap for 11031655 from ea226921ea to 24Q1-release
Change-Id: Icdf153bd2676672c6814592ce5bddeff2dec431c
2023-11-01 01:02:40 +00:00
Android Build Coastguard Worker
ca65e8c52a Snap for 11025555 from ff1256f40c to 24Q1-release
Change-Id: I24595200787238a67d237d834856f6f303be4636
2023-10-31 01:02:17 +00:00
Android Build Coastguard Worker
3d4e6b21f1 Snap for 11020550 from 138db44373 to 24Q1-release
Change-Id: Idb19d3cf8eb2afa414a5cf2d9c335c2a9da4ad39
2023-10-29 23:02:42 +00:00
Michael Bestas
5cee66b067 lynx: Drop ufs-pixel-fips140.ko
Change-Id: Id78a5edc62e6464270b395a0bd989443e32972a1
2023-10-29 23:30:58 +02:00
Neel Chauhan
b9022d7374 lynx: Build external modules
Change-Id: Ia1ee2e7a84cba6bcbc77fb40aba20dcd8debe299
2023-10-29 23:30:51 +02:00
Michael Bestas
ab68d6b8cc lynx: Inline kernel building
Change-Id: I629c70b74db44d02847212b774982060ab84f1d2
2023-10-29 23:30:40 +02:00
Jesse Chan
f18188fe03 lynx: overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2023-10-29 23:30:15 +02:00
Android Build Coastguard Worker
1744a4e500 Snap for 11017726 from ae5df6c5a3 to 24Q1-release
Change-Id: I7085f22a59802fd51d081395f47c553a3b0483fa
2023-10-28 03:11:56 +00:00
Android Build Coastguard Worker
252fc1193b Snap for 11012804 from 6141679fa5 to 24Q1-release
Change-Id: I60e520ecc34bb0cc0e8542a9a6ca4bd200bedff9
2023-10-27 03:19:04 +00:00
Android Build Coastguard Worker
01c660fcae Merge cherrypicks of ['googleplex-android-review.googlesource.com/24699139', 'googleplex-android-review.googlesource.com/25176539'] into udc-release.
Change-Id: I836b68927b6392018cd5cc41fcff46e54c732a27
2023-10-26 19:49:55 +00:00
Lokesh Kumar Goel
c6d9250e8d Update lynx SVN to 20
Bug: 302612466
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3a0d94f0d0b2de25d43de4ab48e76e43c04c0c14)
Merged-In: I3929cc8f47075a22d47c580a1ebc3acdef5ee589
Change-Id: I3929cc8f47075a22d47c580a1ebc3acdef5ee589
2023-10-26 19:47:07 +00:00
Ankur Bakshi
e2f4ec4c29 Update lynx SVN to 19
Bug: 298087649
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2b2fdad817b56ce27d7e4097965dc2cddc68f6f8)
Merged-In: I370515ae8b4f972059a8af4625dc55a052bb7348
Change-Id: I370515ae8b4f972059a8af4625dc55a052bb7348
2023-10-26 19:46:58 +00:00
Android Build Coastguard Worker
a674550eef Snap for 11005173 from 8ffba293dd to 24Q1-release
Change-Id: Ie295a265057798c98c90205b88f8bddb5cbfe4b2
2023-10-26 01:35:37 +00:00
Android Build Coastguard Worker
53fe2dee94 Snap for 10992821 from f924e4d528 to 24Q1-release
Change-Id: I11488c88bc236aef458a6319adb072d22d144a68
2023-10-24 01:05:44 +00:00
Android Build Coastguard Worker
18cff74a3d Snap for 10985023 from f10b2a6a41 to 24Q1-release
Change-Id: I70527b4b7d82353334df1035a6906407fcbe653b
2023-10-21 03:05:29 +00:00
Android Build Coastguard Worker
32929978a9 Snap for 10985023 from 71af0a7d9a to 24Q1-release
Change-Id: Ie9b5f593e8606c63455ed0c59ffc1e38c5c6f87b
2023-10-21 03:05:28 +00:00
Michael Bestas
6c6ca16684 lynx: overlay: Configure aux cameras for Aperture
Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Change-Id: I3d1c93057b5c2a1ba09c06a945d538d2043f30fd
2023-10-18 00:06:09 +03:00
Tommy Webb
fbe97741de Limit max fingerprints to 4 per user
Trying to add more than 4 fingerprints per user causes the Udfps
overlay to not appear and shows the following message in logs:
`E Biometrics/EnrollClient: Reached enrollment limit`.

Change-Id: I26707d5b50b28d032b117e22ba703c5fc0dfe3a2
2023-10-18 00:06:09 +03:00
Chirayu Desai
e882ae85d4 Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2023-10-18 00:06:08 +03:00
Ethan Chen
7f648cc3f0 Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2023-10-18 00:06:08 +03:00
Michael Bestas
6151b5e349 lynx: Add HbmSVManager RRO overlay
* Based on redfin

Change-Id: I54d885c233151498372e1b510284d6a297ac3e94
2023-10-18 00:06:08 +03:00
Michael Bestas
1de5d45503 Include wireless_charger makefile
This includes the required sepolicy and compatibility matrix
in the build.

Change-Id: I3096357c5f45e664a7b39870fdc053e48d1361ad
2023-10-18 00:06:08 +03:00
Bruno Martins
1b8b6bcc67 overlay: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2023-10-18 00:06:08 +03:00
Danny Lin
f5c304f97a overlay: Settings: Enable Smooth Display setting
lynx has peak refresh rate higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2023-10-18 00:06:08 +03:00
Alessandro Astone
0afc7798cf Rename privapp-permissions file to avoid conflict with gapps
When these permissions are updated and MindTheGapps are installed
addon.d will revert them to their previous state, preventing the
system to boot for missing privapp permissions in the whitelist.

Change-Id: I1a458dc242efcd422569b871dbfe084a33c76903
2023-10-18 00:06:08 +03:00
Chirayu Desai
8470023a55 lynx: Set up proprietary files extraction
* The proprietary files lists are generated by comparing stock partition
  contents with AOSP generated partitions.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b78ccf212d8364070c40fe3c7d06d4048e3fe4
2023-10-18 00:06:04 +03:00
Android Build Coastguard Worker
286a67534b Snap for 10958510 from fe5397ebc7 to 24Q1-release
Change-Id: Ifdd1854446bd078c467a03184d98a088c1534e18
2023-10-17 02:29:51 +00:00
Android Build Coastguard Worker
0b2d5593ea Snap for 10958510 from f639545678 to 24Q1-release
Change-Id: I6e44e0d57ed69354eb683b99a380d19c03362168
2023-10-17 02:29:51 +00:00
Android Build Coastguard Worker
96dd78c782 Snap for 10951558 from cd9198f5b9 to 24Q1-release
Change-Id: I97e8259576b4da8746653cf68ee0890d55fb7589
2023-10-15 01:03:04 +00:00
Android Build Coastguard Worker
3e681001ec Snap for 10950137 from f43795206a to 24Q1-release
Change-Id: Ib7608fc75a1dca6cf168042381c6731a5a2a7a93
2023-10-14 05:04:26 +00:00
Ethan Chen
7080669476 Declare EUICC permission
This is a squash of the following:

Author: Ethan Chen <intervigil@gmail.com>
Date:   Sat Dec 1 13:53:00 2018 -0800

    Declare EUICC permission

    Change-Id: I1b151021ca9fc6cf35141b2ccb337bc83197089e

Author: razorloves <razorloves@gmail.com>
Date:   Fri Oct 18 00:06:22 2019 -0500

    Move eUICC permissions xml to /product

    All eUICC items were moved to /product in Q.

    Change-Id: I614f86b16f61959c47465863ab1d5d55030209ab

Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2023-10-12 20:20:45 +03:00
Chirayu Desai
4a71ff26ee Add initial Lineage product makefiles
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2023-10-12 20:20:27 +03:00
Michael Bestas
6cd6bcb384 Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2023-10-12 20:19:23 +03:00
Michael Bestas
7c112d3429 Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2023-10-12 20:19:19 +03:00
Michael Bestas
2c8dcf0b9f Add 'sepolicy/' from tag 'android-14.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 03fb5d8f95
git-subtree-split: 63a6a5786a
Change-Id: Ifd0201f55930900ca5a6875156600411518bcf07
2023-10-12 20:18:06 +03:00
Android Build Coastguard Worker
65aef3e217 Snap for 10917888 from 2eee63a4db to 24Q1-release
Change-Id: I07d34055dbc31b599ea1e2ba773997b495e0b3ee
2023-10-07 23:03:57 +00:00
Android Build Coastguard Worker
7da1cf5e54 Snap for 10917888 from f0a19d159f to 24Q1-release
Change-Id: I3332cd6ee2f7b1c8ace5f97bfac70ef19805a067
2023-10-07 23:03:57 +00:00
Android Build Coastguard Worker
6a3a1f3a31 Snap for 10903783 from 432bf49519 to 24Q1-release
Change-Id: I732ef630bf75f71b7b47027cc1fab18f4e6bbb91
2023-10-05 03:04:17 +00:00
Android Build Coastguard Worker
f1cbd49b24 Snap for 10897809 from 8bfa084300 to 24Q1-release
Change-Id: I2d4164b0d46b79e505c7f5329f8ee05c20f49589
2023-10-04 02:29:08 +00:00
Android Build Coastguard Worker
e1e8c42f23 Snap for 10884074 from ef87243fd5 to 24Q1-release
Change-Id: Ie35cfb62958404ec97f38877656bca63e0e6b039
2023-09-30 03:04:17 +00:00
Android Build Coastguard Worker
4069c95fc8 Snap for 10878163 from ce1d10ea99 to 24Q1-release
Change-Id: I9e8a5703fbdff9b4f57774dd6240de9f9f201f08
2023-09-29 01:04:00 +00:00
Android Build Coastguard Worker
c24b0268cc [coastguard skipped] Merge sparse cherrypicks from sparse-10873617-L67100000963226378 into udc-release.
COASTGUARD_SKIP: I370515ae8b4f972059a8af4625dc55a052bb7348
COASTGUARD_SKIP: I2cf82fd6b78f1a393f3eeac3b5b92a9dad7984a3

Change-Id: I6b557c5886575364d565bd791405e7d21b6b392c
2023-09-28 02:18:26 +00:00
Android Build Coastguard Worker
c286da94c3 Merge cherrypicks of ['googleplex-android-review.googlesource.com/24699139'] into sparse-10873617-L67100000963226378.
SPARSE_CHANGE: I370515ae8b4f972059a8af4625dc55a052bb7348

Change-Id: I2cf82fd6b78f1a393f3eeac3b5b92a9dad7984a3
2023-09-28 02:12:55 +00:00
Ankur Bakshi
158be3ee2a Update lynx SVN to 19
Bug: 298087649
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2b2fdad817b56ce27d7e4097965dc2cddc68f6f8)
Merged-In: I370515ae8b4f972059a8af4625dc55a052bb7348
Change-Id: I370515ae8b4f972059a8af4625dc55a052bb7348
2023-09-28 02:11:18 +00:00
Android Build Coastguard Worker
a02ee8f56e Snap for 10872577 from d37d551b86 to 24Q1-release
Change-Id: I99047d6b52120dd233822923e07fb9a048cff656
2023-09-28 01:09:05 +00:00
Android Build Coastguard Worker
f8a366be4a Snap for 10843824 from 918ef34b5a to 24Q1-release
Change-Id: I30d300cf70af00fe36204c8019efdf894ad40f17
2023-09-21 21:52:36 +00:00
Android Build Coastguard Worker
475184bc4e Snap for 10843824 from a1ed0e4240 to 24Q1-release
Change-Id: I0f8b55a2b2a933af8b62c1207aad64084d579886
2023-09-21 21:52:36 +00:00
Android Build Coastguard Worker
ae26331373 [coastguard skipped] Merge sparse cherrypicks from sparse-10817346-L96600000963063472 into udc-release.
COASTGUARD_SKIP: Ic535c3e3c995956a7b1a5f02073d15138fe0c349
COASTGUARD_SKIP: I370515ae8b4f972059a8af4625dc55a052bb7348

Change-Id: Id3ea56710e15c35c5bfc83f79c05db7d517028d8
2023-09-15 23:24:11 +00:00
Android Build Coastguard Worker
6bb675b68b Merge cherrypicks of ['googleplex-android-review.googlesource.com/24699139'] into sparse-10817346-L96600000963063472.
SPARSE_CHANGE: I370515ae8b4f972059a8af4625dc55a052bb7348

Change-Id: Ic535c3e3c995956a7b1a5f02073d15138fe0c349
2023-09-15 23:18:58 +00:00
Ankur Bakshi
6dc78824ed Update lynx SVN to 19
Bug: 298087649
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2b2fdad817b56ce27d7e4097965dc2cddc68f6f8)
Merged-In: I370515ae8b4f972059a8af4625dc55a052bb7348
Change-Id: I370515ae8b4f972059a8af4625dc55a052bb7348
2023-09-15 23:16:35 +00:00
Android Build Coastguard Worker
de9ed37568 Merge cherrypicks of ['googleplex-android-review.googlesource.com/24436879', 'googleplex-android-review.googlesource.com/24687081'] into udc-release.
Change-Id: Icf7960119ff08d482cad0be25d94d156a6dd4e56
2023-09-15 21:22:18 +00:00
Ankur Bakshi
2b1dc22c33 Update lynx SVN to 18
Bug: 298087649
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9909067723713b58b08c883c57a954429b6707d9)
Merged-In: Iadd6e0f8767cc8acfa0040b43190b3f2b35320de
Change-Id: Iadd6e0f8767cc8acfa0040b43190b3f2b35320de
2023-09-15 21:10:12 +00:00
Lokesh Kumar Goel
433b6cbff0 Update lynx SVN to 17
Bug: 295937899
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:75f1a483a673e7946fdeda74700feb74a771669e)
Merged-In: Iffadfd1f436b5ce27c2332a68f6d8d7c5b76507e
Change-Id: Iffadfd1f436b5ce27c2332a68f6d8d7c5b76507e
2023-09-15 21:10:01 +00:00
Android Build Coastguard Worker
73e47ff455 [coastguard skipped] Merge sparse cherrypicks from sparse-10754064-L40700000962919403 into udc-release.
COASTGUARD_SKIP: I646942c37ca68dd80c724ba2219ae226ba12d9af
COASTGUARD_SKIP: Iffadfd1f436b5ce27c2332a68f6d8d7c5b76507e

Change-Id: I6bebcd994f89da11d2c4f2467d73dbb7214da516
2023-09-05 17:45:42 +00:00
Android Build Coastguard Worker
95242355d9 Merge cherrypicks of ['googleplex-android-review.googlesource.com/24436879'] into sparse-10754064-L40700000962919403.
SPARSE_CHANGE: Iffadfd1f436b5ce27c2332a68f6d8d7c5b76507e

Change-Id: I646942c37ca68dd80c724ba2219ae226ba12d9af
2023-09-05 17:38:19 +00:00
Lokesh Kumar Goel
b623e80fcd Update lynx SVN to 17
Bug: 295937899
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:75f1a483a673e7946fdeda74700feb74a771669e)
Merged-In: Iffadfd1f436b5ce27c2332a68f6d8d7c5b76507e
Change-Id: Iffadfd1f436b5ce27c2332a68f6d8d7c5b76507e
2023-09-05 17:36:13 +00:00
Android Build Coastguard Worker
83c00e4bd8 Snap for 10587196 from 378e0dc8e3 to udc-qpr1-release
Change-Id: I98e4d6ab691b4cba4c84faeffe79b851b47e52da
2023-07-31 23:02:43 +00:00
Android Build Coastguard Worker
a075f3d851 Snap for 10354447 from 3e3f8080aa to udc-qpr1-release
Change-Id: Iba7b6c0947b0dba0e4b82671be0bcb745dbb5d6b
2023-06-21 03:02:34 +00:00
Android Build Coastguard Worker
2673df4758 Snap for 10268796 from 72e0e7fa38 to udc-qpr1-release
Change-Id: I57971e90ae4e0b2151fb1d8144736d9a6df12e16
2023-06-07 03:02:21 +00:00
Android Build Coastguard Worker
63a6a5786a Snap for 9914775 from c1c6e069f6 to udc-release
Change-Id: I4ec5d340c17f0040c2a7fad570beb3e226eaacda
2023-04-11 01:07:39 +00:00
Android Build Coastguard Worker
becb4aa22d Snap for 9815702 from 90d58d2553 to udc-release
Change-Id: Ie0b8b5a27e90ebf53f1ee81c907a4b196ba7c452
2023-03-25 03:03:12 +00:00
Android Build Coastguard Worker
024d83b6fb Snap for 9682161 from cf61d5959d to udc-release
Change-Id: I25a0777d27f8ea765280993171706e0bcd250db3
2023-03-03 02:08:01 +00:00
Android Build Coastguard Worker
f398ff843b Snap for 9626528 from 5925557552 to udc-release
Change-Id: Icb8669579231ea8c16169b551442822945d74abd
2023-02-18 06:07:18 +00:00
Android Build Coastguard Worker
0f940e5f22 Snap for 9613524 from ae260626bc to udc-release
Change-Id: Id5d369fc45c2eddbb9420567ff975d91f657a183
2023-02-16 02:03:08 +00:00
Android Build Coastguard Worker
b960d7889c Snap for 9489393 from fa9c88aef8 to udc-release
Change-Id: I076fc5e3144b3d381b926eea6cbdaf4c973ab070
2023-01-14 04:03:17 +00:00
Android Build Coastguard Worker
b44200d0fb Snap for 9484614 from e5a1cde5d4 to udc-release
Change-Id: If83c0f68f1e4ac6675557f70fbe0c51f4566fd70
2023-01-13 02:03:52 +00:00
Android Build Coastguard Worker
ab370980e3 Snap for 9428991 from c70f56e2df to udc-release
Change-Id: I00d8de7d6d87fc9fd1b76924d52d3a1ed2ba2c81
2022-12-22 02:02:42 +00:00
Android Build Coastguard Worker
f439d82f7a Snap for 9365099 from 35d63da2f6 to udc-release
Change-Id: Ia931173db956292586c2321500772bbbc7048a15
2022-12-03 04:03:02 +00:00
Android Build Coastguard Worker
10a378bd0a Snap for 9301516 from 50b8efd9eb to udc-release
Change-Id: I2034e12e7cc4e0a239c55fa6743bd26d767ec747
2022-11-17 02:07:24 +00:00
Android Build Coastguard Worker
5b4131e18f Snap for 9235419 from 07be62d1ab to udc-release
Change-Id: I28977eb29d0e9c613169b6d3f814f39ce84b5b83
2022-10-30 23:02:56 +00:00
Android Build Coastguard Worker
0b48578642 Snap for 9185739 from 63b5468da9 to udc-release
Change-Id: I6d572898c72e2a4fd9a1e2bd87165f995ba6e00f
2022-10-18 01:03:06 +00:00
Android Build Coastguard Worker
a11ee7aa8b Snap for 9000845 from 852dfa55f8 to udc-release
Change-Id: I61b1388d05af1166e29cafd117a486601ddd518e
2022-08-27 03:03:36 +00:00
Android Build Coastguard Worker
2dae73adf1 Snap for 8995964 from 674508eccc to udc-release
Change-Id: I3d8d2a6ae3040cff4eb239c24d96655156eff2cf
2022-08-26 01:07:45 +00:00
Android Build Coastguard Worker
02fde4c7cd Snap for 8949033 from 867fb0a6d8 to udc-release
Change-Id: I9867041cc470299ca0999b480786fb32054c00b7
2022-08-16 01:02:57 +00:00
Android Build Coastguard Worker
3293e92123 Snap for 8904202 from 412d4909c5 to udc-release
Change-Id: Iaddf5dd13f93fa6cc8c9c64c21dfbb1fb02d8f0e
2022-08-04 01:07:46 +00:00
Android Build Coastguard Worker
8d49cdbd42 Snap for 8898690 from f2a7632106 to udc-release
Change-Id: I6b28a925bc56117b4c453b8c09e4ffeaefd35e8c
2022-08-03 01:03:06 +00:00
Android Build Coastguard Worker
e645e0f3a4 Snap for 8886447 from 4deea18f30 to udc-release
Change-Id: I868c80e59130d171e4c5b7d31f176cf8649e0358
2022-07-30 03:03:00 +00:00
Android Build Coastguard Worker
383ea741c6 Snap for 8877481 from 840fdf2d5f to udc-release
Change-Id: I605224537a46b8d2c95680766b9621079d147f18
2022-07-28 01:07:42 +00:00
Android Build Coastguard Worker
9da24b3a7f Snap for 8863164 from 8181c4b5a8 to udc-release
Change-Id: I7f6fb7b375a149de743fd815aea1388528421463
2022-07-23 05:08:21 +00:00
Android Build Coastguard Worker
9708950030 Snap for 8856406 from 50589bd0fb to udc-release
Change-Id: I53f976493567368f87c6d653c509a1413bbcb194
2022-07-22 01:03:01 +00:00
Android Build Coastguard Worker
774a260200 Snap for 8847581 from 02d993c00f to udc-release
Change-Id: I3888bba8623eab5bfdc9c05cabbc10d043e9fbfd
2022-07-20 01:02:50 +00:00
Android Build Coastguard Worker
39fce1af32 Snap for 8843601 from c8cb1782e0 to udc-release
Change-Id: Ic6e16f303e6a2693ba0a3fcae2a516c96354f9ec
2022-07-19 01:03:08 +00:00
Android Build Coastguard Worker
eed4810894 Snap for 8840107 from 41e929eb7b to udc-release
Change-Id: I4cf85839353c346ee57d9a8fffb6daad0b3d3b0e
2022-07-17 23:12:01 +00:00
Android Build Coastguard Worker
b0b0b53f73 Snap for 8827652 from bdf96fa6ad to udc-release
Change-Id: I7212f392bcf23f6c604a49c13672b8998223bb77
2022-07-14 01:03:51 +00:00
Android Build Coastguard Worker
8cc6f5a186 Snap for 8803621 from 01ed337d75 to udc-release
Change-Id: I6951902d4aca6240d24835d5cfc95fb4b869e974
2022-07-07 01:04:06 +00:00
Android Build Coastguard Worker
396a745860 Snap for 8788539 from 3689b206c9 to udc-release
Change-Id: Id953de25ec2c0dff1e6de136f49f09186a7338ec
2022-07-01 03:03:58 +00:00
Android Build Coastguard Worker
7ceab840ed Snap for 8784768 from 4d3aba4ef1 to udc-release
Change-Id: Iec6fa075398bba27ed284eefc94cad84bfb11638
2022-06-30 03:02:55 +00:00
Android Build Coastguard Worker
d99163373f Snap for 8780071 from 8a7986278e to udc-release
Change-Id: Ia3efe8b9b36a54106eaf4c101490aad6c029766e
2022-06-29 03:02:53 +00:00
Android Build Coastguard Worker
e7fcde08f4 Snap for 8730731 from 09693514fd to udc-release
Change-Id: If09500bf1d4f5f486620c3169576d41c4513a728
2022-06-16 03:02:58 +00:00
Android Build Coastguard Worker
8a9cfd2490 Snap for 8700596 from 5ab177e482 to udc-release
Change-Id: I0e04a5735e6accf1048e1a96775adccf984ad5d0
2022-06-09 03:03:14 +00:00
Android Build Coastguard Worker
5786a473ac Snap for 8693938 from 50c530ee74 to udc-release
Change-Id: I590291170906877afb10028076866c39c3d50026
2022-06-08 03:03:45 +00:00
Android Build Coastguard Worker
7f1a8feb01 Snap for 8672689 from 15e2e79ae3 to udc-release
Change-Id: I8b82665f4919c6fd2958ccb2588f2fdc72d45fff
2022-06-02 03:04:49 +00:00
Android Build Coastguard Worker
8cfdd54aee Snap for 8666878 from 628c5f5ba1 to udc-release
Change-Id: I073d4bdab4cfa4779728296adc9f3f747a298935
2022-06-01 03:03:12 +00:00
Android Build Coastguard Worker
7eb0b7bfc7 Snap for 8548440 from daa5fb35ed to udc-release
Change-Id: If325b6ad1be88e6273ebe4f01ec9f71c8a05f36b
2022-05-06 03:02:19 +00:00
Android Build Coastguard Worker
252e674c5d Snap for 8310672 from 1d6c4e7b53 to udc-release
Change-Id: I936e7335acfb3f6b56fb51ccbd573a90c90fbb64
2022-03-17 03:01:10 +00:00
Android Build Coastguard Worker
4f46e4ea27 Snap for 8267098 from a5c9d59c72 to udc-release
Change-Id: I2e9a390ecfe5532dfb4d907e7394cecf8b41199b
2022-03-08 04:01:31 +00:00
Android Build Coastguard Worker
fa3bdea5d9 Snap for 8183730 from 069de3333d to udc-release
Change-Id: I24381a8d13c28f9fcc86f20ee4b85b9050e6ec1f
2022-02-15 04:02:22 +00:00
213 changed files with 286957 additions and 3413 deletions

1
.gitupstream Normal file
View File

@@ -0,0 +1 @@
https://android.googlesource.com/device/google/lynx

View File

@@ -1,7 +1,17 @@
//
// SPDX-FileCopyrightText: 2021 The Android Open Source Project
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["device_google_lynx_license"],

View File

@@ -1,8 +1,24 @@
#
# SPDX-FileCopyrightText: 2021 The Android Open-Source Project
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_lynx.mk \
$(LOCAL_DIR)/aosp_lynx_hwasan.mk \
$(LOCAL_DIR)/factory_lynx.mk \
$(LOCAL_DIR)/lineage_lynx.mk
COMMON_LUNCH_CHOICES := \
aosp_lynx-trunk_staging-userdebug

5
BoardConfigLineage.mk Normal file
View File

@@ -0,0 +1,5 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

4
OWNERS Normal file
View File

@@ -0,0 +1,4 @@
per-file powerhint.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com
# per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
per-file *.mk,*/BoardConfig.mk=file:device/google/gs-common:main:/OWNERS

2
PREUPLOAD.cfg Normal file
View File

@@ -0,0 +1,2 @@
[Builtin Hooks]
jsonlint = true

View File

@@ -1,7 +1,24 @@
#
# SPDX-FileCopyrightText: 2021 The Android Open-Source Project
# SPDX-License-Identifier: Apache-2.0
# Copyright 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_LINUX_KERNEL_VERSION := 5.10
DEVICE_USES_NO_TRUSTY := true
USE_SWIFTSHADER := true
BOARD_USES_SWIFTSHADER := true
$(call inherit-product, device/google/gs201/aosp_common.mk)
$(call inherit-product, device/google/lynx/device-lynx.mk)
@@ -11,3 +28,6 @@ PRODUCT_DEVICE := lynx
PRODUCT_MODEL := AOSP on Lynx
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE := \
device/google/lynx/manifest.xml

23
aosp_lynx_hwasan.mk Normal file
View File

@@ -0,0 +1,23 @@
#
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, device/google/lynx/aosp_lynx.mk)
PRODUCT_NAME := aosp_lynx_hwasan
# Add "hwaddress" as a global sanitizer if it's missing.
ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
endif

View File

@@ -0,0 +1,118 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPlatformConfiguration xmlns:xi="http://www.w3.org/2001/XInclude">
<features>
<feature name="ThermalThrottle">
<argument name="Type" value="SKIN" />
<argument name="Name" value="VIRTUAL-SKIN" />
</feature>
<feature name="BatteryThrottle">
<argument name="Type" value="BCL_VOLTAGE" />
<argument name="Name" value="BCL_AUDIO_BAACL" />
<argument name="Strategy" value="MediaSpeakerAndScreenOn" />
</feature>
<feature name="PlaybackThermalThrottle">
<argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN" />
<argument name="ThermistorType" value="SKIN" />
<argument name="ThrottlingSeverity" value="MODERATE" />
</feature>
</features>
<voipVolume>
<path voipDevice="VoipDevice::kUsb">
<gain>0.01</gain>
<gain>0.02</gain>
<gain>0.04</gain>
<gain>0.10</gain>
<gain>0.21</gain>
<gain>0.47</gain>
<gain>1.00</gain>
</path>
</voipVolume>
<devices>
<device name="bluetooth" />
<device name="usb" />
<device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" />
</device>
</devices>
<tuners>
<tuner type="playback" name="waves">
<argument name="Sink" value="SPK" />
<argument name="ThermistorsName" value="VIRTUAL-SKIN" />
</tuner>
<tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
<argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="CCA" value="y" />
</tuner>
<tuner type="capture" name="gs_capture" />
</tuners>
<latencies>
<latency source="primary-playback" sink="speaker" milliseconds="20" />
<latency source="primary-playback" sink="usb-device" milliseconds="10" />
<latency source="primary-playback" sink="usb-headset" milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-a2dp-device"
milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker"
milliseconds="10" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-device" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-headset" milliseconds="70" />
<latency source="deep-buffer-playback" sink="bluetooth-a2dp-device"
milliseconds="180" />
<latency source="compress-offload-playback" sink="speaker" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-device"
milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-headset"
milliseconds="40" />
<latency source="compress-offload-playback" sink="bluetooth-a2dp-device"
milliseconds="70" />
<latency source="immersive-playback" sink="bluetooth-a2dp-device"
milliseconds="100" />
<latency source="microphones" sink="primary-capture" milliseconds="160" />
<latency source="back-microphones" sink="primary-capture" milliseconds="160" />
<latency source="bluetooth-sco-headset" sink="primary-capture"
milliseconds="40" />
</latencies>
<spatialCapture>
<enablement useCase="primary-capture" deviceInterface="microphones">
<source>MIC</source>
<source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement>
<enablement useCase="primary-capture" deviceInterface="back-microphones">
<source>MIC</source>
<source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement>
</spatialCapture>
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
</audioPlatformConfiguration>

View File

@@ -0,0 +1,227 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Volume section defines a volume curve for a given use case and device category.
It contains a list of points of this curve expressing the attenuation in Millibels for a given
volume index from 0 to 100.
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
<point>0,-9600</point>
<point>100,0</point>
</volume>
-->
<volumes>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-4700</point>
<point>33,-3500</point>
<point>66,-2350</point>
<point>100,-1250</point>
</volume>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-3350</point>
<point>33,-2100</point>
<point>66,-1000</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-4800</point>
<point>33,-2050</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-3800</point>
<point>33,-2600</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-4700</point>
<point>33,-3500</point>
<point>66,-2350</point>
<point>100,-1250</point>
</volume>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-5500</point>
<point>33,-3650</point>
<point>66,-2700</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="FULL_SCALE_VOLUME_CURVE"/>
</volumes>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,82 @@
#
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
AUDIO_TABLE_FOLDER := lynx
# Enable this to build AIDL
# BUILD_AUDIO_AIDL_VERSION := true
ifeq ($(BUILD_AUDIO_AIDL_VERSION),true)
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml
else
# Platform Configuration for AudioHAL / SoundTriggerHAL
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
# AudioEffectHAL Configuration
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
# Mixer Path Configuration for AudioHAL
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
endif
# Speaker firmware files
SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw
SPK_FIRMWARE_FULL_PATH := device/google/lynx/audio/$(SPK_FIRMWARE_PATH)
PRODUCT_COPY_FILES += $(call copy-files,$(wildcard $(SPK_FIRMWARE_FULL_PATH)/*),$(TARGET_COPY_OUT_VENDOR)/firmware)
# Audio tuning
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/recording.gatf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/recording.gatf \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/smartfeature.gstf:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/smartfeature.gstf \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.dat \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
# eng specific
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
#Bluenote files
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
endif

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<audio_effects_conf version="2.0" xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0">
<libraries>
<library name="bundle" path="libbundlewrapper.so"/>
<library name="reverb" path="libreverbwrapper.so"/>
<library name="visualizer_sw" path="libvisualizer.so"/>
<library name="downmix" path="libdownmix.so"/>
<library name="dynamics_processing_sw" path="libdynproc.so"/>
<library name="loudness_enhancer" path="libldnhncr.so"/>
<library name="proxy" path="libeffectproxy.so"/>
<library name="offload_effect" path="liboffloadeffect.so"/>
<library name="haptic_generator" path="libhapticgenerator.so"/>
</libraries>
<effects>
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
<libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="c7e3b29d-e797-4cf9-9912-17c1956510cc"/>
</effectProxy>
<effectProxy name="virtualizer" library="proxy" uuid="626499c6-647e-455e-8c45-2d106e23c755">
<libsw library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="f8f88a03-fdf8-4554-8e60-77fbf8f2d3b0"/>
</effectProxy>
<effectProxy name="equalizer" library="proxy" uuid="49004f03-3391-4c44-97dd-a043d526ea7d">
<libsw library="bundle" uuid="ce772f20-847d-11df-bb17-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="50deaa30-4a83-4b1f-bfe3-dec6d605ede0"/>
</effectProxy>
<effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/>
<effectProxy name="reverb_env_aux" library="proxy" uuid="b8154738-a0a1-4fc0-bb79-c845a3197739">
<libsw library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="0c84bcd9-bce4-441b-ba9e-51f80897c949"/>
</effectProxy>
<effectProxy name="reverb_env_ins" library="proxy" uuid="ba0f19fe-8790-4831-a58b-1f3299dd0bae">
<libsw library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="86d1877a-127f-4bdc-9665-c958903ad7b2"/>
</effectProxy>
<effectProxy name="reverb_pre_aux" library="proxy" uuid="80974a8b-b3be-4c21-8c0b-b392a54e13bc">
<libsw library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="4f90220c-9742-4467-a9d7-122f85c01195"/>
</effectProxy>
<effectProxy name="reverb_pre_ins" library="proxy" uuid="c02d7dce-ca56-4aea-8c83-bbb53e5600e8">
<libsw library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="a2cf6b45-360b-49f3-94d7-fdb9837f89e8"/>
</effectProxy>
<effectProxy name="visualizer" library="proxy" uuid="b27271d9-64d6-413c-b316-80005ad09008">
<libsw library="visualizer_sw" uuid="d069d9e0-8329-11df-9168-0002a5d5c51b"/>
<libhw library="offload_effect" uuid="99fb2ecb-3426-4a0e-8082-1a1da5604b7d"/>
</effectProxy>
<effectProxy name="dynamics_processing" library="proxy" uuid="dcf01474-8982-11ec-a8a3-0242ac120002">
<libsw library="dynamics_processing_sw" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
<libhw library="offload_effect" uuid="1bf15eb7-8f49-4fd8-8380-0767fd5680f3"/>
</effectProxy>
<effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/>
<effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/>
<effect name="aec" library="offload_effect" uuid="28c28780-ec8b-48b6-8590-8c84557d797d"/>
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
</effects>
<postprocess>
</postprocess>
<preprocess>
<stream type="voice_communication">
<apply effect="aec"/>
<apply effect="ns"/>
</stream>
</preprocess>
</audio_effects_conf>

View File

@@ -0,0 +1,301 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2019, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<audio_platform_configuration>
<hw_intf>
<intf id="BE_HW_RX_INTF_0" name="TDM_RX_0" min_bit="24" min_chan="2" min_rate="48000" block_id="16"/>
<intf id="BE_HW_RX_INTF_1" name="TDM_RX_1" min_bit="24" min_chan="2" min_rate="48000" block_id="17"/>
<intf id="BE_HW_RX_INTF_2" name="USB_RX" min_bit="24" min_chan="2" min_rate="48000" block_id="20"/>
<intf id="BE_HW_RX_INTF_3" name="I2S_RX_0" min_bit="24" min_chan="2" min_rate="48000" block_id="18"/>
<!--intf id="BE_HW_RX_INTF_2" name="USB_RX" min_bit="24" min_chan="2" min_rate="48000" ctrl_config="USB device" ctrl_rate="Sample Rate" ctrl_bit="Bit Width" ctrl_chan="Channel"/-->
<!--intf id="BE_HW_RX_INTF_3" name="BT_RX"/-->
<intf id="BE_VIRTUAL_VOICE_RX_TUNING" block_id="19"/>
<intf id="BE_VIRTUAL_VOICE_TX_TUNING" block_id="19"/>
<intf id="BE_HW_TX_INTF_0" block_id="134,128,137"/>
<intf id="BE_VIRTUAL_CRYSTAL_CLEAR_AUDIO_TUNING" block_id="138"/>
</hw_intf>
<product_lists>
<product name="Blackbird">
<id value="18d1:5033"/>
</product>
<product name="Condor">
<id value="18d1:5034"/>
</product>
<product name="Condor_Sprint">
<id value="18d1:5038"/>
</product>
<product name="Condor_Sprint2">
<id value="18d1:5036"/>
</product>
</product_lists>
<!-- The microphone capability is fake data -->
<microphone_characteristics>
<microphone device_id="builtin_mic_1" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="bottom" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
group="0" index_in_the_group="0" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="93"
frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
responses="-0.78 -0.71 -0.64 -0.60 -0.55 -0.50 -0.47 -0.42 -0.39 -0.36 -0.34 -0.33 -0.32 -0.29 -0.28 -0.28 -0.27 -0.25 -0.25 -0.24 -0.23 -0.23 -0.22 -0.22 -0.19 -0.17 -0.15 -0.15 -0.14 -0.14 -0.12 -0.11 -0.10 -0.10 -0.08 -0.07 -0.07 -0.04 -0.03 -0.01 0.00 0.04 0.06 0.07 0.08 0.13 0.09 0.14 0.19 0.23 0.28 0.29 0.31 0.37 0.88 0.86 0.77 0.78 0.84 0.86 1.05 1.12 1.18 1.25 1.43 1.66 1.83 2.02 2.23 2.59 2.84 3.35 4.01 6.82 6.62 6.42 7.30 8.23 7.54 12.68 13.76 18.69 19.68 20.90 23.70 25.10 21.65 16.18 18.84 25.44 23.48 23.22 24.89"
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0269 0.0058 0.0079" />
<microphone device_id="builtin_mic_2" type="AUDIO_DEVICE_IN_BACK_MIC" address="back" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
group="0" index_in_the_group="1" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
frequencies="106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
responses="-0.75 -0.74 -0.69 -0.65 -0.62 -0.61 -0.56 -0.53 -0.50 -0.47 -0.43 -0.40 -0.37 -0.36 -0.33 -0.30 -0.28 -0.25 -0.24 -0.24 -0.24 -0.25 -0.24 -0.12 -0.10 -0.08 -0.09 -0.07 -0.07 -0.06 -0.06 -0.06 -0.05 -0.04 -0.05 -0.04 -0.01 0.02 0.02 0.00 0.02 0.03 0.07 0.10 0.10 0.13 0.01 0.01 0.10 0.11 0.19 0.24 0.38 0.46 0.26 0.27 0.43 0.76 0.75 1.09 1.09 0.94 1.06 1.21 1.47 1.45 1.36 2.07 2.85 2.90 3.85 4.65 5.84 5.46 6.15 7.50 8.30 10.62 12.70 16.65 20.95 25.41 26.32 20.20 16.60 11.24 7.85 7.62 20.19 7.32 2.87 5.18"
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 1.0 0.0" geometric_location="0.0546 0.1456 0.00415" />
<microphone device_id="builtin_mic_3" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="top" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
group="0" index_in_the_group="2" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00"
responses="-9.24 -9.31 -9.39 -9.45 -9.46 -9.47 -9.50 -9.52 -9.51 -9.52 -9.51 -9.50 -9.49 -9.47 -9.48 -9.49 -9.48 -9.50 -9.51 -9.53 -9.55 -9.59 -9.63 -9.67 -9.58 -9.57 -9.65 -9.68 -9.71 -9.75 -9.79 -9.84 -9.87 -9.87 -9.90 -9.90 -9.91 -9.97 -10.01 -10.05 -9.85 -9.93 -9.94 -9.98 -10.04 -10.12 -10.28 -10.25 -10.01 -9.86 -9.81 -9.82 -9.61 -9.46 -8.27 -8.42 -8.98 -8.99 -8.82 -9.21 -8.92 -8.97 -9.30 -9.44 -9.52 -9.28 -9.09 -8.81 -7.02 -5.72 -5.30 -7.26 -8.39 -12.28 -8.23 -6.99 -5.52 -4.87 -3.82 -6.09 0.00 -2.15 -0.26 1.48 5.22 10.92 6.41 9.55 12.96 3.35 22.00 19.75"
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0274 0.14065 0.0079" />
</microphone_characteristics>
<!-- The microphone mapping of backend device is fake data -->
<input_backend_cfg_mic_mapping>
<backend_cfg in_cfg="IN_CAMCORDER_LANDSCAPE_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_CAMCORDER_PORTRAIT_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_HANDSET_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_VOICECALL_HANDSET_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_VOICECALL_SPEAKER_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_USB_TTY_VCO_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
</backend_cfg>
<backend_cfg in_cfg="IN_VOICE_RECOGN_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
</backend_cfg>
<backend_cfg in_cfg="IN_UNPROCESSED_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
</backend_cfg>
<backend_cfg in_cfg="IN_UNPROCESSED_DUAL_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
</backend_cfg>
<backend_cfg in_cfg="IN_UNPROCESSED_TRIPLE_MIC_BE_CFG">
<mic_info mic_device_id="builtin_mic_1"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
<mic_info mic_device_id="builtin_mic_2"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
<mic_info mic_device_id="builtin_mic_3"
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
</backend_cfg>
</input_backend_cfg_mic_mapping>
<usecase_attr>
<!-- for output with AUDIO_OUTPUT_FLAG_RAW, 32 periods * 64 frames(around 1.3ms) * 2ch * 4(s32) = 16384 bytes -->
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="true" period="64" period_num="32"/>
<!-- for output with AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST, 4 * 10ms buffer -->
<usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/>
<!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes -->
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 4 * 20ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
<!-- dev1: audio dev2: haptic -->
<usecase id="UC_HAPTIC_AUDIO" dev1="2" dev2="7" period="10" period_num="4"/>
<!-- for VOIP output, 4 * 10ms buffer -->
<usecase id="UC_VOIP_PLAYBACK" dev1="16" dyn_path="true" dsp_vol="true" mmap="false" period="10" period_num="4" pcm_ch="2"/>
<!-- for input -->
<usecase id="UC_AUDIO_RECORD" dev1="8" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
<usecase id="UC_HOSTLESS_UL" dev1="15"/>
<!-- for VOIP input, 4 * 10ms buffer -->
<usecase id="UC_VOIP_RECORD" dev1="17" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="2"/>
<!-- for input wit AUDIO_INPUT_FLAG_FAST 480 periods * 1ms buffer, 16-bit, 2ch, buffer size 92160 bytes-->
<usecase id="UC_LOW_LATENCY_AUDIO_RECORD" dev1="10" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="480"/>
<!-- for input wit AUDIO_INPUT_FLAG_MMAP_NOIRQ 240 periods * 1ms buffer, 32-bit,2 ch, buffer size 92160 bytes -->
<usecase id="UC_MMAP_RECORD" dev1="9" dyn_path="true" mmap="true" period="1" period_num="240"/>
<!-- for hifi -->
<usecase id="UC_HIFI_PLAYBACK" dev1="25" period="20" period_num="4"/>
<usecase id="UC_HIFI_RECORD" dev1="26" period="20" period_num="4"/>
</usecase_attr>
<dsp_latency>
<usecase id="UC_LOW_LATENCY_PLAYBACK" type="playback">
<be_cfg be_id="OUT_SPEAKER_BE_CFG" latency="20000"/>
<be_cfg be_id="OUT_USB_HEADSET_BE_CFG" latency="10000"/>
<be_cfg be_id="OUT_USB_HEADPHONE_BE_CFG" latency="10000"/>
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="10000"/>
</usecase>
<usecase id="UC_DEEP_BUFFER_PLAYBACK" type="playback">
<be_cfg be_id="OUT_SPEAKER_BE_CFG" latency="70000"/>
<be_cfg be_id="OUT_USB_HEADSET_BE_CFG" latency="70000"/>
<be_cfg be_id="OUT_USB_HEADPHONE_BE_CFG" latency="70000"/>
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="100000"/>
</usecase>
<usecase id="UC_AUDIO_RECORD" type="capture">
<be_cfg be_id="IN_CAMCORDER_LANDSCAPE_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_PORTRAIT_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_MIC_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_CAMCORDER_TRIPLE_MIC_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_BTSCO_MIC_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_BTSCO_MIC_NREC_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_BTSCO_MIC_WB_BE_CFG" latency="100000"/>
<be_cfg be_id="IN_BTSCO_MIC_WB_NREC_BE_CFG" latency="100000"/>
</usecase>
</dsp_latency>
<soundcard_name name="google,aoc-snd-card" />
<features>
<feature name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn"/>
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN,ThermistorType:SKIN,ThrottlingSeverity:MODERATE"/>
</features>
<cfg_attr>
<cfg id="OUT_SPEAKER_BE_CFG" intf_name="TDM_RX_0" mux="HW_MUX_GP_0" tuning_id="2"/>
<cfg id="OUT_HAC_HANDSET_BE_CFG" intf_name="TDM_RX_1" mux="HW_MUX_GP_1" be_path="hac-handset"/>
<cfg id="OUT_USB_HEADSET_BE_CFG">
<override product="Blackbird" tuning_id="22"/>
<override product="Condor" tuning_id="33"/>
</cfg>
<cfg id="OUT_USB_TTY_FULL_BE_CFG" be_path="usb-headphone" codec_path="usb-headphone"/>
<cfg id="OUT_USB_TTY_VCO_BE_CFG" be_path="usb-headphone" codec_path="usb-headphone"/>
<cfg id="OUT_USB_TTY_HCO_BE_CFG" be_path="NULL" codec_path="voice-speaker"/>
<cfg id="IN_USB_TTY_FULL_MIC_BE_CFG" be_path="usb-headset-mic" codec_path="usb-headset-mic" mux="HW_MUX_GP_0"/>
<cfg id="IN_USB_TTY_VCO_MIC_BE_CFG" be_path="NULL" codec_path="voice-speaker-mic"/>
<cfg id="IN_USB_TTY_HCO_MIC_BE_CFG" be_path="usb-headset-mic" codec_path="usb-headset-mic" mux="HW_MUX_GP_0"/>
<cfg id="IN_SPK_VI_BE_CFG" codec_path="NULL" be_path="spk-vi"/>
<cfg id="IN_HANDSET_MIC_BE_CFG" tuning_id="62"/>
<cfg id="IN_HANDSET_DUAL_MIC_BE_CFG" tuning_id="63"/>
<cfg id="IN_CAMCORDER_LANDSCAPE_BE_CFG" tuning_id="70"/>
<cfg id="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG" tuning_id="71"/>
<cfg id="IN_CAMCORDER_PORTRAIT_BE_CFG" tuning_id="72"/>
<cfg id="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG" tuning_id="73"/>
<cfg id="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG" tuning_id="74"/>
<cfg id="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG" tuning_id="75"/>
<cfg id="IN_CAMCORDER_MIC_BE_CFG" tuning_id="70"/>
<cfg id="IN_CAMCORDER_TRIPLE_MIC_BE_CFG" tuning_id="70"/>
<cfg id="IN_BTSCO_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_BTSCO_MIC_NREC_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_BTSCO_MIC_WB_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_BTSCO_MIC_WB_NREC_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_VOICE_RECOGN_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_VOICECALL_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
<cfg id="IN_UNPROCESSED_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
</cfg_attr>
<xlate_id>
<item component="TUNING_COMPONENT_WAVES" id="2"/>
<item component="TUNING_COMPONENT_FORTEMEDIA" id="3"/>
<item component="TUNING_COMPONENT_CAMCORDER" id="6"/>
</xlate_id>
<voip_db_mapping>
<voip_path id="VOIP_RX_USB" value="0.01,0.02,0.04,0.1,0.21,0.47,1.0"/>
</voip_db_mapping>
<device_handle>
<handler libname="audio_bt_aoc.so"/>
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=192000,UnsupportedFormat=S24_LE,MaxCapPacketInterval=125,MaxCapSampleRate=192000,MaxCapBitWidth=32,MaxCapChannel=2,EnableHifi192kMultichannel=0"/>
</device_handle>
<external_module>
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN"/>
<module libname="audio_cca_aoc.so"/>
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 BOOST_USB_SWB_CLK=y SHARED_MODULE=1130578253"/>
<module libname="liboffloadeffect.so"/>
<module libname="audio_amcs_ext.so"/>
<module libname="audio_bluenote_aoc.so"/>
</external_module>
</audio_platform_configuration>

View File

@@ -0,0 +1,279 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Speaker Safe</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Tx</item>
<item>Voice Call And Telephony Rx</item>
<item>Echo Ref In</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
recommendedMuteDurationMs="40">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="compressed_offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
</mixPort>
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voice call tx" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voice call rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voip_tx" role="sink"
flags="AUDIO_INPUT_FLAG_VOIP_TX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hifi_playback" role="source" />
<mixPort name="hifi_input" role="sink" />
<mixPort name="echo_ref_input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
</devicePort>
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
</devicePort>
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT BLE Broadcast" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BLE Headset Mic" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
</devicePort>
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
</devicePort>
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
</devicePort>
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
</devicePort>
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT BLE Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT BLE Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT BLE Broadcast"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
<route type="mix" sink="hotword input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes>
</module>
<!-- Bluetooth Audio HAL -->
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
<!-- Usb Audio HAL -->
<module name="usbv2" halVersion="2.0">
<mixPorts>
<mixPort name="usb_accessory output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
</routes>
</module>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml"/>
<xi:include href="default_volume_tables.xml"/>
<!-- End of Volume section -->
</audioPolicyConfiguration>

View File

@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Speaker Safe</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Tx</item>
<item>Voice Call And Telephony Rx</item>
<item>Echo Ref In</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
recommendedMuteDurationMs="40">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="compressed_offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
</mixPort>
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voice call tx" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voice call rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voip_tx" role="sink"
flags="AUDIO_INPUT_FLAG_VOIP_TX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hifi_playback" role="source" />
<mixPort name="hifi_input" role="sink" />
<mixPort name="echo_ref_input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
</devicePort>
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
</devicePort>
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
</devicePort>
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
</devicePort>
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
</devicePort>
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
</devicePort>
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hotword input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes>
</module>
<!-- Bluetooth Audio HAL -->
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
<!-- Usb Audio HAL -->
<module name="usbv2" halVersion="2.0">
<mixPorts>
<mixPort name="usb_accessory output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
</routes>
</module>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml"/>
<xi:include href="default_volume_tables.xml"/>
<!-- End of Volume section -->
</audioPolicyConfiguration>

View File

@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Speaker Safe</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Tx</item>
<item>Voice Call And Telephony Rx</item>
<item>Echo Ref In</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
recommendedMuteDurationMs="40">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="compressed_offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
</mixPort>
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voice call tx" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voice call rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voip_tx" role="sink"
flags="AUDIO_INPUT_FLAG_VOIP_TX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hifi_playback" role="source" />
<mixPort name="hifi_input" role="sink" />
<mixPort name="echo_ref_input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
</devicePort>
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
</devicePort>
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
</devicePort>
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
</devicePort>
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
</devicePort>
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
</devicePort>
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hotword input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes>
</module>
<!-- A2dp Audio HAL -->
<xi:include href="a2dp_audio_policy_configuration_7_0.xml"/>
<!-- Usb Audio HAL -->
<module name="usbv2" halVersion="2.0">
<mixPorts>
<mixPort name="usb_accessory output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
</routes>
</module>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml"/>
<xi:include href="default_volume_tables.xml"/>
<!-- End of Volume section -->
</audioPolicyConfiguration>

View File

@@ -0,0 +1,260 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Speaker Safe</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Tx</item>
<item>Voice Call And Telephony Rx</item>
<item>Echo Ref In</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
recommendedMuteDurationMs="40">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="compressed_offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
</mixPort>
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voice call tx" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voice call rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="voip_tx" role="sink"
flags="AUDIO_INPUT_FLAG_VOIP_TX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
<mixPort name="hifi_playback" role="source" />
<mixPort name="hifi_input" role="sink" />
<mixPort name="echo_ref_input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
</devicePort>
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
</devicePort>
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
</devicePort>
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
</devicePort>
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
</devicePort>
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
</devicePort>
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,immersive_out"/>
<route type="mix" sink="Speaker Safe"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,immersive_out,raw,mmap_no_irq_out"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback,immersive_out"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hotword input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
<route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes>
</module>
<!-- Bluetooth Audio HAL -->
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
<!-- Usb Audio HAL -->
<module name="usbv2" halVersion="2.0">
<mixPorts>
<mixPort name="usb_accessory output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
</routes>
</module>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml"/>
<xi:include href="default_volume_tables.xml"/>
<!-- End of Volume section -->
</audioPolicyConfiguration>

View File

@@ -0,0 +1,238 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Volume section defines a volume curve for a given use case and device category.
It contains a list of points of this curve expressing the attenuation in Millibels for a given
volume index from 0 to 100.
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="">
<point>0,-9600</point>
<point>100,0</point>
</volume>
-->
<volumes>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-5000</point>
<point>33,-3500</point>
<point>66,-2400</point>
<point>100,-1600</point>
</volume>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-4000</point>
<point>33,-2400</point>
<point>66,-1200</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-6200</point>
<point>28,-3800</point>
<point>64,-1900</point>
<point>68,-1700</point>
<point>72,-1500</point>
<point>76,-1300</point>
<point>80,-1150</point>
<point>88,-850</point>
<point>92,-650</point>
<point>96,-400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-4000</point>
<point>33,-2400</point>
<point>66,-1200</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-4000</point>
<point>33,-2400</point>
<point>66,-1200</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-5000</point>
<point>33,-3500</point>
<point>66,-2400</point>
<point>100,-1600</point>
</volume>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-6000</point>
<point>33,-3000</point>
<point>66,-2200</point>
<point>100,-1600</point>
</volume>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
ref="FULL_SCALE_VOLUME_CURVE"/>
</volumes>

View File

@@ -0,0 +1,882 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2019, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial default value of ALSA command -->
<!-- PCM timeout -->
<ctl name="PCM Stream Wait Time in MSec" value="100"/>
<ctl name="Voice PCM Stream Wait Time in MSec" value="500"/>
<!-- Enable it when AOC is ready to trim delay and padding -->
<ctl name="Gapless Offload Enable" value="1"/>
<!-- TDM 0 setting -->
<ctl name="TDM_0_RX Chan" value="Four"/>
<ctl name="TDM_0_RX Format" value="S32_LE"/>
<ctl name="TDM_0_RX Sample Rate" value="SR_48K" />
<ctl name="TDM_0_TX Chan" value="Four"/>
<ctl name="TDM_0_TX Format" value="S32_LE"/>
<ctl name="TDM_0_TX Sample Rate" value="SR_48K" />
<!-- Haptic setting -->
<ctl name="Haptics Source" value="PCM"/>
<ctl name="HAPTIC_RX Format" value="S32_LE"/>
<ctl name="HAPTIC_RX SlotFmt" value="S32_LE"/>
<ctl name="HAPTIC_RX Chan" value="Four"/>
<ctl name="HAPTIC_RX nSlot" value="Four"/>
<ctl name="RX Slots" id="0" value="2"/>
<ctl name="RX Slots" id="1" value="3"/>
<!-- Cirrus default 96K -->
<ctl name="Default 96K" value="0"/>
<ctl name="R Default 96K" value="0"/>
<!-- Cirrus Booster Amp TDM slot assignment-->
<!-- RX slot -->
<ctl name="ASPRX1 Slot Position" value="0"/>
<ctl name="ASPRX2 Slot Position" value="1"/>
<ctl name="R ASPRX1 Slot Position" value="1"/>
<ctl name="R ASPRX2 Slot Position" value="0"/>
<!-- TX slot -->
<ctl name="ASPTX1 Slot Position" value="0"/>
<ctl name="R ASPTX1 Slot Position" value="1"/>
<ctl name="ASPTX2 Slot Position" value="2"/>
<ctl name="R ASPTX2 Slot Position" value="3"/>
<ctl name="ASPTX3 Slot Position" value="4"/>
<ctl name="R ASPTX3 Slot Position" value="5"/>
<ctl name="ASPTX4 Slot Position" value="6"/>
<ctl name="R ASPTX4 Slot Position" value="7"/>
<!-- Cirrus Booster Amp DRE and VBST config-->
<ctl name="VBSTMON Output Switch" value="1"/>
<ctl name="R VBSTMON Output Switch" value="1"/>
<ctl name="DRE DRE Switch" value="1"/>
<ctl name="R DRE DRE Switch" value="1"/>
<!-- Cirrus Booster Amp Output Gain -->
<ctl name="AMP PCM Gain" value="17"/>
<ctl name="R AMP PCM Gain" value="17"/>
<ctl name="Digital PCM Volume" value="817"/>
<ctl name="R Digital PCM Volume" value="817"/>
<!-- Cirrus Booster Amp Power -->
<ctl name="Main AMP Enable Switch" value="0"/>
<ctl name="R Main AMP Enable Switch" value="0"/>
<!-- Cirrus Booster mode -->
<ctl name="PCM Source" value="DSP"/>
<ctl name="R PCM Source" value="DSP"/>
<ctl name="DSP1 Firmware" value="Protection"/>
<ctl name="R DSP1 Firmware" value="Protection"/>
<ctl name="DSP RX1 Source" value="ASPRX1"/>
<ctl name="DSP RX2 Source" value="ASPRX1"/>
<ctl name="R DSP RX1 Source" value="ASPRX1"/>
<ctl name="R DSP RX2 Source" value="ASPRX1"/>
<ctl name="Boost Peak Current Limit" value="3.50A"/>
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
<!-- Cirrus ASP TX source -->
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="IMON" />
<ctl name="R ASP TX2 Source" value="IMON" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<!-- Cirrus fast switch init -->
<ctl name="Fast Use Case Switch Enable" value="0" />
<ctl name="Fast Use Case Delta File" value="fast_switch5.txt" />
<ctl name="R Fast Use Case Switch Enable" value="0" />
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
<!-- default EP volume -->
<ctl name="PCM Playback Switch" value="1"/>
<ctl name="PCM Playback Volume" value="10"/>
<!-- audio RX route initial/default value -->
<ctl name="TDM_0_RX Mixer EP1" value="0"/>
<ctl name="TDM_0_RX Mixer EP2" value="0"/>
<ctl name="TDM_0_RX Mixer EP3" value="0"/>
<ctl name="TDM_0_RX Mixer EP4" value="0"/>
<ctl name="TDM_0_RX Mixer EP5" value="0"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<ctl name="TDM_0_RX Mixer EP7" value="0"/>
<ctl name="TDM_0_RX Mixer EP8" value="0"/>
<ctl name="TDM_0_RX Mixer NoHost1" value="0"/>
<ctl name="TDM_0_RX Mixer VOIP" value="0"/>
<ctl name="TDM_0_RX Mixer RAW" value="0"/>
<ctl name="TDM_1_RX Mixer EP1" value="0"/>
<ctl name="TDM_1_RX Mixer EP2" value="0"/>
<ctl name="TDM_1_RX Mixer EP3" value="0"/>
<ctl name="TDM_1_RX Mixer EP4" value="0"/>
<ctl name="TDM_1_RX Mixer EP5" value="0"/>
<ctl name="TDM_1_RX Mixer EP6" value="0"/>
<ctl name="TDM_1_RX Mixer EP7" value="0"/>
<ctl name="TDM_1_RX Mixer EP8" value="0"/>
<ctl name="TDM_1_RX Mixer NoHost1" value="0"/>
<ctl name="USB_RX Mixer EP1" value="0"/>
<ctl name="USB_RX Mixer EP2" value="0"/>
<ctl name="USB_RX Mixer EP3" value="0"/>
<ctl name="USB_RX Mixer EP4" value="0"/>
<ctl name="USB_RX Mixer EP5" value="0"/>
<ctl name="USB_RX Mixer EP6" value="0"/>
<ctl name="USB_RX Mixer EP7" value="0"/>
<ctl name="USB_RX Mixer NoHost1" value="0"/>
<ctl name="USB_RX Mixer VOIP" value="0"/>
<ctl name="USB_RX Mixer HIFI" value="0"/>
<ctl name="USB_RX Mixer RAW" value="0"/>
<ctl name="BT_RX Mixer EP1" value="0"/>
<ctl name="BT_RX Mixer EP2" value="0"/>
<ctl name="BT_RX Mixer EP3" value="0"/>
<ctl name="BT_RX Mixer EP4" value="0"/>
<ctl name="BT_RX Mixer EP5" value="0"/>
<ctl name="BT_RX Mixer EP6" value="0"/>
<ctl name="BT_RX Mixer EP7" value="0"/>
<ctl name="BT_RX Mixer NoHost1" value="0"/>
<ctl name="BT_RX Mixer VOIP" value="0"/>
<ctl name="BT_RX Mixer RAW" value="0"/>
<ctl name="INCALL_RX Mixer EP1" value="0"/>
<ctl name="INCALL_RX Mixer EP2" value="0"/>
<ctl name="INCALL_RX Mixer EP3" value="0"/>
<ctl name="INCALL_RX Mixer EP4" value="0"/>
<ctl name="INCALL_RX Mixer EP5" value="0"/>
<ctl name="INCALL_RX Mixer EP6" value="0"/>
<ctl name="INCALL_RX Mixer EP7" value="0"/>
<ctl name="INCALL_RX Mixer NoHost1" value="0"/>
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<!-- audio TX route initial/default value -->
<ctl name="EP1 TX Mixer TDM_0_TX" value="0"/>
<ctl name="EP2 TX Mixer TDM_0_TX" value="0"/>
<ctl name="EP3 TX Mixer TDM_0_TX" value="0"/>
<ctl name="EP4 TX Mixer TDM_0_TX" value="0"/>
<ctl name="EP5 TX Mixer TDM_0_TX" value="0"/>
<ctl name="EP6 TX Mixer TDM_0_TX" value="0"/>
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="0"/>
<ctl name="EP1 TX Mixer TDM_1_TX" value="0"/>
<ctl name="EP2 TX Mixer TDM_1_TX" value="0"/>
<ctl name="EP3 TX Mixer TDM_1_TX" value="0"/>
<ctl name="EP4 TX Mixer TDM_1_TX" value="0"/>
<ctl name="EP5 TX Mixer TDM_1_TX" value="0"/>
<ctl name="EP6 TX Mixer TDM_1_TX" value="0"/>
<ctl name="NoHost1 TX Mixer TDM_1_TX" value="0"/>
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="EP5 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="EP6 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="NoHost1 TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="0"/>
<ctl name="EP1 TX Mixer BT_TX" value="0"/>
<ctl name="EP2 TX Mixer BT_TX" value="0"/>
<ctl name="EP3 TX Mixer BT_TX" value="0"/>
<ctl name="EP4 TX Mixer BT_TX" value="0"/>
<ctl name="EP5 TX Mixer BT_TX" value="0"/>
<ctl name="EP6 TX Mixer BT_TX" value="0"/>
<ctl name="NoHost1 TX Mixer BT_TX" value="0"/>
<ctl name="VOIP TX Mixer BT_TX" value="0"/>
<ctl name="EP1 TX Mixer USB_TX" value="0"/>
<ctl name="EP2 TX Mixer USB_TX" value="0"/>
<ctl name="EP3 TX Mixer USB_TX" value="0"/>
<ctl name="EP4 TX Mixer USB_TX" value="0"/>
<ctl name="EP5 TX Mixer USB_TX" value="0"/>
<ctl name="EP6 TX Mixer USB_TX" value="0"/>
<ctl name="NoHost1 TX Mixer USB_TX" value="0"/>
<ctl name="VOIP TX Mixer USB_TX" value="0"/>
<ctl name="EP1 TX Mixer INCALL_TX" value="0"/>
<ctl name="EP2 TX Mixer INCALL_TX" value="0"/>
<ctl name="EP3 TX Mixer INCALL_TX" value="0"/>
<ctl name="EP4 TX Mixer INCALL_TX" value="0"/>
<ctl name="EP5 TX Mixer INCALL_TX" value="0"/>
<ctl name="EP6 TX Mixer INCALL_TX" value="0"/>
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0"/>
<ctl name="EP4 TX Mixer I2S_2_TX" value="0"/>
<!-- AoC Mic setting -->
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="-40"/>
<!-- USB setting v2 -->
<ctl name="USB Bus ID v2" value="2"/>
<ctl name="USB Dev ID v2" value="2"/>
<ctl name="USB Playback EP ID v2" value="1"/>
<ctl name="USB Playback FORMAT v2" value="0"/>
<ctl name="USB Playback SR v2" value="48000"/>
<ctl name="USB Playback CH v2" value="2"/>
<ctl name="USB Playback BW v2" value="24"/>
<ctl name="USB Capture EP ID v2" value="1"/>
<ctl name="USB Capture FORMAT v2" value="0"/>
<ctl name="USB Capture SR v2" value="48000"/>
<ctl name="USB Capture CH v2" value="1"/>
<ctl name="USB Capture BW v2" value="16"/>
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON"/>
<ctl name="Voice Call Mic Source" value="Builtin_MIC"/>
<ctl name="Mic Spatial Module Enable" value="0"/>
<ctl name="Audio Capture Eraser Enable" value="0"/>
<!-- audio PDM mic default state -->
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="Audio Capture Mic Source" value="Builtin_MIC"/>
<!-- sidetone controls -->
<ctl name="Sidetone Enable" value="0"/>
<ctl name="Sidetone Volume" value="-96"/>
<ctl name="Sidetone Selected Mic" value="0"/>
<ctl name="Sidetone EQ Stage Number" value="1"/>
<!-- IEEE 754, value is in float -->
<ctl name="Sidetone Biquad0" id="0" value="0"/>
<ctl name="Sidetone Biquad0" id="1" value="0"/>
<ctl name="Sidetone Biquad0" id="2" value="0"/>
<ctl name="Sidetone Biquad0" id="3" value="0"/>
<ctl name="Sidetone Biquad0" id="4" value="0"/>
<ctl name="Sidetone Biquad0" id="5" value="0"/>
<ctl name="Sidetone Biquad1" id="0" value="0"/>
<ctl name="Sidetone Biquad1" id="1" value="0"/>
<ctl name="Sidetone Biquad1" id="2" value="0"/>
<ctl name="Sidetone Biquad1" id="3" value="0"/>
<ctl name="Sidetone Biquad1" id="4" value="0"/>
<ctl name="Sidetone Biquad1" id="5" value="0"/>
<ctl name="Sidetone Biquad2" id="0" value="0"/>
<ctl name="Sidetone Biquad2" id="1" value="0"/>
<ctl name="Sidetone Biquad2" id="2" value="0"/>
<ctl name="Sidetone Biquad2" id="3" value="0"/>
<ctl name="Sidetone Biquad2" id="4" value="0"/>
<ctl name="Sidetone Biquad2" id="5" value="0"/>
<ctl name="Sidetone Biquad3" id="0" value="0"/>
<ctl name="Sidetone Biquad3" id="1" value="0"/>
<ctl name="Sidetone Biquad3" id="2" value="0"/>
<ctl name="Sidetone Biquad3" id="3" value="0"/>
<ctl name="Sidetone Biquad3" id="4" value="0"/>
<ctl name="Sidetone Biquad3" id="5" value="0"/>
<ctl name="Sidetone Biquad4" id="0" value="0"/>
<ctl name="Sidetone Biquad4" id="1" value="0"/>
<ctl name="Sidetone Biquad4" id="2" value="0"/>
<ctl name="Sidetone Biquad4" id="3" value="0"/>
<ctl name="Sidetone Biquad4" id="4" value="0"/>
<ctl name="Sidetone Biquad4" id="5" value="0"/>
<ctl name="Incall Capture Stream0" value="Off"/>
<ctl name="Incall Capture Stream1" value="Off"/>
<ctl name="Incall Capture Stream2" value="Off"/>
<!-- These two controls control the muting function of mics and sinks during the voice call. -->
<!-- They would be enabled by HAL. -->
<ctl name="Incall Sink Mute" value="0"/>
<ctl name="Incall Mic Mute" value="0"/>
<!-- Decoder Reference Enable is controlled in aoc_control -->
<ctl name="Decoder Reference Enable" value="0"/>
<ctl name="LVM Enable" value="0"/>
<!-- sidetone dynamic control -->
<path name="sidetone-for handset">
<!-- 1065353216 = 0x3f800000 = 1.0 -->
<ctl name="Sidetone Biquad0" id="0" value="1065353216"/>
<ctl name="Sidetone Biquad0" id="1" value="1065353216"/>
<ctl name="Sidetone Biquad0" id="2" value="0"/>
<ctl name="Sidetone Biquad0" id="3" value="0"/>
<ctl name="Sidetone Biquad0" id="4" value="0"/>
<ctl name="Sidetone Biquad0" id="5" value="0"/>
<ctl name="Sidetone Biquad1" id="0" value="1065353216"/>
<ctl name="Sidetone Biquad1" id="1" value="1065353216"/>
<ctl name="Sidetone Biquad1" id="2" value="0"/>
<ctl name="Sidetone Biquad1" id="3" value="0"/>
<ctl name="Sidetone Biquad1" id="4" value="0"/>
<ctl name="Sidetone Biquad1" id="5" value="0"/>
<ctl name="Sidetone Biquad2" id="0" value="1065353216"/>
<ctl name="Sidetone Biquad2" id="1" value="1065353216"/>
<ctl name="Sidetone Biquad2" id="2" value="0"/>
<ctl name="Sidetone Biquad2" id="3" value="0"/>
<ctl name="Sidetone Biquad2" id="4" value="0"/>
<ctl name="Sidetone Biquad2" id="5" value="0"/>
<ctl name="Sidetone Biquad3" id="0" value="1065353216"/>
<ctl name="Sidetone Biquad3" id="1" value="1065353216"/>
<ctl name="Sidetone Biquad3" id="2" value="0"/>
<ctl name="Sidetone Biquad3" id="3" value="0"/>
<ctl name="Sidetone Biquad3" id="4" value="0"/>
<ctl name="Sidetone Biquad3" id="5" value="0"/>
<ctl name="Sidetone Biquad4" id="0" value="1065353216"/>
<ctl name="Sidetone Biquad4" id="1" value="1065353216"/>
<ctl name="Sidetone Biquad4" id="2" value="0"/>
<ctl name="Sidetone Biquad4" id="3" value="0"/>
<ctl name="Sidetone Biquad4" id="4" value="0"/>
<ctl name="Sidetone Biquad4" id="5" value="0"/>
<ctl name="Sidetone EQ Stage Number" value="5"/>
<ctl name="Sidetone Volume" value="-90"/>
<ctl name="Sidetone Enable" value="1"/>
</path>
<!-- audio playback dynamic route -->
<path name="deep-buffer-playbackP">
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<path name="deep-buffer-playbackP hac-handset">
</path>
<path name="deep-buffer-playbackP bt">
<ctl name="BT_RX Mixer EP6" value="1"/>
</path>
<path name="deep-buffer-playbackP usb-headphone">
<ctl name="USB_RX Mixer EP6" value="1"/>
</path>
<path name="deep-buffer-playbackP hearing-aid">
</path>
<path name="low-latency-playbackP">
<ctl name="TDM_0_RX Mixer EP2" value="1"/>
</path>
<path name="low-latency-playbackP hac-handset">
</path>
<path name="low-latency-playbackP bt">
<ctl name="BT_RX Mixer EP2" value="1"/>
</path>
<path name="low-latency-playbackP usb-headphone">
<ctl name="USB_RX Mixer EP2" value="1"/>
</path>
<path name="low-latency-playbackP hearing-aid">
</path>
<path name="raw-playbackP">
<ctl name="TDM_0_RX Mixer RAW" value="1"/>
</path>
<path name="raw-playbackP hac-handset">
</path>
<path name="raw-playbackP usb-headphone">
<ctl name="USB_RX Mixer RAW" value="1"/>
</path>
<path name="raw-playbackP bt">
<ctl name="BT_RX Mixer RAW" value="1"/>
</path>
<path name="raw-playbackP hearing-aid">
</path>
<path name="mmap-playbackP">
<ctl name="TDM_0_RX Mixer EP1" value="1"/>
</path>
<path name="mmap-playbackP hac-handset">
</path>
<path name="mmap-playbackP usb-headphone">
<ctl name="USB_RX Mixer EP1" value="1"/>
</path>
<path name="mmap-playbackP bt">
<ctl name="BT_RX Mixer EP1" value="1"/>
</path>
<path name="mmap-playbackP hearing-aid">
</path>
<path name="compress-offload-playback">
<ctl name="LVM Enable" value="1" />
</path>
<path name="compress-offload-playbackP">
<path name="compress-offload-playback" />
<ctl name="TDM_0_RX Mixer EP7" value="1"/>
</path>
<path name="compress-offload-playbackP hac-handset">
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playbackP bt">
<path name="compress-offload-playback" />
<ctl name="BT_RX Mixer EP7" value="1"/>
</path>
<path name="compress-offload-playbackP usb-headphone">
<path name="compress-offload-playback" />
<ctl name="USB_RX Mixer EP7" value="1"/>
</path>
<path name="compress-offload-playbackP hearing-aid">
<path name="compress-offload-playback" />
</path>
<path name="voip-playbackP">
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
</path>
<path name="voip-playbackP hac-handset">
</path>
<path name="voip-playbackP bt">
<ctl name="BT_RX Mixer VOIP" value="1"/>
</path>
<path name="voip-playbackP usb-headphone">
<ctl name="USB_RX Mixer VOIP" value="1"/>
</path>
<path name="voip-playbackP hearing-aid">
</path>
<path name="haptic-audioP">
<ctl name="TDM_0_RX Mixer EP3" value="1"/>
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
</path>
<path name="haptic-audioP hac-handset">
</path>
<path name="haptic-audioP bt">
<ctl name="BT_RX Mixer EP3" value="1"/>
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
</path>
<path name="haptic-audioP usb-headphone">
<ctl name="USB_RX Mixer EP3" value="1"/>
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
</path>
<path name="hifi-playbackP">
</path>
<path name="hifi-playbackP usb-headphone">
<ctl name="USB_RX Mixer HIFI" value="1"/>
</path>
<path name="hifi-recordC">
</path>
<path name="hifi-recordC usb-headset-mic">
</path>
<!-- audio capture dynamic route -->
<path name="audio-recordC">
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1"/>
</path>
<path name="audio-recordC usb-headset-mic">
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
</path>
<path name="audio-recordC bt-mic">
<ctl name="EP1 TX Mixer BT_TX" value="1"/>
</path>
<path name="voip-recordC">
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1"/>
</path>
<path name="voip-recordC usb-headset-mic">
<ctl name="VOIP TX Mixer USB_TX" value="1"/>
</path>
<path name="voip-recordC bt-mic">
<ctl name="VOIP TX Mixer BT_TX" value="1"/>
</path>
<!-- voice-call dynamic route -->
<path name="voice-callP">
<ctl name="TDM_0_RX Mixer EP5" value="1"/>
</path>
<path name="voice-callP bt">
<ctl name="BT_RX Mixer EP5" value="1"/>
</path>
<path name="voice-callP usb-headphone">
<ctl name="USB_RX Mixer EP5" value="1"/>
</path>
<path name="voice-callP hearing-aid">
<ctl name="INCALL_RX Mixer EP5" value="1"/>
</path>
<path name="voice-callP call-screen">
<ctl name="INCALL_RX Mixer EP5" value="1"/>
</path>
<path name="voice-callC">
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1"/>
</path>
<path name="voice-callC usb-headset-mic">
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_OFF"/>
<ctl name="EP4 TX Mixer USB_TX" value="1"/>
</path>
<path name="voice-callC bt-mic">
<ctl name="EP4 TX Mixer BT_TX" value="1"/>
</path>
<path name="voice-callC hearing-aid">
<ctl name="EP4 TX Mixer INCALL_TX" value="1"/>
</path>
<path name="voice-callC call-screen">
<ctl name="EP4 TX Mixer INCALL_TX" value="1"/>
</path>
<path name="hostless-ulC spk-vi">
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
</path>
<path name="telephony-rx-captureC">
<ctl name="Incall Capture Stream0" value="DL"/>
</path>
<path name="incall-capture1C uplink">
<ctl name="Incall Capture Stream1" value="UL"/>
</path>
<path name="incall-capture1C downlink">
<ctl name="Incall Capture Stream1" value="DL"/>
</path>
<path name="incall-capture1C call">
<ctl name="Incall Capture Stream1" value="UL_DL"/>
</path>
<path name="incall-capture2C uplink">
<ctl name="Incall Capture Stream2" value="UL"/>
</path>
<path name="incall-capture2C downlink">
<ctl name="Incall Capture Stream2" value="DL"/>
</path>
<path name="incall-capture2C call">
<ctl name="Incall Capture Stream2" value="UL_DL"/>
</path>
<path name="low-latency-recordC">
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1"/>
</path>
<path name="low-latency-recordC usb-headset-mic">
<ctl name="EP3 TX Mixer USB_TX" value="1"/>
</path>
<path name="low-latency-recordC bt-mic">
<ctl name="EP3 TX Mixer BT_TX" value="1"/>
</path>
<path name="mmap-recordC">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/>
</path>
<path name="mmap-recordC usb-headset-mic">
<ctl name="EP2 TX Mixer USB_TX" value="1"/>
</path>
<path name="mmap-recordC bt-mic">
<ctl name="EP2 TX Mixer BT_TX" value="1"/>
</path>
<!-- codec setting -->>
<!-- Rx device -->
<path name="handset">
<ctl name="PCM Source" value="ASP"/>
<ctl name="AMP PCM Gain" value="6"/>
<ctl name="Main AMP Enable Switch" value="1"/>
</path>
<path name="voice-handset">
<ctl name="Boost Peak Current Limit" value="3.50A"/>
<ctl name="PCM Source" value="ASP"/>
<ctl name="AMP PCM Gain" value="7"/>
<ctl name="Main AMP Enable Switch" value="1"/>
</path>
<path name="voice-hac">
<path name="voice-handset"/>
</path>
<path name="voice-hac-handset">
</path>
<path name="speaker">
<ctl name="Boost Peak Current Limit" value="3.50A"/>
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
<ctl name="Main AMP Enable Switch" value="1"/>
<ctl name="R Main AMP Enable Switch" value="1"/>
</path>
<path name="speaker-post">
<!-- load Bypass FIR -->
<ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
<ctl name="Fast Use Case Switch Enable" value="1" />
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
</path>
<path name="voice-speaker">
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
<ctl name="Boost Peak Current Limit" value="3.50A"/>
<ctl name="ASPTX1 Slot Position" value="1"/>
<ctl name="R ASPTX1 Slot Position" value="0"/>
<ctl name="R Main AMP Enable Switch" value="1"/>
<ctl name="Main AMP Enable Switch" value="1"/>
</path>
<path name="voice-speaker-post">
<!-- load Enable FIR -->
<ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
<ctl name="Fast Use Case Switch Enable" value="1" />
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
<ctl name="Digital PCM Volume" value="800"/>
</path>
<path name="voice-dual-speaker">
<!-- Speaker Separation -->
<path name="voice-speaker" />
<path name="voice-speaker-post" />
</path>
<path name="speaker-safe">
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
<ctl name="R Main AMP Enable Switch" value="1"/>
</path>
<path name="speaker-safe-post">
<!-- load Bypass FIR -->
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
</path>
<path name="speaker-amp1">
<ctl name="Main AMP Enable Switch" value="1"/>
</path>
<path name="speaker-amp2">
<ctl name="R Main AMP Enable Switch" value="1"/>
</path>
<path name="usb-tty-full">
</path>
<path name="usb-tty-hco">
</path>
<path name="usb-tty-vco">
</path>
<!-- Tx device -->
<path name="handset-mic">
<ctl name="Mic Spatial Module Enable" value="1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="handset-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
</path>
<path name="voice-handset-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
</path>
<path name="voice-handset-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<path name="speaker-mic">
<ctl name="Mic Spatial Module Enable" value="1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="speaker-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
</path>
<path name="voice-speaker-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
</path>
<path name="voice-speaker-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<path name="camcorder-mic">
<ctl name="Mic Spatial Module Enable" value="1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="camcorder-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<path name="voice-recog-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="voice-recog-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
</path>
<path name="voice-recog-aec-mic">
<ctl name="Audio Capture Eraser Enable" value="1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
<ctl name="Audio Capture Mic Source" value="ERASER"/>
</path>
<path name="voice-recog-aec-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<path name="unprocessed-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="unprocessed-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
</path>
<path name="unprocessed-dual-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="unprocessed-dual-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
</path>
<path name="unprocessed-triple-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
</path>
<path name="unprocessed-triple-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
</path>
<path name="bt-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="Audio Capture Mic Source" value="BT_MIC"/>
<ctl name="Voice Call Mic Source" value="BT_MIC"/>
</path>
<path name="bt-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<path name="usb-headset-mic">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
<ctl name="Voice Call Mic Source" value="USB_MIC"/>
</path>
<path name="usb-headset-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware -->
<ctl name="DSP Booted" value="0" />
<ctl name="R DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<path name="cs35l41-load-protection-firmware-end">
<!-- Enable it after get the protection firmware -->
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c end-->
</mixer>

View File

@@ -0,0 +1,389 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<mixer>
<ctl name="TDM_0_RX Mixer EP3" value="0" />
<ctl name="TDM_0_RX Mixer EP6" value="0" />
<ctl name="I2S_0_RX Mixer EP3" value="0" />
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
<ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
<ctl name="DEFAULT_MIC_ID" value="0" />
<ctl name="MIC0" value="0" />
<ctl name="MIC1" value="0" />
<ctl name="MIC2" value="0" />
<ctl name="MIC3" value="0" />
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
<ctl name="TDM_0_RX Mixer US" value="0" />
<ctl name="US Record Enable" value="0" />
<path name="mfg-playback">
</path>
<path name="deep-buffer-playback speaker">
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
<ctl name="TDM_0_RX Mixer EP6" value="1" />
<path name="mfg-playback" />
</path>
<path name="deep-buffer-playback headphones">
<ctl name="I2S_0_RX Mixer EP6" value="1" />
<path name="mfg-playback" />
</path>
<path name="mfg-record">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="us-mfg-record">
<ctl name="US Record Enable" value="1" />
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="mic1-status">
<ctl name="MIC0" value="1" />
</path>
<path name="mic2-status">
<ctl name="MIC1" value="1" />
</path>
<path name="mic3-status">
<ctl name="MIC2" value="1" />
</path>
<path name="mic4-status">
<ctl name="MIC3" value="0" />
</path>
<path name="mic1-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic2-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic3-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic4-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic1-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic2-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic3-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic4-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="usb-capture-gain">
<ctl name="Headset Capture Volume" />
</path>
<path name="mic1-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC0" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic2-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic3-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic4-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC3" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic-all">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC0" value="1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC3" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="amp_iv-only">
<ctl name="R ASPTX1 Slot Position" value="2" />
<ctl name="R ASPTX2 Slot Position" value="3" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="0" />
<ctl name="ASPTX2 Slot Position" value="1" />
<ctl name="ASPTX3 Slot Position" value="4" />
<ctl name="ASPTX4 Slot Position" value="5" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX2 Source" value="ASPRX1" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="ASPRX1" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv1-only">
<ctl name="R ASPTX1 Slot Position" value="4" />
<ctl name="R ASPTX2 Slot Position" value="5" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="0" />
<ctl name="ASPTX2 Slot Position" value="1" />
<ctl name="ASPTX3 Slot Position" value="2" />
<ctl name="ASPTX4 Slot Position" value="3" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="IMON" />
<ctl name="ASP TX3 Source" value="VPMON" />
<ctl name="ASP TX4 Source" value="ASPRX1" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv2-only">
<ctl name="R ASPTX1 Slot Position" value="0" />
<ctl name="R ASPTX2 Slot Position" value="1" />
<ctl name="R ASPTX3 Slot Position" value="2" />
<ctl name="R ASPTX4 Slot Position" value="3" />
<ctl name="ASPTX1 Slot Position" value="4" />
<ctl name="ASPTX2 Slot Position" value="5" />
<ctl name="ASPTX3 Slot Position" value="6" />
<ctl name="ASPTX4 Slot Position" value="7" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX2 Source" value="IMON" />
<ctl name="R ASP TX3 Source" value="VPMON" />
<ctl name="R ASP TX4 Source" value="ASPRX1" />
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="us-amp_iv-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv-only" />
</path>
<path name="us-amp_iv1-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv1-only" />
</path>
<path name="us-amp_iv2-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv2-only" />
</path>
<path name="speaker1-status">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="speaker2-status">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="speaker1-gain">
<ctl name="AMP PCM Gain" />
</path>
<path name="speaker2-gain">
<ctl name="R AMP PCM Gain" />
</path>
<path name="usb-playback-gain">
<ctl name="Headset Playback Volume" />
</path>
<path name="mfg-playback speaker">
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
<ctl name="TDM_0_RX Mixer EP3" value="1" />
<ctl name="ASPRX1 Slot Position" value="0" />
<ctl name="R ASPRX1 Slot Position" value="1" />
<ctl name="SINK_IDS" id="0" value="0" />
<ctl name="SINK_IDS" id="1" value="-1" />
</path>
<path name="mfg-playback headphones">
<ctl name="I2S_0_RX Chan" value="Two" />
<ctl name="I2S_0_RX Format" value="S32_LE" />
<ctl name="I2S_0_RX Mixer EP3" value="1" />
<ctl name="SINK_IDS" id="0" value="1" />
<ctl name="SINK_IDS" id="1" value="-1" />
</path>
<path name="mfg-playback usb-headphones">
<ctl name="USB Dev ID v2" value="2" />
<ctl name="USB Playback EP ID v2" value="1" />
<ctl name="USB Capture EP ID v2" value="0" />
<ctl name="USB Playback FORMAT v2" value="6" />
<ctl name="USB Playback SR v2" value="48000" />
<ctl name="USB Playback CH v2" value="2" />
<ctl name="USB Playback BW v2" value="16" />
<ctl name="USB Config To AoC v2" value="1" />
<ctl name="USB_RX Mixer EP3" value="1" />
</path>
<path name="mfg-record usb-headset-mic">
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
<ctl name="USB Playback EP ID v2" value="0" />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="USB Config To AoC v2" value="1"/>
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
</path>
<path name="us-mfg-playback speaker">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_RX Mixer US" value="1" />
</path>
<path name="speaker1-only">
<ctl name="Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="PCM Source" value="ASP" />
</path>
<path name="speaker2-only">
<ctl name="R Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R PCM Source" value="ASP" />
</path>
<path name="us-speaker1-only">
<path name="us-mfg-playback speaker" />
<ctl name="PCM Source" value="ASP" />
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="us-speaker2-only">
<path name="us-mfg-playback speaker" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="headphones">
<ctl name="DAC1 MIXL DAC1 Switch" value="1" />
<ctl name="DAC1 MIXR DAC1 Switch" value="1" />
<ctl name="Stereo1 DAC MIXL DAC L1 Switch" value="1" />
<ctl name="Stereo1 DAC MIXR DAC R1 Switch" value="1" />
<ctl name="DAC L1 Source" value="Stereo1 DAC Mixer" />
<ctl name="DAC R1 Source" value="Stereo1 DAC Mixer" />
<ctl name="HPOL Playback Switch" value="1" />
<ctl name="HPOR Playback Switch" value="1" />
<path name="mfg-playback headphones" />
</path>
<path name="speaker-all">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<path name="mfg-playback speaker" />
</path>
<path name="us-speaker-all">
<path name="us-mfg-playback speaker" />
<ctl name="PCM Source" value="ASP" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="loopback-mic-speaker">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
<ctl name="SINK_IDS" id="0" value="0" />
<ctl name="SINK_IDS" id="1" value="-1" />
<path name="mfg-playback" />
</path>
<path name="loopback-mic-headphones">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
<ctl name="SINK_IDS" id="0" value="1" />
<ctl name="SINK_IDS" id="1" value="-1" />
<path name="mfg-playback" />
</path>
<path name="loopback-mic-usb-headphones">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="TDM_0_TX Format" value="S32_LE" />
<ctl name="TDM_0_TX Chan" value="One" />
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="loopback-usb-mic-speaker">
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="loopback-usb-mic-usb-headphone">
<ctl name="Audio Capture Mic Source" value='USB_MIC' />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<pcm_id name="loopback-mic1" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic2" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic3" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic4" value="EP1 capture (*)"/>
<pcm_id name="loopback-speaker1" value="EP3 playback (*)"/>
<pcm_id name="loopback-speaker2" value="EP3 playback (*)"/>
<pcm_id name="loopback-speaker3" value="EP3 playback (*)"/>
<pcm_id name="loopback-headphones" value="EP3 playback (*)"/>
<pcm_id name="loopback-usb-headphones" value="EP3 playback (*)"/>
<pcm_id name="loopback-usb-mic" value="EP1 capture (*)"/>
<pcm_id name="loopback-amp_iv" value="nohost1 capture (*)"/>
</mixer>

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<sound_trigger_hal_configuration>
<supported_model>
<model name="CLIENT_HOTWORD" uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" model_type="keyphrase" bargein="true"/>
<model name="CLIENT_AMBIENT_MUSIC" uuid="9f6ad62a-1f0b-11e7-87c5-40a8f03d3f15" model_type="generic" bargein="false"/>
<model name="CLIENT_AMBIENT_MUSIC_BREAK" uuid="12caddb1-acdb-4dce-8cb0-2e95a2313aee" model_type="generic" bargein="false"/>
</supported_model>
</sound_trigger_hal_configuration>

View File

@@ -0,0 +1,307 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial Values -->
<!-- Preload Stage -->
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="PCM Playback Volume" value="10"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<!-- Preparation Stage -->
<path name="crus-switch-fw-prepare">
<ctl name="DRE DRE Switch" value="1" />
<ctl name="VBSTMON Output Switch" value="1" />
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DRE DRE Switch" value="1" />
<ctl name="R VBSTMON Output Switch" value="1" />
<ctl name="R DSP Booted" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<!-- Preload Stage -->
<path name="crus-fw-preload">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- Firmware-switching Stage -->
<path name="crus-switch-fw-Calibration">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Calibration" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Calibration" />
</path>
<path name="crus-switch-fw-Diagnostic">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diagnostic" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Diagnostic" />
</path>
<path name="crus-switch-fw-Protection">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Protection" />
</path>
<!-- DSP-initialization Stage -->
<path name="crus-dsp-pre-calibration-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration">
<path name="crus-dsp-pre-calibration-amp1" />
<path name="crus-dsp-pre-calibration-amp2" />
</path>
<path name="crus-dsp-pre-diagnostic-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic">
<path name="crus-dsp-pre-diagnostic-amp1" />
<path name="crus-dsp-pre-diagnostic-amp2" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<ctl name="PCM Playback Volume" value="1000"/>
<ctl name="SINK_IDS" id="0" value="0"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<!-- Post loaded firmware -->
<path name="crus-dsp-post-loading-fw">
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
</path>
<!-- Value & Information Fetch Stage -->
<path name="platform-values">
<ctl name="TDM_0_RX Format" />
<ctl name="TDM_0_RX Chan" />
<ctl name="TDM_0_RX Sample Rate" />
<ctl name="PCM Playback Volume" />
<ctl name="TDM_0_RX Mixer EP6" />
</path>
<path name="cs35l41-values">
<ctl name="DRE DRE Switch" />
<ctl name="R DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
</path>
<!-- Note that the order of controls does matter because
it should be matched to the structure defined in
sp_cal_common.h -->
<!--
struct calibration_data {
unsigned int cal_r;
unsigned int cal_status;
unsigned int cal_checksum;
unsigned int cal_ambient;
unsigned int amp_pcm_gain;
unsigned int digital_pcm_gain;
};
-->
<path name="cs35l41-dsp-amp1-calibration-values">
<ctl name="DSP1 Calibration cd CAL_R" />
<ctl name="DSP1 Calibration cd CAL_STATUS" />
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-values">
<ctl name="R DSP1 Calibration cd CAL_R" />
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<!--
struct diagnostic_data {
struct calibration_data calibration_data;
unsigned int z_low_diff;
unsigned int diag_f0;
unsigned int diag_f0_status;
};
-->
<path name="cs35l41-dsp-amp1-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Diagnostic cd CAL_R" />
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Diagnostic cd CAL_R" />
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Protection cd CAL_R" />
<ctl name="DSP1 Protection cd CAL_STATUS" />
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp2-protection-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Protection cd CAL_R" />
<ctl name="R DSP1 Protection cd CAL_STATUS" />
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp1-calibration-completion">
<ctl name="DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-completion">
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-completion">
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-protection-completion">
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-diagnostic-completion">
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-completion">
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-enable-status">
<ctl name="Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp2-enable-status">
<ctl name="R Main AMP Enable Switch" />
</path>
</mixer>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
11,4,768,1236,353840,65536,2229536,1,7,0,256012610

View File

@@ -0,0 +1 @@
11,4,768,1236,353840,69632,2229536,1,7,0,469781064

View File

@@ -0,0 +1 @@
11,4,768,1236,353840,65536,2229536,1,7,4194304,-12894649

View File

@@ -0,0 +1 @@
11,4,768,1236,353840,69632,2229536,1,7,4194304,-327613107

View File

@@ -0,0 +1,22 @@
#
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
AUDIO_FACTORY_TABLE_FOLDER := lynx
# Mixer Path Configuration for Audio Factory
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,287 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<modules>
<module id="2" name="Waves">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="3" name="Forte">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="5" name="Auto Gain Control">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="GainApplied" type="float"/>
<param id="17" name="idealRMS" type="float"/>
<param id="18" name="noiseGate" type="float"/>
<param id="19" name="minGain" type="float"/>
<param id="20" name="maxGain" type="float"/>
<param id="21" name="longGainAtRt" type="uint32"/>
<param id="22" name="GainAtRt" type="uint32"/>
<param id="23" name="rmsTav" type="uint32"/>
</module>
<module id="6" name="Surround Record">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="7" id="3" name="chMask_" type="uint32"/>
<param id="16" max="1" min="0" name="alpha" type="float"/>
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
<struct id="26">
<param default="1" name="ch_gain" type="float"/>
<param default="1" name="zoom_gain" type="float"/>
</struct>
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="8" name="Multi Band DRC">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param default="1" max="3" min="1" name="numBand" type="uint32"/>
<param name="IIR_LowPass1" size="5" type="float"/>
<param name="IIR_HighPass1" size="5" type="float"/>
<param name="IIR_LowPass2" size="5" type="float"/>
<param name="IIR_HighPass2" size="5" type="float"/>
</struct>
<struct id="17">
<param max="20" min="0" name="band0_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band0_rms_ms" type="float"/>
<param max="30" min="0" name="band0_gain_dB" type="float"/>
<param max="30" min="-30" name="band0_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band0_numOfKnee" type="uint32"/>
<param name="band0_threadhold_dB" size="3" type="float"/>
<param name="band0_compressRatio" size="4" type="float"/>
<param name="band0_kneeWidth" size="3" type="float"/>
<param name="band0_attackTime_ms" size="4" type="float"/>
<param name="band0_releaseTime_ms" size="4" type="float"/>
<param name="band0_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band1_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band1_rms_ms" type="float"/>
<param max="30" min="0" name="band1_gain_dB" type="float"/>
<param max="30" min="-30" name="band1_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band1_numOfKnee" type="uint32"/>
<param name="band1_threadhold_dB" size="3" type="float"/>
<param name="band1_compressRatio" size="4" type="float"/>
<param name="band1_kneeWidth" size="3" type="float"/>
<param name="band1_attackTime_ms" size="4" type="float"/>
<param name="band1_releaseTime_ms" size="4" type="float"/>
<param name="band1_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band2_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band2_rms_ms" type="float"/>
<param max="30" min="0" name="band2_gain_dB" type="float"/>
<param max="30" min="-30" name="band2_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band2_numOfKnee" type="uint32"/>
<param name="band2_threadhold_dB" size="3" type="float"/>
<param name="band2_compressRatio" size="4" type="float"/>
<param name="band2_kneeWidth" size="3" type="float"/>
<param name="band2_attackTime_ms" size="4" type="float"/>
<param name="band2_releaseTime_ms" size="4" type="float"/>
<param name="band2_hysteresis" size="4" type="float"/>
</struct>
<struct id="18">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="float"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="float"/>
</struct>
<struct id="19">
<param name="frequency0" type="uint32"/>
<param name="frequency1" type="uint32"/>
</struct>
</module>
<module id="11" name="Stationary Noise Suppression">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="1" id="16" name="strength level" type="uint32"/>
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
<param id="19" name="LOWER_BAND_THRESHOLD" size="129" type="float"/>
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
<param id="21" name="ATTACK_TIME" type="float"/>
<param id="22" name="RELEASE_TIME" type="float"/>
</module>
<module id="14" name="Linear Gain">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="Simple_gain" type="float"/>
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
</module>
<module id="17" name="Wind Noise Reduction">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
</module>
<module id="18" name="Multi Channel IIR 1">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="32" name="Single Band DRC">
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param max="20" min="0" name="delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
<param max="30" min="0" name="gain_dB" type="float"/>
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
<param name="threadhold_dB" size="3" type="float"/>
<param name="compressRatio" size="4" type="float"/>
<param name="kneeWidth" size="3" type="float"/>
<param name="attackTime_ms" size="4" type="float"/>
<param name="releaseTime_ms" size="4" type="float"/>
<param name="hysteresis" size="4" type="float"/>
</struct>
<struct id="17">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</struct>
</module>
<module id="10000" name="Eraser">
<param id="275" name="eraser_pre_gain" type="uint32"/>
<param id="277" name="eraser_post_gain" type="uint32"/>
<param id="279" name="non_eraser_gain" type="uint32"/>
</module>
<module id="10001" name="Cleaner">
<param id="299" name="cleaner_post_gain" type="uint32"/>
</module>
<module id="10002" name="CHRE">
<param id="297" name="chre_gain" type="uint32"/>
</module>
</modules>
<signalflows>
<signalflow id="1" name="Spatial Audio">
<block id="128">
<moduleRef id="18"/>
<moduleRef id="17"/>
</block>
<block id="134">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="6"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="8"/>
</block>
</signalflow>
<signalflow id="2" name="General Mic Recording">
<block id="137">
<moduleRef id="14"/>
<moduleRef id="7"/>
<moduleRef id="8"/>
</block>
</signalflow>
<signalflow id="1000" name="Smart Feature">
<block id="0">
<moduleRef id="10000"/>
<moduleRef id="10001"/>
<moduleRef id="10002"/>
</block>
</signalflow>
</signalflows>
</template>

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -0,0 +1,61 @@
########################################################################################################
# (Optional) The supported features list for platform vendors to query from.
# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list.
# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors.
# Putting any value other than 1 would be equivalent to not supported.
########################################################################################################
[HAL_SUPPORTED_FEATURES]
CUSTOM_ACTION_260=1
########################################################################################################
# This defined the options of supported sample rates.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_SAMPLE_RATES]
SR_COMMON = 48000
########################################################################################################
# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_ORIENTATION_SUBTYPES]
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
########################################################################################################
# This defines available preset configurations.
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
########################################################################################################
[HAL_SUPPORTED_PRESETS]
SPEAKER_MUSIC_THROTTLE= OM:1,SM:3,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC_THROTTLE = OM:10,SM:3,OST:OST_SPEAKER
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
########################################################################################################
# This defines available CONTROL configurations. Only define the CONTROL if you need it.
# The numbers could vary from device to device.
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_CONTROLS]
SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_MUSIC_THROTTLE|SPEAKER_SAFE_MUSIC_THROTTLE
[COEFS_CONVERTER_SETTING]
AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
# do not modify the following if not necessary
#AudioFormatType=0
#AudioFormatChannels=2
#AudioFormatSampleRate=48000
#AudioFormatBitsPerSample=32
#AudioFormatSampleSize=4
#AudioFormatIncrement=8
[CUSTOM_ACTION_260]
CASE_1=PRIORITY:0,NUMBERS:2:0|1:1|2,PRESET:SPEAKER_MUSIC
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:1|2,PRESET:SPEAKER_SAFE_MUSIC
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:1|2,PRESET:SPEAKER_SAFE_MUSIC
CASE_4=PRIORITY:3,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC_THROTTLE
CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE
CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE
# Action 260 parameters: audio_devices_t, audio_mode_t, throttle_control_state_t
# - throttle_control_state_t: 0 - Enabled, 1 - Disabled, 2 - Bypassed

Binary file not shown.

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,off,off,off,on,on,68,66,28,70,66,28,68,66,28,70,66,28
off,off,off,on,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,off,off,on,on,on,54,66,28,54,66,28,54,66,28,54,66,28
off,off,on,off,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,off,on,off,on,on,54,54,28,54,54,28,54,54,28,54,54,28
off,off,on,on,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,off,on,on,on,on,54,54,28,54,54,28,54,54,28,54,54,28
off,on,off,off,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,on,off,off,on,on,68,66,28,70,66,28,68,66,28,70,66,28
off,on,off,on,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,on,off,on,on,on,54,54,28,54,54,28,54,54,28,54,54,28
off,on,on,off,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,on,on,off,on,on,54,54,28,54,54,28,54,54,28,54,54,28
off,on,on,on,off,on,68,66,28,70,66,28,68,66,28,70,66,28
off,on,on,on,on,on,54,54,28,54,54,28,54,54,28,54,54,28
on,off,off,off,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,off,off,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,off,on,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,off,on,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,on,off,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,on,off,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,on,on,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,off,on,on,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,off,off,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,off,off,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,off,on,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,off,on,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,on,off,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,on,off,on,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,on,on,off,any,42,42,28,42,42,28,42,42,28,42,42,28
on,on,on,on,on,any,42,42,28,42,42,28,42,42,28,42,42,28
off,off,any,off,any,off,68,66,28,70,66,28,68,66,28,70,66,28
off,on,any,off,any,off,54,54,28,54,54,28,54,54,28,54,54,28
off,off,any,on,any,off,54,54,28,54,54,28,54,54,28,54,54,28
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 68 66 28 70 66 28 68 66 28 70 66 28
3 off off off off on on 68 66 28 70 66 28 68 66 28 70 66 28
4 off off off on off on 68 66 28 70 66 28 68 66 28 70 66 28
5 off off off on on on 54 66 28 54 66 28 54 66 28 54 66 28
6 off off on off off on 68 66 28 70 66 28 68 66 28 70 66 28
7 off off on off on on 54 54 28 54 54 28 54 54 28 54 54 28
8 off off on on off on 68 66 28 70 66 28 68 66 28 70 66 28
9 off off on on on on 54 54 28 54 54 28 54 54 28 54 54 28
10 off on off off off on 68 66 28 70 66 28 68 66 28 70 66 28
11 off on off off on on 68 66 28 70 66 28 68 66 28 70 66 28
12 off on off on off on 68 66 28 70 66 28 68 66 28 70 66 28
13 off on off on on on 54 54 28 54 54 28 54 54 28 54 54 28
14 off on on off off on 68 66 28 70 66 28 68 66 28 70 66 28
15 off on on off on on 54 54 28 54 54 28 54 54 28 54 54 28
16 off on on on off on 68 66 28 70 66 28 68 66 28 70 66 28
17 off on on on on on 54 54 28 54 54 28 54 54 28 54 54 28
18 on off off off off any 42 42 28 42 42 28 42 42 28 42 42 28
19 on off off off on any 42 42 28 42 42 28 42 42 28 42 42 28
20 on off off on off any 42 42 28 42 42 28 42 42 28 42 42 28
21 on off off on on any 42 42 28 42 42 28 42 42 28 42 42 28
22 on off on off off any 42 42 28 42 42 28 42 42 28 42 42 28
23 on off on off on any 42 42 28 42 42 28 42 42 28 42 42 28
24 on off on on off any 42 42 28 42 42 28 42 42 28 42 42 28
25 on off on on on any 42 42 28 42 42 28 42 42 28 42 42 28
26 on on off off off any 42 42 28 42 42 28 42 42 28 42 42 28
27 on on off off on any 42 42 28 42 42 28 42 42 28 42 42 28
28 on on off on off any 42 42 28 42 42 28 42 42 28 42 42 28
29 on on off on on any 42 42 28 42 42 28 42 42 28 42 42 28
30 on on on off off any 42 42 28 42 42 28 42 42 28 42 42 28
31 on on on off on any 42 42 28 42 42 28 42 42 28 42 42 28
32 on on on on off any 42 42 28 42 42 28 42 42 28 42 42 28
33 on on on on on any 42 42 28 42 42 28 42 42 28 42 42 28
34 off off any off any off 68 66 28 70 66 28 68 66 28 70 66 28
35 off on any off any off 54 54 28 54 54 28 54 54 28 54 54 28
36 off off any on any off 54 54 28 54 54 28 54 54 28 54 54 28

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,on,on,54,66,54,54,66,54,54,66,54,54,66,54
off,off,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,off,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
on,off,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
off,off,any,off,any,off,74,66,74,74,66,74,74,66,74,74,66,74
off,on,any,off,any,off,54,54,54,54,54,54,54,54,54,54,54,54
off,off,any,on,any,off,54,54,54,54,54,54,54,54,54,54,54,54
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 74 66 74 74 66 74 74 66 74 74 66 74
3 off off off off on on 74 66 74 74 66 74 74 66 74 74 66 74
4 off off off on off on 74 66 74 74 66 74 74 66 74 74 66 74
5 off off off on on on 54 66 54 54 66 54 54 66 54 54 66 54
6 off off on off off on 74 66 74 74 66 74 74 66 74 74 66 74
7 off off on off on on 54 54 54 54 54 54 54 54 54 54 54 54
8 off off on on off on 74 66 74 74 66 74 74 66 74 74 66 74
9 off off on on on on 54 54 54 54 54 54 54 54 54 54 54 54
10 off on off off off on 74 66 74 74 66 74 74 66 74 74 66 74
11 off on off off on on 74 66 74 74 66 74 74 66 74 74 66 74
12 off on off on off on 74 66 74 74 66 74 74 66 74 74 66 74
13 off on off on on on 54 54 54 54 54 54 54 54 54 54 54 54
14 off on on off off on 74 66 74 74 66 74 74 66 74 74 66 74
15 off on on off on on 54 54 54 54 54 54 54 54 54 54 54 54
16 off on on on off on 74 66 74 74 66 74 74 66 74 74 66 74
17 off on on on on on 54 54 54 54 54 54 54 54 54 54 54 54
18 on off off off off any 42 42 42 42 42 42 42 42 42 42 42 42
19 on off off off on any 42 42 42 42 42 42 42 42 42 42 42 42
20 on off off on off any 42 42 42 42 42 42 42 42 42 42 42 42
21 on off off on on any 42 42 42 42 42 42 42 42 42 42 42 42
22 on off on off off any 42 42 42 42 42 42 42 42 42 42 42 42
23 on off on off on any 42 42 42 42 42 42 42 42 42 42 42 42
24 on off on on off any 42 42 42 42 42 42 42 42 42 42 42 42
25 on off on on on any 42 42 42 42 42 42 42 42 42 42 42 42
26 on on off off off any 42 42 42 42 42 42 42 42 42 42 42 42
27 on on off off on any 42 42 42 42 42 42 42 42 42 42 42 42
28 on on off on off any 42 42 42 42 42 42 42 42 42 42 42 42
29 on on off on on any 42 42 42 42 42 42 42 42 42 42 42 42
30 on on on off off any 42 42 42 42 42 42 42 42 42 42 42 42
31 on on on off on any 42 42 42 42 42 42 42 42 42 42 42 42
32 on on on on off any 42 42 42 42 42 42 42 42 42 42 42 42
33 on on on on on any 42 42 42 42 42 42 42 42 42 42 42 42
34 off off any off any off 74 66 74 74 66 74 74 66 74 74 66 74
35 off on any off any off 54 54 54 54 54 54 54 54 54 54 54 54
36 off off any on any off 54 54 54 54 54 54 54 54 54 54 54 54

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,off,off,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,off,on,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,off,on,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,on,off,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,on,off,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,on,on,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,off,on,on,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,off,off,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,off,off,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,off,on,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,off,on,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,on,off,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,on,off,on,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,on,on,off,on,74,66,28,70,66,28,74,66,28,70,66,28
off,on,on,on,on,on,74,66,28,70,66,28,74,66,28,70,66,28
on,off,off,off,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,off,off,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,off,on,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,off,on,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,on,off,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,on,off,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,on,on,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,off,on,on,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,off,off,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,off,off,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,off,on,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,off,on,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,on,off,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,on,off,on,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,on,on,off,any,74,66,28,70,66,28,74,66,28,70,66,28
on,on,on,on,on,any,74,66,28,70,66,28,74,66,28,70,66,28
off,off,any,off,any,off,74,66,28,70,66,28,74,66,28,70,66,28
off,on,any,off,any,off,74,66,28,70,66,28,74,66,28,70,66,28
off,off,any,on,any,off,74,66,28,70,66,28,74,66,28,70,66,28
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 74 66 28 70 66 28 74 66 28 70 66 28
3 off off off off on on 74 66 28 70 66 28 74 66 28 70 66 28
4 off off off on off on 74 66 28 70 66 28 74 66 28 70 66 28
5 off off off on on on 74 66 28 70 66 28 74 66 28 70 66 28
6 off off on off off on 74 66 28 70 66 28 74 66 28 70 66 28
7 off off on off on on 74 66 28 70 66 28 74 66 28 70 66 28
8 off off on on off on 74 66 28 70 66 28 74 66 28 70 66 28
9 off off on on on on 74 66 28 70 66 28 74 66 28 70 66 28
10 off on off off off on 74 66 28 70 66 28 74 66 28 70 66 28
11 off on off off on on 74 66 28 70 66 28 74 66 28 70 66 28
12 off on off on off on 74 66 28 70 66 28 74 66 28 70 66 28
13 off on off on on on 74 66 28 70 66 28 74 66 28 70 66 28
14 off on on off off on 74 66 28 70 66 28 74 66 28 70 66 28
15 off on on off on on 74 66 28 70 66 28 74 66 28 70 66 28
16 off on on on off on 74 66 28 70 66 28 74 66 28 70 66 28
17 off on on on on on 74 66 28 70 66 28 74 66 28 70 66 28
18 on off off off off any 74 66 28 70 66 28 74 66 28 70 66 28
19 on off off off on any 74 66 28 70 66 28 74 66 28 70 66 28
20 on off off on off any 74 66 28 70 66 28 74 66 28 70 66 28
21 on off off on on any 74 66 28 70 66 28 74 66 28 70 66 28
22 on off on off off any 74 66 28 70 66 28 74 66 28 70 66 28
23 on off on off on any 74 66 28 70 66 28 74 66 28 70 66 28
24 on off on on off any 74 66 28 70 66 28 74 66 28 70 66 28
25 on off on on on any 74 66 28 70 66 28 74 66 28 70 66 28
26 on on off off off any 74 66 28 70 66 28 74 66 28 70 66 28
27 on on off off on any 74 66 28 70 66 28 74 66 28 70 66 28
28 on on off on off any 74 66 28 70 66 28 74 66 28 70 66 28
29 on on off on on any 74 66 28 70 66 28 74 66 28 70 66 28
30 on on on off off any 74 66 28 70 66 28 74 66 28 70 66 28
31 on on on off on any 74 66 28 70 66 28 74 66 28 70 66 28
32 on on on on off any 74 66 28 70 66 28 74 66 28 70 66 28
33 on on on on on any 74 66 28 70 66 28 74 66 28 70 66 28
34 off off any off any off 74 66 28 70 66 28 74 66 28 70 66 28
35 off on any off any off 74 66 28 70 66 28 74 66 28 70 66 28
36 off off any on any off 74 66 28 70 66 28 74 66 28 70 66 28

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,off,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,off,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,off,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
off,off,any,off,any,off,68,66,38,72,66,38,68,66,38,72,66,38
off,on,any,off,any,off,68,66,38,72,66,38,68,66,38,72,66,38
off,off,any,on,any,off,68,66,38,72,66,38,68,66,38,72,66,38
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 68 66 38 72 66 38 68 66 38 72 66 38
3 off off off off on on 68 66 38 72 66 38 68 66 38 72 66 38
4 off off off on off on 68 66 38 72 66 38 68 66 38 72 66 38
5 off off off on on on 68 66 38 72 66 38 68 66 38 72 66 38
6 off off on off off on 68 66 38 72 66 38 68 66 38 72 66 38
7 off off on off on on 68 66 38 72 66 38 68 66 38 72 66 38
8 off off on on off on 68 66 38 72 66 38 68 66 38 72 66 38
9 off off on on on on 68 66 38 72 66 38 68 66 38 72 66 38
10 off on off off off on 68 66 38 72 66 38 68 66 38 72 66 38
11 off on off off on on 68 66 38 72 66 38 68 66 38 72 66 38
12 off on off on off on 68 66 38 72 66 38 68 66 38 72 66 38
13 off on off on on on 68 66 38 72 66 38 68 66 38 72 66 38
14 off on on off off on 68 66 38 72 66 38 68 66 38 72 66 38
15 off on on off on on 68 66 38 72 66 38 68 66 38 72 66 38
16 off on on on off on 68 66 38 72 66 38 68 66 38 72 66 38
17 off on on on on on 68 66 38 72 66 38 68 66 38 72 66 38
18 on off off off off any 68 66 38 72 66 38 68 66 38 72 66 38
19 on off off off on any 68 66 38 72 66 38 68 66 38 72 66 38
20 on off off on off any 68 66 38 72 66 38 68 66 38 72 66 38
21 on off off on on any 68 66 38 72 66 38 68 66 38 72 66 38
22 on off on off off any 68 66 38 72 66 38 68 66 38 72 66 38
23 on off on off on any 68 66 38 72 66 38 68 66 38 72 66 38
24 on off on on off any 68 66 38 72 66 38 68 66 38 72 66 38
25 on off on on on any 68 66 38 72 66 38 68 66 38 72 66 38
26 on on off off off any 68 66 38 72 66 38 68 66 38 72 66 38
27 on on off off on any 68 66 38 72 66 38 68 66 38 72 66 38
28 on on off on off any 68 66 38 72 66 38 68 66 38 72 66 38
29 on on off on on any 68 66 38 72 66 38 68 66 38 72 66 38
30 on on on off off any 68 66 38 72 66 38 68 66 38 72 66 38
31 on on on off on any 68 66 38 72 66 38 68 66 38 72 66 38
32 on on on on off any 68 66 38 72 66 38 68 66 38 72 66 38
33 on on on on on any 68 66 38 72 66 38 68 66 38 72 66 38
34 off off any off any off 68 66 38 72 66 38 68 66 38 72 66 38
35 off on any off any off 68 66 38 72 66 38 68 66 38 72 66 38
36 off off any on any off 68 66 38 72 66 38 68 66 38 72 66 38

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,on,on,54,66,54,54,66,54,54,66,54,54,66,54
off,off,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,off,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
on,off,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
off,off,any,off,any,off,74,66,74,74,66,74,74,66,74,74,66,74
off,on,any,off,any,off,54,54,54,54,54,54,54,54,54,54,54,54
off,off,any,on,any,off,54,54,54,54,54,54,54,54,54,54,54,54
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 74 66 74 74 66 74 74 66 74 74 66 74
3 off off off off on on 74 66 74 74 66 74 74 66 74 74 66 74
4 off off off on off on 74 66 74 74 66 74 74 66 74 74 66 74
5 off off off on on on 54 66 54 54 66 54 54 66 54 54 66 54
6 off off on off off on 74 66 74 74 66 74 74 66 74 74 66 74
7 off off on off on on 54 54 54 54 54 54 54 54 54 54 54 54
8 off off on on off on 74 66 74 74 66 74 74 66 74 74 66 74
9 off off on on on on 54 54 54 54 54 54 54 54 54 54 54 54
10 off on off off off on 74 66 74 74 66 74 74 66 74 74 66 74
11 off on off off on on 74 66 74 74 66 74 74 66 74 74 66 74
12 off on off on off on 74 66 74 74 66 74 74 66 74 74 66 74
13 off on off on on on 54 54 54 54 54 54 54 54 54 54 54 54
14 off on on off off on 74 66 74 74 66 74 74 66 74 74 66 74
15 off on on off on on 54 54 54 54 54 54 54 54 54 54 54 54
16 off on on on off on 74 66 74 74 66 74 74 66 74 74 66 74
17 off on on on on on 54 54 54 54 54 54 54 54 54 54 54 54
18 on off off off off any 42 42 42 42 42 42 42 42 42 42 42 42
19 on off off off on any 42 42 42 42 42 42 42 42 42 42 42 42
20 on off off on off any 42 42 42 42 42 42 42 42 42 42 42 42
21 on off off on on any 42 42 42 42 42 42 42 42 42 42 42 42
22 on off on off off any 42 42 42 42 42 42 42 42 42 42 42 42
23 on off on off on any 42 42 42 42 42 42 42 42 42 42 42 42
24 on off on on off any 42 42 42 42 42 42 42 42 42 42 42 42
25 on off on on on any 42 42 42 42 42 42 42 42 42 42 42 42
26 on on off off off any 42 42 42 42 42 42 42 42 42 42 42 42
27 on on off off on any 42 42 42 42 42 42 42 42 42 42 42 42
28 on on off on off any 42 42 42 42 42 42 42 42 42 42 42 42
29 on on off on on any 42 42 42 42 42 42 42 42 42 42 42 42
30 on on on off off any 42 42 42 42 42 42 42 42 42 42 42 42
31 on on on off on any 42 42 42 42 42 42 42 42 42 42 42 42
32 on on on on off any 42 42 42 42 42 42 42 42 42 42 42 42
33 on on on on on any 42 42 42 42 42 42 42 42 42 42 42 42
34 off off any off any off 74 66 74 74 66 74 74 66 74 74 66 74
35 off on any off any off 54 54 54 54 54 54 54 54 54 54 54 54
36 off off any on any off 54 54 54 54 54 54 54 54 54 54 54 54

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,off,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,off,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,off,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,off,on,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,off,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,off,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,off,on,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,on,off,on,68,66,38,72,66,38,68,66,38,72,66,38
off,on,on,on,on,on,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,off,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,off,on,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,off,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,off,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,off,on,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,on,off,any,68,66,38,72,66,38,68,66,38,72,66,38
on,on,on,on,on,any,68,66,38,72,66,38,68,66,38,72,66,38
off,off,any,off,any,off,68,66,38,72,66,38,68,66,38,72,66,38
off,on,any,off,any,off,68,66,38,72,66,38,68,66,38,72,66,38
off,off,any,on,any,off,68,66,38,72,66,38,68,66,38,72,66,38
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 68 66 38 72 66 38 68 66 38 72 66 38
3 off off off off on on 68 66 38 72 66 38 68 66 38 72 66 38
4 off off off on off on 68 66 38 72 66 38 68 66 38 72 66 38
5 off off off on on on 68 66 38 72 66 38 68 66 38 72 66 38
6 off off on off off on 68 66 38 72 66 38 68 66 38 72 66 38
7 off off on off on on 68 66 38 72 66 38 68 66 38 72 66 38
8 off off on on off on 68 66 38 72 66 38 68 66 38 72 66 38
9 off off on on on on 68 66 38 72 66 38 68 66 38 72 66 38
10 off on off off off on 68 66 38 72 66 38 68 66 38 72 66 38
11 off on off off on on 68 66 38 72 66 38 68 66 38 72 66 38
12 off on off on off on 68 66 38 72 66 38 68 66 38 72 66 38
13 off on off on on on 68 66 38 72 66 38 68 66 38 72 66 38
14 off on on off off on 68 66 38 72 66 38 68 66 38 72 66 38
15 off on on off on on 68 66 38 72 66 38 68 66 38 72 66 38
16 off on on on off on 68 66 38 72 66 38 68 66 38 72 66 38
17 off on on on on on 68 66 38 72 66 38 68 66 38 72 66 38
18 on off off off off any 68 66 38 72 66 38 68 66 38 72 66 38
19 on off off off on any 68 66 38 72 66 38 68 66 38 72 66 38
20 on off off on off any 68 66 38 72 66 38 68 66 38 72 66 38
21 on off off on on any 68 66 38 72 66 38 68 66 38 72 66 38
22 on off on off off any 68 66 38 72 66 38 68 66 38 72 66 38
23 on off on off on any 68 66 38 72 66 38 68 66 38 72 66 38
24 on off on on off any 68 66 38 72 66 38 68 66 38 72 66 38
25 on off on on on any 68 66 38 72 66 38 68 66 38 72 66 38
26 on on off off off any 68 66 38 72 66 38 68 66 38 72 66 38
27 on on off off on any 68 66 38 72 66 38 68 66 38 72 66 38
28 on on off on off any 68 66 38 72 66 38 68 66 38 72 66 38
29 on on off on on any 68 66 38 72 66 38 68 66 38 72 66 38
30 on on on off off any 68 66 38 72 66 38 68 66 38 72 66 38
31 on on on off on any 68 66 38 72 66 38 68 66 38 72 66 38
32 on on on on off any 68 66 38 72 66 38 68 66 38 72 66 38
33 on on on on on any 68 66 38 72 66 38 68 66 38 72 66 38
34 off off any off any off 68 66 38 72 66 38 68 66 38 72 66 38
35 off on any off any off 68 66 38 72 66 38 68 66 38 72 66 38
36 off off any on any off 68 66 38 72 66 38 68 66 38 72 66 38

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,74,66,34,70,66,28,74,66,34,70,66,28
off,off,off,off,on,on,74,66,34,70,66,28,74,66,34,70,66,28
off,off,off,on,off,on,74,66,34,70,66,28,74,66,34,70,66,28
off,off,off,on,on,on,62,62,34,62,62,28,62,62,34,62,62,28
off,off,on,off,off,on,74,66,34,70,66,28,74,66,34,70,66,28
off,off,on,off,on,on,62,62,34,62,62,28,62,62,34,62,62,28
off,off,on,on,off,on,70,66,34,70,66,28,70,66,34,70,66,28
off,off,on,on,on,on,62,62,34,62,62,28,62,62,34,62,62,28
off,on,off,off,off,on,70,66,34,70,66,28,70,66,34,70,66,28
off,on,off,off,on,on,70,66,34,70,66,28,70,66,34,70,66,28
off,on,off,on,off,on,70,66,34,70,66,28,70,66,34,70,66,28
off,on,off,on,on,on,62,62,34,62,62,28,62,62,34,62,62,28
off,on,on,off,off,on,70,66,34,70,66,28,70,66,34,70,66,28
off,on,on,off,on,on,62,62,34,62,62,28,62,62,34,62,62,28
off,on,on,on,off,on,70,66,34,70,66,28,70,66,34,70,66,28
off,on,on,on,on,on,62,62,34,62,62,28,62,62,34,62,62,28
on,off,off,off,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,off,off,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,off,on,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,off,on,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,on,off,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,on,off,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,on,on,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,off,on,on,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,off,off,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,off,off,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,off,on,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,off,on,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,on,off,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,on,off,on,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,on,on,off,any,62,62,34,62,62,28,62,62,34,62,62,28
on,on,on,on,on,any,62,62,34,62,62,28,62,62,34,62,62,28
off,off,any,off,any,off,74,66,34,70,66,28,74,66,34,70,66,28
off,on,any,off,any,off,62,62,34,62,62,28,62,62,34,62,62,28
off,off,any,on,any,off,62,62,34,62,62,28,62,62,34,62,62,28
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 74 66 34 70 66 28 74 66 34 70 66 28
3 off off off off on on 74 66 34 70 66 28 74 66 34 70 66 28
4 off off off on off on 74 66 34 70 66 28 74 66 34 70 66 28
5 off off off on on on 62 62 34 62 62 28 62 62 34 62 62 28
6 off off on off off on 74 66 34 70 66 28 74 66 34 70 66 28
7 off off on off on on 62 62 34 62 62 28 62 62 34 62 62 28
8 off off on on off on 70 66 34 70 66 28 70 66 34 70 66 28
9 off off on on on on 62 62 34 62 62 28 62 62 34 62 62 28
10 off on off off off on 70 66 34 70 66 28 70 66 34 70 66 28
11 off on off off on on 70 66 34 70 66 28 70 66 34 70 66 28
12 off on off on off on 70 66 34 70 66 28 70 66 34 70 66 28
13 off on off on on on 62 62 34 62 62 28 62 62 34 62 62 28
14 off on on off off on 70 66 34 70 66 28 70 66 34 70 66 28
15 off on on off on on 62 62 34 62 62 28 62 62 34 62 62 28
16 off on on on off on 70 66 34 70 66 28 70 66 34 70 66 28
17 off on on on on on 62 62 34 62 62 28 62 62 34 62 62 28
18 on off off off off any 62 62 34 62 62 28 62 62 34 62 62 28
19 on off off off on any 62 62 34 62 62 28 62 62 34 62 62 28
20 on off off on off any 62 62 34 62 62 28 62 62 34 62 62 28
21 on off off on on any 62 62 34 62 62 28 62 62 34 62 62 28
22 on off on off off any 62 62 34 62 62 28 62 62 34 62 62 28
23 on off on off on any 62 62 34 62 62 28 62 62 34 62 62 28
24 on off on on off any 62 62 34 62 62 28 62 62 34 62 62 28
25 on off on on on any 62 62 34 62 62 28 62 62 34 62 62 28
26 on on off off off any 62 62 34 62 62 28 62 62 34 62 62 28
27 on on off off on any 62 62 34 62 62 28 62 62 34 62 62 28
28 on on off on off any 62 62 34 62 62 28 62 62 34 62 62 28
29 on on off on on any 62 62 34 62 62 28 62 62 34 62 62 28
30 on on on off off any 62 62 34 62 62 28 62 62 34 62 62 28
31 on on on off on any 62 62 34 62 62 28 62 62 34 62 62 28
32 on on on on off any 62 62 34 62 62 28 62 62 34 62 62 28
33 on on on on on any 62 62 34 62 62 28 62 62 34 62 62 28
34 off off any off any off 74 66 34 70 66 28 74 66 34 70 66 28
35 off on any off any off 62 62 34 62 62 28 62 62 34 62 62 28
36 off off any on any off 62 62 34 62 62 28 62 62 34 62 62 28

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,on,on,54,66,54,54,66,54,54,66,54,54,66,54
off,off,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,off,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
on,off,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
off,off,any,off,any,off,74,66,74,74,66,74,74,66,74,74,66,74
off,on,any,off,any,off,54,54,54,54,54,54,54,54,54,54,54,54
off,off,any,on,any,off,54,54,54,54,54,54,54,54,54,54,54,54
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 74 66 74 74 66 74 74 66 74 74 66 74
3 off off off off on on 74 66 74 74 66 74 74 66 74 74 66 74
4 off off off on off on 74 66 74 74 66 74 74 66 74 74 66 74
5 off off off on on on 54 66 54 54 66 54 54 66 54 54 66 54
6 off off on off off on 74 66 74 74 66 74 74 66 74 74 66 74
7 off off on off on on 54 54 54 54 54 54 54 54 54 54 54 54
8 off off on on off on 74 66 74 74 66 74 74 66 74 74 66 74
9 off off on on on on 54 54 54 54 54 54 54 54 54 54 54 54
10 off on off off off on 74 66 74 74 66 74 74 66 74 74 66 74
11 off on off off on on 74 66 74 74 66 74 74 66 74 74 66 74
12 off on off on off on 74 66 74 74 66 74 74 66 74 74 66 74
13 off on off on on on 54 54 54 54 54 54 54 54 54 54 54 54
14 off on on off off on 74 66 74 74 66 74 74 66 74 74 66 74
15 off on on off on on 54 54 54 54 54 54 54 54 54 54 54 54
16 off on on on off on 74 66 74 74 66 74 74 66 74 74 66 74
17 off on on on on on 54 54 54 54 54 54 54 54 54 54 54 54
18 on off off off off any 42 42 42 42 42 42 42 42 42 42 42 42
19 on off off off on any 42 42 42 42 42 42 42 42 42 42 42 42
20 on off off on off any 42 42 42 42 42 42 42 42 42 42 42 42
21 on off off on on any 42 42 42 42 42 42 42 42 42 42 42 42
22 on off on off off any 42 42 42 42 42 42 42 42 42 42 42 42
23 on off on off on any 42 42 42 42 42 42 42 42 42 42 42 42
24 on off on on off any 42 42 42 42 42 42 42 42 42 42 42 42
25 on off on on on any 42 42 42 42 42 42 42 42 42 42 42 42
26 on on off off off any 42 42 42 42 42 42 42 42 42 42 42 42
27 on on off off on any 42 42 42 42 42 42 42 42 42 42 42 42
28 on on off on off any 42 42 42 42 42 42 42 42 42 42 42 42
29 on on off on on any 42 42 42 42 42 42 42 42 42 42 42 42
30 on on on off off any 42 42 42 42 42 42 42 42 42 42 42 42
31 on on on off on any 42 42 42 42 42 42 42 42 42 42 42 42
32 on on on on off any 42 42 42 42 42 42 42 42 42 42 42 42
33 on on on on on any 42 42 42 42 42 42 42 42 42 42 42 42
34 off off any off any off 74 66 74 74 66 74 74 66 74 74 66 74
35 off on any off any off 54 54 54 54 54 54 54 54 54 54 54 54
36 off off any on any off 54 54 54 54 54 54 54 54 54 54 54 54

View File

@@ -0,0 +1,36 @@
Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1
off,off,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,off,on,on,on,54,66,54,54,66,54,54,66,54,54,66,54
off,off,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,off,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,off,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,off,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,off,on,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,off,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,off,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,off,on,on,54,54,54,54,54,54,54,54,54,54,54,54
off,on,on,on,off,on,74,66,74,74,66,74,74,66,74,74,66,74
off,on,on,on,on,on,54,54,54,54,54,54,54,54,54,54,54,54
on,off,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,off,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,off,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,off,on,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,off,any,42,42,42,42,42,42,42,42,42,42,42,42
on,on,on,on,on,any,42,42,42,42,42,42,42,42,42,42,42,42
off,off,any,off,any,off,74,66,74,74,66,74,74,66,74,74,66,74
off,on,any,off,any,off,54,54,54,54,54,54,54,54,54,54,54,54
off,off,any,on,any,off,54,54,54,54,54,54,54,54,54,54,54,54
1 Head BTHotspot WIFI5Ghz HotspotVoice Cell IMU BDR_Single_Chain_0 EDR_Single_Chain_0 BLE_Single_Chain_0 BDR_Single_Chain_1 EDR_Single_Chain_1 BLE_Single_Chain_1 BDR_Dual_Chain_0 EDR_Dual_Chain_0 BLE_Dual_Chain_0 BDR_Dual_Chain_1 EDR_Dual_Chain_1 BLE_Dual_Chain_1
2 off off off off off on 74 66 74 74 66 74 74 66 74 74 66 74
3 off off off off on on 74 66 74 74 66 74 74 66 74 74 66 74
4 off off off on off on 74 66 74 74 66 74 74 66 74 74 66 74
5 off off off on on on 54 66 54 54 66 54 54 66 54 54 66 54
6 off off on off off on 74 66 74 74 66 74 74 66 74 74 66 74
7 off off on off on on 54 54 54 54 54 54 54 54 54 54 54 54
8 off off on on off on 74 66 74 74 66 74 74 66 74 74 66 74
9 off off on on on on 54 54 54 54 54 54 54 54 54 54 54 54
10 off on off off off on 74 66 74 74 66 74 74 66 74 74 66 74
11 off on off off on on 74 66 74 74 66 74 74 66 74 74 66 74
12 off on off on off on 74 66 74 74 66 74 74 66 74 74 66 74
13 off on off on on on 54 54 54 54 54 54 54 54 54 54 54 54
14 off on on off off on 74 66 74 74 66 74 74 66 74 74 66 74
15 off on on off on on 54 54 54 54 54 54 54 54 54 54 54 54
16 off on on on off on 74 66 74 74 66 74 74 66 74 74 66 74
17 off on on on on on 54 54 54 54 54 54 54 54 54 54 54 54
18 on off off off off any 42 42 42 42 42 42 42 42 42 42 42 42
19 on off off off on any 42 42 42 42 42 42 42 42 42 42 42 42
20 on off off on off any 42 42 42 42 42 42 42 42 42 42 42 42
21 on off off on on any 42 42 42 42 42 42 42 42 42 42 42 42
22 on off on off off any 42 42 42 42 42 42 42 42 42 42 42 42
23 on off on off on any 42 42 42 42 42 42 42 42 42 42 42 42
24 on off on on off any 42 42 42 42 42 42 42 42 42 42 42 42
25 on off on on on any 42 42 42 42 42 42 42 42 42 42 42 42
26 on on off off off any 42 42 42 42 42 42 42 42 42 42 42 42
27 on on off off on any 42 42 42 42 42 42 42 42 42 42 42 42
28 on on off on off any 42 42 42 42 42 42 42 42 42 42 42 42
29 on on off on on any 42 42 42 42 42 42 42 42 42 42 42 42
30 on on on off off any 42 42 42 42 42 42 42 42 42 42 42 42
31 on on on off on any 42 42 42 42 42 42 42 42 42 42 42 42
32 on on on on off any 42 42 42 42 42 42 42 42 42 42 42 42
33 on on on on on any 42 42 42 42 42 42 42 42 42 42 42 42
34 off off any off any off 74 66 74 74 66 74 74 66 74 74 66 74
35 off on any off any off 54 54 54 54 54 54 54 54 54 54 54 54
36 off off any on any off 54 54 54 54 54 54 54 54 54 54 54 54

View File

@@ -0,0 +1,4 @@
# This is BTBCM HAL overlay configuration file.
# Uart port name
UartPort = /dev/ttySAC18

View File

@@ -0,0 +1,18 @@
<compatibility-matrix version="1.0" type="framework" level="7">
<hal format="hidl">
<name>hardware.google.bluetooth.bt_channel_avoidance</name>
<version>1.0</version>
<interface>
<name>IBTChannelAvoidance</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>hardware.google.bluetooth.sar</name>
<version>1.1</version>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<!---
This is an example to configure LE Audio hardware offload supported capability settings
codecConfigurationList:
Supported codec capability along with its parameter setting
strategyConfigurationList:
ASE Configuration strategies
configurationList:
For each configuration, there are two attributes
- codecConfiguration
- strategyConfiguration
scenarioList:
There would be only one `scenarios` group
For each scenario, the are two attributes
- encode
- decode
If a scenario is unidirectional, mark another direction as `invalid`
The configuration should be chosen from `configurationList`
-->
<leAudioOffloadSetting>
<scenarioList>
<!-- encode only -->
<scenario encode="OneChanMono_16_1" decode="invalid"/>
<scenario encode="TwoChanStereo_16_1" decode="invalid"/>
<scenario encode="OneChanStereo_16_1" decode="invalid"/>
<scenario encode="OneChanMono_16_2" decode="invalid"/>
<scenario encode="TwoChanStereo_16_2" decode="invalid"/>
<scenario encode="OneChanStereo_16_2" decode="invalid"/>
<scenario encode="OneChanMono_24_2" decode="invalid"/>
<scenario encode="TwoChanStereo_24_2" decode="invalid"/>
<scenario encode="OneChanStereo_24_2" decode="invalid"/>
<scenario encode="OneChanMono_48_2" decode="invalid"/>
<scenario encode="TwoChanStereo_48_2" decode="invalid"/>
<scenario encode="OneChanStereo_48_2" decode="invalid"/>
<scenario encode="OneChanMono_48_4" decode="invalid"/>
<scenario encode="TwoChanStereo_48_4" decode="invalid"/>
<scenario encode="OneChanStereo_48_4" decode="invalid"/>
<!-- encode and decode -->
<scenario encode="OneChanStereo_16_1" decode="OneChanStereo_16_1"/>
<scenario encode="OneChanStereo_16_1" decode="OneChanMono_16_1"/>
<scenario encode="TwoChanStereo_16_1" decode="OneChanMono_16_1"/>
<scenario encode="OneChanMono_16_1" decode="OneChanMono_16_1"/>
<scenario encode="OneChanStereo_16_2" decode="OneChanStereo_16_2"/>
<scenario encode="OneChanStereo_16_2" decode="OneChanMono_16_2"/>
<scenario encode="TwoChanStereo_16_2" decode="OneChanMono_16_2"/>
<scenario encode="OneChanMono_16_2" decode="OneChanMono_16_2"/>
<scenario encode="TwoChanStereo_32_2" decode="OneChanMono_32_2"/>
<scenario encode="OneChanMono_32_2" decode="OneChanMono_32_2"/>
<!-- broadcast -->
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_24_2"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_16_2"/>
</scenarioList>
<configurationList>
<configuration name="OneChanMono_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
<configuration name="TwoChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
<configuration name="OneChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
<configuration name="OneChanMono_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
<configuration name="TwoChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
<configuration name="OneChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
<configuration name="OneChanMono_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
<configuration name="TwoChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
<configuration name="OneChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
<configuration name="OneChanMono_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
<configuration name="TwoChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
<configuration name="OneChanMono_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
<configuration name="TwoChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
<configuration name="OneChanStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
<configuration name="OneChanMono_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
<configuration name="TwoChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
<configuration name="OneChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
<configuration name="BcastStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="BROADCAST_STEREO"/>
</configurationList>
<codecConfigurationList>
<codecConfiguration name="LC3_16k_1" codec="LC3" samplingFrequency="16000" frameDurationUs="7500" octetsPerCodecFrame="30"/>
<codecConfiguration name="LC3_16k_2" codec="LC3" samplingFrequency="16000" frameDurationUs="10000" octetsPerCodecFrame="40"/>
<codecConfiguration name="LC3_24k_2" codec="LC3" samplingFrequency="24000" frameDurationUs="10000" octetsPerCodecFrame="60"/>
<codecConfiguration name="LC3_32k_2" codec="LC3" samplingFrequency="32000" frameDurationUs="10000" octetsPerCodecFrame="80"/>
<codecConfiguration name="LC3_48k_2" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="100"/>
<codecConfiguration name="LC3_48k_4" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="120"/>
</codecConfigurationList>
<strategyConfigurationList>
<strategyConfiguration name="STEREO_ONE_CIS_PER_DEVICE" audioLocation="STEREO" connectedDevice="2" channelCount="1"/>
<strategyConfiguration name="STEREO_TWO_CISES_PER_DEVICE" audioLocation="STEREO" connectedDevice="1" channelCount="2"/>
<strategyConfiguration name="MONO_ONE_CIS_PER_DEVICE" audioLocation="MONO" connectedDevice="1" channelCount="1"/>
<strategyConfiguration name="BROADCAST_STEREO" audioLocation="STEREO" connectedDevice="0" channelCount="2"/>
</strategyConfigurationList>
</leAudioOffloadSetting>

View File

@@ -0,0 +1,29 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothHci</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>hardware.google.bluetooth.bt_channel_avoidance</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBTChannelAvoidance</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>hardware.google.bluetooth.sar</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

130
bluetooth/qti_default.mk Normal file
View File

@@ -0,0 +1,130 @@
#
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Bluetooth Services sysprop for A2DP AAC VBR and A2DP offloading
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_switcher.supported=true \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=false \
ro.vendor.audio_hal.ble_use_stream_id=true \
bluetooth.profile.bap.unicast.client.enabled?=true \
bluetooth.profile.csip.set_coordinator.enabled?=true \
bluetooth.profile.hap.client.enabled?=true \
bluetooth.profile.mcp.server.enabled?=true \
bluetooth.profile.ccp.server.enabled?=true \
bluetooth.profile.vcp.controller.enabled?=true \
# Bluetooth LE Audio CIS handover to SCO
# Set the property only if the controller doesn't support CIS and SCO
# simultaneously. More details in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Not support LE Audio dual mic SWB call based on the current launch strategy
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=false
# LE Audio Lunch Config for Phase 1 (LE audio toggle hidden by default)
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.toggle_visible=false
# LE Auido Offload Capabilities setting
PRODUCT_COPY_FILES += \
device/google/lynx/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# LE Audio use classic connection by default
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio.le_audio_connection_by_default=false
# Bluetooth HAL and Pixel extension
DEVICE_MANIFEST_FILE += \
device/google/lynx/bluetooth/manifest_bluetooth.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/lynx/bluetooth/device_framework_matrix_product.xml
BOARD_SEPOLICY_DIRS += device/google/lynx/sepolicy/bluetooth
BOARD_HAVE_BLUETOOTH_QCOM = true
BOARD_USES_COMMON_BLUETOOTH_HAL = true
QCOM_BLUETOOTH_USING_DIAG = false
TARGET_BLUETOOTH_HCI_V1_1 = true
TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
UART_USE_TERMIOS_AFC = true
TARGET_USE_QTI_BT_IBS = false
TARGET_USE_QTI_BT_OBS = true
TARGET_USE_QTI_BT_SAR_V1_1 = true
TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true
TARGET_DROP_BYTES_BEFORE_SSR_DUMP = true
# IBluetoothHci @1.1 / @1.0
ifeq ($(TARGET_BLUETOOTH_HCI_V1_1),true)
PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-impl-qti
else
PRODUCT_PACKAGES += android.hardware.bluetooth@1.0-impl-qti
endif
# IBluetoothSar @1.1 / @1.0
ifeq ($(TARGET_USE_QTI_BT_SAR_V1_1),true)
PRODUCT_PACKAGES += hardware.google.bluetooth.sar@1.1-impl
else ifeq ($(TARGET_USE_QTI_BT_SAR),true)
PRODUCT_PACKAGES += hardware.google.bluetooth.sar@1.0-impl
endif
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0-service-qti \
hardware.google.bluetooth.bt_channel_avoidance@1.0-impl \
android.hardware.bluetooth.prebuilt.xml \
android.hardware.bluetooth_le.prebuilt.xml
# Bluetooth SAR Tx power caps
PRODUCT_COPY_FILES += \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G0DZQ_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G0DZQ_EU.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_GHL1X_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GHL1X_EU.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G0DZQ_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G0DZQ_CA.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G0DZQ_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G0DZQ_US.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_GWKK3_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GWKK3_cA.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_GWKK3_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GWKK3_US.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G0DZQ_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G0DZQ_JP.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G82U8_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G82U8_JP.csv
# Bluetooth SAR test tools
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
ifneq (,$(filter true, $(TARGET_USE_QTI_BT_SAR_V1_1) $(TARGET_USE_QTI_BT_SAR)))
PRODUCT_PACKAGES_DEBUG += bluetooth_sar_test
endif
endif
# Bluetooth (Vendor) SoC, BDA in device tree, and WiPower
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=hastings \
ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr \
ro.vendor.bluetooth.emb_wp_mode=false \
ro.vendor.bluetooth.wipower=false
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=true \
persist.vendor.service.bdroid.fwsnoop=true
else
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=false \
persist.vendor.service.bdroid.fwsnoop=false
endif

111
conf/init.lynx.rc Normal file
View File

@@ -0,0 +1,111 @@
# Lynx specific init.rc
import /vendor/etc/init/hw/init.gs201.rc
on init
# NFC streset tool name
setprop persist.vendor.nfc.streset libstreset21
setprop persist.vendor.se.streset libstreset21
setprop dalvik.vm.dexopt.thermal-cutoff 1
# When ro.build.flavor=factory_lynx-userdebug, add vendor/bin/factory to default path
on init && property:ro.build.flavor=factory_lynx-userdebug
export PATH /product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin:/vendor/bin/factory
on early-boot
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1
start insmod_sh_lynx
service insmod_sh_lynx /vendor/bin/insmod.sh /vendor/etc/init.insmod.lynx.cfg
class main
user root
group root system
disabled
oneshot
on boot && property:ro.build.flavor=factory_lynx-userdebug
# FTM log folder
mkdir /data/ftmlog 0775 system system
# Audio test folder
mkdir /data/AudioTest 0775 system system
# Start the twoshay touch service
on property:vendor.device.modules.ready=1
start twoshay
on property:vendor.mfgapi.touchpanel.permission=1
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
chown system system /sys/devices/virtual/sec/tsp/cmd
# SecureElement eSE2 cts mode
on property:persist.vendor.se.ese2.mode=ctsmode
write /sys/class/st33spi/st33spi/st33spi_state 33
# Allow secure_element group to read / write ST33 SPI state
on post-fs-data
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
# Wifi
on property:sys.boot_completed=1
write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1
on property:vendor.all.modules.ready=1 && property:vendor.all.devices.ready=1
write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1
# Create directories for wifihal services
mkdir /dev/socket/wifihal 0770 wifi wifi
chmod 2777 /dev/socket/wifihal
# Create directories for Location services
mkdir /dev/socket/location 0770 wifi wifi
chmod 2777 /dev/socket/location
mkdir /dev/socket/location/mq 0770 wifi wifi
chmod 2777 /dev/socket/location/mq
start vendor.loc_launcher
# Start loc_launcher to launch lowi-server
service vendor.loc_launcher /system/vendor/bin/loc_launcher
class late_start
user wifi
group wifi
disabled
# Start cnss-daemon for CHRE
service vendor.cnss-daemon /vendor/bin/cnss-daemon -n -l
class late_start
user system
group system inet wifi
# Toggle high_sensitivity according to touch_sensitivity_mode
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 0
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1
# For Japan sku, always enforce camera shutter sound
# Since this property is read by the audio server in system service,
# it should be written by the system init.
on property:ro.boot.hardware.sku=G82U8
setprop audio.camerasound.force true
# Haptics
on property:vendor.all.modules.ready=1
mkdir /mnt/vendor/persist/haptics 0770 system system
chmod 770 /mnt/vendor/persist/haptics
chmod 440 /mnt/vendor/persist/haptics/cs40l26.cal
chown system system /mnt/vendor/persist/haptics
chown system system /mnt/vendor/persist/haptics/cs40l26.cal
chown system system /sys/bus/i2c/devices/8-0043/calibration/f0_stored
chown system system /sys/bus/i2c/devices/8-0043/calibration/q_stored
chown system system /sys/bus/i2c/devices/8-0043/calibration/redc_stored
chown system system /sys/bus/i2c/devices/8-0043/default/vibe_state
chown system system /sys/bus/i2c/devices/8-0043/default/num_waves
chown system system /sys/bus/i2c/devices/8-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/8-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/8-0043/default/f0_comp_enable
chown system system /sys/bus/i2c/devices/8-0043/default/redc_comp_enable
chown system system /sys/bus/i2c/devices/8-0043/default/delay_before_stop_playback_us
enable vendor.vibrator.cs40l26

View File

@@ -1,10 +1,11 @@
#
# Copyright (C) 2026 The Evolution X Project
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-evolution
# Udfps
TARGET_HAS_UDFPS += true

62
device-lineage.mk Normal file
View File

@@ -0,0 +1,62 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
ANGLE
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlayLynx
# Kernel
TARGET_PREBUILT_KERNEL := device/google/lynx-kernel/Image.lz4
# wireless_charger HAL service
include device/google/gs-common/wireless_charger/wireless_charger.mk
# Build necessary packages for vendor
# Codec2
PRODUCT_PACKAGES += \
libacryl \
libacryl_hdr_plugin \
libexynosv4l2
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
# Graphics
PRODUCT_PACKAGES += \
libEGL_angle \
libGLESv1_CM_angle \
libGLESv2_angle
# Identity credential
PRODUCT_PACKAGES += \
android.hardware.identity_credential.xml
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal
# Wi-Fi
PRODUCT_PACKAGES += \
libwifi-hal-ctrl:64
# Properties
TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop

View File

@@ -1,23 +1,82 @@
#
# SPDX-FileCopyrightText: 2021 The Android Open-Source Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-FileCopyrightText: The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_LINUX_KERNEL_VERSION := 6.1
TARGET_KERNEL_DEVICE := lynx
TARGET_KERNEL_DIR := device/google/$(TARGET_KERNEL_DEVICE)-kernels/$(TARGET_LINUX_KERNEL_VERSION)
TARGET_KERNEL_PLATFORM_SOURCE := google/gs-$(TARGET_LINUX_KERNEL_VERSION)
TARGET_KERNEL_DIR ?= device/google/lynx-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/lynx-kernel/kernel-headers
ifdef RELEASE_GOOGLE_LYNX_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_LYNX_KERNEL_VERSION)
endif
ifdef RELEASE_GOOGLE_LYNX_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_LYNX_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_LYNX_KERNEL_DIR)/kernel-headers
endif
$(call inherit-product-if-exists, vendor/google_devices/lynx/prebuilts/device-vendor-lynx.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/lynx/device-vendor-lynx.mk)
$(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/WallpapersLynx.mk)
DEVICE_PACKAGE_OVERLAYS += device/google/lynx/lynx/overlay
DEVICE_PACKAGE_OVERLAYS += device/google/lynx/overlay-lineage
include device/google/lynx/audio/lynx/audio-tables.mk
include device/google/gs201/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/wlan/dump.mk
# go/lyric-soong-variables
$(call soong_config_set,lyric,camera_hardware,lynx)
$(call soong_config_set,lyric,tuning_product,lynx)
$(call soong_config_set,google3a_config,target_device,lynx)
# Init files
PRODUCT_COPY_FILES += \
device/google/lynx/conf/init.lynx.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.lynx.rc
# Recovery files
PRODUCT_COPY_FILES += \
device/google/lynx/recovery/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.lynx.rc
device/google/lynx/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.lynx.rc
# insmod files
PRODUCT_COPY_FILES += \
device/google/lynx/init.insmod.lynx.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.lynx.cfg
# Camera
PRODUCT_COPY_FILES += \
device/google/lynx/media_profiles_lynx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
# Media Performance Class 13
PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=33
# Display Config
PRODUCT_COPY_FILES += \
device/google/lynx/lynx/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb \
device/google/lynx/lynx/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb
# Display
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1000
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
#config of primary display frames to reach LHBM peak brightness
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=2
# NFC
PRODUCT_COPY_FILES += \
@@ -25,9 +84,13 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
device/google/lynx/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
device/google/lynx/nfc/libnfc-nci-lynx.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
PRODUCT_PACKAGES += \
$(RELEASE_PACKAGE_NFC_STACK) \
Tag \
android.hardware.nfc-service.st \
NfcOverlayLynx
@@ -38,31 +101,214 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
device/google/lynx/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
device/google/lynx/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
# Bluetooth HAL
PRODUCT_PACKAGES += \
android.hardware.bluetooth.prebuilt.xml \
android.hardware.bluetooth_le.prebuilt.xml
DEVICE_MANIFEST_FILE += \
device/google/lynx/nfc/manifest_se.xml
# Thermal Config
PRODUCT_COPY_FILES += \
device/google/lynx/thermal_info_config_lynx.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
device/google/lynx/thermal_info_config_charge_lynx.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json
# Power HAL config
PRODUCT_COPY_FILES += \
device/google/lynx/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
# PowerStats HAL
PRODUCT_SOONG_NAMESPACES += \
device/google/lynx/powerstats \
device/google/lynx
# Bluetooth HAL and Pixel extension
include device/google/lynx/bluetooth/qti_default.mk
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# Gatekeeper HAL
#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software
# Gatekeeper
# PRODUCT_PACKAGES += \
# android.hardware.gatekeeper@1.0-service.software
# Keymint replaces Keymaster
# PRODUCT_PACKAGES += \
# android.hardware.security.keymint-service
# Keymaster
#PRODUCT_PACKAGES += \
# android.hardware.keymaster@4.0-impl \
# android.hardware.keymaster@4.0-service
#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote
#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote
#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# PRODUCT_PROPERTY_OVERRIDES += \
# ro.hardware.keystore_desede=true \
# ro.hardware.keystore=software \
# ro.hardware.gatekeeper=software
# Fingerprint HAL
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/firmware/fingerprint/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/firmware/fingerprint/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/firmware/fingerprint/trunk
endif
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk)
ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)
else
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk)
endif
# Vibrator HAL
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.supported_primitives=243 \
ro.vendor.vibrator.hal.f0.comp.enabled=1 \
ro.vendor.vibrator.hal.redc.comp.enabled=0 \
persist.vendor.vibrator.hal.context.enable=false \
persist.vendor.vibrator.hal.context.scale=40 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/trunk
endif
# GPS xml
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/lynx/location/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/lynx/location/lhd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/lynx/location/scd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
else
PRODUCT_COPY_FILES += \
device/google/lynx/location/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/lynx/location/lhd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/lynx/location/scd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
endif
# Wifi HAL
PRODUCT_SOONG_NAMESPACES += \
hardware/qcom/wlan \
hardware/qcom/wlan/wcn6740
PRODUCT_SOONG_NAMESPACES += hardware/qcom/wlan/wcn6740
# DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2 \
ro.gms.dck.se_capability=1
# WIFI COEX
PRODUCT_COPY_FILES += \
device/google/lynx/wifi/coex_table.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/coex_table.xml
# WiFi Overlay
PRODUCT_PACKAGES += \
WifiOverlay2023Mid
# Wifi Aware Interface
PRODUCT_PROPERTY_OVERRIDES += \
wifi.aware.interface=wifi-aware0
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=3g
# Increment the SVN for any official public releases
ifdef RELEASE_SVN_LYNX
TARGET_SVN ?= $(RELEASE_SVN_LYNX)
else
# Set this for older releases that don't use build flag
TARGET_SVN ?= 46
endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_hide_display_cutout=true
# Set support One-handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
# Fingerprint als feed forward
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.als_feed_forward_supported=true \
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
# Hide cutout overlays
PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay
# MIPI Coex Configs
PRODUCT_COPY_FILES += \
device/google/lynx/lynx/radio/lynx_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.extended_launch_boost=1 \
persist.vendor.camera.optimized_tnr_freq=1 \
persist.vendor.camera.raise_buf_allocation_priority=1 \
persist.vendor.camera.start_cpu_throttling_at_moderate_thermal=1
# Enable camera 1080P 60FPS binning mode
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.1080P_60fps_binning=true
# Increase thread priority for nodes stop
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.increase_thread_priority_nodes_stop=true
# OIS with system imu
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.ois_with_system_imu=true
# Enable camera exif model/make reporting
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true
# Enable front camera always binning for 720P or smaller resolution
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.front_720P_always_binning=true
# Device features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# The default value of this variable is false and should only be set to true when
# the device allows users to enable the seamless transfer feature.
PRODUCT_PRODUCT_PROPERTIES += \
euicc.seamless_transfer_enabled_in_non_qs=true
##Audio Vendor property
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# eng specific
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# SKU specific RROs
PRODUCT_PACKAGES += \
SettingsOverlayG82U8 \
@@ -70,46 +316,11 @@ PRODUCT_PACKAGES += \
SettingsOverlayGHL1X \
SettingsOverlayGWKK3
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
ANGLE
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
# GNSS
PRODUCT_PACKAGES += \
android.hardware.sensors-V2-ndk.vendor:64
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlayLynx
# Init
PRODUCT_PACKAGES += \
init.recovery.lynx.touch.rc
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal
# Wi-Fi
PRODUCT_PACKAGES += \
libwifi-hal-ctrl:64
# VINTF
DEVICE_MANIFEST_FILE += \
$(DEVICE_PATH)/vintf/manifest.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
$(DEVICE_PATH)/vintf/device_framework_matrix_product.xml
# Quick Start device-specific settings
PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.oem_id=00e0 \
ro.quick_start.device_id=lynx

View File

@@ -4,8 +4,8 @@
"target_path": "device/google/gs201"
},
{
"remote": "github",
"repository": "android_device_google_lynx-kernels",
"target_path": "device/google/lynx-kernels"
"repository": "device/google/lynx-kernel",
"target_path": "device/google/lynx-kernel",
"remote": "aosp-lynx"
}
]

View File

@@ -1,13 +0,0 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)"
pushd "${MY_DIR}/lynx"
./extract-files.py $@
popd

151
extract-files.sh Executable file
View File

@@ -0,0 +1,151 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=lynx
VENDOR=google
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
# If XML files don't have comments before the XML header, use this flag
# Can still be used with broken XML files by using blob_fixup
export TARGET_DISABLE_XML_FIXING=true
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"
exit 1
fi
source "${HELPER}"
# Default to sanitizing the vendor folder before extraction
CLEAN_VENDOR=true
ONLY_FIRMWARE=
KANG=
SECTION=
CARRIER_SKIP_FILES=()
VENDOR_SKIP_FILES=()
while [ "${#}" -gt 0 ]; do
case "${1}" in
--only-firmware)
ONLY_FIRMWARE=true
;;
-n | --no-cleanup)
CLEAN_VENDOR=false
;;
-k | --kang)
KANG="--kang"
;;
-s | --section)
SECTION="${2}"
shift
CLEAN_VENDOR=false
;;
*)
SRC="${1}"
;;
esac
shift
done
if [ -z "${SRC}" ]; then
SRC="adb"
fi
function blob_fixup() {
case "${1}" in
product/etc/felica/common.cfg)
[ "$2" = "" ] && return 0
sed -i -e '$a00000018,1' -e '/^00000014/d' -e '/^00000015/d' "${2}"
;;
vendor/etc/init/init.modem_logging_control.rc)
[ "$2" = "" ] && return 0
sed -i 's/ && property:ro.debuggable=0//' "${2}"
;;
*)
return 1
;;
esac
return 0
}
function blob_fixup_dry() {
blob_fixup "$1" ""
}
function prepare_firmware() {
if [ "${SRC}" != "adb" ]; then
bash "${ANDROID_ROOT}"/lineage/scripts/pixel/prepare-firmware.sh "${DEVICE}" "${SRC}"
fi
}
# Initialize the helper
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
if [ -z "${ONLY_FIRMWARE}" ]; then
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
generate_prop_list_from_image "product.img" "${MY_DIR}/proprietary-files-carriersettings.txt" CARRIER_SKIP_FILES carriersettings
extract "${MY_DIR}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
readarray -t VENDOR_SKIP_FILES < <(cat "${MY_DIR}/skip-files-vendor.txt" | sed -E "/^[[:blank:]]*(#|$)/d")
VENDOR_TXT="${MY_DIR}/proprietary-files-vendor.txt"
generate_prop_list_from_image "vendor.img" "${VENDOR_TXT}" VENDOR_SKIP_FILES
# flp.default & gps.default have incorrect SONAME
# libExynosC2*Dec & libExynosC2*Enc depend on libacryl & libexynosv4l2, which are gnu makefile targets
# lowi-server depends on libwpa_client, which is a gnu makefile target
set_disable_checkelf "vendor/bin/lowi-server" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H263Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H263Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H264Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H264Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2HevcDec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2HevcEnc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Mpeg4Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Mpeg4Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp8Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp8Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp9Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp9Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/hw/flp.default.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/hw/gps.default.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H263Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H263Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H264Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H264Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2HevcDec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2HevcEnc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Mpeg4Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Mpeg4Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp8Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp8Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp9Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp9Enc.so" "${VENDOR_TXT}"
set_module_suffix "vendor/lib/com.google.edgetpu_app_service-V3-ndk.so" "-vendor" "${VENDOR_TXT}"
set_module_suffix "vendor/lib64/com.google.edgetpu_app_service-V3-ndk.so" "-vendor" "${VENDOR_TXT}"
set_module_suffix "vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so" "-vendor" "${VENDOR_TXT}"
extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
if [ -z "${SECTION}" ]; then
extract_firmware "${MY_DIR}/proprietary-firmware.txt" "${SRC}"
fi
"${MY_DIR}/setup-makefiles.sh"

View File

@@ -0,0 +1,25 @@
#!/bin/sh
# Copyright 2023 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
source ../../../common/clear-factory-images-variables.sh
BUILD=9456232
DEVICE=lynx
PRODUCT=lynx
VERSION=td4a.221205.017
SRCPREFIX=signed-
BOOTLOADER=lynx-1.0-9450676
RADIO=g5300n-221222-221226-b-9437664
source ../../../common/generate-factory-images-common.sh

40
factory_lynx.mk Normal file
View File

@@ -0,0 +1,40 @@
#
# Copyright 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_LINUX_KERNEL_VERSION := 5.10
$(call inherit-product, device/google/gs201/factory_common.mk)
$(call inherit-product, device/google/lynx/device-lynx.mk)
include device/google/lynx/audio/lynx/factory-audio-tables.mk
PRODUCT_NAME := factory_lynx
PRODUCT_DEVICE := lynx
PRODUCT_MODEL := Factory build on Lynx
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Factory binaries of camera
PRODUCT_PACKAGES += fatp_imx787_hat_tool
# Factory binaries of wifi
PRODUCT_PACKAGES += athdiag
PRODUCT_PACKAGES += libdiag
PRODUCT_PACKAGES += libtime_genoff
PRODUCT_PACKAGES += cnss_diag

18
init.insmod.lynx.cfg Normal file
View File

@@ -0,0 +1,18 @@
##########################################################
# init.insmod.lynx.cfg #
# This file contains lynx specific kernel modules #
# to load at init time by init.insmod.sh script #
##########################################################
# Load device specific kernel modules
# Modules here will be loaded *after* all common modules
modprobe|snd-soc-cs35l41-spi.ko
modprobe|goodix_brl_touch.ko
modprobe|focal_touch.ko
modprobe|cs40l26-i2c.ko
modprobe|snd-soc-cs40l26.ko
# All device specific modules loaded
setprop|vendor.device.modules.ready
setprop|vendor.all.modules.ready
setprop|vendor.all.devices.ready

View File

@@ -1,30 +1,33 @@
#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-FileCopyrightText: The Calyx Institute
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit some common stuff
# Inherit some common Evolution X stuff.
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Inherit device configuration
DEVICE_CODENAME := lynx
DEVICE_PATH := device/google/lynx
VENDOR_PATH := vendor/google/lynx
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/lynx/aosp_lynx.mk)
$(call inherit-product, device/google/gs201/lineage_common.mk)
$(call inherit-product, device/google/gs201/evolution_common.mk)
$(call inherit-product, device/google/lynx/device-lineage.mk)
$(call inherit-product, device/google/lynx/device-evolution.mk)
# Device identifier. This must come after all inclusions
PRODUCT_BRAND := google
PRODUCT_MODEL := Pixel 7a
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
PRODUCT_NAME := lineage_lynx
# Boot animation
TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="lynx-user 16 BP3A.251105.015 14339231 release-keys" \
BuildFingerprint=google/lynx/lynx:16/BP3A.251105.015/14339231:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)
TARGET_PRODUCT=lynx \
PRIVATE_BUILD_DESC="lynx-user 14 AP2A.240905.003 12231197 release-keys"
$(call inherit-product, $(VENDOR_PATH)/$(DEVICE_CODENAME)-vendor.mk)
BUILD_FINGERPRINT := google/lynx/lynx:14/AP2A.240905.003/12231197:user/release-keys
$(call inherit-product, vendor/google/lynx/lynx-vendor.mk)

102
location/gps.xml.l10 Normal file
View File

@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
Log="JAVA"
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="true"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/class/pps/pps0/assert_elapsed"
SensorsMask="0x244"
MaxThreadNum="13"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI | LOG_MEASAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
MultiCarrLnaMask="L1_EXT_ON"
RfType="GL_RF_4776_BRCM"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="4"
RfPathLossDb_Cp="4"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="2"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableNicAutoSwitch="true"
/>
</glgps>

102
location/gps_user.xml.l10 Normal file
View File

@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="false"
Log="JAVA"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/class/pps/pps0/assert_elapsed"
SensorsMask="0x244"
MaxThreadNum="13"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
MultiCarrLnaMask="L1_EXT_ON"
RfType="GL_RF_4776_BRCM"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="4"
RfPathLossDb_Cp="4"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="false"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableNicAutoSwitch="true"
/>
</glgps>

34
location/lhd.conf.l10 Normal file
View File

@@ -0,0 +1,34 @@
LheName=bbd
LheRsmResetTimeoutMS=10000
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
LhePatch=/vendor/firmware/SensorHub.patch
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
LheConsole=/data/vendor/gps/LheConsole
LogEnabled=true
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
LheBbdPacket=/dev/ttyBCM
LheBbdControl=/dev/bbd_control
# LheBbdSensor=/dev/bbd_sensor
LheFailSafe=/data/vendor/gps/logs/esw-crash-dump.txt
LogLevel=*:I
NvStorageDir=/data/vendor/gps/
# Enable BBD debugging at these stages:
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
LheAutoBaudDelayMS=10
TrafficLogEnabled=false
SecondaryConfigPath=/data/vendor/gps/overlay/lhd_overlay.conf
SkipSensorWakeLock=true
LoggerWakeLockEnable=false
PpsEnable=true

View File

@@ -0,0 +1,32 @@
LheName=bbd
LheRsmResetTimeoutMS=10000
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
LhePatch=/vendor/firmware/SensorHub.patch
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
# LheConsole=/data/vendor/gps/LheConsole
LogEnabled=false
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
LheBbdPacket=/dev/ttyBCM
LheBbdControl=/dev/bbd_control
# LheBbdSensor=/dev/bbd_sensor
# LheFailSafe=/data/vendor/gps/esw-crash-dump.txt
NvStorageDir=/data/vendor/gps/
# Enable BBD debugging at these stages:
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
LheAutoBaudDelayMS=10
TrafficLogEnabled=false
SkipSensorWakeLock=true
LoggerWakeLockEnable=false
PpsEnable=true

6
location/scd.conf.l10 Normal file
View File

@@ -0,0 +1,6 @@
LogEnabled=true
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
NvStorageDir=/data/vendor/gps/
TcpConnectionTimeout=20
SecondaryConfigPath=/data/vendor/gps/overlay/scd_overlay.conf

View File

@@ -0,0 +1,5 @@
LogEnabled=false
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
NvStorageDir=/data/vendor/gps/
TcpConnectionTimeout=20

View File

@@ -1,38 +1,50 @@
#
# SPDX-FileCopyrightText: 2021 The Android Open-Source Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-FileCopyrightText: The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := $(DEVICE_CODENAME)
TARGET_SCREEN_DENSITY := 420
TARGET_BOARD_INFO_FILE := device/google/lynx/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := lynx
# Security - must be defined before including BoardConfig-common.mk
BOOT_SECURITY_PATCH := 2025-11-05
VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH)
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_LYNX_RADIO_DIR)
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
else
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
endif
include device/google/gs201/BoardConfig-common.mk
ifdef PHONE_CAR_BOARD_PRODUCT
include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
else
TARGET_SCREEN_DENSITY := 420
endif
# Kernel modules
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_LYNX := true
# Enable load module in parallel
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/recovery/modules.blocklist.vendor_kernel_boot
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/recovery/modules.load.vendor_kernel_boot))
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)))
# SEPolicy
BOARD_VENDOR_SEPOLICY_DIRS += \
$(DEVICE_PATH)/sepolicy/vendor \
hardware/google/pixel-sepolicy/vibrator/common \
hardware/google/pixel-sepolicy/vibrator/cs40l26
# WiFi
include device/google/gs201/BoardConfig-common.mk
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
include device/google/lynx/sepolicy/lynx-sepolicy.mk
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
include $(VENDOR_PATH)/BoardConfigVendor.mk
include device/google/lynx/lynx/BoardConfigLineage.mk

View File

@@ -0,0 +1,9 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
include device/google/lynx/BoardConfigLineage.mk
include vendor/google/lynx/BoardConfigVendor.mk

View File

@@ -1,10 +0,0 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-evolution.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-evolution

Binary file not shown.

BIN
lynx/display_golden_cal0.pb Normal file

Binary file not shown.

View File

@@ -1,118 +0,0 @@
#!/usr/bin/env -S PYTHONPATH=../../../../tools/extract-utils python3
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
from extract_utils.extract import extract_fns_user_type
from extract_utils.extract_pixel import (
extract_pixel_factory_image,
extract_pixel_firmware,
pixel_factory_image_regex,
pixel_firmware_regex,
)
from extract_utils.file import FileArgs, FileList
from extract_utils.fixups_blob import (
blob_fixup,
blob_fixups_user_type,
)
from extract_utils.fixups_lib import (
lib_fixup_remove,
lib_fixups,
lib_fixups_user_type,
)
from extract_utils.main import (
ExtractUtils,
ExtractUtilsModule,
)
namespace_imports = [
'device/google/lynx',
'hardware/google/av',
'hardware/google/interfaces',
'hardware/google/pixel',
'hardware/qcom/wlan/wcn6740',
]
def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs):
return f'{lib}_{partition}' if partition == 'vendor' else None
lib_fixups: lib_fixups_user_type = {
**lib_fixups,
(
'com.google.edgetpu_app_service-V3-ndk',
'com.google.edgetpu_vendor_service-V2-ndk',
): lib_fixup_vendor_suffix,
'android.hardware.sensors-V2-ndk': lib_fixup_remove,
}
blob_fixups: blob_fixups_user_type = {
'product/etc/felica/common.cfg': blob_fixup()
.patch_file('osaifu-keitai.patch'),
'vendor/etc/init/init.modem_logging_control.rc': blob_fixup()
.regex_replace(' && property:ro.debuggable=0', ''),
(
'vendor/etc/init/fingerprint-goodix.rc',
'vendor/etc/init/init.storage.rc',
) : blob_fixup()
.regex_replace('ro.build.type=userdebug', 'ro.debuggable=1'),
} # fmt: skip
extract_fns: extract_fns_user_type = {
pixel_factory_image_regex: extract_pixel_factory_image,
pixel_firmware_regex: extract_pixel_firmware,
}
module = ExtractUtilsModule(
'lynx',
'google',
device_rel_path='device/google/lynx/lynx',
blob_fixups=blob_fixups,
lib_fixups=lib_fixups,
namespace_imports=namespace_imports,
add_generated_carriersettings_file=True,
add_firmware_proprietary_file=True,
extract_fns=extract_fns,
)
def fix_vendor_file_list(file_list: FileList):
# flp.default & gps.default have incorrect SONAME
# gpsd depends on android.hardware.sensors-V2-ndk & android.hardware.sensors-V3-ndk
disable_checkelf_file_paths = [
'vendor/bin/hw/gpsd',
'vendor/lib64/hw/flp.default.so',
'vendor/lib64/hw/gps.default.so',
]
for file_path in disable_checkelf_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.DISABLE_CHECKELF, True)
module_suffix_file_paths = [
'vendor/lib/com.google.edgetpu_app_service-V3-ndk.so',
'vendor/lib64/com.google.edgetpu_app_service-V3-ndk.so',
'vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so',
]
for file_path in module_suffix_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.MODULE_SUFFIX, '_vendor')
powerstats_service_file_path = (
'vendor/bin/hw/android.hardware.power.stats-service.pixel'
)
file_list.get_file(powerstats_service_file_path).set_arg(
FileArgs.REQUIRED, 'pixel_powerstats_xml'
)
module.add_generated_proprietary_file(
'proprietary-files-vendor.txt',
partition='vendor',
skip_file_list_name='skip-files-vendor.txt',
fix_file_list=fix_vendor_file_list,
)
if __name__ == '__main__':
utils = ExtractUtils.device(module)
utils.run()

View File

@@ -1,24 +0,0 @@
From aab255f2807cfc460c0dce40decd5554d49c0076 Mon Sep 17 00:00:00 2001
From: jabashque <jabashque@gmail.com>
Date: Mon, 5 Feb 2024 21:36:03 +0000
Subject: [PATCH 1/1] Enable Osaifu-Keitai on non-Japanese SKUs
---
common.cfg | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common.cfg b/common.cfg
index 3b78765..00f53cb 100644
--- a/common.cfg
+++ b/common.cfg
@@ -11,6 +11,5 @@
02030001,0
02030002,0
02030003,intent:#Intent;action=android.settings.NFC_SETTINGS;end
-00000014,content://com.google.android.pixelnfc.provider.DeviceInfoContentProvider/isJapanSku
-00000015,is_japan_sku
00000016,0001
+00000018,1
--
2.47.0

View File

@@ -23,8 +23,8 @@
<dimen name="rounded_corner_radius_top">47px</dimen>
<dimen name="rounded_corner_radius_bottom">48px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">14dp</dimen>
<!-- for 20dp of padding at 3.5px/dp at default density -->
<dimen name="rounded_corner_content_padding">47px</dimen>
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.

View File

@@ -16,6 +16,10 @@
*/
-->
<resources>
<!-- Landscape, just use the regular values -->
<dimen name="status_bar_padding_start">8dp</dimen>
<dimen name="status_bar_padding_end">8dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">0dp</dimen>
</resources>

View File

@@ -16,7 +16,7 @@
*/
-->
<resources>
<!-- the padding on the start of the statusbar -->
<!-- Don't need the left side padding due to being inset from the cutout -->
<dimen name="status_bar_padding_start">0dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
@@ -25,11 +25,15 @@
<!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<!-- Padding for the system icons on the keyguard (when no multi user switch is showing).
The icons always have a 4dp padding in the container so we only need 56 extra px of padding
for the corners -->
<dimen name="system_icons_super_container_avatarless_margin_end">11px</dimen>
<!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="ongoing_appops_dot_min_padding">14dp</dimen>
<!-- Multi user switch has some intrinsic padding to it -->
<dimen name="multi_user_switch_keyguard_margin">6dp</dimen>
<dimen name="keyguard_carrier_text_margin">0px</dimen>
<dimen name="config_rounded_mask_size">47px</dimen>
<dimen name="config_rounded_mask_size_top">47px</dimen>

View File

@@ -1,23 +0,0 @@
# Bluetooth
bluetooth.device_id.product_id=16651
bluetooth.profile.bap.unicast.client.enabled?=false
bluetooth.profile.ccp.server.enabled?=false
bluetooth.profile.csip.set_coordinator.enabled?=false
bluetooth.profile.hap.client.enabled?=false
bluetooth.profile.mcp.server.enabled?=false
bluetooth.profile.vcp.controller.enabled?=false
persist.bluetooth.a2dp_aac.vbr_supported=true
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
persist.bluetooth.a2dp_offload.disabled=false
ro.bluetooth.a2dp_offload.supported=true
ro.bluetooth.leaudio_switcher.supported=false
# Cutout
ro.support_hide_display_cutout=true
# EUICC
euicc.seamless_transfer_enabled_in_non_qs=true
# Quick start
ro.quick_start.device_id=lynx
ro.quick_start.oem_id=00e0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
500000,551000
798000,836000,500000
925000,960000,500000
3311000,3313000,500000
3578000,3589000,500000
740000,768000,551000
2124000,2126000,551000
2479000,2481000,551000
1 500000,551000
2 798000,836000,500000
3 925000,960000,500000
4 3311000,3313000,500000
5 3578000,3589000,500000
6 740000,768000,551000
7 2124000,2126000,551000
8 2479000,2481000,551000

View File

@@ -1 +0,0 @@
#!./extract-files.py --regenerate_makefiles

View File

@@ -1,76 +0,0 @@
# Audio
persist.vendor.audio.cca.enabled=false
# Bluetooth
persist.vendor.service.bdroid.fwsnoop=false
persist.vendor.service.bdroid.soclog=false
ro.vendor.bluetooth.emb_wp_mode=false
ro.vendor.bluetooth.wipower=false
ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/config/bt_addr
vendor.qcom.bluetooth.soc=hastings
# Camera
persist.vendor.camera.1080P_60fps_binning=true
persist.vendor.camera.exif_reveal_make_model=true
persist.vendor.camera.extended_launch_boost=1
persist.vendor.camera.front_720P_always_binning=true
persist.vendor.camera.increase_thread_priority_nodes_stop=true
persist.vendor.camera.ois_with_system_imu=true
persist.vendor.camera.optimized_tnr_freq=1
persist.vendor.camera.raise_buf_allocation_priority=1
persist.vendor.camera.start_cpu_throttling_at_moderate_thermal=1
# DCK
ro.gms.dck.eligible_wcc=2
ro.gms.dck.se_capability=1
# Device family
ro.build.device_family=P10C10L10
# Display
ro.surface_flinger.ignore_hdr_camera_layers=true
ro.surface_flinger.set_idle_timer_ms=1000
vendor.display.lbe.supported=1
vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=2
# DRM
drm.service.enabled=true
media.mediadrmservice.enable=true
# Fingerprint
persist.vendor.udfps.als_feed_forward_supported=true
persist.vendor.udfps.fps_touch_handler_supported=false
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
ro.vendor.fingerprint.ta.name=g7.app
# Media
ro.odm.build.media_performance_class=33
# Radio
persist.vendor.ril.ecc.use.xml=1
persist.vendor.ril.support_nr_ds=1
persist.vendor.ril.use_radio_hal=2.0
ro.vendor.config.build_carrier=europen
vendor.rild.libpath=libsitril.so
# SVN
ro.vendor.build.svn=69
# USB
ro.usb.uvc.enabled=true
# Vibrator
persist.vendor.vibrator.hal.context.cooldowntime=1600
persist.vendor.vibrator.hal.context.enable=false
persist.vendor.vibrator.hal.context.fade=true
persist.vendor.vibrator.hal.context.scale=40
persist.vendor.vibrator.hal.context.settlingtime=5000
ro.vendor.vibrator.hal.f0.comp.enabled=1
ro.vendor.vibrator.hal.redc.comp.enabled=0
vendor.audio.hapticgenerator.distortion.output.gain=0.29
# WiFi Aware
wifi.aware.interface=wifi-aware0
# ZRAM
vendor.zram.size=3g

Some files were not shown because too many files have changed in this diff Show More