585 Commits
udc ... vic

Author SHA1 Message Date
b418609149 shusky: Initialize for Evolution X 10.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-05-12 03:51:50 +00:00
Michael Bestas
0d2e22276e Update fingerprint/build description from BP1A.250505.005.B1
Change-Id: I1fc872504c9ddd76a69f9ba80c90317dc80dbb36
2025-05-07 06:18:39 +03:00
Michael Bestas
90a5118789 Update fingerprint/build description from BP1A.250405.007.B1
Change-Id: I63701acaba30c501aee8488676488a5240043c5f
2025-04-11 19:34:52 +03:00
Michael Bestas
fc7ca382b7 Update fingerprint/build description from BP1A.250305.019
Change-Id: Ib8c17aae6b301c5d8c4dd27cd5bfe5c038da02ee
2025-03-11 16:08:32 +02:00
Michael Bestas
5caf972e71 Update lineage.dependencies
Change-Id: I0d34265a4e758b94be79b314e79caf33ef048d65
2025-03-10 18:56:46 +02:00
Michael Bestas
edaa24c826 Include missing vibrator sepolicy
Change-Id: Iac3a36e884dc1747d4fd0a60b418ffbf3779ffdb
2025-03-09 12:17:15 +02:00
Michael Bestas
64a1bd4733 Disable ELF checks for gpsd
Somehow it depends on multiple versions of the same AIDL interface.
Disable ELF checks and remove the older dependency for now.

Change-Id: Id57ab481b248d4c394597cbb8b15d5b839b0f911
2025-03-09 12:16:32 +02:00
Michael Bestas
9224c1591f proprietary-files: BP1A.250305.019
Change-Id: I1fbde3e664e380a279162401e3db95cc7358c77a
2025-03-09 12:16:32 +02:00
Michael Bestas
685486a876 Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo7QAKCRDorT+BmrEO
# eADVAJ9i5qvn9t1SPUQWjAvproy/hLr+aACfUDZs9l708nXyOOvtti/CzgwHepM=
# =qYEh
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:17 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By David Chao (2) and others
# Via Android Build Coastguard Worker (26) and others
* tag 'android-15.0.0_r20': (31 commits)
  Add a way to disable auto prefer fit for launch.
  audio: align volume curve
  Revert "shusky/haptics: Remove voltage restriction for haptics"
  shusky: Remove dbc properties for fw 7.2.81.
  shusky/haptics: Remove voltage restriction for haptics
  PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies
  Revert "thermal: Add JSON Schema Checker"
  Add Samsung Galaxy Buds 3 pro to the LE audio allow list
  Revert "powerhint: enable auto_prefer_idle in games"
  bt: add bthal service permission to access bt wakelock control device node
  Enable bthal service recovery by restart
  shusky: add microphone info for aidl hal.
  Disable Wifi BugReport for subsystem restart
  thermal: update thermal config
  [NFC] Enable STNFC_ACTIVERW_TIMER
  Remove 'RELEASE_PIXEL_BROADCAST_ENABLED'
  Enable CDPreferHighCap for CAMERA_STREAMING_HIGH
  16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk
  16kb: Set 16kb TARGET_ vars in BoardConfig files and targets
  16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs
  ...

 Conflicts:
	device-shiba.mk

Change-Id: Ie8e2f9868571ceb82493d471171498cb88c82063
2025-03-09 11:05:09 +02:00
Michael Bestas
70deaae2f3 Update fingerprint/build description from AP4A.250205.002
Change-Id: Ie679c535d1676b24e5fa82d7f4c0e335687bb7e4
2025-02-05 18:02:41 +02:00
Michael Bestas
2b787b81e4 shusky: Add more Pixel camera prebuilts
These are present on stock since QPR1

Change-Id: I58ba2d30d28d4c9cd525f1e1d4ddb353eaaf9db0
2025-01-24 13:50:34 +02:00
Michael Bestas
04faf0aba3 Add missing IWLAN packages
Change-Id: I671e4f057eb3fbe94f63dc16bf697867278e3eb2
2025-01-14 00:39:34 +02:00
Michael Bestas
d06db7f2fb Update fingerprint/build description from AP4A.250105.002
Change-Id: Ib26f9d1ed18b87cb3c5da5271f888c7ccf789428
2025-01-08 12:11:01 +02:00
Jayant-Deshmukh
8b082b1f33 shusky: Point shiba to the correct LE Audio configuration
Change-Id: I0233b37608a7d5bc49db07ea992aebf087e945be
Signed-off-by: Jayant-Deshmukh <jayantdeshmuk008@gmail.com>
2024-12-31 09:40:41 +00:00
Michael Bestas
6bcf739fdb proprietary-files: AP4A.241205.013
Change-Id: Ia0d253867c9fafa277404610923457b1056c035f
2024-12-11 15:40:31 +02:00
Michael Bestas
e97cc85198 Update fingerprint/build description from AP4A.241205.013
Change-Id: Ib4df4c19367b3f388473c90ab2c86f845b722482
2024-12-11 04:12:23 +02:00
Michael Bestas
3147681172 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eA+6AJ9td5VjDJVq6T/Hygpl87elpBZXaQCfcVw7EKAVOKJuzq1MCv9/F8+CKuY=
# =t83X
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 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 2483 signatures in the past
#      3 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 (22) and others
# Via Android (Google) Code Review (45) and others
* tag 'android-15.0.0_r6': (74 commits)
  gps: set default SUPL SSL method to SSLv23
  display: update reduceBrightColorsStrength setting
  Skip to check prebuilt max page size in PDK release
  gps: Enable pulse-per-second feature
  audio: add uninisialized mixer control
  Update product id for Shiba and Husky
  Symlink current prebuilt folder to android root
  Fix cpu mask for big core
  audio: update AIDL configs and add spatializer configs
  powerhint: Update not available frequency to reflect its actual behavior
  Delete mapper4 manifest
  Update estimated WiFi power consumption value
  audio: power optimization for deepbuffer playback
  Enable auto prefer idle
  Set big core to group_cfs_skip_mask for sys group by default
  Switch bootloader and radio directory to control by build flag
  gps: Re-enable GLO & QZSS in US
  audio: fix the noise of raw-playback in 16kB page mode
  Fix the husky_car target path
  Update mismatched frequency for husky and shiba
  ...

 Conflicts:
	device-husky.mk
	device-shiba.mk

Change-Id: Ia17a9de89f175644c280656a4c0b606c08af1902
2024-12-11 03:50:29 +02:00
Android Build Coastguard Worker
df0f4c780d Snap for 12770256 from 769b383a3d to 25Q1-release
Change-Id: Ic0a52b4d5a3981d202f352a08c843cc99956878a
2024-12-10 00:33:28 +00:00
Dmitry Skiba
769b383a3d Merge "Add a way to disable auto prefer fit for launch." into main 2024-12-09 19:01:12 +00:00
Android Build Coastguard Worker
45dfcbab91 Snap for 12763142 from 0ca625634d to 25Q1-release
Change-Id: I8023a4036a47c5f05054f3afd2d6737cedeab4da
2024-12-07 02:05:37 +00:00
Dmitry Skiba
7571b12f0e Add a way to disable auto prefer fit for launch.
This change introduces "is APF enabled" system properties, and
uses them as trigger conditions for APF nodes / pre-APF nodes.

By default APF nodes are active, and pre-APF nodes are inactive,
which maintains the situation before this change.

A future experiment will flip "is APF enabled" system properties,
deactivating APF nodes and activating pre-APF nodes. For more
info see go/pixel-perf-apf-experiment.

Bug: 365855872
Test: set vendor.powerhal.apf_enabled=false, vendor.powerhal.apf_disabled=true, observe auto_prefer_fit
procfs value staying "false" and instead preferred_idle_mask_mid
changing to 0x1ff during app launches
Flag: NONE powerhint change does not support flags
Change-Id: I85b5dc812132f229c2cc8583aaadd31d7eedc178
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-12-06 07:23:40 +00:00
David Li
0ca625634d Merge "audio: align volume curve" into main 2024-12-06 06:43:18 +00:00
David Li
fc98bc4ea6 audio: align volume curve
Bug: 382270418
Test: n/a
Flag: EXEMPT bugfix
Change-Id: I396b61b57a07307285abeffa911fafdb04221e91
2024-12-06 03:14:34 +00:00
Treehugger Robot
7887236511 Merge "Revert "shusky/haptics: Remove voltage restriction for haptics"" into main 2024-12-05 22:15:01 +00:00
Alexander Koskovich
035a9fad22 Add oem-iptables-init.sh for Wi-Fi calling in airplane mode
This was added recently in Android 15, see the following commit:
fbf009b886

Issue: calyxos#2813
Change-Id: I853f087347795e1d8932db2020f8a69fb5d97fa6
2024-12-05 02:50:34 +02:00
Android Build Coastguard Worker
c5dad93799 Snap for 12748980 from ad6d888fd9 to 25Q1-release
Change-Id: If0bb0e921264d7b5a48d70793dfeff4b463b6ed5
2024-12-05 00:04:36 +00:00
Zouberou Sayibou
a0670ae6e7 Revert "shusky/haptics: Remove voltage restriction for haptics"
Revert submission 30661505-tdm_amplitude_limitation_removal_dvl

Reason for revert: short time to properly test before 25q1 cut-off.

Reverted changes: /q/submissionid:30661505-tdm_amplitude_limitation_removal_dvl

Bug: 318476589

Change-Id: I7d0fc0f64aa41cd901797cfc4a81eb41e7de1c05
2024-12-04 23:13:04 +00:00
Zouberou Sayibou
ad6d888fd9 Merge "shusky: Remove dbc properties for fw 7.2.81." into main 2024-12-04 10:22:30 +00:00
Limon Mia
d3740d5bcb Merge "Add Samsung Galaxy Buds 3 pro to the LE audio allow list" into main 2024-12-04 02:00:55 +00:00
Android Build Coastguard Worker
109870b7ef Snap for 12742097 from 2201401f7b to 25Q1-release
Change-Id: Ie64eac0f37c4cac871baaa5946fd869679843eef
2024-12-04 00:04:42 +00:00
Jimmy Shiu
2201401f7b Merge "PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies" into main 2024-12-03 02:24:12 +00:00
Zouberou Sayibou
53e6a3d054 shusky: Remove dbc properties for fw 7.2.81.
Removing dbc properties after adding dbc tuning file for
shiba and husky.

Bug: 377913163
Flag: EXEMPT mk only update
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
CtsVibratorTestCases
Change-Id: I59d864dd459b8622af3b119a849f0617a1027207
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-03 02:15:23 +00:00
Chris Paulo
dcc325566b shusky/haptics: Remove voltage restriction for haptics
Remove the voltage restriction for haptics since DVL is enabled.  This
will allow FW control for exertion protection of the motor, and allow
for stronger output for audio-haptics.

Bug: 318476589
Flag: EXEMPT config xml change
Test: dumpsys vibrator_manager and accel measurement
Change-Id: Ic8ece936df599725ad1ab66089b0f66a3791e422
2024-12-03 00:26:03 +00:00
Jimmy Shiu
eb79ff9e68 PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies
Set the CPU frequencies of FIXED_PERFORMANCE to align with Thermal CPU Light level.

Bug: 327070837
Test: Boot to home
Flag: NONE powerhal doesn't have a flag yet
Change-Id: Ibb698b608c21c2a4f81354f852cb077345907947
2024-12-02 08:14:22 +00:00
Android Build Coastguard Worker
dba1b64c81 Snap for 12710726 from ebb85f4b84 to 25Q1-release
Change-Id: I483cf418d420295c757050bb9f5100a09b7ba44f
2024-11-26 02:04:31 +00:00
Xin Li
ebb85f4b84 [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: 9a96d60af3 -s ours
am skip reason: Merged-In Ic19ff6af1a86f94853e8d2c65012ee247ae25bde with SHA-1 11aaff6299 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/30533410

Change-Id: I1bcf21556cca29c7751187eff1be27be95f07c5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:18:51 +00:00
Treehugger Robot
c31cc1f32f Merge "Revert "thermal: Add JSON Schema Checker"" into main 2024-11-25 18:03:02 +00:00
Android Build Coastguard Worker
03c9678fc2 Snap for 12702769 from ca743653c2 to 25Q1-release
Change-Id: I8e61fe5dcd54c3813de33e151142ab2f5d494423
2024-11-23 02:04:14 +00:00
TeYuan Wang
3f93d0e415 Revert "thermal: Add JSON Schema Checker"
Remove thermal JSON Schema Checker first to avoid the false positive
because it cannot support the current thermalHAL design.

This reverts commit 97871af7ae.

Bug: 380370209
Test: build
Flag: EXEMPT disable config checker
Change-Id: I771d748373520399201b06799737496bfd9c8bad
2024-11-23 00:12:24 +00:00
Limon Mia
882ac42099 Add Samsung Galaxy Buds 3 pro to the LE audio allow list
Bug: 380369950
Test: PTE PQM-BT LE audio unicast test
Flag: EXEMPT The Samsung Galaxy Buds 3 pro users are able to disable LE audio in Settings app
Change-Id: I142d38d66e844aab35a72733e84374df72158042
2024-11-22 07:09:38 +00:00
David Chao
ca743653c2 Merge "thermal: update thermal config" into main 2024-11-22 05:19:23 +00:00
Android Build Coastguard Worker
083478fdf0 Snap for 12695596 from b76898c5cd to 25Q1-release
Change-Id: I3aa6e11d39c1f12f1fcd466398ce39c6c48e450a
2024-11-22 00:04:11 +00:00
Xin Li
9a96d60af3 Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
Change-Id: Idbaffc65743da6b0daf9af80398b3f409d9c2a3b
2024-11-21 15:09:59 -08:00
Treehugger Robot
b76898c5cd Merge "Revert "powerhint: enable auto_prefer_idle in games"" into main 2024-11-21 19:47:31 +00:00
Kame(TeYuan) Wang
758dd12700 Revert "powerhint: enable auto_prefer_idle in games"
Revert submission 29817358-p23_auto_prefer_idle

Reason for revert: Power efficiency regression

Reverted changes: /q/submissionid:29817358-p23_auto_prefer_idle

Bug: 372961087
Test: manual testing
Change-Id: I4b24954cb37a469c2d6835e6f01e6abc655ce0b2
2024-11-21 18:23:40 +00:00
Joner Lin
7db364174f Merge "bt: add bthal service permission to access bt wakelock control device node" into main 2024-11-21 07:12:50 +00:00
Android Build Coastguard Worker
d55e22a975 Snap for 12687986 from f89ff69fdc to 25Q1-release
Change-Id: I7c3fdf4172c4bd6448a497df361192fd692e0b47
2024-11-21 00:04:36 +00:00
Isaac Chiou
f89ff69fdc Merge "Disable Wifi BugReport for subsystem restart" into main 2024-11-20 12:58:29 +00:00
jonerlin
c93b55b02b bt: add bthal service permission to access bt wakelock control device node
Bug: 380024887
Test: BLE scan test and check wakelock time
Flag: EXEMPT project configuration patch.
Change-Id: Iafce4fea2e80e1eac076ce2258f62bbe5159513a
2024-11-20 12:33:25 +00:00
Android Build Coastguard Worker
0fdc987176 Snap for 12680993 from 8b4fe1f51c to 25Q1-release
Change-Id: I2e21be17c630feef5f1b8b427e32e3a6693a98a4
2024-11-20 00:05:10 +00:00
Joner Lin
8b4fe1f51c Merge "Enable bthal service recovery by restart" into main 2024-11-19 12:42:08 +00:00
jonerlin
fc28f056f7 Enable bthal service recovery by restart
Bug: 368342010
Test: Fake bt crash and check log
Flag: EXEMPT project configuration patch.
Change-Id: I70c0f23819011ecd6b7424569e06758596090a8a
2024-11-19 09:19:03 +00:00
Treehugger Robot
933c21ebe5 Merge "thermal: remove duplicate counting power rail" into main 2024-11-19 05:21:58 +00:00
Android Build Coastguard Worker
e380fcdf1f Snap for 12658558 from c51bcfef0b to 25Q1-release
Change-Id: Ia56856c5abec6c0e942dc85b579e48845813e8ff
2024-11-15 00:04:23 +00:00
Xin Li
c51bcfef0b [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 70c0fe6355 -s ours
am skip reason: Merged-In I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696 with SHA-1 449e58e874 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/30285253

Change-Id: I435052d96ce0fd4ddf754740a61b3803a42aca7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 02:49:32 +00:00
Android Build Coastguard Worker
55b41ab18f Snap for 12644741 from b159a75c28 to 25Q1-release
Change-Id: Ice317254f5e560978b8f0976b4f1bff7acbf24c2
2024-11-13 00:04:24 +00:00
Rios Kao
b159a75c28 Merge "shusky: add microphone info for aidl hal." into main 2024-11-12 09:25:42 +00:00
Rios Kao
6b0cee8be6 shusky: add microphone info for aidl hal.
Test: atest VtsHalAudioCoreTargetTest
Bug: 377832994
Flag: EXEMPT bugfix
Change-Id: I2727420f8943757f223b2b522680267a4c7325a7
2024-11-12 07:44:08 +00:00
Android Build Coastguard Worker
a5c3dde24e Snap for 12630846 from 111f28dd81 to 25Q1-release
Change-Id: I561ae7f6a301e0171672ffbb216a5d9e8b57fa08
2024-11-09 02:04:36 +00:00
Isaac Chiou
5399e1c7e8 Disable Wifi BugReport for subsystem restart
Flag: EXEMPT gated by overlay
Bug: 373594936
Test: Manuel test, trigger SSR and won't create bugreport automatically
Change-Id: I28af1c1400b90b302b3c9b86c1c377dcdfe6db2a
2024-11-08 09:38:13 +00:00
David Chao
4a40152e89 thermal: update thermal config
thb_hda behavior is changed to align with P24 devices,
update WLC_CHECK with thb_hda changed.

Flag: EXEMPT config update
Bug: 377595455
Test: boot to home and thermal throttling worked properly
Change-Id: I83005da7543c5886dc695bcee11bcc245588c88e
2024-11-08 07:54:11 +00:00
Kyle Hsiao
111f28dd81 [NFC] Enable STNFC_ACTIVERW_TIMER
Bug: 378004423
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I395abcad3d1751f311c3292cbec7545bac5b794e
2024-11-08 05:33:59 +00:00
Michael Bestas
adfb9f4dde Update fingerprint/build description from AP3A.241105.007
Change-Id: I6e0534fc6bb77db6f37516e3563c847b1414f5b5
2024-11-07 15:17:11 +02:00
Xin Li
70c0fe6355 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696
Change-Id: If39bf65998fe85a3da4572cbfcf359a169f4de65
2024-11-06 10:31:20 -08:00
Cosmin Tanislav
e3acce832e shusky: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
2024-11-06 13:06:33 +02:00
Michael Bestas
2a0c5b409a shusky: Enable ELF checks for c2 codec libs
Change-Id: I7702c3104fde477e27a18998982605673de29aee
2024-11-01 05:15:08 +02:00
Android Build Coastguard Worker
6a48553ffb Snap for 12587146 from d110bdb50d to 25Q1-release
Change-Id: Icb11e6c97a75a2b1a00e07f106a98c16cc612e03
2024-10-31 23:03:40 +00:00
Silen Sun
d110bdb50d Merge "Remove 'RELEASE_PIXEL_BROADCAST_ENABLED'" into main 2024-10-30 22:59:42 +00:00
silens
2ca729d6e5 Remove 'RELEASE_PIXEL_BROADCAST_ENABLED'
This build flag is not used now.

Test: build
Bug: 376153497
Flag: EXEMPT only modify device config file
Change-Id: If8ac0328494e15ee4a18e9316f527d9867a129c0
2024-10-30 06:08:09 +00:00
Michael Bestas
faae540c97 shusky: fix padding in status bar
Change-Id: If82b831c0267e732f545d92eec290d55f49c9972
2024-10-27 12:11:18 +02:00
Michael Bestas
c493d36e07 shusky: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery
ftm5 & goodix_brl_touch require heatmap & goog_touch_interface symbols

Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
2024-10-27 12:11:18 +02:00
Michael Bestas
f115c228d7 shusky: Add PixelImsMediaService
Change-Id: I2bf94759e28bea4ca8afe4d79bc5c6328f84e51d
2024-10-26 03:52:30 +03:00
Alexander Koskovich
a6c5e66724 shusky: Add PixelDisplayServiceOverlay
Extracted from AP3A.241005.015

Change-Id: I533319a8d61cc67f9111f133f49cdc727eb27ece
2024-10-26 03:52:20 +03:00
Android Build Coastguard Worker
b6d6ad6466 Snap for 12537680 from 4537ccaca0 to 25Q1-release
Change-Id: I7609d783bade4d155c82a698cfd7143ccc383d31
2024-10-22 23:04:41 +00:00
Vilas Bhat
4537ccaca0 [automerger skipped] 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk am: ffdcb5933c am: 7a359f5ac4 -s ours
am skip reason: Merged-In I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0 with SHA-1 2502760f89 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311724

Change-Id: I8e121634457f86f748c10d62d84b1cfd7da0151f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:14 +00:00
Juan Yescas
f434f45010 [automerger skipped] 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets am: c4818d8641 am: 420aebdc50 -s ours
am skip reason: Merged-In Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e with SHA-1 d3ad2f99ce is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311723

Change-Id: Ia49a05c3cfeb25328447e53191bc81131371b286
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:10 +00:00
Juan Yescas
3683f78be3 [automerger skipped] 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs am: 71af04af16 am: e808efbddf -s ours
am skip reason: Merged-In Ia75c7f8cfca6d651777c730a3f86715a0991fbec with SHA-1 73c64fff21 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311722

Change-Id: Ie4e972e96ad18d1e0f88414df436e5ac6bb60656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 04:06:06 +00:00
Vilas Bhat
7a359f5ac4 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk am: ffdcb5933c
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311724

Change-Id: Idffed1d2feeecb55109f6d51d19bbe1daf2954bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:21 +00:00
Juan Yescas
420aebdc50 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets am: c4818d8641
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311723

Change-Id: Iaa820ad02ebc5693a2d901fc0e8626b02119757b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:19 +00:00
Juan Yescas
e808efbddf 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs am: 71af04af16
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3311722

Change-Id: I42db11e0930be78de9b1d1dcbd097b6dc690416c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-22 03:44:15 +00:00
Treehugger Robot
e494c690f1 Merge "Enable CDPreferHighCap for CAMERA_STREAMING_HIGH" into main 2024-10-21 23:04:00 +00:00
Ethan Chen
66a69bfdd5 shusky: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 01:28:32 +03:00
Michael Bestas
383a6005f7 shusky: Disable Wi-Fi verbose logging by default
Change-Id: Iafe9f4b83d157906ca6b9114db52ab27b1a01878
2024-10-20 01:28:32 +03:00
Michael Bestas
406402e32c shusky: Add lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-10-20 01:28:32 +03:00
jabashque
ca992adbae shusky: 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-10-20 01:28:32 +03:00
Alessandro Astone
71b3d46e6f shusky: Build PowerShare HAL
Change-Id: I3c0321b844acb5f97ac398acc842501410a44b6c
2024-10-20 01:28:32 +03:00
Tommy Webb
48d9668266 overlay: Update IWLAN config with IMS changes in zuma
Resolve issues with VoWiFi (Wi-Fi Calling) for Pixel 8 series, which
now uses a different proprietary package for its qualified networks
service.

Issue: calyxos#1324
Change-Id: Ie2984ff22cf786eb82a536bfb1d9ffaff15ae079
2024-10-20 01:28:31 +03:00
Michael Bestas
c7e2372ec3 shusky: overlay: Configure aux cameras for Aperture
Change-Id: I3d1c93057b5c2a1ba09c06a945d538d2043f30fd
2024-10-20 01:28:31 +03:00
Tommy Webb
9e8d5257a7 overlay: 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`.

Issue: calyxos#1630
Change-Id: I26707d5b50b28d032b117e22ba703c5fc0dfe3a2
2024-10-20 01:28:31 +03:00
Michael Bestas
698b63384d husky: Convert status_bar_height_portrait to dp
Fix status bar height not being scaled properly after switching
screen resolution to 1080p.

Change-Id: I7eba09b6da2eae6bd4274d3ad6acc85311d32db1
2024-10-20 01:28:31 +03:00
Bruno Martins
71004946f4 overlay: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-10-20 01:28:31 +03:00
Danny Lin
c9ddbf3fe0 overlay: Settings: Enable Smooth Display setting
shiba & husky have peak refresh rates higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2024-10-20 01:28:31 +03:00
Michael Bestas
b9e462e6b9 Include wireless_charger makefile
This includes the required sepolicy and compatibility matrix
in the build.

Change-Id: I3096357c5f45e664a7b39870fdc053e48d1361ad
2024-10-20 01:28:31 +03:00
Chirayu Desai
edaeea5cd4 shusky: Set up proprietary files extraction
* The proprietary files lists are generated by comparing stock partition
  contents with AOSP generated partitions.

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b78ccf212d8364070c40fe3c7d06d4048e3fe4
2024-10-20 01:28:31 +03:00
Ethan Chen
0b9d3b5ffb Declare EUICC permission
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2024-10-20 01:28:08 +03:00
Chirayu Desai
8c8efd25ca Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 01:28:07 +03:00
Vince Chiu
e0635d2ad8 Enable CDPreferHighCap for CAMERA_STREAMING_HIGH
Test: 1080p60 power and perf, 4k60 power
Bug: 371210260
Flag: EXEMPT resource file only change
Change-Id: I71d6af9baab500ae6a37bda75a371747263e41c5
2024-10-18 05:41:17 +00:00
Vilas Bhat
ffdcb5933c 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk
The makefile logic in this file is identical to the logic required for
akita-trunk_staging-userdebug. Hence, this logic is moved to
device/google/zuma/BoardConfig-16k-common.mk to avoid duplicating the
file for akita.

Bug: 370842132
Bug: 349877551
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0
Merged-In: I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0
2024-10-17 23:31:01 +00:00
Juan Yescas
c4818d8641 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets
TARGET_ build variables MUST NOT be set up in device*
files. In the device* files, the PRODUCT_ variables are not
defined properly and only after the build system finishes
parsing all the product files, we can set up TARGET_ vars
based on PRODUCT_ vars. During the parsing of the BoardConfig
files, the PRODUCT_ vars are defined and their values can
not be changed.

Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Bug: 370842132
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e
Merged-In: Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e
2024-10-17 23:30:45 +00:00
Juan Yescas
71af04af16 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs
The build flag PRODUCT_BOOTS_16K will be used to select
whether the shusky devices boot with 16kb kernel or 4kb kernel.

Bug: 370842132
Bug: 346868433
Test: Built and booted up the following targets:
      aosp_shiba_pgagnostic-trunk_staging-userdebug
      aosp_shiba-trunk_staging-userdebug
Flag: EXEMPT bugfix
Change-Id: Ia75c7f8cfca6d651777c730a3f86715a0991fbec
Merged-In: Ia75c7f8cfca6d651777c730a3f86715a0991fbec
2024-10-17 23:30:35 +00:00
Android Build Coastguard Worker
d6b74c4d41 Snap for 12508860 from ae8f5d5f10 to 25Q1-release
Change-Id: I27c917f903b49931aab02514e1b463f55b02c285
2024-10-16 23:03:59 +00:00
Ali K. Zadeh
ae8f5d5f10 Merge "[shusky] Define CAMERA_MULTICAM_BOOST" into main 2024-10-15 23:10:57 +00:00
Android Build Coastguard Worker
7e27d558e1 Snap for 12496712 from c12042d741 to 25Q1-release
Change-Id: I526e42fd6094e0363cb84d22b923915ed0f63d00
2024-10-14 23:04:15 +00:00
TeYuan Wang
c12042d741 powerhint: enable auto_prefer_idle in games
Bug: 372961087
Test: manual testing
Flag: NONE powerhint config change
Change-Id: Ifc9a90073931fdb6cd1e6563fd9240f25d318b69
2024-10-11 22:00:45 +00:00
Android Build Coastguard Worker
3c9dbc869b Snap for 12482619 from efa15cc3b3 to 25Q1-release
Change-Id: I163dd1d42466db15e84d2fd6a3b4b092a09e8d84
2024-10-10 23:04:07 +00:00
Rick Yiu
efa15cc3b3 Enable TA and FG prefer idle for some camera streams
These streams do not disable TA or FG prefer idle, so restore it.

Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: Ia0f12911110856b82b858bed11fb5d120388285a
2024-10-10 13:00:54 +00:00
Android Build Coastguard Worker
4964ac432f Snap for 12465365 from 5f7a5b3528 to 25Q1-release
Change-Id: I87c1e32a22d5190b23f5216a5543aef8ea506083
2024-10-07 23:04:12 +00:00
Treehugger Robot
5f7a5b3528 Merge "Use auto prefer fit for launch" into main 2024-10-07 16:17:20 +00:00
Michael Bestas
a3336adcb1 shusky: Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-07 16:04:20 +03:00
Michael Bestas
b0cb0e65b3 Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2024-10-07 16:04:17 +03:00
Michael Bestas
d2fdd8bb9f Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 78520e7ad8
git-subtree-split: f893c39d0d
Change-Id: I8a6cf4e385bf9b9a229f56a95fc4a41ec3fe4f82
2024-10-07 16:03:08 +03:00
Ravi Jain
b69c09a118 Merge "Remove vibrator HAL service" into main 2024-10-07 06:57:59 +00:00
Android Build Coastguard Worker
1dc3527c97 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29493133'] into 24Q4-release.
Change-Id: I47059d5e0f50c2f39a573e814911579ecdc92c94
2024-10-03 23:33:54 +00:00
Wayne Lin
e5364a3e49 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:11aaff62994134eda4f1329d1787a066418cdbcf)
Merged-In: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
Change-Id: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
2024-10-03 23:25:51 +00:00
Android Build Coastguard Worker
32b092cfd7 Snap for 12445464 from 4b074bd780 to 25Q1-release
Change-Id: I500a68620b601120c44d65ff68d788fca99150bd
2024-10-02 23:04:31 +00:00
Treehugger Robot
4b074bd780 Merge "dumpstate: touch: Init using touch_predump" into main 2024-10-02 08:57:00 +00:00
Android Build Coastguard Worker
a4899d31dc Snap for 12439515 from eb25e489aa to 25Q1-release
Change-Id: I5b1e93db9dd728795681e82325628019687e2eea
2024-10-01 23:03:59 +00:00
Ravi Jain
41f7d06b5f Remove vibrator HAL service
Remove from device mk files due to relocation to vendor directory.

Bug: 362659323
Test: Build Pass
Flag: EXEMPT refactor
Change-Id: I22cc5398da8cb4d77f5bacbf699d43c280b3e016
2024-10-01 15:31:09 +00:00
Grzegorz Kolodziejczyk (xWF)
eb25e489aa Merge "audio: enable software encoded Bluetooth broadcast" into main 2024-10-01 12:30:35 +00:00
Vilas Bhat
9e7ac1f138 16k: Switch AOSP shusky 16k targets to use ext4 for RW filesystem am: 54e593d3e7 am: b3533149e7
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3287856

Change-Id: Ibb4a2936eb001015a7185ba3f2b159cf25ea7f1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-01 03:30:19 +00:00
Vilas Bhat
b3533149e7 16k: Switch AOSP shusky 16k targets to use ext4 for RW filesystem am: 54e593d3e7
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3287856

Change-Id: I39b44b8afea12204a7aaf748b32cc04789e38e01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-01 03:07:35 +00:00
Android Build Coastguard Worker
c90b2094cc Snap for 12433810 from b218fef1e6 to 25Q1-release
Change-Id: Ia3720afebe4b0a8c12a910ccbeaa171282b0a8a2
2024-09-30 23:04:22 +00:00
Vilas Bhat
54e593d3e7 16k: Switch AOSP shusky 16k targets to use ext4 for RW filesystem
TARGET_RW_FILE_SYSTEM_TYPE is used to decide the fstab configuration to
use for RW files. It must be set to ext4 for targets that boot with 16k
page size kernels.

Test: $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      Also built & booted the targets successfully (on internal branch)
Bug: 358213765
Change-Id: Ia4e36e5a5e10ff10e4d43c1089f8a98a3ac601b5
Flag: EXEMPT bugfix
2024-09-30 18:05:41 +00:00
Akshay Cadambi
b218fef1e6 Merge "Disable stereo spatialization." into main 2024-09-30 16:02:14 +00:00
Android Build Coastguard Worker
18b821f06e Snap for 12426030 from 89c756454f to 25Q1-release
Change-Id: I060bfc0f7e76d25c5953129cb1d3935bce5e3e8b
2024-09-28 01:04:14 +00:00
Treehugger Robot
89c756454f Merge "gps: set default SUPL SSL method to SSLv23" into main 2024-09-27 07:45:00 +00:00
Akshay Cadambi
7ebc41a8d7 Disable stereo spatialization.
Bug: 365846274
Flag: com.android.media.audio.stereo_spatialization
Change-Id: Ifea4fe80c88fa522349dc6fed11a05a7244730d6
2024-09-27 03:10:27 +00:00
Android Build Coastguard Worker
3159aa00ce Snap for 12410317 from 4c05f4db02 to 25Q1-release
Change-Id: I45fd857497b664e0c2dc30914bf5ea847e45b5bc
2024-09-24 23:03:40 +00:00
Wayne Lin
11aaff6299 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
Change-Id: Ic19ff6af1a86f94853e8d2c65012ee247ae25bde
2024-09-24 05:45:25 +00:00
Android Build Coastguard Worker
285e6e31cc Snap for 12404440 from 4c05f4db02 to 24Q4-release
Change-Id: I870cad4f57b6336fce8eeda6c355611e126c3f55
2024-09-23 23:03:31 +00:00
Treehugger Robot
4c05f4db02 Merge "display: update reduceBrightColorsStrength setting" into main 2024-09-23 02:23:32 +00:00
David Li
0fe1b5ee54 Merge "audio: add uninisialized mixer control" into main 2024-09-23 01:53:40 +00:00
Android Build Coastguard Worker
0c7496abd9 Snap for 12399304 from 793e5c4339 to 25Q1-release
Change-Id: I179ea95b4c52bdf1b3ba0d6f05577eff97ca3c1d
2024-09-21 23:02:34 +00:00
David Chao
2609a6df39 thermal: remove duplicate counting power rail
L22M_DISP ODPM rail is LDO downstream from S6M_LLDO1,
Remove L22M_DISP from PARTIAL_SYSTEM_POWER to avoid the duplicate counting.

Flag: EXEMPT config update
Bug: 364666080
Test: boot to home and thermal throttling worked properly
Change-Id: Ia06dd36ccfba3219b1e4af404c011b00ee36ed5a
2024-09-21 12:14:11 +00:00
Grzegorz Kołodziejczyk
f3fe769cac audio: enable software encoded Bluetooth broadcast
Bug: 345372436
Test: manual
Flag: EXEMPT, trivial change
Change-Id: Ibf998bd3194bb704dfa50e876f449687040f2c8c
2024-09-20 08:29:16 +00:00
Peter Lin
449e58e874 display: update reduceBrightColorsStrength setting
Bug: 353768636
Test: dumpsys color_display
Flag: NONE config update
Change-Id: I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696
2024-09-20 06:16:58 +00:00
Android Build Coastguard Worker
2e06c50189 Snap for 12391343 from 793e5c4339 to 24Q4-release
Change-Id: I66c355442f8ef0cd002d7796a990ac180ca6bfa1
2024-09-19 23:02:57 +00:00
Pindar Yang
793e5c4339 Merge "Skip to check prebuilt max page size in PDK release" into main 2024-09-19 09:20:41 +00:00
Pindar Yang
a4968fb245 Skip to check prebuilt max page size in PDK release
Bug: 362618412
Flag: build.PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE
Change-Id: I161445b265f0d500aac6d19355bc6ee274a805d3
2024-09-19 07:03:31 +00:00
Cheng Chang
77a8ef39f7 gps: Enable pulse-per-second feature
Bug: 362710464
Flag: EXEMPT vendor configuration patch.
Test: b/362710464 verified the GPS function and time synchronize.
Change-Id: I6b7470db5d6f27f5a064ea8a7bd822b0a63b2b6e
2024-09-19 02:58:59 +00:00
David Li
106dbcf1d0 audio: add uninisialized mixer control
Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I29c18e1c6433aebfd4e8760ccb8f184708c41b06
2024-09-19 02:57:43 +00:00
Rick Yiu
2b1c430517 Use auto prefer fit for launch
Enable auto prefer fit for high prio tasks when app launch, and tune
uclmap min settings for different task prio.

Bug: 353885521
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I1b65a1543085dc3244a36d90c01ccb3ad9211604
2024-09-16 15:02:52 +00:00
Android Build Coastguard Worker
2f312d4e3b Snap for 12370120 from 736fcf07f4 to 25Q1-release
Change-Id: I399589fa26acc1dd7174309527e47e6432319676
2024-09-14 23:02:21 +00:00
Android Build Coastguard Worker
9f7077d928 Snap for 12361654 from 736fcf07f4 to 24Q4-release
Change-Id: I305d43f38e07391a237a403086897101e795b01d
2024-09-12 23:02:42 +00:00
David Li
736fcf07f4 Merge "audio: update AIDL configs and add spatializer configs" into main 2024-09-12 07:47:25 +00:00
Miller Liang
d006e63e11 Merge "audio: fix the noise of raw-playback in 16kB page mode" into main 2024-09-12 01:26:14 +00:00
Android Build Coastguard Worker
720422485d Snap for 12354992 from 3866706fb3 to 24Q4-release
Change-Id: I362338cd26303a7e482d168af4c329fd54edcc8d
2024-09-11 23:02:42 +00:00
Treehugger Robot
3866706fb3 Merge "gps: Enable Beidou measurements only in the US for P23." into main 2024-09-11 08:36:12 +00:00
Android Build Coastguard Worker
5eb5459b76 Snap for 12337407 from 01bf7a8334 to 25Q1-release
Change-Id: I7e21d420cf53fa779bd42c46d66c918e9eca438e
2024-09-07 23:05:03 +00:00
Android Build Coastguard Worker
eeb298637f Snap for 12337246 from 01bf7a8334 to 24Q4-release
Change-Id: Ia9d1ecfea0d7010b39c5ad82422b145aca622640
2024-09-07 21:02:50 +00:00
Xin Li
01bf7a8334 [automerger skipped] Merge 24Q3 to AOSP main am: 5163ff95bd -s ours am: 5bae1ba68b -s ours
am skip reason: Merged-In Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d with SHA-1 ea3a914a03 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3258471

Change-Id: Ic1ad5c66fa0224b6b4fa5d95a01583e237b0c2bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:22:08 +00:00
Xin Li
5bae1ba68b [automerger skipped] Merge 24Q3 to AOSP main am: 5163ff95bd -s ours
am skip reason: Merged-In Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d with SHA-1 ea3a914a03 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3258471

Change-Id: I1ae928e12c1a3313331d323e138b1b1b2d7b1ae2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:42:14 +00:00
Android Build Coastguard Worker
c45b1902c8 Snap for 12335440 from 5848a1337c to 24Q4-release
Change-Id: Ie56464d9f287061cae2016f1312bcce0cbb607b8
2024-09-07 02:33:04 +00:00
Treehugger Robot
5848a1337c Merge "Symlink current prebuilt folder to android root" into main 2024-09-06 10:36:12 +00:00
Koli Lin
169430b790 Merge "Update product id for Shiba and Husky" into main 2024-09-06 09:41:17 +00:00
Treehugger Robot
96d91001b0 Merge "Enable auto prefer idle" into main 2024-09-06 09:30:43 +00:00
Koli Lin
cc052744f1 Update product id for Shiba and Husky
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I5f8afb3ab826864884b3ba2cf27bd149efea3c2f
2024-09-06 07:49:04 +00:00
Robin Peng
50bfd15103 Symlink current prebuilt folder to android root
The Android are now based on Trunk Stable world and Pixel prebuilts CLs
also needs to reply with this which controlled by the flag which results:
- the flag value might be different on each branches
- the flag value are mostly different on each release configuration
- for local builds, ENGs' needs to figure out the correct location
  of current prebuilts by checking through entire prebuilt textproto
  files

To alleviate this problem, create an symlink file under android root
indicates current prebuilt path after invoke the android lunch cmd.

Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: I9066437856338ef7da02be5648a119c1c38cc288
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 07:36:46 +00:00
Xin Li
5163ff95bd Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
Change-Id: Ib38789414cda136787b979c7f4b66929d96d1a97
2024-09-05 17:02:38 -07:00
Android Build Coastguard Worker
35491608a7 Snap for 12313714 from da53d20798 to 24Q4-release
Change-Id: Ica74ba6c2c330c75bc6da3480e4456cf025d3436
2024-09-03 23:02:48 +00:00
Rick Yiu
da53d20798 Fix cpu mask for big core
The big core mask on zuma should be 0x100.

Bug: 248621289
Test: build pass
Flag: NONE powerhint change does not support flags
Change-Id: Id9dbd933505d3eaa2553ed1851883a3042028f16
2024-09-03 09:16:21 +00:00
David Li
29af2213b3 audio: update AIDL configs and add spatializer configs
Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I24d380399882023a63d8c651bad3fee2eb4f8240
2024-09-03 03:09:54 +00:00
Android Build Coastguard Worker
f317ed306c Snap for 12305894 from d576c70006 to 24Q4-release
Change-Id: I4e5ae2081e81c50176bd2755c491542251f5c051
2024-08-31 21:02:40 +00:00
Paulsu Su
d576c70006 Merge changes I1adc41ac,I0242977f into main
* changes:
  powerhint: Update not available frequency to reflect its actual behavior
  Update mismatched frequency for husky and shiba
2024-08-31 07:35:44 +00:00
Paulsu Su
e2a796691d powerhint: Update not available frequency to reflect its actual behavior
Some frequencies uses unavailable frequency other soc ex: ag/22293847, the patch update them to explicitly show the actual actions of driver.

Bug: 361294204
Change-Id: I1adc41aca636650b4eaad179d73bde030146347c
FLAG: NONE powerhint do not need flag
2024-08-31 05:20:01 +00:00
Android Build Coastguard Worker
780288e5bb Snap for 12304452 from d273ab046f to 24Q4-release
Change-Id: Ibe2a5f69d14fcc3ccea0321cbbcca6bfe5299110
2024-08-31 01:02:54 +00:00
Jay Wang
97fa59f0ab Merge "powerhint: Lower CAM uclamp min" into main 2024-08-30 23:29:31 +00:00
Treehugger Robot
d273ab046f Merge "Delete mapper4 manifest" into main 2024-08-30 01:29:59 +00:00
Wei Wang
17aa33acf2 Merge "Set big core to group_cfs_skip_mask for sys group by default" into main 2024-08-29 23:51:16 +00:00
Android Build Coastguard Worker
94560b3f34 Snap for 12296955 from 4228ec9505 to 24Q4-release
Change-Id: Ifb4c3f983ae60a8d3391355aef6e9ac1c98287ff
2024-08-29 23:02:32 +00:00
Nikita Ioffe
4228ec9505 Merge "shiba: Remove AVF assignable devices" into main 2024-08-29 15:26:51 +00:00
Ankit Goyal
6041d91a96 Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: Ic4fb66eebda66173aa8186d96f2b1dbd9ea33ad8
2024-08-28 22:55:29 -07:00
JJ Lee
3c9c95e76f Merge "audio: power optimization for deepbuffer playback" into main 2024-08-29 04:43:53 +00:00
Android Build Coastguard Worker
b8cb384287 Snap for 12289667 from 9d661c85b1 to 24Q4-release
Change-Id: Ie2712feea6cc1d7aad3e3b3dc4ad70a88c91b4fb
2024-08-28 23:03:07 +00:00
Treehugger Robot
9d661c85b1 Merge "Update estimated WiFi power consumption value" into main 2024-08-28 15:36:36 +00:00
Hana Huang
e295a3ae54 Update estimated WiFi power consumption value
Bug: 351925447
Test: Wifi Regression Test
Flag: EXEMPT overlay update
Change-Id: I2b4badc92df027d366e9f3b21b6eb0c17022ad42
Signed-off-by: Hana Huang <hanahuang@google.com>
2024-08-28 09:49:29 +00:00
JJ Lee
80d1365e54 audio: power optimization for deepbuffer playback
Bug: 249436330
Test: build pass, cts pass, regression test pass
Flag: EXEMPT bugfix
Change-Id: Iacf4ad1ade7148491b24e7bd0f1e423f0a6d34de
Signed-off-by: JJ Lee <leejj@google.com>
2024-08-28 08:21:55 +00:00
Treehugger Robot
ab7354fdf0 Merge "gps: Re-enable GLO & QZSS in US" into main 2024-08-28 05:27:46 +00:00
Android Build Coastguard Worker
e3a4030f65 Snap for 12283639 from c36d7a7972 to 24Q4-release
Change-Id: Ibb9ddbea391672a2676d77eaf0db1fd69255cff6
2024-08-27 23:03:05 +00:00
Rick Yiu
a2b661cfc1 Enable auto prefer idle
Also disable prefer idle for TA and FG by default.

Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I0d06e707900ec9a85decbdecbd184532743c7de0
2024-08-27 15:04:37 +00:00
Rick Yiu
54c0accb7f Set big core to group_cfs_skip_mask for sys group by default
Let sys group tasks will run less in big core by default.

Bug: 328210236
Test: build pass
Change-Id: I0092c5d32091894750287fb1fb0c5756158d37b1
2024-08-27 14:50:20 +00:00
Pindar Yang
c36d7a7972 Switch bootloader and radio directory to control by build flag
Flag: build.RELEASE_GOOGLE_PRODUCT_RADIO_DIR, build.RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR, build.RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR
Bug: 361226755
Change-Id: I093090da431f7a8daa15fffbd5ffe372ef2c8fa4
Signed-off-by: Pindar Yang <pindaryang@google.com>
2024-08-27 06:17:30 +00:00
Shinru Han
6391431d89 gps: Re-enable GLO & QZSS in US
Test: on-device
Bug: 353579502
Change-Id: I9186c0cd69e61c9e2a772e47531e7626c91fdaa4
2024-08-27 06:16:35 +00:00
millerliang
23497f9244 audio: fix the noise of raw-playback in 16kB page mode
To fix the noise of raw-playback in 16KB page mode,
we change to use non-mmaped mode.

Bug: 355285548
Flag: EXEMPT : bugfix
Test: Local test, ABTD
Change-Id: I21cca03b5ceff10c014675bd2465d5fc051e8250
2024-08-24 08:39:59 +00:00
Android Build Coastguard Worker
5336c7359a Snap for 12272146 from 410296c942 to 24Q4-release
Change-Id: I505cfefe2098204bcedc05d2e0dd14d247df00b7
2024-08-24 01:02:39 +00:00
Treehugger Robot
410296c942 Merge "Fix the husky_car target path" into main 2024-08-22 22:43:57 +00:00
Gaurav Sarode
6c73ef923d Fix the husky_car target path
bug: 361168394
Flag: EXEMPT bugfix
Test: local build and flash
Change-Id: Ia0504cc622ffd5d528056e94436f5b80deea8812
2024-08-22 19:54:40 +00:00
Paulsu Su
70363dbbfa Update mismatched frequency for husky and shiba
- Update freq for legacy mismatched frequency with the rule of scaling_max_freq will automatically round down, scaling_min_freq will round up. All powerhint behavior should not change.
- Remove some min/max frequency not used in any nodes.

Bug: 361294204
FLAG: NONE powerhint do not need flag
Change-Id: I0242977f05f859ad5c3c38673579e296e74c78ca
2024-08-22 02:35:18 +00:00
Android Build Coastguard Worker
890b88cd50 Snap for 12253386 from 50e9b3606e to 24Q4-release
Change-Id: I5724792faf89f0310bbe3487d505ce720daac564
2024-08-20 23:02:51 +00:00
Wayne Lin
50e9b3606e Merge "gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay" into main 2024-08-20 02:41:29 +00:00
Android Build Coastguard Worker
16cb448469 Snap for 12247339 from eff59eac89 to 24Q4-release
Change-Id: I6f8982b9e4d6211571edefce2677f27ab8491932
2024-08-19 23:03:05 +00:00
Wayne Lin
3edf043146 gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
Bug: 358041425
Test: verify pass
Change-Id: Id7ca5b55b05b820a73ec149628a3519008da6b6b
2024-08-19 10:03:47 +00:00
Peter (YM)
eff59eac89 Merge "thermal: read thermistor temp from sysfs" into main 2024-08-19 04:10:06 +00:00
Peter (YM)
0febe5ef59 thermal: read thermistor temp from sysfs
- avoid wrong sensor value reading for thermalHAL

Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I0a583f2f921d29265fef783538dd9c7ea291d794
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:49:43 +00:00
Android Build Coastguard Worker
3108d36b1e Snap for 12235414 from b5232abd4d to 24Q4-release
Change-Id: I0ad1581d699930af7475816a738733890e0e242b
2024-08-15 23:02:51 +00:00
Peter (YM)
b5232abd4d Merge "thermal:remove unused state2power value" into main 2024-08-15 07:19:17 +00:00
Peter (YM)
cc6945daba thermal:remove unused state2power value
Bug: 355566259
Test: Build test
Flag: EXEMPT NDK
Change-Id: If0820929e5346a210d5a55f210b5aa86035fd155
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-15 04:13:33 +00:00
Ankur Bakshi
d7d4935fe1 Merge changes from topic "sep-svn-set2" into main
* changes:
  Update husky SVN to 38
  Update husky SVN to 37
  Update husky SVN to 36
2024-08-15 00:48:50 +00:00
Ankur Bakshi
3610f04d63 Merge changes from topic "sep-svn-set2" into main
* changes:
  Update shiba SVN to 38
  Update shiba SVN to 37
  Update shiba SVN to 36
2024-08-15 00:48:50 +00:00
Ankur Bakshi
c2adbb97e3 Update husky SVN to 38
Bug: 352170103
Change-Id: I9d1a7d585cb5e7cbe8916532af93ed6acd98b135
Flag: EXEMPT bugfix
2024-08-14 23:30:28 +00:00
Ankur Bakshi
cadf338666 Update husky SVN to 37
Bug: 352170103
Change-Id: I8ae5e6aba99c0d737a571d5d21f9361402c552e5
Flag: EXEMPT bugfix
2024-08-14 23:28:42 +00:00
Ankur Bakshi
900ef331c9 Update husky SVN to 36
Bug: 352170103
Change-Id: I60133f5949a5b7598af6d29181c61a5fca78edc7
Flag: EXEMPT bugfix
2024-08-14 23:25:34 +00:00
Ankur Bakshi
90b564e7c1 Update shiba SVN to 38
Bug: 352170103
Change-Id: Ib060e30902cdd06922abf36158e44b958a9f8412
Flag: EXEMPT bugfix
2024-08-14 23:23:48 +00:00
Ankur Bakshi
5b4b08ce53 Update shiba SVN to 37
Bug: 352170103
Change-Id: I0fd5f194fcb5d529fcbba4dfa524b23e24fb35e1
Flag: EXEMPT bugfix
2024-08-14 23:22:19 +00:00
Ankur Bakshi
54d9a67640 Update shiba SVN to 36
Bug: 352170103
Change-Id: I407ec18b0edfb410e6df0b6b4bf1d57f1bf7ff18
Flag: EXEMPT bugfix
2024-08-14 23:20:34 +00:00
Android Build Coastguard Worker
1b23a6a9f7 Snap for 12229688 from 8163a77f3c to 24Q4-release
Change-Id: Ia50bfefffa414546e48342329c9f452927799403
2024-08-14 23:02:59 +00:00
Shreshta Manu
9e2e0835ec [uwb] enable multicast update rsp v2
Test: atest CtsUwbTestCases
Bug: 359665219
Flag: EXEMPT overlay update
Change-Id: I65300ef6be669568ee2d63a28d189ef00a63402d
2024-08-14 18:41:45 +00:00
Xin Li
8163a77f3c [automerger skipped] Mark 24Q3 (ab/AP3A.240905.015) as merged am: ab7dd5cc58 -s ours
am skip reason: Merged-In Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d with SHA-1 28a1b27468 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/28786863

Change-Id: I2754442294b788be062e74e5429c71ec128fdf80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-14 00:44:37 +00:00
Android Build Coastguard Worker
ade8d5ec5e Snap for 12224018 from f82477c1b4 to 24Q4-release
Change-Id: I728445f9914597f5726f292a80afb478e980119c
2024-08-13 23:03:27 +00:00
Xin Li
ab7dd5cc58 Mark 24Q3 (ab/AP3A.240905.015) as merged
Bug: 347831320
Merged-In: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
Change-Id: I8864905b80fec652a9da8e5987e436cb463af151
2024-08-13 15:41:16 -07:00
Mostafa Saleh
c3e76e51fa shiba: Remove AVF assignable devices
This should be in experimental.

Bug: 352009226
Bug: 349571564
Flag: EXEMPT experimental code
Change-Id: I712caa712286c9625ca22983ba55395f08d7f22d
Signed-off-by: Mostafa Saleh <smostafa@google.com>
2024-08-13 11:18:15 +00:00
Android Build Coastguard Worker
0ad9377b39 Snap for 12217053 from 625b03b77f to 24Q4-release
Change-Id: I3a61ab1abb36ad5c33e56918baf149f285a35f02
2024-08-12 23:07:32 +00:00
Jay
0dd1ab91a9 powerhint: Lower CAM uclamp min
Current CAM uclamp min is beyond MID clusters capacity when
CAM2 energy model is used. This causes most of camera HAL threads
scheduled on big cluster only with CAM2 EM profile.

Lowering CAM uclamp min so it is within MID clusters capacity for
both energe model

Flag: EXEMPT tuning changes
Test: check camera trace with proper uclamp value
Bug: 350629738

Change-Id: I40ce59d0a0d99ea6ba016a24245f44713485bc52
2024-08-12 22:57:41 +00:00
Xin Li
f82477c1b4 [automerger skipped] Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future am: f0ec5af197 -s ours
am skip reason: Merged-In I661546ae0ab104021936acd109e08de2a64a1b1c with SHA-1 f5bb7a3f56 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/28714184

Change-Id: I1b7ad04aca2a53b966a5252598a6d82f71788907
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:03:19 +00:00
Xin Li
46f691239c [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 8a1ad9579f -s ours
am skip reason: Merged-In I661546ae0ab104021936acd109e08de2a64a1b1c with SHA-1 f5bb7a3f56 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/28714184

Change-Id: I740a7610788a6a621ac1cc0bee0211f6d4c12060
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:32 +00:00
Xin Li
f0ec5af197 Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future 2024-08-12 17:14:18 +00:00
Sam Ou
625b03b77f Merge "thermal: Remove bcl related tzones" into main 2024-08-12 12:32:35 +00:00
Android Build Coastguard Worker
b3fb4ea8cc Snap for 12210778 from 341802f976 to 24Q4-release
Change-Id: Ib734dc5544728398180171da1401de64fa7c210e
2024-08-10 01:07:30 +00:00
Cyan_Hsieh
341802f976 update OWNERS to include Android.bp am: f113c3653f am: 72b67fd7ca
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3212453

Change-Id: I2951da87615c1517c9ffa0c4a711217ca3c162a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:34 +00:00
Cyan_Hsieh
72b67fd7ca update OWNERS to include Android.bp am: f113c3653f
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3212453

Change-Id: Iadd4c0d24a1011d7b071a2db742287ddeaf5a67c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:02 +00:00
Cyan_Hsieh
f113c3653f update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b637565f8370fcef720283fc3cdbc89e73755798)
Merged-In: I56a4fb43e7632e13e5779ebd661301f8d27d910b
Change-Id: I56a4fb43e7632e13e5779ebd661301f8d27d910b
2024-08-09 08:34:10 +00:00
Xin Li
8a1ad9579f Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I661546ae0ab104021936acd109e08de2a64a1b1c
Change-Id: Idfa0165a3a7e30315470b0207da99ac2a14f0424
2024-08-08 11:16:02 -07:00
Android Build Coastguard Worker
78520e7ad8 [coastguard skipped] Merge sparse cherrypicks from sparse-12192237-L48700030005686605 into 24Q3-release.
COASTGUARD_SKIP: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
COASTGUARD_SKIP: I88c3fb94518d5f1c5ac51b1cc12f14ddada0dac0

Change-Id: Ie625895170513d5737b557afce67eb66af62d711
2024-08-08 05:07:58 +00:00
Android Build Coastguard Worker
0f2f894c41 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27030093'] into sparse-12192237-L48700030005686605.
SPARSE_CHANGE: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d

Change-Id: I88c3fb94518d5f1c5ac51b1cc12f14ddada0dac0
2024-08-08 05:05:49 +00:00
Lokesh Kumar Goel
ea3a914a03 shusky: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_HUSKY
Flag: build.RELEASE_BASE_OS_SHIBA
Bug: 155105803
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:28a1b27468d204366837ce4ce8e2e5559ac6bf2a)
Merged-In: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
Change-Id: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
2024-08-08 05:04:54 +00:00
Android Build Coastguard Worker
8d412e553d Snap for 12199973 from 718f06e897 to 24Q4-release
Change-Id: I6c5622d6c4fecdaee15da0dc14db956278f386ae
2024-08-08 01:02:50 +00:00
Juan Yescas
718f06e897 16kb: Use TARGET_BOOTS_16K in aosp shusky targets am: 1b68d9f7e6 am: d3cbc417c8
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3211895

Change-Id: I1b9743de2bdef0bf04b95a2a434fa4f26fd7ee24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 21:10:10 +00:00
Juan Yescas
d3cbc417c8 16kb: Use TARGET_BOOTS_16K in aosp shusky targets am: 1b68d9f7e6
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3211895

Change-Id: I054d2092ac96148c254fb46fe379d868d5d12cc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 20:47:03 +00:00
Juan Yescas
1b68d9f7e6 16kb: Use TARGET_BOOTS_16K in aosp shusky targets
Use a target build variable to indicate that the target
boots with 16kb page sizes.

Bug: 346868433
Test: Built aosp shusky targets with 16kb support
      $ source build/envsetup.sh
      $ lunch aosp_husky_pgagnostic-trunk_staging-userdebug
      $ get_build_var TARGET_BOOTS_16K
      true

Change-Id: Ibd853aa5087bc0cb5b8457fa13e09e7d20a7b211
2024-08-07 18:17:28 +00:00
Android Build Coastguard Worker
e76a697537 Snap for 12190349 from ea896bedab to 24Q4-release
Change-Id: I12ea7a750a89259062a8d3ffc3c0cc286ecc8216
2024-08-06 23:03:11 +00:00
samou
cd69a5a885 thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: I5091b906604fe5dec3b7e8ac6631fcd3acb0989d
Signed-off-by: samou <samou@google.com>
2024-08-06 04:03:22 +00:00
Lokesh Kumar Goel
ea896bedab Merge "shusky: Add build_flags based properties for SMR/EMR build" into main 2024-08-06 02:13:44 +00:00
Android Build Coastguard Worker
e396ae932c Snap for 12180713 from 9fce6dde9e to 24Q4-release
Change-Id: I58e4a6a061caed3dc6ca3e2011b5548ef61a5b30
2024-08-03 23:02:32 +00:00
Treehugger Robot
9fce6dde9e Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:58 +00:00
Ali K. Zadeh
d5729b0d0a [shusky] Define CAMERA_MULTICAM_BOOST
Port from ag/28607900

This CL defines CAMERA_MULTICAM_BOOST (with the same settings as the
existing CAMERA_ZOOMING_BOOST). Having both definitions is necessary to
be able to transition from zooming boost to multicam boost. Once the
multicam boost flag is fully rolled out, we can remove the
CAMERA_ZOOMING_BOOST.

Bug: 347829135
Test: adb logcat
Flag: EXEMPT resource file only change
Change-Id: I66f82dec5733a147ecbf073beb5b6c36f4860bb4
2024-08-02 20:21:36 +00:00
Android Build Coastguard Worker
12c7e4b0e7 Snap for 12173239 from 4a2d2feeae to 24Q4-release
Change-Id: I7c108a12174515a1248cb0095eb6a40985cd0cd4
2024-08-02 01:07:54 +00:00
Bao Do
4a2d2feeae Merge "Add set scenarios and configurations files for P23 projects." into main 2024-08-01 07:58:27 +00:00
Shinru Han
55b8e968ff Merge "gps: Enable ExitOnComFailure" into main 2024-08-01 06:06:16 +00:00
Lokesh Kumar Goel
28a1b27468 shusky: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_HUSKY
Flag: build.RELEASE_BASE_OS_SHIBA
Bug: 155105803
Change-Id: Ibec4f0c908089ca4304e59e9d37529fa2d4fa40d
2024-07-31 17:03:32 +00:00
Chris Paulo
1c8c1a160e haptics: Update output distortion gain
Recommended output distortion gain is 0.38.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: Iaf6b88680c05fe14a46d3d7fe9fe43bdc05b9314
2024-07-30 10:45:03 -07:00
Bao Do
1d8cabd8fd Add set scenarios and configurations files for P23 projects.
This is a clone of the default files, only GAME scenarios
has some order changed to prioritize 48k gaming without source.

Bug: 331490291
Test: Check file location
Flag: NONE system property change only
Change-Id: Ib367e638fc25bd1c8e8be16d5b062ece59354b99
2024-07-29 14:52:10 +08:00
Shinru Han
70db494120 gps: Enable ExitOnComFailure
Enable ExitOnComFailure so gpsd will call exit() instead of
calling abort() when com failed due to system performance degradation.

Test: on device
Bug: 341508348
Change-Id: I7994d65f5ac8441f8ed69fb256de9d3afff7919c
2024-07-29 04:05:38 +00:00
Android Build Coastguard Worker
71bc5514f3 Snap for 12148957 from 0fe25ca786 to 24Q4-release
Change-Id: Ib4bcc3fccfd153e43c54b0bad5e3b1ec4ca82752
2024-07-27 21:02:46 +00:00
Android Build Coastguard Worker
352330ea0f Snap for 12147630 from 55021e0056 to 24Q4-release
Change-Id: Ief146069750f8a06e995d16537107f581b50a52c
2024-07-27 01:03:06 +00:00
Treehugger Robot
0fe25ca786 Merge "Adpf:shusky: switch to multitier heuristic boost." into main 2024-07-27 00:58:16 +00:00
guibing
fab7721b14 Adpf:shusky: switch to multitier heuristic boost.
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I8b3918ee11a34315155561bfd0b0a7e9a8f9f32d
2024-07-26 23:20:43 +00:00
James Huang
b102516658 gps: Enable Beidou measurements only in the US for P23.
Bug: 354884462
Test: Field test in the US
Change-Id: Ieaa8d77e6119402d35888078000ab5b57f5a5cc3
2024-07-26 15:03:06 +08:00
Rick Yiu
55021e0056 Merge "Revert^2 "Set big core to cpu skip mask by default"" into main 2024-07-26 01:11:58 +00:00
Rick Yiu
df6fafe03a Revert^2 "Set big core to cpu skip mask by default"
This reverts commit 5d7958215d.

Reason for revert: 24Q4 kernel prebuilt ready

Bug: 248621289
Change-Id: Ia9fbfb2ead5c42fa849758ffba9210cf45b6396f
Test: build pass
2024-07-25 15:05:59 +00:00
Android Build Coastguard Worker
b3d20ccc13 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27588147', 'googleplex-android-review.googlesource.com/27588342', 'googleplex-android-review.googlesource.com/27628687', 'googleplex-android-review.googlesource.com/27629965', 'googleplex-android-review.googlesource.com/27695359', 'googleplex-android-review.googlesource.com/27695361', 'googleplex-android-review.googlesource.com/27695492', 'googleplex-android-review.googlesource.com/27697196', 'googleplex-android-review.googlesource.com/27697315', 'googleplex-android-review.googlesource.com/27697199', 'googleplex-android-review.googlesource.com/26819775', 'googleplex-android-review.googlesource.com/28321485', 'googleplex-android-review.googlesource.com/28319879', 'googleplex-android-review.googlesource.com/28321741', 'googleplex-android-review.googlesource.com/28321742', 'googleplex-android-review.googlesource.com/28321248', 'googleplex-android-review.googlesource.com/28321785'] into 24Q3-release.
Change-Id: Ie9de6a44f6af346c760ee053a7017f7bd9648941
2024-07-25 04:16:38 +00:00
Ankur Bakshi
a9cd72541f Update husky SVN to 35
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f5bb7a3f5605d94f482aeb7a50b842eb2e9a1942)
Merged-In: I661546ae0ab104021936acd109e08de2a64a1b1c
Change-Id: I661546ae0ab104021936acd109e08de2a64a1b1c
2024-07-25 04:10:20 +00:00
Ankur Bakshi
63a206f38c Update shiba SVN to 35
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:633317c02cf441e3fc03151ed15ecb72bd29fd98)
Merged-In: Ib5c55167cdc0bbae64e48adb6778c445a38e5cc1
Change-Id: Ib5c55167cdc0bbae64e48adb6778c445a38e5cc1
2024-07-25 04:10:09 +00:00
Ankur Bakshi
4d3c5858ea Update shiba SVN to 34
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a1e3e6cce330644fffac42cc04e7e607be88efa2)
Merged-In: I9c7a9f6da772ecee70b9022aa29e8a3ad0d130d4
Change-Id: I9c7a9f6da772ecee70b9022aa29e8a3ad0d130d4
2024-07-25 04:09:59 +00:00
Ankur Bakshi
0cf0f973f5 Update shiba SVN to 33
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d9fa747d2582f885232423a464786d838d11b81a)
Merged-In: I4ad3b7e298cf6ec12e2cfc8873a24492fd5c25df
Change-Id: I4ad3b7e298cf6ec12e2cfc8873a24492fd5c25df
2024-07-25 04:09:49 +00:00
Ankur Bakshi
d5e1cb3567 Update husky SVN to 34
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c473353c4c58c6d178bedfec15d4d53595b941d5)
Merged-In: Ieb8ec0e93b463e95787a3ceed0ed4cddf78b262a
Change-Id: Ieb8ec0e93b463e95787a3ceed0ed4cddf78b262a
2024-07-25 04:09:38 +00:00
Ankur Bakshi
2d20fffe25 Update husky SVN to 33
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4b4f16c266ad592ed13c50202ce690c939410cdd)
Merged-In: I9beeef1b118a8d8a05ea14072e211d2f25eaf164
Change-Id: I9beeef1b118a8d8a05ea14072e211d2f25eaf164
2024-07-25 04:09:28 +00:00
Lokesh Kumar Goel
4ef15ac159 shusky: Use build_flags for SVN
Flag: build.RELEASE_SVN_HUSKY
Flag: build.RELEASE_SVN_SHIBA
Bug: 332726030
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9c0b973e012e8a0de9b3094a573b2eeff93f0743)
Merged-In: I289ffb153c91536c3d505dba3efe6b9096dbad50
Change-Id: I289ffb153c91536c3d505dba3efe6b9096dbad50
2024-07-25 04:09:17 +00:00
Ankur Bakshi
3555945dd0 Update husky SVN to 32
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fe6c3b8adfa981b440aaf8250b633ca5db4de643)
Merged-In: Icb9de546d095ed4d97e52cc32c1b034856ccd6fb
Change-Id: Icb9de546d095ed4d97e52cc32c1b034856ccd6fb
2024-07-25 04:09:08 +00:00
Ankur Bakshi
f92416d65f Update husky SVN to 31
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:810570db667f583164ab6af56df0ecbe9756b1d6)
Merged-In: I2bdfbbed0dff3c3c093dd46200f2d8ce15c28652
Change-Id: I2bdfbbed0dff3c3c093dd46200f2d8ce15c28652
2024-07-25 04:08:57 +00:00
Ankur Bakshi
5e9345a0e7 Update shiba SVN to 32
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d3e5bfd7a40cb6652407777caadb206c07171cf8)
Merged-In: I18527bb9a4358c14b2e99646670f0ab2da8173f0
Change-Id: I18527bb9a4358c14b2e99646670f0ab2da8173f0
2024-07-25 04:08:47 +00:00
Ankur Bakshi
8d8b1021fa Update husky SVN to 30
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a7b24379b54da71b59da2c80dc3ede5ce83beafd)
Merged-In: Icdbc5cd31dbca584589f703c16aa18698f7de294
Change-Id: Icdbc5cd31dbca584589f703c16aa18698f7de294
2024-07-25 04:08:37 +00:00
Ankur Bakshi
815dfea454 Update shiba SVN to 31
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:98ed4cdd4eb4b4e8deb094478a8a351bea7a6cdc)
Merged-In: I2f0f9681455968cdaed4a74d3a77c0b2de1ba14b
Change-Id: I2f0f9681455968cdaed4a74d3a77c0b2de1ba14b
2024-07-25 04:08:26 +00:00
Ankur Bakshi
17bf01d638 Update shiba SVN to 30
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b085ae1f72b6821c4f6e2bbf0e741148775346d8)
Merged-In: I2ef29057958ba6e31c76973de70d69577c1befe5
Change-Id: I2ef29057958ba6e31c76973de70d69577c1befe5
2024-07-25 04:08:15 +00:00
Ankur Bakshi
255c9897da Update shiba SVN to 29
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d650a1559a58ababa3feaaea2a44e4b4f81f829a)
Merged-In: Ie294dbfad34544b20386d019edf8d24819aa1f6d
Change-Id: Ie294dbfad34544b20386d019edf8d24819aa1f6d
2024-07-25 04:08:05 +00:00
Ankur Bakshi
baca273099 Update husky SVN to 29
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a7d44dbb505092e6b99126ff5feb96cce9b8404c)
Merged-In: I984a575909fd74ba78148bf39b5a109ecbf7bc3f
Change-Id: I984a575909fd74ba78148bf39b5a109ecbf7bc3f
2024-07-25 04:07:54 +00:00
Ankur Bakshi
ae4c7015ae Update shiba SVN to 28
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbbeb5592d7bcd71e20e50422375e7dbe4e3612d)
Merged-In: Ib715c678925f017ef61b90b5331a705745ccd7ef
Change-Id: Ib715c678925f017ef61b90b5331a705745ccd7ef
2024-07-25 04:07:43 +00:00
Ankur Bakshi
79c7ddf92e Update husky SVN to 28
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1fd7be6ff6a4b00b907c7ef5096869938075e882)
Merged-In: Iebe683d60093eecbf7aa8fb417c390e5180abfc9
Change-Id: Iebe683d60093eecbf7aa8fb417c390e5180abfc9
2024-07-25 04:07:31 +00:00
Android Build Coastguard Worker
abbb39658f Snap for 12129055 from a15c4272a5 to 24Q4-release
Change-Id: Ib6380f9f33995849acb616e1857e875e980d5a93
2024-07-23 23:03:07 +00:00
Bao Do
a15c4272a5 Merge "Set system property for LEA multi-codec for P23 projects" into main 2024-07-23 03:44:54 +00:00
Android Build Coastguard Worker
be60b86bb2 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28284486'] into 24Q3-release.
Change-Id: I19d2bebe8b2ec7f24c0ac6c70710343c12335565
2024-07-23 00:22:29 +00:00
Hana Huang
df71f96653 Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork
Bug: 351981809
Bug: 352658713
Test: AU drop/IFS/RvR/CTS/VTS/Manual Test, JP SAP indoor channel test
Signed-off-by: Hana Huang <hanahuang@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:37b036a0ed8b956f77589654c3748ee6fbacedd1)
Merged-In: If2d46e2bbd7612e6cc6f80bc74c7870dea17e08d
Change-Id: If2d46e2bbd7612e6cc6f80bc74c7870dea17e08d
2024-07-23 00:13:14 +00:00
Android Build Coastguard Worker
c683811b8d Snap for 12116631 from 00a1f6ddeb to 24Q4-release
Change-Id: I72e1f7cdb5779adb6bc94a1f55791900f9c5eec0
2024-07-20 01:02:53 +00:00
Treehugger Robot
00a1f6ddeb Merge "Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork" into main 2024-07-19 11:06:54 +00:00
Android Build Coastguard Worker
d9e853ccf5 Snap for 12110738 from 7e7688125f to 24Q4-release
Change-Id: Id610bc24bdf389d462ea74545ffd71abc321f012
2024-07-18 23:02:52 +00:00
Ankur Bakshi
8f96332d57 Merge changes from topic "sep-svn-set1" into main
* changes:
  Update husky SVN to 35
  Update husky SVN to 34
  Update husky SVN to 33
2024-07-18 21:44:23 +00:00
Ankur Bakshi
9ae47a30a8 Merge changes from topic "sep-svn-set1" into main
* changes:
  Update shiba SVN to 35
  Update shiba SVN to 34
  Update shiba SVN to 33
2024-07-18 21:44:23 +00:00
Kyle Hsiao
7e7688125f Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I6c3c4aa4f6cd517ff3467eb977f1bac46c451aca
2024-07-18 13:10:10 +00:00
Bao Do
2e7ff7dc8d Set system property for LEA multi-codec for P23 projects
Bug: 306225778
Test: Check system property value
Flag: NONE system property change only
Change-Id: I2450176a6b975d9e9a6bc228334c2b0a7c76706d
2024-07-18 13:35:37 +08:00
Android Build Coastguard Worker
6d74d6572d Snap for 12098010 from 4cf4f6eb97 to 24Q4-release
Change-Id: I72c6ccc60213521a4cd21a4471743ac6480126db
2024-07-16 23:03:26 +00:00
Luke Chang
4cf4f6eb97 Merge "powerhint: adjust cpd target residency when interaction" into main 2024-07-16 00:53:48 +00:00
Ankur Bakshi
f5bb7a3f56 Update husky SVN to 35
Bug: 352170103
Change-Id: I661546ae0ab104021936acd109e08de2a64a1b1c
Flag: EXEMPT bugfix
2024-07-15 14:46:38 +00:00
Ankur Bakshi
c473353c4c Update husky SVN to 34
Bug: 352170103
Change-Id: Ieb8ec0e93b463e95787a3ceed0ed4cddf78b262a
Flag: EXEMPT bugfix
2024-07-15 14:44:04 +00:00
Ankur Bakshi
4b4f16c266 Update husky SVN to 33
Bug: 352170103
Change-Id: I9beeef1b118a8d8a05ea14072e211d2f25eaf164
Flag: EXEMPT bugfix
2024-07-15 14:41:22 +00:00
Ankur Bakshi
633317c02c Update shiba SVN to 35
Bug: 352170103
Change-Id: Ib5c55167cdc0bbae64e48adb6778c445a38e5cc1
Flag: EXEMPT bugfix
2024-07-15 14:40:03 +00:00
Ankur Bakshi
a1e3e6cce3 Update shiba SVN to 34
Bug: 352170103
Change-Id: I9c7a9f6da772ecee70b9022aa29e8a3ad0d130d4
Flag: EXEMPT bugfix
2024-07-15 14:38:52 +00:00
Ankur Bakshi
d9fa747d25 Update shiba SVN to 33
Bug: 352170103
Change-Id: I4ad3b7e298cf6ec12e2cfc8873a24492fd5c25df
Flag: EXEMPT bugfix
2024-07-15 14:21:22 +00:00
Android Build Coastguard Worker
667e3a824a Snap for 12085179 from e4414a1c2f to 24Q4-release
Change-Id: I4ceeb077f1a6467b84a55668fd24665b9377e638
2024-07-13 01:02:58 +00:00
Lokesh Kumar Goel
e4414a1c2f Merge "shusky: Use build_flags for SVN" into main 2024-07-12 18:00:39 +00:00
Hana Huang
37b036a0ed Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork
Bug: 351981809
Bug: 352658713
Test: AU drop/IFS/RvR/CTS/VTS/Manual Test, JP SAP indoor channel test
Change-Id: If2d46e2bbd7612e6cc6f80bc74c7870dea17e08d
Signed-off-by: Hana Huang <hanahuang@google.com>
2024-07-12 08:47:21 +00:00
lukechang
d6240b116e powerhint: adjust cpd target residency when interaction
Modify default BC (husky) / BC/MC(shiba) CPD target residency to 10ms.
Increase to 750ms during interaction.

Bug: 283233731
Bug: 350508026

Flag: EXEMPT bugfix

Test: power & perf cuj test

Change-Id: I02ef4cf1174f6b49cbc4734257d9dbe43b74b86e
Signed-off-by: lukechang <lukechang@google.com>
2024-07-11 04:39:35 +00:00
Android Build Coastguard Worker
180284b743 Snap for 12072601 from 1101ded4f8 to 24Q4-release
Change-Id: Ifdff6b98b055bdbc1f7a3d562c4e7209e17904cd
2024-07-11 01:03:19 +00:00
Android Build Coastguard Worker
df9f7f0103 Snap for 12065372 from 763881ee90 to 24Q4-release
Change-Id: Ia6b187fbfeba9cb5452d2921cb0df4e927a3eaba
2024-07-09 23:08:01 +00:00
James Eidson
1101ded4f8 [uwb] Support multicast list update ntf v2 on husky am: 5d7618d722 am: 3f575a8930
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3159802

Change-Id: If8177971f001e6ef18df3d63e5d693b409c57776
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 23:00:55 +00:00
James Eidson
3f575a8930 [uwb] Support multicast list update ntf v2 on husky am: 5d7618d722
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3159802

Change-Id: I6756e3c50ca33c6b0f016dd4ed7fa2405401e0b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 22:41:23 +00:00
Juan Yescas
763881ee90 Merge "16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk" into main 2024-07-09 19:12:23 +00:00
Koli Lin
18bcad509d add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update

Change-Id: I99de1f14cb419d335eea45d3c857d018c331ad83
2024-07-09 08:57:59 +00:00
Vilas Bhat
2502760f89 16k: Move BoardConfig-shusky-common.mk to device/google/zuma/BoardConfig-16k-common.mk
The makefile logic in this file is identical to the logic required for
akita-trunk_staging-userdebug. Hence, this logic is moved to
device/google/zuma/BoardConfig-16k-common.mk to avoid duplicating the
file for akita.

Bug: 349877551
Test: $ lunch shiba-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb
      $ get_build_var BOARD_KERNEL_PATH_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb/Image.lz4
      $ get_build_var BOARD_16K_OTA_USE_INCREMENTAL
      true
      $ get_build_var BOARD_16K_OTA_MOVE_VENDOR
      true
Flag: EXEMPT bugfix
Change-Id: I80cb3e9f4c4a1609ca668af554d930edb3b4c5a0
2024-07-09 00:13:34 +00:00
Treehugger Robot
087d2c07ec Merge "Remove L9S_GNSS_CORE from thermal json" into main 2024-07-08 23:45:29 +00:00
Android Build Coastguard Worker
8bbd3440dd Snap for 12058995 from 5dd3656881 to 24Q4-release
Change-Id: I43d461fbdd70110a5264fc4c5b64674c97467210
2024-07-08 23:08:14 +00:00
Kelvin Zhang
5dd3656881 Merge "Add DTBO partition to shiba/husky's dev option OTA" into main 2024-07-08 18:47:45 +00:00
Android Build Coastguard Worker
26c42551ad Snap for 12048319 from d3ad2f99ce to 24Q4-release
Change-Id: Ia8a74587c918bc3de03cd384c74b39e1a64cd56b
2024-07-03 23:03:16 +00:00
James Eidson
5d7618d722 [uwb] Support multicast list update ntf v2 on husky
Bug: 350781526
Test: atest CtsUwbTestCases:android.uwb.cts.UwbManagerTest#testFiraRangingSessionAddRemoveControlee
Change-Id: Ibf13890c991e84fb7ae69d38c31d9f3285b7c25f
2024-07-03 20:17:02 +00:00
Juan Yescas
d3ad2f99ce 16kb: Set 16kb TARGET_ vars in BoardConfig files and targets
TARGET_ build variables MUST NOT be set up in device*
files. In the device* files, the PRODUCT_ variables are not
defined properly and only after the build system finishes
parsing all the product files, we can set up TARGET_ vars
based on PRODUCT_ vars. During the parsing of the BoardConfig
files, the PRODUCT_ vars are defined and their values can
not be changed.

Test: Built and tested husky-next and husky-pgagnostic targets
      $ source build/envsetup.sh
      $ lunch husky-trunk_staging-userdebug
      $ get_build_var PRODUCT_16K_DEVELOPER_OPTION
      true
      $ get_build_var TARGET_BOOTS_16K

      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE

      $ get_build_var TARGET_KERNEL_DIR
      device/google/shusky-kernels/6.1/trunk-12034122
      $ get_build_var BOARD_KERNEL_PATH_16K
      device/google/shusky-kernels/6.1/trunk-12034122/16kb/Image.lz4
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/6.1/trunk-12034122/16kb
      $ get_build_var ADDITIONAL_PRODUCT_PROPERTIES | grep 16k
      ro.product.build.16k_page.enabled=true
      $ get_build_var PRODUCT_COPY_FILES | grep efs
    device/google/zuma/conf/init.efs.16k.rc:vendor/etc/init/init.efs.rc
      $ get_build_var PRODUCT_SOONG_NAMESPACES | grep insmod
      device/google/gs-common/insmod/4k
Bug: 350529323
Bug: 346868433
Flag: EXEMPT bugfix
Change-Id: Ic1da7f21b696f1659ef7d7b0b7089c3d2c03103e
2024-07-03 17:51:38 +00:00
Android Build Coastguard Worker
7268145c3c Snap for 12037182 from bdc7c965e5 to 24Q4-release
Change-Id: Icb9145dcab9d657c79ef8e9d2a8801e6aa72e44a
2024-07-01 23:08:32 +00:00
Treehugger Robot
bdc7c965e5 Merge "gps: Set configuration by kernel version" into main 2024-07-01 06:57:38 +00:00
Android Build Coastguard Worker
8bba9291b9 Snap for 12032182 from 73c64fff21 to 24Q4-release
Change-Id: Id4b0bdf7b911ea3d842a9aaf4d7f8d252e046a66
2024-06-29 03:03:09 +00:00
Juan Yescas
73c64fff21 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs
The build flag PRODUCT_BOOTS_16K will be used to select
whether the shusky devices boot with 16kb kernel or 4kb kernel.

Bug: 346868433
Test: Built Pixel 8 targets
      $ source build/envsetup.sh
      $ lunch husky_pgagnostic-trunk_staging-userdebug
      $ get_build_var DEVICE_PAGE_AGNOSTIC
      $ get_build_var TARGET_KERNEL_DIR
      device/google/shusky-kernels/6.1/trunk-12010727/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/shusky-kernels/6.1/trunk-12010727/kernel-headers
      $ get_build_var PRODUCT_BOOTS_16K
      true
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: Ia75c7f8cfca6d651777c730a3f86715a0991fbec
2024-06-28 18:50:32 +00:00
Kelvin Zhang
4b81f5752e Add DTBO partition to shiba/husky's dev option OTA
Some 16KB kernels have a different device tree(stored on DTBO
partition). Hence add DTBO partition to dev option OTA

Test: th
Bug: 349590107
Change-Id: I1e54dd18a8bbcb82b1fc3b07b29f229b3d5366e5
2024-06-28 10:45:09 -07:00
Lokesh Kumar Goel
9c0b973e01 shusky: Use build_flags for SVN
Flag: build.RELEASE_SVN_HUSKY
Flag: build.RELEASE_SVN_SHIBA
Bug: 332726030
Change-Id: I289ffb153c91536c3d505dba3efe6b9096dbad50
2024-06-27 23:09:05 +00:00
Android Build Coastguard Worker
aeaae2caaa Snap for 12014005 from 357cc1f618 to 24Q4-release
Change-Id: Id126dfaa937fdab4de0ad39dedd34d2937806444
2024-06-25 23:03:28 +00:00
Cheng Chang
fa60355a21 gps: Set configuration by kernel version
Bug: 258364350
Test: Verification at b/258364350.
Test: Function verification at b/258364350.
Test: Compile and verify the configuration is correct.
Change-Id: I7d6521bef3605dc725c9a9e34f27217ccae42d4e
2024-06-25 14:03:24 +00:00
chenkris
357cc1f618 Revert "Build g7_trusty_next for “next” configuration"
This reverts commit 5011c28eab.

Bug: 348542941
Test: build
Change-Id: I26464d764de6964bc66126ef152ffcf068b8ce1c
2024-06-24 11:24:36 +00:00
Android Build Coastguard Worker
10a7b4e19d Snap for 12002618 from fa4b16ffb9 to 24Q4-release
Change-Id: Ib2adc448f30f0ed4b282480c624fa79d48bd09a8
2024-06-22 01:03:09 +00:00
KRIS CHEN
fa4b16ffb9 Merge "Build g7_trusty_next for “next” configuration" into main 2024-06-21 07:16:54 +00:00
chenkris
5011c28eab Build g7_trusty_next for “next” configuration
Bug: 348542941
Test: build
Change-Id: Ie4c8e606980580189d63fb4764428b6aacdefdaa
2024-06-21 04:20:17 +00:00
Android Build Coastguard Worker
4a49e57ea4 Snap for 11996894 from bd4a5548e4 to 24Q4-release
Change-Id: I7a49c397c01fea4ab676f06e111a3dda5749ea7e
2024-06-20 23:03:24 +00:00
Xin Li
bd4a5548e4 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 9a3e9a4920 -s ours
am skip reason: Merged-In I5d5b2e74f46eb0ca6d1f21b29e22019d9b3f25fa with SHA-1 ef1a3cc698 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/27907051

Change-Id: I4f65d6ede57e539744f662bb392773765aa782d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:16:39 +00:00
Leonard Ian
11ae3557fe Merge "conf: Enable access for braking time sysfs nodes" into main 2024-06-20 06:22:57 +00:00
Android Build Coastguard Worker
57ce1105df Snap for 11987757 from 61a7d0104f to 24Q4-release
Change-Id: I875340c52ffa4cdd0db0846f126c862c3e32da24
2024-06-18 23:03:16 +00:00
Xin Li
9a3e9a4920 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: I5d5b2e74f46eb0ca6d1f21b29e22019d9b3f25fa
Change-Id: I77cd63b1046b0ba2bf2fbe5922818d4a336d5d76
2024-06-18 14:13:24 -07:00
Xin Li
61a7d0104f [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 53138ecea9 -s ours am: d9600388b8 -s ours
am skip reason: Merged-In Id7135d0505aa936207c761f04fb60c1017c125a9 with SHA-1 54ca980874 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3131977

Change-Id: I0c10cb3630f02e1591de8a4ad897dd9cd335c67e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:36 +00:00
Android Build Coastguard Worker
a064fc6fba Snap for 11981331 from d312a08688 to 24Q4-release
Change-Id: I953c51fa19b863fb43270e233a7355b6bdbb2ad2
2024-06-17 23:03:51 +00:00
Xin Li
d9600388b8 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 53138ecea9 -s ours
am skip reason: Merged-In Id7135d0505aa936207c761f04fb60c1017c125a9 with SHA-1 54ca980874 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3131977

Change-Id: I6434ddcf5316b078233620068e2e79b53d67875a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:57 +00:00
Ankur Bakshi
d312a08688 Merge changes from topic "aug-set1" into main
* changes:
  Update husky SVN to 32
  Update husky SVN to 31
  Update husky SVN to 30
  Update husky SVN to 29
  Update husky SVN to 28
2024-06-17 05:04:31 +00:00
Ankur Bakshi
18814575aa Merge changes from topic "aug-set1" into main
* changes:
  Update shiba SVN to 32
  Update shiba SVN to 31
  Update shiba SVN to 30
  Update shiba SVN to 29
  Update shiba SVN to 28
2024-06-17 05:04:31 +00:00
Android Build Coastguard Worker
813d843b8c Snap for 11973804 from ef1a3cc698 to 24Q3-release
Change-Id: Ia56cf469f5ccca214c20074bb64f882270fc4b2c
2024-06-15 01:03:09 +00:00
vincenttew
ef1a3cc698 audio: add sound dose offset curve
Bug: 313395588
Test: boot to home, HIDL/AIDL w/wo xml configuration
Change-Id: I5d5b2e74f46eb0ca6d1f21b29e22019d9b3f25fa
Signed-off-by: vincenttew <vincenttew@google.com>
2024-06-14 02:38:15 +00:00
Android Build Coastguard Worker
e6430d88b6 Snap for 11967491 from 8dece44546 to 24Q3-release
Change-Id: I7f72bc712382f7f91b3d7c5a0320bbdce4156545
2024-06-13 23:03:06 +00:00
Xin Li
53138ecea9 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: Id7135d0505aa936207c761f04fb60c1017c125a9
Change-Id: I992ba4f367fc9ee45b851fdf080867e6b1e8c93a
2024-06-13 10:48:56 -07:00
Ali K. Zadeh
8dece44546 Merge "Increase PMU_MID_SPC_THRESHOLD to 23 for 60fps" into main 2024-06-12 23:27:18 +00:00
Android Build Coastguard Worker
e04673e441 Snap for 11959661 from 071e4e0598 to 24Q3-release
Change-Id: I7e2d9aff07afcb4f27bf1e3c6b1c3c1277d56cc5
2024-06-12 23:03:28 +00:00
Peter (YM)
071e4e0598 Merge "thermal: Move TPU to the VSKIN-SOC PID loop" into main 2024-06-12 03:06:40 +00:00
Android Build Coastguard Worker
76302f5098 Snap for 11954976 from d81c86e9a4 to 24Q3-release
Change-Id: Ifcedc8db0f345de760f03de60304469eaf02a560
2024-06-11 23:03:40 +00:00
Joe Onorato
d81c86e9a4 Remove entries for unlunchable targets
Bug: 346406752
Test: Treehugger
Change-Id: I1f2f9690e5c70799acb8e15b382c7bc1ae7282d5
2024-06-10 15:10:46 -07:00
Android Build Coastguard Worker
8cb99c5bd5 Snap for 11944020 from 51f4af0fdc to 24Q3-release
Change-Id: I645e3e995a99d1b3997649b482d2816902d0481b
2024-06-08 01:03:34 +00:00
Ali K. Zadeh
bcafadef9c Increase PMU_MID_SPC_THRESHOLD to 23 for 60fps
Test results show that increasing Spc threshold for mid core to 23 can
help with framedrop rate without affecting the power.

Bug: 317052150
Test: https://docs.google.com/spreadsheets/d/1bpSfVptz8nolSPfeYfkbjnP9pIK3l-U1JyqPNCwOwLc/edit?resourcekey=0-oiFKaxI6PtSGR6yXed327w&gid=430808958#gid=430808958
Change-Id: I9d5efbc0b7465825b36bff0dc70671121198b8c3
2024-06-07 16:20:50 +00:00
Android Build Coastguard Worker
45d749cd79 Snap for 11938003 from a64dfb0e1d to 24Q3-release
Change-Id: I8ef786984564eaca32759c777695514690faa5e0
2024-06-06 23:03:09 +00:00
Xin Li
51f4af0fdc [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 54ca980874 -s ours
am skip reason: Merged-In Ib0b3823368c5124fc6dfce1452f51aee5bf66ba5 with SHA-1 18a613fe00 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/27555656

Change-Id: I0ea2434c2213482d153b2354758f933ddd2dd304
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:11 +00:00
Steven Moreland
a64dfb0e1d Merge "Verify shusky prebuilts are 16 KB compatible." into main 2024-06-06 18:20:02 +00:00
Rick Yiu
a7f8dd6047 Merge "Revert "Set big core to group_cfs_skip_mask for sys group"" into main 2024-06-06 06:50:27 +00:00
Rick Yiu
be6417f824 Merge "Revert "Set big core to cpu skip mask by default"" into main 2024-06-06 06:50:16 +00:00
Rick Yiu
5d7958215d Revert "Set big core to cpu skip mask by default"
This reverts commit c6609a4bb9.

Reason for revert: 24Q3 kernel prebuilt not ready

Bug: 248621289
Change-Id: I53abd0932443fa437a487255b74e06dad18f7b9f
Test: build pass
2024-06-06 03:02:13 +00:00
Rick Yiu
d6c3e07eb4 Revert "Set big core to group_cfs_skip_mask for sys group"
This reverts commit 83bdd31a60.

Reason for revert: 2dQ3 kernel prebuilt not ready

Bug: 248621289
Change-Id: I34c8616bc6b39e178c665a77c266c2a60438a651
Test: build pass
2024-06-06 03:01:52 +00:00
Android Build Coastguard Worker
5a1144ef41 Snap for 11931036 from 12274aa885 to 24Q3-release
Change-Id: Ib22531b1e4a007b857160ec92076d0b91237cf38
2024-06-05 23:07:57 +00:00
Xin Li
54ca980874 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: Ib0b3823368c5124fc6dfce1452f51aee5bf66ba5
Change-Id: Id7135d0505aa936207c761f04fb60c1017c125a9
2024-06-05 14:12:12 -07:00
Ankur Bakshi
fe6c3b8adf Update husky SVN to 32
Bug: 342381152
Change-Id: Icb9de546d095ed4d97e52cc32c1b034856ccd6fb
2024-06-05 20:19:42 +00:00
Ankur Bakshi
810570db66 Update husky SVN to 31
Bug: 342381152
Change-Id: I2bdfbbed0dff3c3c093dd46200f2d8ce15c28652
2024-06-05 20:17:55 +00:00
Ankur Bakshi
a7b24379b5 Update husky SVN to 30
Bug: 342381152
Change-Id: Icdbc5cd31dbca584589f703c16aa18698f7de294
2024-06-05 20:16:07 +00:00
Ankur Bakshi
d3e5bfd7a4 Update shiba SVN to 32
Bug: 342381152
Change-Id: I18527bb9a4358c14b2e99646670f0ab2da8173f0
2024-06-05 20:14:27 +00:00
Ankur Bakshi
98ed4cdd4e Update shiba SVN to 31
Bug: 342381152
Change-Id: I2f0f9681455968cdaed4a74d3a77c0b2de1ba14b
2024-06-05 20:12:25 +00:00
Ankur Bakshi
b085ae1f72 Update shiba SVN to 30
Bug: 342381152
Change-Id: I2ef29057958ba6e31c76973de70d69577c1befe5
2024-06-05 20:09:25 +00:00
Ankur Bakshi
755f1354b7 Merge "Update shiba SVN to 27" into main 2024-06-05 19:23:16 +00:00
Peter (YM)
d3b792b4eb thermal: Move TPU to the VSKIN-SOC PID loop
Bug: 345115917
Test: run TPU test
Change-Id: I372473dcedc35ea82ccc739f0ac185a8a83dfa53
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-05 07:24:55 +00:00
Rick Yiu
12274aa885 Merge "Set big core to cpu skip mask by default" into main 2024-06-05 01:15:22 +00:00
Steven Moreland
2b195c3b0d Verify shusky prebuilts are 16 KB compatible.
Bug: 342466032
Test: build only
Change-Id: I7025cd2a02904c9bb974112f0f70368325b89d7f
2024-06-05 00:07:37 +00:00
Android Build Coastguard Worker
b4363a344d Snap for 11926388 from 8c35d8a05c to 24Q3-release
Change-Id: I9486f75f3cd0276049dc4ca1d9d51aa2695e6c4d
2024-06-04 23:58:16 +00:00
Wei Wang
8c35d8a05c Merge "Set big core to group_cfs_skip_mask for sys group" into main 2024-06-04 16:06:57 +00:00
Rick Yiu
c6609a4bb9 Set big core to cpu skip mask by default
Also reset the mask for launch and other camera streaming modes that
do not use it.

Bug: 248621289
Test: build pass
Change-Id: Id2f8f203359d4551d17f9b6ba02ee1c8e805fa3c
2024-06-04 14:00:14 +00:00
Android Build Coastguard Worker
643c325d3f Snap for 11915075 from 6a90c104cd to 24Q4-release
Change-Id: I4ff3ce2eb891f62cf769115d1f58d8c5860a3401
2024-06-01 01:03:00 +00:00
Ankur Bakshi
d650a1559a Update shiba SVN to 29
Bug: 342381152
Change-Id: Ie294dbfad34544b20386d019edf8d24819aa1f6d
2024-05-31 18:22:52 +00:00
Ankur Bakshi
a7d44dbb50 Update husky SVN to 29
Bug: 342381152
Change-Id: I984a575909fd74ba78148bf39b5a109ecbf7bc3f
2024-05-31 18:21:25 +00:00
Android Build Coastguard Worker
96bd1cd330 Snap for 11908474 from 6a90c104cd to 24Q3-release
Change-Id: Ia2484cd1ed08b807cca586e568de41dee15ec30e
2024-05-30 23:03:11 +00:00
Ankur Bakshi
1fd7be6ff6 Update husky SVN to 28
Bug: 342381152
Change-Id: Iebe683d60093eecbf7aa8fb417c390e5180abfc9
2024-05-30 00:10:08 +00:00
Ankur Bakshi
dbbeb5592d Update shiba SVN to 28
Bug: 342381152
Change-Id: Ib715c678925f017ef61b90b5331a705745ccd7ef
2024-05-30 00:07:58 +00:00
Cyan_Hsieh
6a90c104cd Switch makefile owners to MK_OWNERS am: f9d1717851 am: 6adc787300
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3107250

Change-Id: I08b7e0cd3c54670576fb95ca574f3a3e1b68aa20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:00:00 +00:00
Xin Li
818ad7c14b Merge changes from topic "am-36173d5d8d894981aebd5978e1093e94" into main
* changes:
  [automerger skipped] Merge "Merge Android 24Q2 Release (ab/11526283) to aosp-main-future" into aosp-main-future am: a547255f56 -s ours
  [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: cd35c7dfcf -s ours
2024-05-29 21:40:02 +00:00
Xin Li
566d1afb35 [automerger skipped] Merge "Merge Android 24Q2 Release (ab/11526283) to aosp-main-future" into aosp-main-future am: a547255f56 -s ours
am skip reason: Merged-In I67dc687f1751a17b6ff1431697a380b82d53c799 with SHA-1 bd5841248b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/27273752

Change-Id: If2dc42fb65cbca87a31271ba35a49931d5bcf43b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:52:43 +00:00
Xin Li
8919d1e65a [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: cd35c7dfcf -s ours
am skip reason: Merged-In I67dc687f1751a17b6ff1431697a380b82d53c799 with SHA-1 bd5841248b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/27273752

Change-Id: I738b5c1262cc1b202eb344cb1661a9df1a2f413f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:49:02 +00:00
Xin Li
37c3f9e9ed [automerger skipped] Merge "Merge Android 24Q2 Release (ab/11526283) to aosp-main-future" into aosp-main-future am: a547255f56 -s ours
am skip reason: Merged-In I67dc687f1751a17b6ff1431697a380b82d53c799 with SHA-1 bd5841248b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/27273752

Change-Id: I4623b3d9e1bc0a9830818a0e0df54f08c4b72e50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 19:49:08 +00:00
Xin Li
ae97470105 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: cd35c7dfcf -s ours
am skip reason: Merged-In I67dc687f1751a17b6ff1431697a380b82d53c799 with SHA-1 bd5841248b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/27273752

Change-Id: I9fbd95fb7e20229de0f556aff42f5870dfe3531f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 19:44:43 +00:00
Cyan_Hsieh
6adc787300 Switch makefile owners to MK_OWNERS am: f9d1717851
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3107250

Change-Id: I7c5462d4232579733a1d707782c2dcf429c4159b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:14 +00:00
Cyan_Hsieh
f9d1717851 Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aa3eb14d33c1b5f93fb7f496eb625f3829d1325d)
Merged-In: I58886a7c812960f7ef7d14a4d9c0b0ccabd4b8ef
Change-Id: I58886a7c812960f7ef7d14a4d9c0b0ccabd4b8ef
2024-05-29 10:00:43 +00:00
Android Build Coastguard Worker
40014b36fb Snap for 11889377 from 3769d377bd to 24Q3-release
Change-Id: I96e77d0042ac7e189bcb698ceee11d4a8a866896
2024-05-25 03:02:48 +00:00
Xin Li
a547255f56 Merge "Merge Android 24Q2 Release (ab/11526283) to aosp-main-future" into aosp-main-future 2024-05-24 21:16:08 +00:00
Vilas Bhat
3769d377bd 16k: shusky: Remove developer option from AOSP pgagnostic targets am: c7b8d16d38 am: 55b37a6818
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3102537

Change-Id: Ie421e448f5bff32cf21fb5301d648582c691d3d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 20:55:30 +00:00
Vilas Bhat
55b37a6818 16k: shusky: Remove developer option from AOSP pgagnostic targets am: c7b8d16d38
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3102537

Change-Id: I7809828518ba83afa7cc668f2a3eb46c6d7dd966
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 20:38:25 +00:00
Vilas Bhat
c7b8d16d38 16k: shusky: Remove developer option from AOSP pgagnostic targets
Page agnostic (16k targets) are already supposed to boot up with 16k
page size kernels. Hence, the developer option is not required.

Bug: 340969437
Test: Tested `aosp_shiba_pgagnostic` on internal branch to ensure the
      build succeeds and device boots up.
Change-Id: I9fd4011d868f282364c1dedc048531ca2a32c843
2024-05-24 18:32:44 +00:00
Rick Yiu
83bdd31a60 Set big core to group_cfs_skip_mask for sys group
Set big core to group_cfs_skip_mask for sys group when screen is off,
so that sys group tasks will run less in big core.

Bug: 328210236
Test: build pass
Change-Id: I9ccb3035a480e88960951222c45d0ca8352082d9
2024-05-24 13:50:26 +00:00
Android Build Coastguard Worker
89b923f4c1 Snap for 11881322 from 2043d49aac to 24Q3-release
Change-Id: Iedaa1936e683d5f58d0bec6a897b320682315d1b
2024-05-23 23:03:12 +00:00
Pawan Wagh
84bde1ec6e Merge "Move boot_otas to /vendor" into main 2024-05-23 22:42:39 +00:00
Pawan Wagh
886e2a864e Merge "Use husky specific flag for dev options" into main 2024-05-23 22:29:00 +00:00
TeYuan Wang
63ed988085 Remove L9S_GNSS_CORE from thermal json
Remove L9S_GNSS_CORE because the accuracy problem

Bug: 331852404
Test: boot to home
Change-Id: Ic4d4285ae053367893e5076685550406102f1a62
2024-05-23 21:50:32 +00:00
Pawan Wagh
b91082483f Use husky specific flag for dev options
Husky and shiba might use different kernels moving forward and
dev options should be controlled by separate flags on husky and
shiba.

Test: Build husky-trunk_staging-userdebug
Bug: 342011434
Change-Id: I8c855c95d99e4e4b3f2233179f368bcbb63a9720
2024-05-23 20:25:17 +00:00
Treehugger Robot
2043d49aac Merge "audio: remove unused device" into main 2024-05-23 08:29:53 +00:00
Pawan Wagh
d8e6c573fc Move boot_otas to /vendor
Test: Boot device and use developer options.
Test: $ adb shell ls -l /vendor/boot_otas/
total 11712
-rw-r--r-- 1 root root 5980771 2024-05-21 17:36 boot_ota_16k.zip
-rw-r--r-- 1 root root 6007912 2024-05-21 17:36 boot_ota_4k.zip
Bug: 295035851
Bug: 318887939

Change-Id: I15a225aaa068a9a215d9aadc9c7b0e5f16edbc53
2024-05-21 22:09:39 +00:00
Android Build Coastguard Worker
b53b572f78 Snap for 11865526 from ccbf84d1ae to 24Q3-release
Change-Id: Ib27c6a3d5a72ebeef7c50c9074c1398d2c81210a
2024-05-21 01:03:08 +00:00
Pawan Wagh
ccbf84d1ae Merge "Use BOARD_16K_OTA_USE_INCREMENTAL for shusky" into main 2024-05-20 22:25:38 +00:00
Pawan Wagh
8ecee7602b Use BOARD_16K_OTA_USE_INCREMENTAL for shusky
Bug: 340987520
Bug: 295035851
Test: Boot and test dev options with incremental OTAs
Test: boot shiba and check size difference in boot_ota_16k.zip
boot_ota_4k.zip
Without incremental OTA -> Total size 32 MiB
out/target/product/shiba$ ls -l --block-size=M | grep boot_ota
-rw-r--r--  1 waghpawan primarygroup   16M May 20 17:11 boot_ota_16k.zip
-rw-r--r--  1 waghpawan primarygroup   16M May 20 17:11 boot_ota_4k.zip

With incremental OTA -> Total size 12 MiB
 ls -l --block-size=M | grep boot_ota
-rw-r--r--  1 waghpawan primarygroup    6M May 20 16:14 boot_ota_16k.zip
-rw-r--r--  1 waghpawan primarygroup    6M May 20 16:14 boot_ota_4k.zip


Change-Id: I52e07fdc7f781f0c59ac6957e34af1967a3efb92
2024-05-20 17:15:06 +00:00
Ravi Jain
1e6976040c Merge "Vibrator: Set Soong Config variable - kernel_ver" into main 2024-05-20 11:00:39 +00:00
Ravi Jain
f080086bd2 Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: Ic0e1a84d606f2cb86d498b2508babd126a11eda0
2024-05-20 06:49:57 +00:00
Android Build Coastguard Worker
f58969db52 Snap for 11859356 from f9d38daaae to 24Q3-release
Change-Id: Ia67affa2650686e54eba098b8c4284aa9c28dc42
2024-05-18 03:03:01 +00:00
Pawan Wagh
f9d38daaae Use TARGET_KERNEL_DIR in Dev options config
Shiba and husky may use different kernel versions moving
forward.

Test: m
Bug: 295035851
Change-Id: I148d17ef6f85ae96488aef1f9b40fb3fedb35c69
2024-05-17 22:08:13 +00:00
Xin Li
cd35c7dfcf Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I67dc687f1751a17b6ff1431697a380b82d53c799
Change-Id: I9854060d05a23ac0a21b51d62ab5831d17e765a4
2024-05-17 11:03:46 -07:00
leonardian
c727cf6fc5 conf: Enable access for braking time sysfs nodes
Sysfs nodes:
- braking_time_bank
- braking_time_index
- braking_time_ms

Bug: 325121485
Test: Open sysfs nodes successfully during HAL init
Change-Id: I88f59ca68028ea7fe1c2a7e61c6bf61ab647169b
Signed-off-by: leonardian <leonardian@google.com>
2024-05-17 12:07:42 +00:00
Android Build Coastguard Worker
ffbb5db763 Snap for 11853201 from 443b449e02 to 24Q3-release
Change-Id: I6c354b7525a1fadae65a7fff3ee0a19cb4b441a5
2024-05-17 01:02:55 +00:00
Android Build Coastguard Worker
764f994f9b Snap for 11847214 from 89d2eccd64 to 24Q3-release
Change-Id: I073b91fea2963d85cd48c353417f05a4c86418b0
2024-05-16 01:03:31 +00:00
Pawan Wagh
443b449e02 16kb: Setup 16k OTA config for [husky|shiba] targets
Enabling developer option based on trunk stable flags
- RELEASE_GOOGLE_HUSKY_16K_DEVELOPER_OPTION
- RELEASE_GOOGLE_SHIBA_16K_DEVELOPER_OPTION

This change includes
- conditional config for 16kb developer option in [husky|shiba] targets.
- Path setup required for OTA generation for 16kB developer options.

Test: $ source build/envsetup.sh
      $ lunch husky-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-11828503/16kb
      $ get_build_var RELEASE_KERNEL_HUSKY_DIR
      device/google/shusky-kernels/5.15/trunk-11828503
      $ m

Bug: 295035851
Change-Id: Ie88f22b9cd2fb8ba233683650fcdb4e79810e564
2024-05-16 00:06:45 +00:00
Steven Moreland
89d2eccd64 Merge "16kb: Set ext4 filesystem for data/metadata partition in pgagnostic targets" into main 2024-05-15 16:46:04 +00:00
Cyan Hsieh
b754c345ff Merge "Update bootloader pdk folder and soong config" into main 2024-05-15 14:01:33 +00:00
Juan Yescas
d83a4ff79b 16kb: Set ext4 filesystem for data/metadata partition in pgagnostic targets
Test: Built shusky agnostic target
Bug: 333734531
Bug: 308663811
Change-Id: Ia14228aec87eefffd04c96a408e80bd8d3c344a1
2024-05-14 17:50:38 -07:00
Juan Yescas
fab6a485f9 16kb: Use RELEASE_KERNEL_SHIBA_DIR for shiba targets
Test: Built locally
Bug: 333734531
Bug: 308663811
Change-Id: I6190bd55ac2e7007df4f6cab5b64a0666e0a0314
2024-05-14 23:59:34 +00:00
Android Build Coastguard Worker
cfb2939784 Snap for 11840485 from ddec229eb1 to 24Q3-release
Change-Id: I9dfacf15d037f829ef2cf73d0101a7bdf38257c6
2024-05-14 23:03:20 +00:00
Xin Li
ddec229eb1 Update LOCAL_CERTIFICATE to PRESIGNED for ShannonRcs am: 6e246c5334 am: d429a0c1c2
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3081864

Bug: 340575463
Fixed: 340575463
Change-Id: If2775ce1372c87b0052060ea640e71141e813e70
2024-05-14 17:42:56 +00:00
Alexander Koskovich
d429a0c1c2 Update LOCAL_CERTIFICATE to PRESIGNED for ShannonRcs am: 6e246c5334
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3081864

Change-Id: I0b375d0599e802a16ef4bfac59c304a759f323ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 16:36:56 +00:00
Juan Yescas
9ba0df1300 16kb: Configure the file system and kernel for pgagnostic targets
Test: $ source build/envsetup.sh
      $ lunch husky_pgagnostic-trunk_staging-userdebug
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_KERNEL_DIR
      device/google/shusky-kernels/5.15/trunk-11828503/16kb
Bug: 333734531
Bug: 308663811
Change-Id: I8d69e4df68303351a9d402c4d458061c72499cd7
2024-05-13 17:13:50 -07:00
Android Build Coastguard Worker
128dfb2737 Snap for 11834877 from cdb0fb1526 to 24Q3-release
Change-Id: Iae79125e49af1dd2767f81f8e9ef88f934520a26
2024-05-13 23:03:24 +00:00
Treehugger Robot
cdb0fb1526 Merge "gps: Reduce logging mask" into main 2024-05-13 01:50:58 +00:00
Alexander Koskovich
6e246c5334 Update LOCAL_CERTIFICATE to PRESIGNED for ShannonRcs
Test: No more denials when it tries to find IOemSlsiRadioExternal.
Change-Id: I01f8d8fc3262909400ab1c6598017d045ba27625
2024-05-12 07:36:03 -04:00
Cheng Chang
6cb24ee344 gps: Reduce logging mask
Bug: 267729515
Bug: 312716075
Test: Verification for logging system.
Test: Verification at b/267729515#comment152.
Change-Id: I0180f1f23c5e7169d770a12b70af27d64b49472a
2024-05-10 03:45:06 +00:00
Android Build Coastguard Worker
bb43ddc2b5 Snap for 11822896 from 18a613fe00 to 24Q3-release
Change-Id: I94feb728007b7a38f24108a159651365019441db
2024-05-09 23:07:56 +00:00
Chaohui Wang
18a613fe00 Update regulatory_info_gpj41_in.png (2)
Bug: 307193134
Test: presubmit
Change-Id: Ib0b3823368c5124fc6dfce1452f51aee5bf66ba5
2024-05-09 13:55:06 +08:00
Android Build Coastguard Worker
6442c737ae Snap for 11811809 from a1346df3f0 to 24Q3-release
Change-Id: Iaede1b6ed5ae0ae0053f5595907b9e7c3d066aa2
2024-05-07 23:03:35 +00:00
Chaohui Wang
a1346df3f0 Update regulatory_info_gpj41_in.png
Bug: 307193134
Test: presubmit
Change-Id: I6f48c0a8c7700563dee83779062c763b20839638
2024-05-07 11:54:48 +08:00
Cyan_Hsieh
3ba38abf51 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I410f06023eabfad6a89a347833acbb90735e99d1
2024-05-06 16:43:11 +08:00
Android Build Coastguard Worker
e8c408bc7d Snap for 11800966 from dfbfadeb46 to 24Q3-release
Change-Id: I552539620b6e07ca0cc57ceed96778a77e3aac6a
2024-05-04 01:03:26 +00:00
Qian-Hao Huang
dfbfadeb46 Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: Ife4f11cd8be0afc501ca37deef28b7654cbc07d9
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:15:37 +00:00
Android Build Coastguard Worker
f893c39d0d Snap for 11784291 from 8196de6572 to 24Q3-release
Change-Id: Id6b343cab877c77821a42f450e63e9c1ac806c0f
2024-04-30 23:04:06 +00:00
Android Build Coastguard Worker
1ded87eaec Snap for 11784291 from d7ed1eb8ba to 24Q3-release
Change-Id: Ibad4c20954cdfa8cfd3486b463d56b91cbc0b52d
2024-04-30 23:04:02 +00:00
Treehugger Robot
d7ed1eb8ba Merge "Convert p23_common/preloaded_nanoapps.json's .mk file to Android.bp." into main 2024-04-30 05:37:46 +00:00
Vilas Bhat
b79977f369 [automerger skipped] Merge "16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets" into main am: f5b6f07062 am: 5244ca8724 -s ours
am skip reason: Merged-In Ib005384c58912f53a3294512a175d1c6fd78dbf6 with SHA-1 4604f3b565 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3065626

Change-Id: I71eeea31009201510b0b8535318b3e7dbadae3a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 03:23:18 +00:00
Vilas Bhat
5244ca8724 Merge "16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets" into main am: f5b6f07062
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3065626

Change-Id: I8c10b678e065601ebdcd1d8d0b1366c2a391e7b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 03:04:52 +00:00
Vilas Bhat
f5b6f07062 Merge "16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets" into main 2024-04-30 02:37:37 +00:00
Xin Li
8196de6572 [automerger skipped] Empty merge of Android 24Q2 Release (ab/11526283) to aosp-main-future am: cee9101b80 -s ours
am skip reason: Merged-In I737cfc43bb7fade480c49cab06ff605ad51fa131 with SHA-1 5dfae29d62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky-sepolicy/+/27145057

Change-Id: I7bf5775c0c362b08192e18664bcee1667381af15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 02:10:29 +00:00
Treehugger Robot
eb1e30378a Merge "Add system property for concurrent encryption on LE and BR/EDR" into main 2024-04-30 02:00:49 +00:00
Vilas Bhat
b62db38cb6 Merge "16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets" into main 2024-04-30 00:49:55 +00:00
Juan Yescas
65ba364726 16kb: Update shusky pgagnostic target configuration am: 9cb8882df2 am: 92bef4046b
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3065522

Change-Id: I82191a43bb9507aad06bfc12d1182481d6744300
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 21:38:51 +00:00
Juan Yescas
92bef4046b 16kb: Update shusky pgagnostic target configuration am: 9cb8882df2
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3065522

Change-Id: Ia641abdd646cf2055696855fd1f35a0db48581e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 21:19:20 +00:00
Vilas Bhat
cdc8605b95 16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets
Test: source build/envsetup.sh
      lunch aosp_{shiba,husky}-trunk_staging-userdebug
      get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Bug: 310232825
Merged-In: Ib005384c58912f53a3294512a175d1c6fd78dbf6

Change-Id: Ib202adce4cf34c0e30aaa6c27a4c9a18a37f8797
2024-04-29 21:14:13 +00:00
Vilas Bhat
4604f3b565 16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on shusky targets
Test: source build/envsetup.sh
      lunch aosp_{shiba,husky}-trunk_staging-userdebug
      get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Bug: 310232825
Change-Id: Ib005384c58912f53a3294512a175d1c6fd78dbf6
2024-04-29 21:11:02 +00:00
Matt Buckley
58ab0d9afb Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into main 2024-04-29 19:42:14 +00:00
Xin Li
cee9101b80 Empty merge of Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I737cfc43bb7fade480c49cab06ff605ad51fa131
Change-Id: Idace9daec9667ec4d793c5feb3a4bd4110188eda
2024-04-29 11:48:19 -07:00
Juan Yescas
9cb8882df2 16kb: Update shusky pgagnostic target configuration
The shusky target configuration will support:

- Developer option to switch to 16kb kernel
- 16kb elf alignment for the android platform

Test: source build/envsetup.sh
      lunch aosp_husky_pgagnostic-trunk-userdebug
      m
Bug: 308663811
Change-Id: I935a3fe7924f1ce2144c5da6b7bddb70247fc8c9
2024-04-29 11:26:27 -07:00
Android Build Coastguard Worker
f6d2539565 Snap for 11772614 from e48dd856cd to 24Q3-release
Change-Id: I66b3d75f576a2804dbdf419cbeb453473e9b6b66
2024-04-27 01:03:10 +00:00
Carter Hsu
07abb4dd58 audio: remove unused device
Bug: 337191827
Test: build pass
Change-Id: I6380c8feb03475133f25829a571cb2d3c83eaa22
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-04-27 02:07:04 +08:00
Nelson Li
1223265afb Convert p23_common/preloaded_nanoapps.json's .mk file to Android.bp.
p23_common includes 4 devices.

Since `preloaded_nanoapps.json` has different configurations for
`factory` products and `non-factory` products, `soong_namespace {}`
needs to be added to the converted Android.bp file to avoid misuse.

Additionally, due to ag/27008138, ag/27046793, ag/27008143, and
ag/27056982, a common inheritance layer has been added to all
`non-factory` products. Therefore, setting different
`PRODUCT_SOONG_NAMESPACES` in the corresponding `<DEVICE>_generic.mk`
and `factory_<DEVICE>.mk` files will allow factory products and
non-factory products to use different preloaded_nanoapps.json.

Bug: 332219400
Test: 1. lunch <device_name>-trunk_staging-userdebug && \
         m -j preloaded_nanoapps.json
      2. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
         It should be the <device_name> version.
      3. lunch factory_<device_name>-trunk_staging-userdebug && \
         m -j preloaded_nanoapps.json
      4. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
         It should be the factory version.
Change-Id: Ife53dddd3469de8eacb6d862bc1b8d9de3ce427e
2024-04-26 06:31:30 +00:00
Treehugger Robot
e48dd856cd Merge "Refactor product inheritance for husky products" into main 2024-04-26 04:44:16 +00:00
Treehugger Robot
7435e756b6 Merge "Refactor product inheritance for shiba products" into main 2024-04-26 04:44:11 +00:00
Treehugger Robot
a4e93ba694 Merge "Refactor product inheritance for ripcurrent products" into main 2024-04-26 04:44:04 +00:00
Thomas Girardier
c4317fe1d0 Merge "Revert "bt: set system property Auto-On to false by default"" into main 2024-04-26 04:02:59 +00:00
Treehugger Robot
9701c27615 Merge "Adpf:shusky: revert heuristic boost triggering condition." into main 2024-04-26 02:42:19 +00:00
Nelson Li
c30b3ddd53 Refactor product inheritance for husky products
Add an additional layer of inheritance for `aosp_husky`,
`aosp_husky_pgagnostic`, and `aosp_husky_fullmte`.

This change adds a common layer of inheritance (husky_generic.mk)
for non-factory products. This makes it easier to configure factory
and non-factory products differently.

Non-factory `husky` products now inherits from
`device/google/shusky/husky_generic.mk` which inherit from
`device/google/shusky/device-husky.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 332219400
Bug: 335567236
Test: lunch aosp_husky-trunk_staging-userdebug && m
      lunch aosp_husky_pgagnostic-trunk_staging-userdebug && m
      lunch aosp_husky_fullmte-trunk_staging-userdebug && m

Change-Id: Ia4b4c63d12343862655f208cec48995cc2e3a672
2024-04-26 02:02:04 +00:00
Nelson Li
0f85bf8c76 Refactor product inheritance for shiba products
Add an additional layer of inheritance for `aosp_shiba`,
`aosp_shiba_fullmte`, and `aosp_shiba_pgagnostic`.

This change adds a common layer of inheritance (shiba_generic.mk)
for non-factory products. This makes it easier to configure factory
and non-factory products differently.

Non-factory `shiba` products now inherits from
`device/google/shusky/shiba_generic.mk` which inherit from
`device/google/shusky/device-shiba.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 332219400
Bug: 335567293
Test: lunch aosp_shiba-trunk_staging-userdebug && m
      lunch aosp_shiba_fullmte-trunk_staging-userdebug && m
      lunch aosp_shiba_pgagnostic-trunk_staging-userdebug && m

Change-Id: Ib825430eaf56c1395c0d955a4bbc46e5512f14b8
2024-04-26 01:38:22 +00:00
Nelson Li
71e02ec7d9 Refactor product inheritance for ripcurrent products
Add an additional layer of inheritance for `aosp_ripcurrent` and
`aosp_ripcurrent`.

This change adds a common layer of inheritance(ripcurrent_generic.mk)
for non-factory products. This makes it easier to configure factory
and non-factory products differently.

non-factory `ripcurrent` products now inherits from
`device/google/shusky/ripcurrent_generic.mk` which inherit from
`device/google/shusky/device-ripcurrent.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 332219400
Bug: 335564645
Test: lunch factory_ripcurrent-trunk_staging-userdebug && m
      lunch aosp_ripcurrent-trunk_staging-userdebug && m
      lunch aosp_ripcurrent_fullmte-trunk_staging-userdebug && m
Change-Id: Ieb552a075e35215cb027b6d5a91d84168d9e6a45
2024-04-26 01:09:20 +00:00
Ankur Bakshi
515a7dbe70 Merge "Update husky SVN to 27" into main 2024-04-26 00:25:27 +00:00
Ankur Bakshi
39a85a735c Merge "Update husky SVN to 26" into main 2024-04-26 00:25:19 +00:00
Ankur Bakshi
c7f5c0c3d8 Merge "Update shiba SVN to 26" into main 2024-04-26 00:25:05 +00:00
Android Build Coastguard Worker
58f8fec3e7 Snap for 11766482 from 388f467765 to 24Q3-release
Change-Id: I331cf25ac65c58bac783cf339541764e691e9c9c
2024-04-25 23:03:18 +00:00
guibing
340d8f1f91 Adpf:shusky: revert heuristic boost triggering condition.
This reverts previous JankCheckTimeFactor from 1.43 to 1.2.

Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
      check adpf sessions' traces.
Change-Id: I9c7587b6b1507fae685561fcf008c5ab9ae73532
2024-04-25 22:52:15 +00:00
Thomas Girardier
880e707175 Revert "bt: set system property Auto-On to false by default"
This reverts commit 2ee76c4e8f.

Reason for revert: Auto On has been approved for 24Q3

Change-Id: I632b92cd1facf4a1548cecaf3c74627d5d7058c5
2024-04-25 16:23:15 +00:00
Treehugger Robot
388f467765 Merge "Switch kernel directory to control by build flag" into main 2024-04-25 08:43:40 +00:00
Randall Huang
8e7bd1260e Switch kernel directory to control by build flag
Bug: 334076212
Test: local build
Change-Id: Ib170f5253fae70f415cc920aa26a911500a69a8b
Signed-off-by: Randall Huang <huangrandall@google.com>
2024-04-25 16:00:36 +08:00
Ankur Bakshi
ad5cbe7e1d Update husky SVN to 27
Bug: 336526332
Change-Id: If58957f829a5e1e7ce3180dcff86a1fc67cb0263
2024-04-25 03:52:00 +00:00
Ankur Bakshi
0d8f79ac75 Update shiba SVN to 27
Bug: 336526332
Change-Id: I4f73498adb2f1dd69794889c1d9311d5d81cacaa
2024-04-25 03:49:58 +00:00
Ankur Bakshi
ee1d0f353a Update shiba SVN to 26
Bug: 336526332
Change-Id: I10f3ff0994ce6c6f15fe73f721aad6ce7408e99b
2024-04-24 19:06:27 +00:00
Ankur Bakshi
18c172a490 Update husky SVN to 26
Bug: 336526332
Change-Id: I9921b837eebe742953ac8d7300d6131bd39e2495
2024-04-24 01:09:29 +00:00
Android Build Coastguard Worker
0e9274c95a Snap for 11746631 from f3cbfdf2a8 to 24Q3-release
Change-Id: I5c5762516a551b673b51da87b7b39219454b9509
2024-04-22 23:02:59 +00:00
Kyle Hsiao
f3cbfdf2a8 Merge "Enable secure NFC support" into main 2024-04-22 04:01:14 +00:00
Kyle Hsiao
48ee7f3da8 Enable secure NFC support
Bug: 314858460
Test: manual
Change-Id: Id2f3c5963f5027a04ba557b1615d53366552711f
2024-04-22 03:19:58 +00:00
Android Build Coastguard Worker
80216644d3 Snap for 11740859 from d34ee0e34b to 24Q3-release
Change-Id: I5e71bc7e84c7f32f59249f7f9e03face2233cfa8
2024-04-20 01:02:55 +00:00
Treehugger Robot
d34ee0e34b Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:45 +00:00
Treehugger Robot
6358b83b19 Merge "adpf:shusky: update hboost jank check time factor." into main 2024-04-19 02:32:32 +00:00
guibing
01660ca736 adpf:shusky: update hboost jank check time factor.
Update it to align with the HWUI target duration scale factor,
so the adjusted jank check time duration is same as expected frame
timeline's duration.

HWUI target duration scale factor is 70%, and its inverse value is
approximately 1.43.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: I8565fa1352769e6f879ea5fc12412d00f254da3b
2024-04-18 22:52:12 +00:00
Cyan_Hsieh
7e6f1e6cf0 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I71813042214ef6407b6389a1f2e57c1ffd84a2f9
2024-04-18 16:27:53 +08:00
Android Build Coastguard Worker
aced198ef1 Snap for 11728787 from ae15605e66 to 24Q3-release
Change-Id: Ia4a5e11c2cf40fb024c5200e18289285d5889bc4
2024-04-17 23:04:24 +00:00
Treehugger Robot
ae15605e66 Merge "audio: update opus support format" into main 2024-04-17 18:09:26 +00:00
Poomarin Phloyphisut
9aa8fd6d35 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I8d68a7af2605ea0d34baae0bc2dbdee8d5df3c05
2024-04-17 04:16:22 +00:00
Android Build Coastguard Worker
23603215d9 Snap for 11722130 from 6ae60dd4b7 to 24Q3-release
Change-Id: Iaa58744b529a821d03a171495400c1797e63aad8
2024-04-16 23:03:15 +00:00
Juyu Chen
e442d42a04 audio: update opus support format
Bug: 329872757
Test: cts tests

Change-Id: Ie2dd241a1d104028a0ebacc77efc12b6972e226b
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-04-16 04:11:12 +00:00
Wei Wang
6ae60dd4b7 Merge "adpf:shusky: add hboost junk detection time factor into power hint json files." into main 2024-04-16 03:50:58 +00:00
Charles Yo
21a104891d Merge "Switch kernel directory to control by build flag" into main 2024-04-16 01:34:48 +00:00
guibing
e6fe682d22 adpf:shusky: add hboost junk detection time factor into power hint json files.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: If4c116e172b101eebe8a8b9b539f3a55e4299ca8
2024-04-16 00:17:11 +00:00
Benson Li
7238f5c62e Add system property for concurrent encryption on LE and BR/EDR
Bug: 330704060
Change-Id: I31f8bcb49359473d52474231b6e777c62109ae51
Test: make
2024-04-15 12:14:27 +00:00
Android Build Coastguard Worker
f9bbe992fa Snap for 11712589 from 6fdf23cbf2 to 24Q3-release
Change-Id: I3e30eb3d4efdffd4de2c1b831e6504baad5684b7
2024-04-13 21:03:01 +00:00
Treehugger Robot
6fdf23cbf2 Merge "shusky: Add heuristic boost configs in power hint json files." into main 2024-04-13 01:33:50 +00:00
Android Build Coastguard Worker
662010647e Snap for 11710546 from bba25ed8e0 to 24Q3-release
Change-Id: Iacd74bf3701d9ad90e41f95ce4355f854e0e4753
2024-04-13 01:03:21 +00:00
guibing
97c7f4861e shusky: Add heuristic boost configs in power hint json files.
Bug: 204204746
Test: Power hal launches in device without configuration parsing issue.
Change-Id: I5f85f88699b468f2c5e0af05dcea0bfa3fba56d2
2024-04-12 23:29:12 +00:00
Cyan_Hsieh
38562b32f8 Switch kernel directory to control by build flag
Bug: 309749142
Change-Id: If82fdbbd87cccba0763479e075289efd739e7e34
2024-04-12 18:35:02 +08:00
Juan Yescas
bba25ed8e0 16kb: 16kb: Remove shusky pg agnostic am: 10c2808197 am: 5f2657e2a9
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3039896

Change-Id: I9b3c8446a9f06ffda4a7c5b7343e206682f276f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 02:11:07 +00:00
Juan Yescas
5f2657e2a9 16kb: 16kb: Remove shusky pg agnostic am: 10c2808197
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3039896

Change-Id: I37952534c56c6f71f528bd05f271ea3d9d7a9520
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 01:54:59 +00:00
Juan Yescas
10c2808197 16kb: 16kb: Remove shusky pg agnostic
Bug: 306537850
Test: N/A
Change-Id: I972e4bf8c94798dd253a4bfb3ea68be854110f07
2024-04-11 18:02:31 -07:00
Android Build Coastguard Worker
51d9ecbf4e Snap for 11704135 from 4e843ce35f to 24Q3-release
Change-Id: Ic9ac808dd337566668490834d9caff6ce50a8c7d
2024-04-11 23:03:06 +00:00
Juan Yescas
f12ccd275e 16kb: Remove the pg agnostic targets for 6.1 kernels
Bug: 306537850
Test: Build targets manually
Change-Id: I46f8d6872c67c8e8dc34684ea45f9b3c7a04d431
2024-04-11 12:38:05 -07:00
Wei Wang
4e843ce35f Merge "Disable auto prefer idle explictly for some conditions" into main 2024-04-11 16:19:20 +00:00
Rick Yiu
bfb341fb00 Disable auto prefer idle explictly for some conditions
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled. Also turn auto prefer
off when other group enables prefer_idle explictly.

Bug: 236868627
Test: build pass
Change-Id: Id0dc5bda64686826f72aad4549b8edcb1ceb4502
2024-04-11 14:05:00 +00:00
Limon Mia
2ee76c4e8f bt: set system property Auto-On to false by default
Bug: 333829874
Test: build & install & adb getprop
Change-Id: I8b28b547113a7e3e303e4992956ea2c1264339e6
2024-04-11 06:54:17 +00:00
Android Build Coastguard Worker
34557538d2 Snap for 11697857 from 745091a821 to 24Q3-release
Change-Id: Id93965dbd72e865e637a03773dd8edbc8648a235
2024-04-10 23:03:04 +00:00
Treehugger Robot
745091a821 Merge "powerhint.json: enable gpu capacity signalling." into main 2024-04-10 19:31:11 +00:00
Jimmy Shiu
d51ff23214 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: a928cbb681
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/26902700

Change-Id: I3edaf8ffc84231ec5c188ce1ed07791c04f087f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:22 +00:00
Jimmy Shiu
a928cbb681 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I2b4be8ee1d4f8a91196478d7b3c898f236365dff
2024-04-10 11:45:10 +00:00
Kevin DuBois
fe02aeed6d powerhint.json: enable gpu capacity signalling.
Enables a signal indicating that the app has janked as
detected by the ADPF API.

Bug: 290625326
Test: perf / power tests

Change-Id: Iaf0f131cab90e4225642af243303473f56a34320
2024-04-08 11:27:12 -07:00
Android Build Coastguard Worker
76d38624c8 Snap for 11679388 from 2c982ee612 to 24Q3-release
Change-Id: I68a9b4243504057f4b1cac07ac125e4d11cf2ac8
2024-04-06 01:02:55 +00:00
Ankur Bakshi
2c982ee612 Merge changes from topic "svn-set-3" into main
* changes:
  Update shiba SVN to 25
  Update shiba SVN to 24
2024-04-05 02:13:25 +00:00
Ankur Bakshi
db65aea9d1 Merge changes from topic "svn-set-3" into main
* changes:
  Update husky SVN to 25
  Update husky SVN to 24
2024-04-05 02:13:25 +00:00
Android Build Coastguard Worker
c624d2bd70 Snap for 11672362 from a98c8d14d5 to 24Q3-release
Change-Id: Ifdaadd8e2b8fe64240d9422e415eb79255dce7e7
2024-04-04 23:03:02 +00:00
Treehugger Robot
a98c8d14d5 Merge "display: low-light blocking zone support" into 24D1-dev am: fabf38556b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/26801409

Change-Id: I5886c8ba7eb4ba15e0e86e55bbfa3a3ffa86cb64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 03:27:45 +00:00
Treehugger Robot
fabf38556b Merge "display: low-light blocking zone support" into 24D1-dev 2024-04-04 02:46:42 +00:00
Yabin Cui
9babb8f701 Merge "shiba/husky: add etm modules in userdebug/eng builds" into main 2024-04-03 23:38:49 +00:00
Ankur Bakshi
1c184ad088 Update shiba SVN to 25
Bug: 330382848
Change-Id: I5a6512a749937e4b1fb845253962b10268c77913
2024-04-03 23:25:52 +00:00
Ankur Bakshi
7394731975 Update husky SVN to 25
Bug: 330382848
Change-Id: Id94385f0609d23edf7c2591dd1c3e2f6f4a421bf
2024-04-03 23:21:02 +00:00
Android Build Coastguard Worker
137cd9b563 Snap for 11666018 from 88db876244 to 24Q3-release
Change-Id: I7af15af0de9050eceeb201157434e6fec41567e7
2024-04-03 23:02:55 +00:00
Yabin Cui
9e20df3443 shiba/husky: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run shiba/husky
Change-Id: Id440eac68093231ea65a777caa64fc48befb9729
2024-04-03 11:47:24 -07:00
Jimmy Shiu
88db876244 powerhint: set uclampmin_init value for applying CPU Load boost am: f4d3c1bd4b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/26809487

Change-Id: I8e5faa45469ab1ab4cfc2ad1a828ee970041195b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:42 +00:00
Jimmy Shiu
f4d3c1bd4b powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Test: Manual Test
Change-Id: Id844e1f5d05d207e668c1ff151361bece37ee2c4
2024-04-03 01:04:41 +00:00
Android Build Coastguard Worker
9b8eaeeca1 Snap for 11661060 from 0ef71718e9 to 24Q3-release
Change-Id: I75b2c4c93d9c0241e20f10c3b63a02d950d1e50f
2024-04-02 23:03:10 +00:00
John Chang
1c87048fd0 display: low-light blocking zone support
Bug: 315876417
Test: verify the functionality works
Change-Id: Id204511dbeb106f527e16279b4c20c990873fd58
2024-04-02 15:25:43 +00:00
Treehugger Robot
0ef71718e9 Merge "display: low-light blocking zone support" into main 2024-04-02 04:21:29 +00:00
Android Build Coastguard Worker
11cb9d73da Snap for 11654651 from a5ac3f4f61 to 24Q3-release
Change-Id: Ic827b83279079f76e5e9cf1d03b6c064bd76cfbf
2024-04-01 23:02:48 +00:00
John Chang
80d18dc54c display: low-light blocking zone support
Bug: 315876417
Test: verify the functionality works
Change-Id: Id204511dbeb106f527e16279b4c20c990873fd58
2024-04-01 22:24:50 +00:00
Treehugger Robot
a5ac3f4f61 Merge "audio: remove non-supported analog headset" into main 2024-04-01 08:54:54 +00:00
Android Build Coastguard Worker
11015cecd4 Snap for 11641371 from 1b6fd6befa to 24Q3-release
Change-Id: I3d60395834aae5cd240588e92e6a52917a8dceb2
2024-03-28 23:02:53 +00:00
Juan Yescas
1b6fd6befa 16kb: Set user partition to ext4 in shusky targets am: 3059034c97 am: aaafd28261
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3017618

Change-Id: Ia9d2fc4bc0188879fa346ba6ef773849b2d3469d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 15:55:28 +00:00
Juan Yescas
aaafd28261 16kb: Set user partition to ext4 in shusky targets am: 3059034c97
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3017618

Change-Id: I370a638f2d5daf8791e627ffb6336960a19170e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 15:44:09 +00:00
Ankur Bakshi
3e17345d59 Update husky SVN to 24
Bug: 330382848
Change-Id: Ibba665e3b6d1b82e443164fcc2674b39b2116da5
2024-03-28 15:39:37 +00:00
Ankur Bakshi
852299ae55 Update shiba SVN to 24
Bug: 330382848
Change-Id: I7c4fd9a493d96ba947f0ee12388e2baf775e07c4
2024-03-28 15:37:52 +00:00
Juan Yescas
3059034c97 16kb: Set user partition to ext4 in shusky targets
Set user partition to ext4 for the husky and shiba page
size agnostic targets with 5.15 kernels.

Test: source build/envsetup.sh
      lunch aosp_husky_pgagnostic-trunk-userdebug
      m
Bug: 308663811

Change-Id: Iaff7b25e290d05766130d35bd96691b5d407a2e0
2024-03-27 17:52:20 -07:00
Android Build Coastguard Worker
adbc6b64aa Snap for 11635697 from 17c3ca847f to 24Q3-release
Change-Id: I57f5de26ea9f5329114b352afc1207d6defab25f
2024-03-27 23:03:18 +00:00
vincenttew
4dbadce5a3 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: Ie18313b750086481b2fcad9194d55dabed0cdd8f
Signed-off-by: vincenttew <vincenttew@google.com>
2024-03-27 11:24:55 +08:00
Android Build Coastguard Worker
c3c712eed3 Snap for 11629448 from 093dd1fbcd to 24Q3-release
Change-Id: Ibc4dc46af79395b0e67364ad4e9ff68c5d3387c8
2024-03-27 01:04:14 +00:00
Ankur Bakshi
17c3ca847f Merge "Update husky SVN to 23" into main 2024-03-26 22:20:47 +00:00
Ankur Bakshi
4cdc3c2822 Merge "Update shiba SVN to 23" into main 2024-03-26 22:20:47 +00:00
Juan Yescas
093dd1fbcd [automerger skipped] 16k: shusky: Rename PRODUCT_PAGE_SIZE_AGNOSTIC am: 5af5965511 am: be5db6ef74 -s ours
am skip reason: Merged-In I759223f873ada237abd70def7d38c2da73c046bb with SHA-1 425b1d9864 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3011498

Change-Id: I02d302998e950f90e79365c7701ffb6946d6316f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 18:01:33 +00:00
Juan Yescas
be5db6ef74 16k: shusky: Rename PRODUCT_PAGE_SIZE_AGNOSTIC am: 5af5965511
Original change: https://android-review.googlesource.com/c/device/google/shusky/+/3011498

Change-Id: I9d470e54cd3a1cb9cd4effb0a9bead5bf77fbeb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 17:38:36 +00:00
Juan Yescas
5af5965511 16k: shusky: Rename PRODUCT_PAGE_SIZE_AGNOSTIC
Rename PRODUCT_PAGE_SIZE_AGNOSTIC to
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO. When the
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO build flag is true, the bionic's
macro PAGE_SIZE will be removed. The function getauxval(AT_PAGESZ)
will be used to get the page size instead.

Bug: 312541564
Bug: 308663811
Test: Built target
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:425b1d9864fe1a587bbfd33934b806168aa7f161)
Merged-In: I759223f873ada237abd70def7d38c2da73c046bb

Change-Id: I8ac275774ea14f3044a0be5862f22b32e69df221
2024-03-26 03:58:34 +00:00
Android Build Coastguard Worker
8b82679705 Snap for 11623990 from 024418b3a2 to 24Q3-release
Change-Id: I352692a259083a44cc869bae844e04b09d3e4452
2024-03-25 23:03:09 +00:00
Rick Yiu
024418b3a2 Change set preferred idle mask to top-app
Set default value to 0xff to exclude big core for all priorities, but
restore high and mid to 0x1ff when app launch.

Bug: 248621289
Test: value set correctly
Change-Id: If9696e02f2a54f07d5acb974ff0301ea936c53e0
2024-03-25 15:56:01 +00:00
Cyan Hsieh
58c306d674 Merge "Branch bootloader prebuilts for 24Q3 release" into main 2024-03-25 09:19:26 +00:00
Android Build Coastguard Worker
4f6fabed4f Snap for 11617975 from 97a4019655 to 24Q3-release
Change-Id: I9bd5b606a1fe8a4f789e1f6d39a834da02613cf8
2024-03-23 01:02:41 +00:00
Nikita Ioffe
97a4019655 Remove unused condition
We are not using HUSKY_ENABLE_DEVICE_ASSIGNMENT anymore

Bug: 278008514
Test: presubmit
Change-Id: If300197c57a649194d7cba640f841ede46881b87
2024-03-22 13:01:02 +00:00
Ankur Bakshi
80189a8059 Update husky SVN to 23
Bug: 325156176
Change-Id: I1e9a48a44b62f1c50a0bb6b3ec8edf8231ea8dde
2024-03-21 21:42:27 +00:00
Ankur Bakshi
b479d3efa9 Update shiba SVN to 23
Bug: 325156176
Change-Id: I5cf2d24bfef5c3ca70e4f81b3147f7fd19c379b9
2024-03-21 21:35:21 +00:00
Android Build Coastguard Worker
fdcb09382a Snap for 11603317 from 68d271528e to 24Q3-release
Change-Id: Ic300569ebfefb0742f15accae123ada7159ccdeb
2024-03-20 23:03:15 +00:00
kensun
68d271528e wifi: disable FW roaming when in idle mode
When device is idle, disable FW roaming (LOW RSSI roam, high band roam)

to save power

Bug: 321639511
Test: Manual
Change-Id: I57edf6ae718af04f1af2f05d92f55bf5f1c7e9bd
Signed-off-by: kensun <kensun@google.com>
2024-03-20 07:01:15 +00:00
Ankur Bakshi
f3b776be8d Merge "Update husky SVN to 22" into main 2024-03-20 05:01:24 +00:00
Ankur Bakshi
e347ffcdb3 Merge "Update shiba SVN to 22" into main 2024-03-20 05:01:24 +00:00
Android Build Coastguard Worker
e784088c01 Snap for 11591048 from 408124713b to 24Q3-release
Change-Id: I357c4f48af172368b517b541922e8520b1190964
2024-03-18 23:03:09 +00:00
Cyan_Hsieh
36fff56043 Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I2eca814516b28f95ffba1a94ed0fcfc8b6fa8bd0
2024-03-18 18:32:21 +08:00
Nina Chen
408124713b Merge "Change the rule to specify kernel directory with release configurations" into main 2024-03-18 03:47:37 +00:00
Ankur Bakshi
2b01dea3b7 Update husky SVN to 22
Bug: 325156176
Change-Id: Id3a8013daf98c3983ee76c4d7cb115a00e46535f
2024-03-15 20:28:34 +00:00
Ankur Bakshi
99a2ca4be8 Update shiba SVN to 22
Bug: 325156176
Change-Id: I10d48ca72b810cac33093cbb2e9364383d916075
2024-03-15 20:28:17 +00:00
Nina Chen
b3fbb99d1b Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: Ie57e73e42b0ad9feab0a7250aac5c83dc3cd2f7c
Signed-off-by: Nina Chen <sheaunic@google.com>
2024-03-15 14:33:38 +08:00
Android Build Coastguard Worker
9ca32dc3c9 Snap for 11578433 from b5a4171259 to 24Q3-release
Change-Id: I3c56c4000243449ccb4091b2ec7c5afd501e79bb
2024-03-14 23:07:30 +00:00
Ankur Bakshi
b5a4171259 Merge "Update husky SVN to 21" into main 2024-03-14 01:35:08 +00:00
Ankur Bakshi
154c7a1f2d Merge "Update shiba SVN to 21" into main 2024-03-14 01:35:08 +00:00
Treehugger Robot
0bf1c36be1 Merge "Revert "uwb: set calibrations for v6.3"" into main 2024-03-14 00:12:54 +00:00
Treehugger Robot
c66a0ae589 Merge "uwb: add config entry for firmware v7.2.7" into main 2024-03-14 00:12:54 +00:00
Sam Paradis
eb31a3e300 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency am: 693daacfbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/26567134

Change-Id: Ifd918b856fc55c8cf886f047258c004e91477b9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-13 23:29:14 +00:00
Sam Paradis
693daacfbe Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I384f2e04f69d570e10c8e52f2818c1ecde6be1a0
2024-03-13 17:12:19 +00:00
Ankur Bakshi
07379fae8b Update shiba SVN to 21
Bug: 325156176
Change-Id: I864730ffcb48d6107531db9fcb6d2be962139b6b
2024-03-13 04:52:00 +00:00
Android Build Coastguard Worker
b578de64ff Snap for 11565217 from 9fd79340e3 to 24Q3-release
Change-Id: Ibd6f44fe4fed7b7168b0cb89b40d65279a56a946
2024-03-12 23:03:09 +00:00
Hasan Awais
aba9346536 uwb: add config entry for firmware v7.2.7
Bug: 327447971
Change-Id: I84b83a9c9d92a540f25c9492ffa8e771bfb2c9e3
Signed-off-by: Hasan Awais <hasanawais@google.com>
2024-03-12 20:25:30 +00:00
Hasan Awais
69e44dc03b Revert "uwb: set calibrations for v6.3"
This reverts commit f39e1b74cc.

Reason for revert: b/327447971

Bug: 327447971
Change-Id: Ie82683fe1a89040af8ff01dc921c6d58995e9eb6
2024-03-12 20:24:54 +00:00
Weichin Weng
9fd79340e3 Merge "Add BT offload config into bt_vendo_overlay" into main 2024-03-12 00:17:40 +00:00
Sam Paradis
dbbb0c62ea Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I384f2e04f69d570e10c8e52f2818c1ecde6be1a0
2024-03-09 01:56:27 +00:00
Android Build Coastguard Worker
06f2affd8e Snap for 11545716 from a652f1fd0e to 24Q3-release
Change-Id: I4219c38280463d23b92bed4ddf83e609cb01e42c
2024-03-08 00:02:49 +00:00
Android Build Coastguard Worker
7b5b7c6d79 Snap for 11545716 from af53acbe19 to 24Q3-release
Change-Id: I58151b162111f3d3bd1cebf1d6167675d8d3ceb2
2024-03-08 00:02:45 +00:00
Xin Li
af53acbe19 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: a7013b4818 -s ours am: 1b3715d813 -s ours
am skip reason: Merged-In I6bf80dc609b0ab9e06e1db8a9711896957a0c137 with SHA-1 be112f4aec is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/2990603

Change-Id: I5aad0a8ca5be1028277b405e7c97b2a0d2b9bdbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:30 +00:00
Xin Li
a652f1fd0e [automerger skipped] Merge Android 14 QPR2 to AOSP main am: f4dc12e6d7 -s ours am: 5dfae29d62 -s ours
am skip reason: Merged-In I13a923e9948486b305be69058912a0c653bfe192 with SHA-1 c7c93fb0c2 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky-sepolicy/+/2990662

Change-Id: I534cad067063a30cf39c8fccf3fac4457cb3f4d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:21 +00:00
Xin Li
1b3715d813 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: a7013b4818 -s ours
am skip reason: Merged-In I6bf80dc609b0ab9e06e1db8a9711896957a0c137 with SHA-1 be112f4aec is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky/+/2990603

Change-Id: Ib7851e55bf35c8c40c2be42dc325b0f7719865e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:04 +00:00
Xin Li
5dfae29d62 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: f4dc12e6d7 -s ours
am skip reason: Merged-In I13a923e9948486b305be69058912a0c653bfe192 with SHA-1 c7c93fb0c2 is already in history

Original change: https://android-review.googlesource.com/c/device/google/shusky-sepolicy/+/2990662

Change-Id: I737cfc43bb7fade480c49cab06ff605ad51fa131
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:54:56 +00:00
Android Build Coastguard Worker
1fb4569f5d Snap for 11540345 from 5cb36dca90 to 24Q3-release
Change-Id: Ic143c3f31f5067ef3961f303d56d49c87c5f6547
2024-03-07 01:52:34 +00:00
Xin Li
a7013b4818 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I6bf80dc609b0ab9e06e1db8a9711896957a0c137
Change-Id: I0156f661a90d3718676c46ef5da0b1370b4c6a87
2024-03-06 09:29:50 -08:00
Xin Li
f4dc12e6d7 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I13a923e9948486b305be69058912a0c653bfe192
Change-Id: If01be20611446c910288419e65d402a5af7df005
2024-03-06 09:29:50 -08:00
Ankur Bakshi
edcc8052be Update husky SVN to 21
Bug: 325156176
Change-Id: Ib5a0543902942460fb6818c3d8a540b4d9f5d5de
2024-03-06 15:02:19 +00:00
Silen Sun
5cb36dca90 Merge "Modify the default broadcast audio configuration to 48_2" into main 2024-03-06 05:20:24 +00:00
Ankur Bakshi
5805794358 Merge "Update shiba SVN to 20" into main 2024-03-06 02:53:13 +00:00
Ankur Bakshi
b1a860217f Merge "Update husky SVN to 20" into main 2024-03-06 02:53:13 +00:00
Limon Mia
8a517f4a68 BT: Set system property for Bluetooth Auto On for P23
Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On
feature.
The feature will be enabled with both system property and flag set.

Bug: 328168961
Test: check system property value
Change-Id: I0c6785fc7daa51b728872892c83ad20babe3253b
2024-03-05 07:43:44 +00:00
Android Build Coastguard Worker
ce01243bcd Snap for 11526283 from bd5841248b to 24Q3-release
Change-Id: I44dd20a05f1e87996d28eeb60f7a643ff3a2f48c
2024-03-05 00:27:05 +00:00
Android Build Coastguard Worker
3d84f58450 Snap for 11520864 from a24d007b23 to 24Q3-release
Change-Id: I7c90750bfb07f2782b96c266d208d1d5ae0e8410
2024-03-02 02:03:18 +00:00
Android Build Coastguard Worker
6789eb4983 Snap for 11517216 from b2096c8145 to 24Q3-release
Change-Id: I90900127f01aea5196a674189a00d4c0412d6740
2024-03-01 00:03:31 +00:00
Ravi Jain
f9be9f16f3 dumpstate: touch: Init using touch_predump
More info at go/touch_predump

Test: Test locally on test device and check predump_touch works.
Bug: 287907308
Change-Id: I7fac888394db29819f2fcb5641d721d016acd7aa
2024-02-29 13:27:50 +00:00
Android Build Coastguard Worker
fe7d5984ed Snap for 11504269 from 1b8ac3a1b1 to 24Q3-release
Change-Id: Ib101baf7d10d5ac97d165f763c219a5559e69a85
2024-02-28 00:03:33 +00:00
silens
f52d141a37 Modify the default broadcast audio configuration to 48_2
Bug: 326548363
Change-Id: I46d9aee3f1d2cd9ec6836462c9d1b7ecce14b1fb
2024-02-27 15:14:05 +08:00
Android Build Coastguard Worker
40e80c857f Snap for 11494049 from d2ffde7ef2 to 24Q3-release
Change-Id: Ifdbb2c8220ed20dbec6f986e9cd99fd6e1c734c1
2024-02-24 22:02:52 +00:00
Android Build Coastguard Worker
6f73b93e63 Snap for 11492556 from 34a3e400b9 to 24Q3-release
Change-Id: Id694cf5a7f139e6f89b5dd3f5ab729b8e1d08ca9
2024-02-24 02:17:29 +00:00
weichinweng
72f03002d6 Add BT offload config into bt_vendo_overlay
bug: 287672291
bug: 323464810
Test: BT off/on when BT CHRE enabled/disabled
Change-Id: Iaeffd8c9906132f15072f642f11e3cfc6328e1a4
2024-02-20 09:22:43 +00:00
Android Build Coastguard Worker
3bcf284028 Snap for 11469542 from 0891053087 to 24Q3-release
Change-Id: I72cf3c14f2d9564370b2d78b5d170dd223e15a5e
2024-02-20 00:03:19 +00:00
Android Build Coastguard Worker
e2f854133c Merge "Snap for 11455877 from 9c0f148101 to 24Q3-release" into 24Q3-release 2024-02-16 01:30:15 +00:00
Android Build Coastguard Worker
872f51c946 Snap for 11455877 from 9c0f148101 to 24Q3-release
Change-Id: I5267849aab0d5d3db839538c3d2fe7041b249e99
2024-02-16 00:24:02 +00:00
Android Build Coastguard Worker
b12fe7b6d3 Snap for 11455651 from 9c0f148101 to 24Q3-release
Change-Id: Ie24c52ccff54c9ea7aed00be2bc7e9d5ae5f1cb2
2024-02-16 00:14:55 +00:00
Ankur Bakshi
e73a3382ce Update husky SVN to 20
Bug: 325156176
Change-Id: Icefa2c49df565c52d217751afcf166897e071a7a
2024-02-15 02:14:10 +00:00
Ankur Bakshi
36a6848e8f Update shiba SVN to 20
Bug: 325156176
Change-Id: I94923b559742576c2cb471b2b54a3004a24d6467
2024-02-15 02:12:06 +00:00
Xin Li
4f578b38c4 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: c7c93fb0c2 -s ours
am skip reason: Merged-In I5feff99d17e7933ff1a463900d43c14754f6cd26 with SHA-1 a468ce1cf4 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky-sepolicy/+/25969055

Change-Id: Ib694d5f92e8853229c64d5658f5db1c0dcd56bf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:02:34 +00:00
Xin Li
c7c93fb0c2 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I5feff99d17e7933ff1a463900d43c14754f6cd26
Change-Id: I13a923e9948486b305be69058912a0c653bfe192
2024-01-17 22:13:14 -08:00
Matt Buckley
ee38ca5673 Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: I408f207d41271fdf9ae7892ca89efa3bc02c2625
2023-08-19 05:18:15 +00:00
189 changed files with 14604 additions and 4217 deletions

View File

@@ -1,30 +0,0 @@
#
# Copyright (C) 2011 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.
#
# WARNING: Everything listed here will be built on ALL platforms,
# including x86, the universal, and the SDK. Modules must be uniquely
# named (liblights.panda), and must build everywhere, or limit themselves
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
LOCAL_PATH := $(call my-dir)
# if some modules are built directly from this directory (not subdirectories),
# their rules should be written here.
ifneq (,$(filter $(TARGET_DEVICE),ripcurrent husky shiba))
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

View File

@@ -19,12 +19,10 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_ripcurrent_fullmte.mk \
$(LOCAL_DIR)/factory_ripcurrent.mk \
$(LOCAL_DIR)/aosp_husky.mk \
$(LOCAL_DIR)/aosp_husky_61_pgagnostic.mk \
$(LOCAL_DIR)/aosp_husky_fullmte.mk \
$(LOCAL_DIR)/aosp_husky_pgagnostic.mk \
$(LOCAL_DIR)/factory_husky.mk \
$(LOCAL_DIR)/aosp_shiba.mk \
$(LOCAL_DIR)/aosp_shiba_61_pgagnostic.mk \
$(LOCAL_DIR)/aosp_shiba_fullmte.mk \
$(LOCAL_DIR)/aosp_shiba_pgagnostic.mk \
$(LOCAL_DIR)/factory_shiba.mk \

View File

@@ -1,5 +1,4 @@
#
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,5 +1,11 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Kernel modules
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_kernel_boot
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/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)))

2
OWNERS
View File

@@ -1,4 +1,4 @@
per-file perf/*,thermal/*= 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
per-file *.mk,*/BoardConfig.mk,{**/,}Android.bp=file:device/google/gs-common:main:/MK_OWNERS

View File

@@ -20,7 +20,7 @@ USE_SWIFTSHADER := true
BOARD_USES_SWIFTSHADER := true
$(call inherit-product, device/google/zuma/aosp_common.mk)
$(call inherit-product, device/google/shusky/device-husky.mk)
$(call inherit-product, device/google/shusky/husky_generic.mk)
PRODUCT_NAME := aosp_husky
PRODUCT_DEVICE := husky

View File

@@ -16,7 +16,11 @@
$(call inherit-product, device/google/shusky/aosp_husky.mk)
PRODUCT_NAME := aosp_husky_pgagnostic
PRODUCT_MODEL := AOSP page-size agnostic Husky 64K ELF
PRODUCT_MODEL := AOSP page-size agnostic Husky 16KB ELF
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 65536
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384
TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_RW_FILE_SYSTEM_TYPE := ext4
TARGET_BOOTS_16K := true

View File

@@ -20,7 +20,7 @@ USE_SWIFTSHADER := true
BOARD_USES_SWIFTSHADER := true
$(call inherit-product, device/google/zuma/aosp_common.mk)
$(call inherit-product, device/google/shusky/device-ripcurrent.mk)
$(call inherit-product, device/google/shusky/ripcurrent_generic.mk)
PRODUCT_NAME := aosp_ripcurrent
PRODUCT_DEVICE := ripcurrent

View File

@@ -20,7 +20,7 @@ USE_SWIFTSHADER := true
BOARD_USES_SWIFTSHADER := true
$(call inherit-product, device/google/zuma/aosp_common.mk)
$(call inherit-product, device/google/shusky/device-shiba.mk)
$(call inherit-product, device/google/shusky/shiba_generic.mk)
PRODUCT_NAME := aosp_shiba
PRODUCT_DEVICE := shiba

View File

@@ -16,7 +16,11 @@
$(call inherit-product, device/google/shusky/aosp_shiba.mk)
PRODUCT_NAME := aosp_shiba_pgagnostic
PRODUCT_MODEL := AOSP page-size agnostic Shiba 64K ELF
PRODUCT_MODEL := AOSP page-size agnostic Shiba 16KB ELF
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 65536
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384
TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_RW_FILE_SYSTEM_TYPE := ext4
TARGET_BOOTS_16K := true

View File

@@ -24,10 +24,13 @@
<argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
<argument name="ThermistorType" value="UNKNOWN" />
<argument name="ThrottlingSeverity" value="MODERATE" />
<argument name="ThrottlingSeverity" value="LIGHT" />
</feature>
<feature name="RuntimeTuningDump" />
<!-- <feature name="spatializer-offload" /> -->
<feature name="SoundDose">
<argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" />
</feature>
<feature name="spatializer-offload" />
</features>
<voipVolume>
@@ -47,7 +50,6 @@
<device name="usb" />
<device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" />
</device>
</devices>
@@ -58,11 +60,12 @@
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
</tuner>
<tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
<argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
<argument name="MCPS_TABLE" value="y" />
</tuner>
<tuner type="capture" name="gs_capture" />
</tuners>
@@ -71,8 +74,8 @@
<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="primary-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="100" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-device" milliseconds="70" />
@@ -89,21 +92,227 @@
<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" />
<latency source="usb-device-microphones" sink="primary-capture" milliseconds="100" />
<latency source="usb-headset-microphones" sink="primary-capture" milliseconds="100" />
</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>
<microphones>
<microphone id="builtin_mic_1" location="MAINBODY" group="0" indexInTheGroup="0"
directionality="OMNI">
<device type="IN_MICROPHONE" address="bottom" />
<sensitivity levelDbfs="37.0" maxSplDb="132.5" minSplDb="28.5" />
<position x="0.0269" y="0.0058" z="0.0079" />
<orientation x="0.0" y="0.0" z="1.0" />
<frequencyResponse>
<point frequencyHz="100.00" levelDb="-0.78" />
<point frequencyHz="106.00" levelDb="-0.71" />
<point frequencyHz="112.00" levelDb="-0.64" />
<point frequencyHz="118.00" levelDb="-0.60" />
<point frequencyHz="125.00" levelDb="-0.55" />
<point frequencyHz="132.00" levelDb="-0.50" />
<point frequencyHz="140.00" levelDb="-0.47" />
<point frequencyHz="150.00" levelDb="-0.42" />
<point frequencyHz="160.00" levelDb="-0.39" />
<point frequencyHz="170.00" levelDb="-0.36" />
<point frequencyHz="180.00" levelDb="-0.34" />
<point frequencyHz="190.00" levelDb="-0.33" />
<point frequencyHz="200.00" levelDb="-0.32" />
<point frequencyHz="212.00" levelDb="-0.29" />
<point frequencyHz="224.00" levelDb="-0.28" />
<point frequencyHz="236.00" levelDb="-0.28" />
<point frequencyHz="250.00" levelDb="-0.27" />
<point frequencyHz="265.00" levelDb="-0.25" />
<point frequencyHz="280.00" levelDb="-0.25" />
<point frequencyHz="300.00" levelDb="-0.24" />
<point frequencyHz="315.00" levelDb="-0.23" />
<point frequencyHz="335.00" levelDb="-0.23" />
<point frequencyHz="355.00" levelDb="-0.22" />
<point frequencyHz="375.00" levelDb="-0.22" />
<point frequencyHz="400.00" levelDb="-0.19" />
<point frequencyHz="425.00" levelDb="-0.17" />
<point frequencyHz="450.00" levelDb="-0.15" />
<point frequencyHz="475.00" levelDb="-0.15" />
<point frequencyHz="500.00" levelDb="-0.14" />
<point frequencyHz="530.00" levelDb="-0.14" />
<point frequencyHz="560.00" levelDb="-0.12" />
<point frequencyHz="600.00" levelDb="-0.11" />
<point frequencyHz="630.00" levelDb="-0.10" />
<point frequencyHz="670.00" levelDb="-0.10" />
<point frequencyHz="710.00" levelDb="-0.08" />
<point frequencyHz="750.00" levelDb="-0.07" />
<point frequencyHz="800.00" levelDb="-0.07" />
<point frequencyHz="850.00" levelDb="-0.04" />
<point frequencyHz="900.00" levelDb="-0.03" />
<point frequencyHz="950.00" levelDb="-0.01" />
<point frequencyHz="1000.00" levelDb="0.00" />
<point frequencyHz="1060.00" levelDb="0.04" />
<point frequencyHz="1120.00" levelDb="0.06" />
<point frequencyHz="1180.00" levelDb="0.07" />
<point frequencyHz="1250.00" levelDb="0.08" />
<point frequencyHz="1320.00" levelDb="0.13" />
<point frequencyHz="1400.00" levelDb="0.09" />
<point frequencyHz="1500.00" levelDb="0.14" />
<point frequencyHz="1600.00" levelDb="0.19" />
<point frequencyHz="1700.00" levelDb="0.23" />
<point frequencyHz="1800.00" levelDb="0.28" />
<point frequencyHz="1900.00" levelDb="0.29" />
<point frequencyHz="2000.00" levelDb="0.31" />
<point frequencyHz="2120.00" levelDb="0.37" />
<point frequencyHz="2240.00" levelDb="0.88" />
<point frequencyHz="2360.00" levelDb="0.86" />
<point frequencyHz="2500.00" levelDb="0.77" />
<point frequencyHz="2650.00" levelDb="0.78" />
<point frequencyHz="2800.00" levelDb="0.84" />
<point frequencyHz="3000.00" levelDb="0.86" />
<point frequencyHz="3150.00" levelDb="1.05" />
<point frequencyHz="3350.00" levelDb="1.12" />
<point frequencyHz="3550.00" levelDb="1.18" />
<point frequencyHz="3750.00" levelDb="1.25" />
<point frequencyHz="4000.00" levelDb="1.43" />
<point frequencyHz="4250.00" levelDb="1.66" />
<point frequencyHz="4500.00" levelDb="1.83" />
<point frequencyHz="4750.00" levelDb="2.02" />
<point frequencyHz="5000.00" levelDb="2.23" />
<point frequencyHz="5300.00" levelDb="2.59" />
<point frequencyHz="5600.00" levelDb="2.84" />
<point frequencyHz="6000.00" levelDb="3.35" />
<point frequencyHz="6300.00" levelDb="4.01" />
<point frequencyHz="6700.00" levelDb="6.82" />
<point frequencyHz="7100.00" levelDb="6.62" />
<point frequencyHz="7500.00" levelDb="6.42" />
<point frequencyHz="8000.00" levelDb="7.30" />
<point frequencyHz="8500.00" levelDb="8.23" />
<point frequencyHz="9000.00" levelDb="7.54" />
<point frequencyHz="9500.00" levelDb="12.68" />
<point frequencyHz="10000.00" levelDb="13.76" />
<point frequencyHz="10600.00" levelDb="18.69" />
<point frequencyHz="11200.00" levelDb="19.68" />
<point frequencyHz="11800.00" levelDb="20.90" />
<point frequencyHz="12500.00" levelDb="23.70" />
<point frequencyHz="13200.00" levelDb="25.10" />
<point frequencyHz="14000.00" levelDb="21.65" />
<point frequencyHz="15000.00" levelDb="16.18" />
<point frequencyHz="16000.00" levelDb="18.84" />
<point frequencyHz="17000.00" levelDb="25.44" />
<point frequencyHz="18000.00" levelDb="23.48" />
<point frequencyHz="19000.00" levelDb="23.22" />
<point frequencyHz="20000.00" levelDb="24.89" />
</frequencyResponse>
</microphone>
<microphone id="builtin_mic_2" location="MAINBODY" group="0" indexInTheGroup="1"
directionality="OMNI">
<device type="IN_MICROPHONE_BACK" address="back" />
<sensitivity levelDbfs="-37.0" maxSplDb="132.5" minSplDb="28.5" />
<position x="0.0546" y="0.1456" z="0.00415" />
<orientation x="0.0" y="1.0" z="0.0" />
<frequencyResponse>
<point frequencyHz="106.00" levelDb="-0.75" />
<point frequencyHz="112.00" levelDb="-0.74" />
<point frequencyHz="118.00" levelDb="-0.69" />
<point frequencyHz="125.00" levelDb="-0.65" />
<point frequencyHz="132.00" levelDb="-0.62" />
<point frequencyHz="140.00" levelDb="-0.61" />
<point frequencyHz="150.00" levelDb="-0.56" />
<point frequencyHz="160.00" levelDb="-0.53" />
<point frequencyHz="170.00" levelDb="-0.50" />
<point frequencyHz="180.00" levelDb="-0.47" />
<point frequencyHz="190.00" levelDb="-0.43" />
<point frequencyHz="200.00" levelDb="-0.40" />
<point frequencyHz="212.00" levelDb="-0.37" />
<point frequencyHz="224.00" levelDb="-0.36" />
<point frequencyHz="236.00" levelDb="-0.33" />
<point frequencyHz="250.00" levelDb="-0.30" />
<point frequencyHz="265.00" levelDb="-0.28" />
<point frequencyHz="280.00" levelDb="-0.25" />
<point frequencyHz="300.00" levelDb="-0.24" />
<point frequencyHz="315.00" levelDb="-0.24" />
<point frequencyHz="335.00" levelDb="-0.24" />
<point frequencyHz="355.00" levelDb="-0.25" />
<point frequencyHz="375.00" levelDb="-0.24" />
<point frequencyHz="400.00" levelDb="-0.12" />
<point frequencyHz="425.00" levelDb="-0.10" />
<point frequencyHz="450.00" levelDb="-0.08" />
<point frequencyHz="475.00" levelDb="-0.09" />
<point frequencyHz="500.00" levelDb="-0.07" />
<point frequencyHz="530.00" levelDb="-0.07" />
<point frequencyHz="560.00" levelDb="-0.06" />
<point frequencyHz="600.00" levelDb="-0.06" />
<point frequencyHz="630.00" levelDb="-0.06" />
<point frequencyHz="670.00" levelDb="-0.05" />
<point frequencyHz="710.00" levelDb="-0.04" />
<point frequencyHz="750.00" levelDb="-0.05" />
<point frequencyHz="800.00" levelDb="-0.04" />
<point frequencyHz="850.00" levelDb="-0.01" />
<point frequencyHz="900.00" levelDb="0.02" />
<point frequencyHz="950.00" levelDb="0.02" />
<point frequencyHz="1000.00" levelDb="0.00" />
<point frequencyHz="1060.00" levelDb="0.02" />
<point frequencyHz="1120.00" levelDb="0.03" />
<point frequencyHz="1180.00" levelDb="0.07" />
<point frequencyHz="1250.00" levelDb="0.10" />
<point frequencyHz="1320.00" levelDb="0.10" />
<point frequencyHz="1400.00" levelDb="0.13" />
<point frequencyHz="1500.00" levelDb="0.01" />
<point frequencyHz="1600.00" levelDb="0.01" />
<point frequencyHz="1700.00" levelDb="0.10" />
<point frequencyHz="1800.00" levelDb="0.11" />
<point frequencyHz="1900.00" levelDb="0.19" />
<point frequencyHz="2000.00" levelDb="0.24" />
<point frequencyHz="2120.00" levelDb="0.38" />
<point frequencyHz="2240.00" levelDb="0.46" />
<point frequencyHz="2360.00" levelDb="0.26" />
<point frequencyHz="2500.00" levelDb="0.27" />
<point frequencyHz="2650.00" levelDb="0.43" />
<point frequencyHz="2800.00" levelDb="0.76" />
<point frequencyHz="3000.00" levelDb="0.75" />
<point frequencyHz="3150.00" levelDb="1.09" />
<point frequencyHz="3350.00" levelDb="1.09" />
<point frequencyHz="3550.00" levelDb="0.94" />
<point frequencyHz="3750.00" levelDb="1.06" />
<point frequencyHz="4000.00" levelDb="1.21" />
<point frequencyHz="4250.00" levelDb="1.47" />
<point frequencyHz="4500.00" levelDb="1.45" />
<point frequencyHz="4750.00" levelDb="1.36" />
<point frequencyHz="5000.00" levelDb="2.07" />
<point frequencyHz="5300.00" levelDb="2.85" />
<point frequencyHz="5600.00" levelDb="2.90" />
<point frequencyHz="6000.00" levelDb="3.85" />
<point frequencyHz="6300.00" levelDb="4.65" />
<point frequencyHz="6700.00" levelDb="5.84" />
<point frequencyHz="7100.00" levelDb="5.46" />
<point frequencyHz="7500.00" levelDb="6.15" />
<point frequencyHz="8000.00" levelDb="7.50" />
<point frequencyHz="8500.00" levelDb="8.30" />
<point frequencyHz="9000.00" levelDb="10.62" />
<point frequencyHz="9500.00" levelDb="12.70" />
<point frequencyHz="10000.00" levelDb="16.65" />
<point frequencyHz="10600.00" levelDb="20.95" />
<point frequencyHz="11200.00" levelDb="25.41" />
<point frequencyHz="11800.00" levelDb="26.32" />
<point frequencyHz="12500.00" levelDb="20.20" />
<point frequencyHz="13200.00" levelDb="16.60" />
<point frequencyHz="14000.00" levelDb="11.24" />
<point frequencyHz="15000.00" levelDb="7.85" />
<point frequencyHz="16000.00" levelDb="7.62" />
<point frequencyHz="17000.00" levelDb="20.19" />
<point frequencyHz="18000.00" levelDb="7.32" />
<point frequencyHz="19000.00" levelDb="2.87" />
<point frequencyHz="20000.00" levelDb="5.18" />
</frequencyResponse>
</microphone>
</microphones>
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
</audioPlatformConfiguration>

View File

@@ -233,6 +233,7 @@
<ctl name="EP6 TX Mixer INCALL_TX" value="0" />
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0"/>
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
<!-- AoC Mic setting -->
@@ -256,10 +257,14 @@
<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" />
<ctl name="Hotword Tap Enable" value="0" />
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
<!-- crashing since speicifc order is needed between dsp mode and" -->
<!-- spatial module." -->
<ctl name="Mic Spatial Module 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" />
@@ -307,6 +312,7 @@
<ctl name="Incall Capture Stream0" value="Off" />
<ctl name="Incall Capture Stream1" value="Off" />
<ctl name="Incall Capture Stream2" value="Off" />
<ctl name="Incall Capture Stream3" value="Off" />
<!-- These two controls control the muting function of mics and sinks during the voice call. -->
<!-- They would be enabled by HAL. -->
@@ -413,6 +419,10 @@
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-low-energy-broadcast">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> usb">
<ctl name="USB_RX Mixer EP2" value="1" />
</path>
@@ -485,6 +495,10 @@
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-low-energy-broadcast">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> usb">
<ctl name="USB_RX Mixer RAW" value="1" />
</path>
@@ -557,6 +571,10 @@
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-low-energy-broadcast">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> usb">
<ctl name="USB_RX Mixer EP6" value="1" />
</path>
@@ -634,6 +652,10 @@
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP7" value="1" />
</path>
@@ -706,6 +728,10 @@
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-low-energy-broadcast">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> usb">
<ctl name="USB_RX Mixer EP1" value="1" />
</path>
@@ -790,6 +816,10 @@
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-low-energy-broadcast">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> usb">
<ctl name="USB_RX Mixer VOIP" value="1" />
</path>
@@ -806,61 +836,6 @@
<path name="voip-playback-0 -> usb" />
</path>
<path name="immersive-playback -> speaker">
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> speaker">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-earpiece">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-safe">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback -> bt">
<ctl name="BT_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> bt">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-device">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-low-energy-headset">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-low-energy-speaker">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> usb">
<ctl name="USB_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> usb-headset">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="immersive-playback-0 -> usb-device">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="spatializer-offload-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP4" value="1" />
@@ -882,6 +857,18 @@
<ctl name="BT_RX Mixer EP4" value="1" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-default">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-headset">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-car-kit">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
<path name="spatializer-offload-playback -> bt" />
</path>
@@ -902,6 +889,10 @@
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP4" value="1" />
</path>
@@ -972,6 +963,10 @@
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-low-energy-broadcast">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> usb">
<ctl name="USB_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" />
@@ -1046,6 +1041,39 @@
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="usb-device-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
@@ -1074,11 +1102,47 @@
<ctl name="EP3 TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> sound-trigger-capture-0" />
<path name="sound-trigger-microphones -> sound-trigger-capture-0" />
<path name="microphones -> sound-trigger-tap-capture-0" />
<path name="sound-trigger-microphones -> sound-trigger-tap-capture-0">
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Hotword Tap Enable" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones -> hotword-lookback-capture-0" />
<path name="sound-trigger-microphones -> hotword-lookback-capture-0" />
<path name="ultrasound-microphones -> ultrasound-capture-0">
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> mmap-capture-0">
<path name="microphones -> mmap-capture-0" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="usb-device-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<!-- voice-call dynamic route -->
<path name="voice-call-downlink-0 -> speaker">
@@ -1113,6 +1177,10 @@
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> bluetooth-low-energy-broadcast">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> usb">
<ctl name="USB_RX Mixer EP5" value="1" />
</path>
@@ -1165,77 +1233,9 @@
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="telephony-rx (MIC) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="telephony-rx (MIC) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="telephony-rx (MIC) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="usb-device-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<path name="in-call-capture-source-0 -> in-call-capture-0" />
<path name="in-call-capture-source-1 -> in-call-capture-1" />
<path name="in-call-capture-source-2 -> in-call-capture-2" />
<!-- codec setting -->
<!-- Rx device -->
@@ -1249,7 +1249,6 @@
<ctl name="PCM Source" value="ASP" />
<ctl name="AMP PCM Gain" value="7" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="AoC Chirp Enable" value="1" />
</path>
<path name="speaker">
@@ -1266,7 +1265,6 @@
<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" />
<!-- 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" />
@@ -1275,36 +1273,35 @@
<path name="speaker-safe">
<ctl name="R Main AMP Enable Switch" value="1" />
<!-- 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>
<!-- Tx device -->
<path name="microphones">
<path name="builtin-mic-id-capture-list">
<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="1" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
</path>
<path name="microphones">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" />
</path>
<path name="microphones (VOICE)">
<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" />
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (VOICE_COMMUNICATION,VOICE)">
<path name="microphones (VOICE)" />
</path>
<path name="microphones (VOICE_RECOGNITION)">
<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" />
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" />
</path>
@@ -1316,91 +1313,47 @@
</path>
<path name="microphones (SOUND_TRIGGER_AEC)">
<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="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="back-microphones">
<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="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<path name="microphones (CAMCORDER)">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (UNPROCESSED)">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="back-microphones">
<path name="microphones" />
</path>
<path name="back-microphones (VOICE)">
<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" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
<path name="microphones (VOICE)" />
</path>
<path name="microphones (CAMCORDER)">
<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 Record Soft Gain (dB)" value="0" />
<path name="back-microphones (VOICE_COMMUNICATION,VOICE)">
<path name="back-microphones (VOICE)" />
</path>
<path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" />
</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="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 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="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 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="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 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="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 Record Soft Gain (dB)" value="5" />
<path name="back-microphones (UNPROCESSED)">
<path name="microphones (UNPROCESSED)" />
</path>
<path name="bluetooth-sco-headset-microphones">
<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" />
<path name="builtin-mic-id-capture-list" />
<ctl name="Audio Capture Mic Source" value="BT_MIC" />
<ctl name="Voice Call Mic Source" value="BT_MIC" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
@@ -1410,16 +1363,70 @@
<path name="bluetooth-sco-headset-microphones" />
</path>
<path name="usb-headset-microphones">
<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" />
<path name="usb-microphones">
<path name="builtin-mic-id-capture-list" />
<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" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="usb-headset-microphones">
<path name="usb-microphones" />
</path>
<path name="usb-device-microphones">
<path name="usb-microphones" />
</path>
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="in-call-capture-source-0 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="in-call-capture-source-0 (VOICE_CALL)">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="in-call-capture-source-0">
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="in-call-capture-source-1 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="in-call-capture-source-1 (VOICE_CALL)">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="in-call-capture-source-1">
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="in-call-capture-source-2 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="in-call-capture-source-2 (VOICE_CALL)">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="in-call-capture-source-2">
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware -->

View File

@@ -82,3 +82,13 @@ PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
endif
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# Offload spatializer config
PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/base:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/base \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_2_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_2_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_6_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_6_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural \
endif

View File

@@ -173,14 +173,14 @@
</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_RAW, 40 periods * 48 frames/period * 2ch * 4(s32) = 15360 bytes -->
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="false" period="48" period_num="40"/>
<!-- 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"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->
@@ -308,7 +308,7 @@
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER"/>
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
<module libname="audio_sounddose_aoc.so"/>
<module libname="audio_sounddose_aoc.so" argu="Blackbird,Condor=0,46.35,0.1950549451;54.6,57,0.98625"/>
<module libname="liboffloadeffect.so"/>
<module libname="audio_amcs_ext.so"/>
<module libname="audio_bluenote_aoc.so"/>

View File

@@ -51,8 +51,8 @@
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_OPUS"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@@ -138,10 +138,6 @@
</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">
@@ -161,8 +157,6 @@
</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"

View File

@@ -51,8 +51,8 @@
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_OPUS"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@@ -138,10 +138,6 @@
</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">
@@ -161,8 +157,6 @@
</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">

View File

@@ -131,10 +131,6 @@
</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">
@@ -154,8 +150,6 @@
</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">

View File

@@ -51,8 +51,8 @@
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_OPUS"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@@ -138,10 +138,6 @@
</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">
@@ -161,8 +157,6 @@
</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"

View File

@@ -11,6 +11,7 @@
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio broadcast output" role="source" />
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
@@ -51,6 +52,7 @@
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
<devicePort tagName="BLE Broadcast Out" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
@@ -66,6 +68,8 @@
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
sources="le audio output"/>
<route type="mix" sink="BLE Broadcast Out"
sources="le audio broadcast output"/>
</routes>
</module>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -179,8 +179,8 @@
<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"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->

View File

@@ -11,6 +11,7 @@
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio broadcast output" role="source" />
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
@@ -51,6 +52,7 @@
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
<devicePort tagName="BLE Broadcast Out" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
@@ -66,6 +68,8 @@
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
sources="le audio output"/>
<route type="mix" sink="BLE Broadcast Out"
sources="le audio broadcast output"/>
</routes>
</module>

View File

@@ -24,10 +24,13 @@
<argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
<argument name="ThermistorType" value="UNKNOWN" />
<argument name="ThrottlingSeverity" value="MODERATE" />
<argument name="ThrottlingSeverity" value="LIGHT" />
</feature>
<feature name="RuntimeTuningDump" />
<!-- <feature name="spatializer-offload" /> -->
<feature name="SoundDose">
<argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" />
</feature>
<feature name="spatializer-offload" />
</features>
<voipVolume>
@@ -47,7 +50,6 @@
<device name="usb" />
<device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" />
</device>
</devices>
@@ -58,11 +60,12 @@
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
</tuner>
<tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
<argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
<argument name="MCPS_TABLE" value="y" />
</tuner>
<tuner type="capture" name="gs_capture" />
</tuners>
@@ -71,8 +74,8 @@
<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="primary-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="100" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-device" milliseconds="70" />
@@ -89,21 +92,227 @@
<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" />
<latency source="usb-device-microphones" sink="primary-capture" milliseconds="100" />
<latency source="usb-headset-microphones" sink="primary-capture" milliseconds="100" />
</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>
<microphones>
<microphone id="builtin_mic_1" location="MAINBODY" group="0" indexInTheGroup="0"
directionality="OMNI">
<device type="IN_MICROPHONE" address="bottom" />
<sensitivity levelDbfs="37.0" maxSplDb="132.5" minSplDb="28.5" />
<position x="0.0269" y="0.0058" z="0.0079" />
<orientation x="0.0" y="0.0" z="1.0" />
<frequencyResponse>
<point frequencyHz="100.00" levelDb="-0.78" />
<point frequencyHz="106.00" levelDb="-0.71" />
<point frequencyHz="112.00" levelDb="-0.64" />
<point frequencyHz="118.00" levelDb="-0.60" />
<point frequencyHz="125.00" levelDb="-0.55" />
<point frequencyHz="132.00" levelDb="-0.50" />
<point frequencyHz="140.00" levelDb="-0.47" />
<point frequencyHz="150.00" levelDb="-0.42" />
<point frequencyHz="160.00" levelDb="-0.39" />
<point frequencyHz="170.00" levelDb="-0.36" />
<point frequencyHz="180.00" levelDb="-0.34" />
<point frequencyHz="190.00" levelDb="-0.33" />
<point frequencyHz="200.00" levelDb="-0.32" />
<point frequencyHz="212.00" levelDb="-0.29" />
<point frequencyHz="224.00" levelDb="-0.28" />
<point frequencyHz="236.00" levelDb="-0.28" />
<point frequencyHz="250.00" levelDb="-0.27" />
<point frequencyHz="265.00" levelDb="-0.25" />
<point frequencyHz="280.00" levelDb="-0.25" />
<point frequencyHz="300.00" levelDb="-0.24" />
<point frequencyHz="315.00" levelDb="-0.23" />
<point frequencyHz="335.00" levelDb="-0.23" />
<point frequencyHz="355.00" levelDb="-0.22" />
<point frequencyHz="375.00" levelDb="-0.22" />
<point frequencyHz="400.00" levelDb="-0.19" />
<point frequencyHz="425.00" levelDb="-0.17" />
<point frequencyHz="450.00" levelDb="-0.15" />
<point frequencyHz="475.00" levelDb="-0.15" />
<point frequencyHz="500.00" levelDb="-0.14" />
<point frequencyHz="530.00" levelDb="-0.14" />
<point frequencyHz="560.00" levelDb="-0.12" />
<point frequencyHz="600.00" levelDb="-0.11" />
<point frequencyHz="630.00" levelDb="-0.10" />
<point frequencyHz="670.00" levelDb="-0.10" />
<point frequencyHz="710.00" levelDb="-0.08" />
<point frequencyHz="750.00" levelDb="-0.07" />
<point frequencyHz="800.00" levelDb="-0.07" />
<point frequencyHz="850.00" levelDb="-0.04" />
<point frequencyHz="900.00" levelDb="-0.03" />
<point frequencyHz="950.00" levelDb="-0.01" />
<point frequencyHz="1000.00" levelDb="0.00" />
<point frequencyHz="1060.00" levelDb="0.04" />
<point frequencyHz="1120.00" levelDb="0.06" />
<point frequencyHz="1180.00" levelDb="0.07" />
<point frequencyHz="1250.00" levelDb="0.08" />
<point frequencyHz="1320.00" levelDb="0.13" />
<point frequencyHz="1400.00" levelDb="0.09" />
<point frequencyHz="1500.00" levelDb="0.14" />
<point frequencyHz="1600.00" levelDb="0.19" />
<point frequencyHz="1700.00" levelDb="0.23" />
<point frequencyHz="1800.00" levelDb="0.28" />
<point frequencyHz="1900.00" levelDb="0.29" />
<point frequencyHz="2000.00" levelDb="0.31" />
<point frequencyHz="2120.00" levelDb="0.37" />
<point frequencyHz="2240.00" levelDb="0.88" />
<point frequencyHz="2360.00" levelDb="0.86" />
<point frequencyHz="2500.00" levelDb="0.77" />
<point frequencyHz="2650.00" levelDb="0.78" />
<point frequencyHz="2800.00" levelDb="0.84" />
<point frequencyHz="3000.00" levelDb="0.86" />
<point frequencyHz="3150.00" levelDb="1.05" />
<point frequencyHz="3350.00" levelDb="1.12" />
<point frequencyHz="3550.00" levelDb="1.18" />
<point frequencyHz="3750.00" levelDb="1.25" />
<point frequencyHz="4000.00" levelDb="1.43" />
<point frequencyHz="4250.00" levelDb="1.66" />
<point frequencyHz="4500.00" levelDb="1.83" />
<point frequencyHz="4750.00" levelDb="2.02" />
<point frequencyHz="5000.00" levelDb="2.23" />
<point frequencyHz="5300.00" levelDb="2.59" />
<point frequencyHz="5600.00" levelDb="2.84" />
<point frequencyHz="6000.00" levelDb="3.35" />
<point frequencyHz="6300.00" levelDb="4.01" />
<point frequencyHz="6700.00" levelDb="6.82" />
<point frequencyHz="7100.00" levelDb="6.62" />
<point frequencyHz="7500.00" levelDb="6.42" />
<point frequencyHz="8000.00" levelDb="7.30" />
<point frequencyHz="8500.00" levelDb="8.23" />
<point frequencyHz="9000.00" levelDb="7.54" />
<point frequencyHz="9500.00" levelDb="12.68" />
<point frequencyHz="10000.00" levelDb="13.76" />
<point frequencyHz="10600.00" levelDb="18.69" />
<point frequencyHz="11200.00" levelDb="19.68" />
<point frequencyHz="11800.00" levelDb="20.90" />
<point frequencyHz="12500.00" levelDb="23.70" />
<point frequencyHz="13200.00" levelDb="25.10" />
<point frequencyHz="14000.00" levelDb="21.65" />
<point frequencyHz="15000.00" levelDb="16.18" />
<point frequencyHz="16000.00" levelDb="18.84" />
<point frequencyHz="17000.00" levelDb="25.44" />
<point frequencyHz="18000.00" levelDb="23.48" />
<point frequencyHz="19000.00" levelDb="23.22" />
<point frequencyHz="20000.00" levelDb="24.89" />
</frequencyResponse>
</microphone>
<microphone id="builtin_mic_2" location="MAINBODY" group="0" indexInTheGroup="1"
directionality="OMNI">
<device type="IN_MICROPHONE_BACK" address="back" />
<sensitivity levelDbfs="-37.0" maxSplDb="132.5" minSplDb="28.5" />
<position x="0.0546" y="0.1456" z="0.00415" />
<orientation x="0.0" y="1.0" z="0.0" />
<frequencyResponse>
<point frequencyHz="106.00" levelDb="-0.75" />
<point frequencyHz="112.00" levelDb="-0.74" />
<point frequencyHz="118.00" levelDb="-0.69" />
<point frequencyHz="125.00" levelDb="-0.65" />
<point frequencyHz="132.00" levelDb="-0.62" />
<point frequencyHz="140.00" levelDb="-0.61" />
<point frequencyHz="150.00" levelDb="-0.56" />
<point frequencyHz="160.00" levelDb="-0.53" />
<point frequencyHz="170.00" levelDb="-0.50" />
<point frequencyHz="180.00" levelDb="-0.47" />
<point frequencyHz="190.00" levelDb="-0.43" />
<point frequencyHz="200.00" levelDb="-0.40" />
<point frequencyHz="212.00" levelDb="-0.37" />
<point frequencyHz="224.00" levelDb="-0.36" />
<point frequencyHz="236.00" levelDb="-0.33" />
<point frequencyHz="250.00" levelDb="-0.30" />
<point frequencyHz="265.00" levelDb="-0.28" />
<point frequencyHz="280.00" levelDb="-0.25" />
<point frequencyHz="300.00" levelDb="-0.24" />
<point frequencyHz="315.00" levelDb="-0.24" />
<point frequencyHz="335.00" levelDb="-0.24" />
<point frequencyHz="355.00" levelDb="-0.25" />
<point frequencyHz="375.00" levelDb="-0.24" />
<point frequencyHz="400.00" levelDb="-0.12" />
<point frequencyHz="425.00" levelDb="-0.10" />
<point frequencyHz="450.00" levelDb="-0.08" />
<point frequencyHz="475.00" levelDb="-0.09" />
<point frequencyHz="500.00" levelDb="-0.07" />
<point frequencyHz="530.00" levelDb="-0.07" />
<point frequencyHz="560.00" levelDb="-0.06" />
<point frequencyHz="600.00" levelDb="-0.06" />
<point frequencyHz="630.00" levelDb="-0.06" />
<point frequencyHz="670.00" levelDb="-0.05" />
<point frequencyHz="710.00" levelDb="-0.04" />
<point frequencyHz="750.00" levelDb="-0.05" />
<point frequencyHz="800.00" levelDb="-0.04" />
<point frequencyHz="850.00" levelDb="-0.01" />
<point frequencyHz="900.00" levelDb="0.02" />
<point frequencyHz="950.00" levelDb="0.02" />
<point frequencyHz="1000.00" levelDb="0.00" />
<point frequencyHz="1060.00" levelDb="0.02" />
<point frequencyHz="1120.00" levelDb="0.03" />
<point frequencyHz="1180.00" levelDb="0.07" />
<point frequencyHz="1250.00" levelDb="0.10" />
<point frequencyHz="1320.00" levelDb="0.10" />
<point frequencyHz="1400.00" levelDb="0.13" />
<point frequencyHz="1500.00" levelDb="0.01" />
<point frequencyHz="1600.00" levelDb="0.01" />
<point frequencyHz="1700.00" levelDb="0.10" />
<point frequencyHz="1800.00" levelDb="0.11" />
<point frequencyHz="1900.00" levelDb="0.19" />
<point frequencyHz="2000.00" levelDb="0.24" />
<point frequencyHz="2120.00" levelDb="0.38" />
<point frequencyHz="2240.00" levelDb="0.46" />
<point frequencyHz="2360.00" levelDb="0.26" />
<point frequencyHz="2500.00" levelDb="0.27" />
<point frequencyHz="2650.00" levelDb="0.43" />
<point frequencyHz="2800.00" levelDb="0.76" />
<point frequencyHz="3000.00" levelDb="0.75" />
<point frequencyHz="3150.00" levelDb="1.09" />
<point frequencyHz="3350.00" levelDb="1.09" />
<point frequencyHz="3550.00" levelDb="0.94" />
<point frequencyHz="3750.00" levelDb="1.06" />
<point frequencyHz="4000.00" levelDb="1.21" />
<point frequencyHz="4250.00" levelDb="1.47" />
<point frequencyHz="4500.00" levelDb="1.45" />
<point frequencyHz="4750.00" levelDb="1.36" />
<point frequencyHz="5000.00" levelDb="2.07" />
<point frequencyHz="5300.00" levelDb="2.85" />
<point frequencyHz="5600.00" levelDb="2.90" />
<point frequencyHz="6000.00" levelDb="3.85" />
<point frequencyHz="6300.00" levelDb="4.65" />
<point frequencyHz="6700.00" levelDb="5.84" />
<point frequencyHz="7100.00" levelDb="5.46" />
<point frequencyHz="7500.00" levelDb="6.15" />
<point frequencyHz="8000.00" levelDb="7.50" />
<point frequencyHz="8500.00" levelDb="8.30" />
<point frequencyHz="9000.00" levelDb="10.62" />
<point frequencyHz="9500.00" levelDb="12.70" />
<point frequencyHz="10000.00" levelDb="16.65" />
<point frequencyHz="10600.00" levelDb="20.95" />
<point frequencyHz="11200.00" levelDb="25.41" />
<point frequencyHz="11800.00" levelDb="26.32" />
<point frequencyHz="12500.00" levelDb="20.20" />
<point frequencyHz="13200.00" levelDb="16.60" />
<point frequencyHz="14000.00" levelDb="11.24" />
<point frequencyHz="15000.00" levelDb="7.85" />
<point frequencyHz="16000.00" levelDb="7.62" />
<point frequencyHz="17000.00" levelDb="20.19" />
<point frequencyHz="18000.00" levelDb="7.32" />
<point frequencyHz="19000.00" levelDb="2.87" />
<point frequencyHz="20000.00" levelDb="5.18" />
</frequencyResponse>
</microphone>
</microphones>
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
</audioPlatformConfiguration>

View File

@@ -51,8 +51,14 @@ volume index from 0 to 100.
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-4500</point>
<point>29,-3400</point>
<point>57,-2250</point>
<point>71,-1900</point>
<point>86,-1530</point>
<point>100,-1100</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"
@@ -62,9 +68,12 @@ volume index from 0 to 100.
<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,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>1,-4000</point>
<point>29,-2950</point>
<point>43,-2350</point>
<point>57,-1850</point>
<point>71,-1400</point>
<point>86,-700</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
@@ -76,31 +85,31 @@ volume index from 0 to 100.
<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,-6438</point>
<point>4,-6438</point>
<point>8,-5961</point>
<point>12,-5543</point>
<point>16,-5167</point>
<point>20,-4743</point>
<point>24,-4391</point>
<point>28,-4061</point>
<point>32,-3871</point>
<point>36,-3673</point>
<point>40,-3471</point>
<point>44,-3273</point>
<point>48,-3065</point>
<point>52,-2850</point>
<point>56,-2618</point>
<point>60,-2355</point>
<point>64,-2060</point>
<point>68,-1773</point>
<point>72,-1482</point>
<point>76,-1205</point>
<point>80,-989</point>
<point>84,-791</point>
<point>88,-578</point>
<point>92,-374</point>
<point>96,-137</point>
<point>1,-5927</point>
<point>4,-5927</point>
<point>8,-5574</point>
<point>12,-5281</point>
<point>16,-4952</point>
<point>20,-4562</point>
<point>24,-4213</point>
<point>28,-3838</point>
<point>32,-3600</point>
<point>36,-3385</point>
<point>40,-3116</point>
<point>44,-2927</point>
<point>48,-2665</point>
<point>52,-2436</point>
<point>56,-2181</point>
<point>60,-1985</point>
<point>64,-1743</point>
<point>68,-1553</point>
<point>72,-1427</point>
<point>76,-1166</point>
<point>80,-1045</point>
<point>84,-895</point>
<point>88,-644</point>
<point>92,-486</point>
<point>96,-209</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
@@ -112,9 +121,11 @@ volume index from 0 to 100.
<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,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>0,-5600</point>
<point>29,-3520</point>
<point>57,-1500</point>
<point>71,-1150</point>
<point>86,-500</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
@@ -126,10 +137,11 @@ volume index from 0 to 100.
<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,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
<point>1,-4500</point>
<point>29,-3800</point>
<point>71,-1850</point>
<point>86,-1000</point>
<point>100,-500</point>
</volume>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
@@ -165,8 +177,14 @@ volume index from 0 to 100.
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-4500</point>
<point>29,-3400</point>
<point>57,-2250</point>
<point>71,-1900</point>
<point>86,-1530</point>
<point>100,-1100</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"
@@ -179,8 +197,14 @@ volume index from 0 to 100.
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-5700</point>
<point>29,-4230</point>
<point>43,-3300</point>
<point>57,-3100</point>
<point>71,-2500</point>
<point>100,-1400</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"

View File

@@ -233,6 +233,7 @@
<ctl name="EP6 TX Mixer INCALL_TX" value="0" />
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0"/>
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
<!-- AoC Mic setting -->
@@ -256,10 +257,14 @@
<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" />
<ctl name="Hotword Tap Enable" value="0" />
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
<!-- crashing since speicifc order is needed between dsp mode and" -->
<!-- spatial module." -->
<ctl name="Mic Spatial Module 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" />
@@ -307,6 +312,7 @@
<ctl name="Incall Capture Stream0" value="Off" />
<ctl name="Incall Capture Stream1" value="Off" />
<ctl name="Incall Capture Stream2" value="Off" />
<ctl name="Incall Capture Stream3" value="Off" />
<!-- These two controls control the muting function of mics and sinks during the voice call. -->
<!-- They would be enabled by HAL. -->
@@ -413,6 +419,10 @@
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-low-energy-broadcast">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> usb">
<ctl name="USB_RX Mixer EP2" value="1" />
</path>
@@ -485,6 +495,10 @@
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-low-energy-broadcast">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> usb">
<ctl name="USB_RX Mixer RAW" value="1" />
</path>
@@ -557,6 +571,10 @@
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-low-energy-broadcast">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> usb">
<ctl name="USB_RX Mixer EP6" value="1" />
</path>
@@ -634,6 +652,10 @@
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP7" value="1" />
</path>
@@ -706,6 +728,10 @@
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-low-energy-broadcast">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> usb">
<ctl name="USB_RX Mixer EP1" value="1" />
</path>
@@ -790,6 +816,10 @@
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-low-energy-broadcast">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> usb">
<ctl name="USB_RX Mixer VOIP" value="1" />
</path>
@@ -806,61 +836,6 @@
<path name="voip-playback-0 -> usb" />
</path>
<path name="immersive-playback -> speaker">
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> speaker">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-earpiece">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-safe">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback -> bt">
<ctl name="BT_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> bt">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-device">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-low-energy-headset">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-low-energy-speaker">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> usb">
<ctl name="USB_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> usb-headset">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="immersive-playback-0 -> usb-device">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="spatializer-offload-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP4" value="1" />
@@ -882,6 +857,18 @@
<ctl name="BT_RX Mixer EP4" value="1" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-default">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-headset">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-car-kit">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
<path name="spatializer-offload-playback -> bt" />
</path>
@@ -902,6 +889,10 @@
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP4" value="1" />
</path>
@@ -972,6 +963,10 @@
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-low-energy-broadcast">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> usb">
<ctl name="USB_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" />
@@ -1046,6 +1041,39 @@
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="usb-device-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
@@ -1074,11 +1102,47 @@
<ctl name="EP3 TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> sound-trigger-capture-0" />
<path name="sound-trigger-microphones -> sound-trigger-capture-0" />
<path name="microphones -> sound-trigger-tap-capture-0" />
<path name="sound-trigger-microphones -> sound-trigger-tap-capture-0">
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Hotword Tap Enable" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones -> hotword-lookback-capture-0" />
<path name="sound-trigger-microphones -> hotword-lookback-capture-0" />
<path name="ultrasound-microphones -> ultrasound-capture-0">
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> mmap-capture-0">
<path name="microphones -> mmap-capture-0" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="usb-device-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<!-- voice-call dynamic route -->
<path name="voice-call-downlink-0 -> speaker">
@@ -1113,6 +1177,10 @@
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> bluetooth-low-energy-broadcast">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> usb">
<ctl name="USB_RX Mixer EP5" value="1" />
</path>
@@ -1165,77 +1233,9 @@
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="telephony-rx (MIC) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="telephony-rx (MIC) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="telephony-rx (MIC) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="usb-device-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<path name="in-call-capture-source-0 -> in-call-capture-0" />
<path name="in-call-capture-source-1 -> in-call-capture-1" />
<path name="in-call-capture-source-2 -> in-call-capture-2" />
<!-- codec setting -->
<!-- Rx device -->
@@ -1249,7 +1249,6 @@
<ctl name="PCM Source" value="ASP" />
<ctl name="AMP PCM Gain" value="7" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="AoC Chirp Enable" value="1" />
</path>
<path name="speaker">
@@ -1266,7 +1265,6 @@
<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" />
<!-- 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" />
@@ -1275,36 +1273,35 @@
<path name="speaker-safe">
<ctl name="R Main AMP Enable Switch" value="1" />
<!-- 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>
<!-- Tx device -->
<path name="microphones">
<path name="builtin-mic-id-capture-list">
<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="1" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
</path>
<path name="microphones">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" />
</path>
<path name="microphones (VOICE)">
<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" />
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (VOICE_COMMUNICATION,VOICE)">
<path name="microphones (VOICE)" />
</path>
<path name="microphones (VOICE_RECOGNITION)">
<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" />
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" />
</path>
@@ -1316,91 +1313,47 @@
</path>
<path name="microphones (SOUND_TRIGGER_AEC)">
<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="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="back-microphones">
<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="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<path name="microphones (CAMCORDER)">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (UNPROCESSED)">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="back-microphones">
<path name="microphones" />
</path>
<path name="back-microphones (VOICE)">
<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" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
<path name="microphones (VOICE)" />
</path>
<path name="microphones (CAMCORDER)">
<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 Record Soft Gain (dB)" value="0" />
<path name="back-microphones (VOICE_COMMUNICATION,VOICE)">
<path name="back-microphones (VOICE)" />
</path>
<path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" />
</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="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 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="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 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="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 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="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 Record Soft Gain (dB)" value="5" />
<path name="back-microphones (UNPROCESSED)">
<path name="microphones (UNPROCESSED)" />
</path>
<path name="bluetooth-sco-headset-microphones">
<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" />
<path name="builtin-mic-id-capture-list" />
<ctl name="Audio Capture Mic Source" value="BT_MIC" />
<ctl name="Voice Call Mic Source" value="BT_MIC" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
@@ -1410,16 +1363,70 @@
<path name="bluetooth-sco-headset-microphones" />
</path>
<path name="usb-headset-microphones">
<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" />
<path name="usb-microphones">
<path name="builtin-mic-id-capture-list" />
<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" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="usb-headset-microphones">
<path name="usb-microphones" />
</path>
<path name="usb-device-microphones">
<path name="usb-microphones" />
</path>
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="in-call-capture-source-0 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="in-call-capture-source-0 (VOICE_CALL)">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="in-call-capture-source-0">
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="in-call-capture-source-1 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="in-call-capture-source-1 (VOICE_CALL)">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="in-call-capture-source-1">
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="in-call-capture-source-2 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="in-call-capture-source-2 (VOICE_CALL)">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="in-call-capture-source-2">
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware -->
@@ -1473,7 +1480,7 @@
<path name="adapted-voice-speaker">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="Digital PCM Volume" value="800" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-speaker-battery-throttled">

View File

@@ -82,3 +82,13 @@ PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
endif
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# Offload spatializer config
PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/base:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/base \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_2_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_2_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_6_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_6_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural \
endif

View File

@@ -173,14 +173,14 @@
</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_RAW, 40 periods * 48 frames/period * 2ch * 4(s32) = 15360 bytes -->
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="false" period="48" period_num="40"/>
<!-- 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"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->
@@ -308,7 +308,7 @@
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER"/>
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
<module libname="audio_sounddose_aoc.so"/>
<module libname="audio_sounddose_aoc.so" argu="Blackbird,Condor=0,46.35,0.1950549451;54.6,57,0.98625"/>
<module libname="liboffloadeffect.so"/>
<module libname="audio_amcs_ext.so"/>
<module libname="audio_bluenote_aoc.so"/>

View File

@@ -51,8 +51,8 @@
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_OPUS"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@@ -138,10 +138,6 @@
</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">
@@ -161,8 +157,6 @@
</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"

View File

@@ -51,8 +51,8 @@
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_OPUS"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@@ -138,10 +138,6 @@
</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">
@@ -161,8 +157,6 @@
</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">

View File

@@ -131,10 +131,6 @@
</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">
@@ -154,8 +150,6 @@
</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">

View File

@@ -51,8 +51,8 @@
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
<profile name="" format="AUDIO_FORMAT_OPUS"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
@@ -138,10 +138,6 @@
</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">
@@ -161,8 +157,6 @@
</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"

View File

@@ -11,6 +11,7 @@
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio broadcast output" role="source" />
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
@@ -51,6 +52,7 @@
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
<devicePort tagName="BLE Broadcast Out" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
@@ -66,6 +68,8 @@
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
sources="le audio output"/>
<route type="mix" sink="BLE Broadcast Out"
sources="le audio broadcast output"/>
</routes>
</module>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,22 +0,0 @@
//
// 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.
prebuilt_etc {
name: "shusky_assignable_devices.xml",
src: "assignable_devices.xml",
filename: "assignable_devices.xml",
vendor: true,
relative_install_path: "avf",
}

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<devices>
<device>
<kind>eh</kind>
<dtbo_label>eh</dtbo_label>
<sysfs_path>/sys/bus/platform/devices/16d00000.eh</sysfs_path>
</device>
</devices>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,259 @@
{
"_comments_": [
"== Audio Set Scenarios ==",
" Each defined scenario references externally defined audio set",
" configurations, listed in the order of priority."
],
"scenarios": [
{
"name": "Conversational",
"configurations": [
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_2",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_2",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_2",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_2",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_4_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_3_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_24_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_1_Balanced_Reliability",
"VND_SingleDev_TwoChanStereoSnk_OneChanStereoSrc_32khz_60oct_R3_L22_1",
"Two-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability"
]
},
{
"name": "Media",
"configurations": [
"Two-OneChan-SnkAse-Lc3_48_4_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4_2",
"Two-OneChan-SnkAse-Lc3_48_2_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_2_2",
"Two-OneChan-SnkAse-Lc3_48_3_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_3_2",
"Two-OneChan-SnkAse-Lc3_48_1_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_1_2",
"Two-OneChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_24_2_2",
"Two-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_16_2_2",
"Two-OneChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_16_1_2",
"One-TwoChan-SnkAse-Lc3_48_4_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4_2",
"One-TwoChan-SnkAse-Lc3_48_2_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_2_2",
"One-TwoChan-SnkAse-Lc3_48_3_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_3_2",
"One-TwoChan-SnkAse-Lc3_48_1_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_1_2",
"One-TwoChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_24_2_2",
"One-TwoChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_2_2",
"One-TwoChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_1_2",
"One-OneChan-SnkAse-Lc3_48_4_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_4_2",
"One-OneChan-SnkAse-Lc3_48_2_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_2_2",
"One-OneChan-SnkAse-Lc3_48_3_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_3_2",
"One-OneChan-SnkAse-Lc3_48_1_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_1_2",
"One-OneChan-SnkAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_32_2_2",
"One-OneChan-SnkAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_32_1_2",
"One-OneChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_24_2_2",
"One-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_2_2",
"One-OneChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_1_2",
"VND_DualDev_OneChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_DualDev_OneChanStereoSnk_48khz_100octs_R15_L70_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_100octs_R15_L70_1",
"VND_SingleDev_OneChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_SingleDev_OneChanStereoSnk_48khz_100octs_R15_L70_1",
"Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability"
]
},
{
"name": "Game",
"configurations": [
"One-TwoChan-SnkAse-Lc3_48_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_48_3_Low_Latency",
"One-TwoChan-SnkAse-Lc3_48_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_24_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_24_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Low_Latency",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_TwoChanStereoSrc_16khz_30octs_Balanced_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_R5_L12_TwoChanStereoSrc_16khz_30octs_R3_L12_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_High_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_R5_L12_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_3_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_24_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_24_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1_Low_Latency"
]
},
{
"name": "VoiceAssistants",
"configurations": [
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability"
]
},
{
"name": "Live",
"configurations": [
"VND_SingleDev_TwoChanStereoSrc_48khz_100octs_Balanced_Reliability_1",
"VND_SingleDev_TwoChanStereoSrc_48khz_100octs_R11_L40_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_1_Balanced_Reliability"
]
}
]
}

View File

@@ -14,6 +14,19 @@ HwStageDoesNotCtrlPowerPinFromAoc = PROTO1.0-EVT1.0-EVT1.2
# supported by BT firmware.
HwStageWithOldChipFwNoLongerSupport = PROTO1.0-PROTO1.1
# Priority of uart type
# HciUartSocket = 0
# SerialUartPort = 1
# SerialAocUartPort = 2
# UserialInvalid = 3
UserialTypePriority = 2-1
# <string> The hardware support which offload capability
BtOffloadCap = AOC
# <string> The BT Offload Trunk Flag Group Name
BtOffloadTrunkGroup = 23P_AOC
# <boolean> APM Uart skip suspend to aovid hold system too long when BT using AOC UART
ApmUartSkipSuspend = true
@@ -27,3 +40,5 @@ BqrEventMaskValueUpdate = 295006
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
BtOpusEnabled = true
BtHalRecoveryByRestart = true

View File

@@ -3,6 +3,19 @@
# Uart port name
UartPort = /dev/ttySAC18
# Priority of uart type
# HciUartSocket = 0
# SerialUartPort = 1
# SerialAocUartPort = 2
# UserialInvalid = 3
UserialTypePriority = 2-1
# <string> The hardware support which offload capability
BtOffloadCap = AOC
# <string> The BT Offload Trunk Flag Group Name
BtOffloadTrunkGroup = 23P_AOC
# Sar backOff high resolution support
SarBackOffHighResolution = true

View File

@@ -52,7 +52,6 @@
<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_48_4"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_48_2"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_24_2"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_16_2"/>
@@ -76,7 +75,6 @@
<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_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="BROADCAST_STEREO"/>

View File

@@ -41,6 +41,7 @@ on post-fs-data
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync
chown bluetooth system /proc/bluetooth/sleep/wakelock_ctrl
# Start the twoshay touch service
on property:vendor.device.modules.ready=1
@@ -68,6 +69,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/0-0043/default/num_waves
chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_index
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_ms
chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable
chown system system /sys/bus/i2c/devices/0-0043/default/redc_comp_enable
chown system system /sys/bus/i2c/devices/0-0043/default/delay_before_stop_playback_us

View File

@@ -37,6 +37,7 @@ on post-fs-data
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync
chown bluetooth system /proc/bluetooth/sleep/wakelock_ctrl
# Start the twoshay touch service
on property:vendor.device.modules.ready=1
@@ -62,6 +63,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/0-0043/calibration/redc_stored
chown system system /sys/bus/i2c/devices/0-0043/default/vibe_state
chown system system /sys/bus/i2c/devices/0-0043/default/num_waves
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_index
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_ms
chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable

View File

@@ -1,8 +1,6 @@
#
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
# Udfps
TARGET_HAS_UDFPS += true
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution

View File

@@ -17,17 +17,21 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS ?= device/google/shusky-kernel/kernel-headers
ifdef RELEASE_GOOGLE_HUSKY_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_HUSKY_KERNEL_VERSION)
ifdef RELEASE_GOOGLE_HUSKY_RADIO_DIR
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_HUSKY_RADIO_DIR)
endif
ifdef RELEASE_GOOGLE_HUSKY_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_HUSKY_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_HUSKY_KERNEL_DIR)/kernel-headers
ifdef RELEASE_GOOGLE_HUSKY_RADIOCFG_DIR
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_HUSKY_RADIOCFG_DIR)
endif
RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR))
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_HUSKY_VERSION)
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_HUSKY_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_HUSKY_DIR)/kernel-headers
LOCAL_PATH := device/google/shusky
@@ -38,13 +42,16 @@ ifeq ($(filter factory_husky, $(TARGET_PRODUCT)),)
include device/google/shusky/uwb/uwb_calibration.mk
endif
ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_HUSKY_16K_DEVELOPER_OPTION)
endif
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-husky.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/husky/device-vendor-husky.mk)
$(call inherit-product-if-exists, vendor/google_devices/husky/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal-r63/Device.mk)
$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/WallpapersHusky.mk)
# display
@@ -65,10 +72,9 @@ endif
include device/google/shusky/camera/camera.mk
include device/google/shusky/audio/husky/audio-tables.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/stm/stm20.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/stm/predump_stm20.mk
include device/google/gs-common/touch/gti/predump_gti.mk
include device/google/gs-common/touch/touchinspector/touchinspector.mk
# Init files
@@ -118,6 +124,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
@@ -131,19 +141,27 @@ PRODUCT_COPY_FILES += \
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# AIDL
else
# HIDL
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Sound Dose
PRODUCT_PACKAGES += \
android.hardware.audio.sounddose-vendor-impl \
audio_sounddose_aoc
endif
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
@@ -154,24 +172,20 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.se_capability=1
# Bluetooth hci_inject test tool
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
hci_inject
endif
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
ewp_tool
endif
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
@@ -211,11 +225,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.ccp.server.enabled?=true \
bluetooth.profile.vcp.controller.enabled?=true
ifeq ($(RELEASE_PIXEL_BROADCAST_ENABLED), true)
# Bluetooth LE Audio Broadcast
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.bap.broadcast.assist.enabled=true \
bluetooth.profile.bap.broadcast.source.enabled=true
endif
# Bluetooth LE Audio enable hardware offloading
PRODUCT_PRODUCT_PROPERTIES += \
@@ -228,7 +241,7 @@ PRODUCT_COPY_FILES += \
# LE Audio Unicast Allowlist
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
@@ -239,6 +252,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=true
# Support LE & Classic concurrent encryption (b/330704060)
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.ble.allow_enc_with_bredr=true
# Support One-Handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
@@ -286,13 +303,6 @@ PRODUCT_PACKAGES += \
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/trunk
endif
# UWB
PRODUCT_SOONG_NAMESPACES += \
@@ -305,16 +315,29 @@ include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
# Location
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.6.1.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps_user.6.1.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps_user.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
endif
# Set zram size
@@ -323,14 +346,8 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.device_config.configuration.disable_rescue_party=true
# Fingerprint HAL
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts/firmware/fingerprint/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts/firmware/fingerprint/24Q2
else
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts/firmware/fingerprint/trunk
endif
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts
$(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)
@@ -371,9 +388,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
# blocking zone for min idle refresh rate
PRODUCT_VENDOR_PROPERTIES += \
vendor.primarydisplay.min_idle_refresh_rate.default=1 \
vendor.primarydisplay.min_idle_refresh_rate.blocking_zone=10 \
vendor.primarydisplay.min_idle_refresh_rate.blocking_zone_dbv=492
ro.vendor.primarydisplay.blocking_zone.min_refresh_rate_by_nits=15:10,:1
# Display ACL
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.acl.default=0
@@ -383,6 +398,7 @@ PRODUCT_COPY_FILES += \
device/google/shusky/husky/panel_config_google-hk3_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-hk3_cal0.pb
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ACTUATOR_MODEL := luxshare_ict_081545
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
@@ -393,26 +409,41 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
persist.vendor.vibrator.hal.context.settlingtime=5000
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.38
# Increment the SVN for any official public releases
ifdef RELEASE_SVN_HUSKY
TARGET_SVN ?= $(RELEASE_SVN_HUSKY)
else
# Set this for older releases that don't use build flag
TARGET_SVN ?= 36
TARGET_SVN ?= 38
endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=HK3SB3AK3
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_HUSKY))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_HUSKY)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_HUSKY))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_HUSKY)
endif
endif
# WLC userdebug specific
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
@@ -463,9 +494,6 @@ PRODUCT_PRODUCT_PROPERTIES ?= \
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true
# AVF assignable devices xml
PRODUCT_PACKAGES += shusky_assignable_devices.xml
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true
@@ -481,3 +509,34 @@ PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay
# ETM
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
ifneq ($(wildcard vendor/arm/mali/valhall),)
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
endif
# Bluetooth device id
# Husky: 0x410D
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16653
# Set support for LEA multicodec
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.core.le_audio.codec_extension_aidl.enabled=true
# LE Audio configuration scenarios
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View File

@@ -1,11 +1,10 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
@@ -16,11 +15,9 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.mep.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.mep.xml \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
# IWLAN
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# Kernel
TARGET_PREBUILT_KERNEL := device/google/shusky-kernel/Image.lz4
Iwlan
# PowerShare
include hardware/google/pixel/powershare/device.mk
@@ -34,16 +31,16 @@ include device/google/gs-common/wireless_charger/wireless_charger.mk
PRODUCT_PACKAGES += \
libexynosv4l2
# GNSS
PRODUCT_PACKAGES += \
android.hardware.sensors-V2-ndk.vendor:64
# 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

View File

@@ -17,17 +17,14 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS ?= device/google/shusky-kernel/kernel-headers
RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR))
ifdef RELEASE_GOOGLE_RIPCURRENT_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_RIPCURRENT_KERNEL_VERSION)
endif
ifdef RELEASE_GOOGLE_RIPCURRENT_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_RIPCURRENT_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_RIPCURRENT_KERNEL_DIR)/kernel-headers
endif
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_RIPCURRENT_VERSION)
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_RIPCURRENT_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_RIPCURRENT_DIR)/kernel-headers
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true
@@ -48,7 +45,6 @@ CAMERA_PRODUCT ?= ripcurrent
include device/google/shusky/audio/ripcurrent/audio-tables.mk
include device/google/shusky/camera/camera.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device-stereo.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/gps/brcm/cbd_gps.mk
include device/google/gs-common/touch/stm/stm20.mk
@@ -191,6 +187,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=true
# Support LE & Classic concurrent encryption (b/330704060)
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.ble.allow_enc_with_bredr=true
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
@@ -231,13 +231,6 @@ PRODUCT_PACKAGES += \
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/trunk
endif
# UWB
PRODUCT_SOONG_NAMESPACES += \
@@ -276,6 +269,7 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.front_720P_always_binning=true
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ACTUATOR_MODEL := luxshare_ict_081545
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.chirp.enabled=0 \
@@ -285,3 +279,8 @@ PRODUCT_VENDOR_PROPERTIES += \
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \
hypervisor.memory_reclaim.supported=1
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View File

@@ -17,20 +17,28 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS ?= device/google/shusky-kernel/kernel-headers
ifdef RELEASE_GOOGLE_SHIBA_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_SHIBA_KERNEL_VERSION)
ifdef RELEASE_GOOGLE_SHIBA_RADIO_DIR
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_SHIBA_RADIO_DIR)
endif
ifdef RELEASE_GOOGLE_SHIBA_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_SHIBA_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_SHIBA_KERNEL_DIR)/kernel-headers
ifdef RELEASE_GOOGLE_SHIBA_RADIOCFG_DIR
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_SHIBA_RADIOCFG_DIR)
endif
RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR))
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_SHIBA_VERSION)
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_SHIBA_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_SHIBA_DIR)/kernel-headers
LOCAL_PATH := device/google/shusky
ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_SHIBA_16K_DEVELOPER_OPTION)
endif
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-shiba.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
@@ -48,9 +56,8 @@ endif
include device/google/shusky/camera/camera.mk
include device/google/shusky/audio/shiba/audio-tables.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/gti/predump_gti.mk
# Init files
PRODUCT_COPY_FILES += \
@@ -102,6 +109,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
@@ -118,19 +129,27 @@ PRODUCT_COPY_FILES += \
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# AIDL
else
# HIDL
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Sound Dose
PRODUCT_PACKAGES += \
android.hardware.audio.sounddose-vendor-impl \
audio_sounddose_aoc
endif
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
@@ -141,24 +160,20 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.se_capability=1
# Bluetooth hci_inject test tool
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
hci_inject
endif
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
ewp_tool
endif
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
@@ -198,11 +213,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.ccp.server.enabled?=true \
bluetooth.profile.vcp.controller.enabled?=true
ifeq ($(RELEASE_PIXEL_BROADCAST_ENABLED), true)
# Bluetooth LE Audio Broadcast
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.profile.bap.broadcast.assist.enabled=true \
bluetooth.profile.bap.broadcast.source.enabled=true
endif
# Bluetooth LE Audio enable hardware offloading
PRODUCT_PRODUCT_PROPERTIES += \
@@ -215,7 +229,7 @@ PRODUCT_COPY_FILES += \
# LE Audio Unicast Allowlist
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
@@ -226,6 +240,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=true
# Support LE & Classic concurrent encryption (b/330704060)
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.ble.allow_enc_with_bredr=true
# Support One-Handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
@@ -272,13 +290,6 @@ PRODUCT_PACKAGES += \
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts/trusty/trunk
endif
# Location
# SDK build system
@@ -287,16 +298,29 @@ include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
# Location
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.6.1.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps_user.6.1.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps_user.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
endif
# Set zram size
@@ -305,14 +329,8 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.device_config.configuration.disable_rescue_party=true
# Fingerprint HAL
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts/firmware/fingerprint/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts/firmware/fingerprint/24Q2
else
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts/firmware/fingerprint/trunk
endif
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
APEX_FPS_TA_DIR := //vendor/google_devices/shusky/prebuilts
$(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)
@@ -357,6 +375,7 @@ PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=34
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ACTUATOR_MODEL := luxshare_ict_081545
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
@@ -367,26 +386,41 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
persist.vendor.vibrator.hal.context.settlingtime=5000
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.38
# Increment the SVN for any official public releases
ifdef RELEASE_SVN_SHIBA
TARGET_SVN ?= $(RELEASE_SVN_SHIBA)
else
# Set this for older releases that don't use build flag
TARGET_SVN ?= 36
TARGET_SVN ?= 38
endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=HK3SB3AK3
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_SHIBA))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_SHIBA)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_SHIBA))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_SHIBA)
endif
endif
# P23 Devices no longer need rlsservice
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.rls_supported=false
@@ -429,9 +463,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true
# AVF assignable devices xml
PRODUCT_PACKAGES += shusky_assignable_devices.xml
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true
@@ -447,3 +478,34 @@ PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay
# ETM
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
ifneq ($(wildcard vendor/arm/mali/valhall),)
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
endif
# Bluetooth device id
# Shiba: 0x410E
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16654
# Set support for LEA multicodec
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.core.le_audio.codec_extension_aidl.enabled=true
# LE Audio configuration scenarios
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View File

@@ -4,8 +4,8 @@
"target_path": "device/google/zuma"
},
{
"repository": "device/google/shusky-kernel",
"target_path": "device/google/shusky-kernel",
"repository": "device/google/shusky-kernels/6.1",
"target_path": "device/google/shusky-kernels/6.1",
"remote": "aosp-shusky"
}
]

View File

@@ -35,3 +35,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Factory binaries of camera
PRODUCT_PACKAGES += fatp_hk3sb3_wide_hat_tool fatp_hk3_tele_hat_tool fatp_hk3_ultrawide_hat_tool fatp_hk3_front_hat_tool factory_hk3sb3_main_cam_decompress_test
# preloaded_nanoapps.json
PRODUCT_SOONG_NAMESPACES += vendor/google_contexthub/devices/factory

View File

@@ -35,3 +35,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Factory binaries of camera
PRODUCT_PACKAGES += fatp_hk3sb3_wide_hat_tool fatp_hk3_tele_hat_tool fatp_hk3_ultrawide_hat_tool fatp_sb3_ultrawide_hat_tool fatp_hk3_front_hat_tool factory_hk3sb3_main_cam_decompress_test
# preloaded_nanoapps.json
PRODUCT_SOONG_NAMESPACES += vendor/google_contexthub/devices/factory

View File

@@ -35,3 +35,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Factory binaries of camera
PRODUCT_PACKAGES += fatp_hk3sb3_wide_hat_tool fatp_sb3_ultrawide_hat_tool factory_hk3sb3_main_cam_decompress_test sb3_ultrawide_af_fw_update
# preloaded_nanoapps.json
PRODUCT_SOONG_NAMESPACES += vendor/google_contexthub/devices/factory

11
husky/Android.bp Normal file
View File

@@ -0,0 +1,11 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "init.recovery.husky.touch.rc",
src: "init.recovery.touch.rc",
sub_dir: "init",
recovery: true,
}

View File

@@ -18,6 +18,7 @@
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_KERNEL_CMDLINE += g2d.load_sequential=1
BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1
@@ -25,21 +26,10 @@ BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1
TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := husky
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_HUSKY_RADIO_DIR)
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_HUSKY_RADIOCFG_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
ifdef PHONE_CAR_BOARD_PRODUCT
include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
else
TARGET_SCREEN_DENSITY := 480
TARGET_SCREEN_DENSITY := 480
endif
BOARD_USES_GENERIC_AUDIO := true
@@ -55,18 +45,16 @@ include device/google/shusky/device-shusky-common.mk
include device/google/zuma/BoardConfig-common.mk
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
-include vendor/google_devices/husky/proprietary/BoardConfigVendor.mk
include device/google/shusky/sepolicy/husky-sepolicy.mk
include device/google/shusky/wifi/BoardConfig-wifi.mk
# Android Virtualization Framework (AVF) team is using husky with hypervisor in
# nvhe mode as a development platform to build infrastructure that supports
# assigning devices to guest VMs.
#
# TODO(b/278008514): remove this once we have builds from our kernel branch.
ifeq ($(HUSKY_ENABLE_DEVICE_ASSIGNMENT), true)
BOARD_KERNEL_CMDLINE += kvm-arm.mode=nvhe
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/5_15/BoardUserdebugModules.mk
endif
include device/google/shusky/husky/BoardConfigLineage.mk
include device/google/shusky/husky/BoardConfigEvolution.mk
DEVICE_PATH := device/google/shusky
VENDOR_PATH := vendor/google/husky
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk

View File

@@ -1,7 +1,6 @@
#
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
include device/google/shusky/BoardConfigEvolution.mk
include $(DEVICE_PATH)/BoardConfigEvolution.mk

View File

@@ -1,9 +1,9 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
include device/google/shusky/BoardConfigLineage.mk
include $(DEVICE_PATH)/BoardConfigLineage.mk
include vendor/google/husky/BoardConfigVendor.mk
include $(VENDOR_PATH)/BoardConfigVendor.mk

View File

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

View File

@@ -1,11 +1,18 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += device/google/shusky/husky/overlay-lineage
$(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
TARGET_VENDOR_PROP += device/google/shusky/husky/vendor.prop
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
$(call inherit-product, device/google/shusky/device-lineage.mk)
PRODUCT_PACKAGES += \
PixelDisplayServiceOverlayHusky
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
# Init
PRODUCT_PACKAGES += \
init.recovery.husky.touch.rc

110
husky/extract-files.py Executable file
View File

@@ -0,0 +1,110 @@
#!/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/shusky',
'hardware/google/av',
'hardware/google/gchips',
'hardware/google/graphics/common',
'hardware/google/interfaces',
'hardware/google/pixel',
]
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-V4-ndk',
'com.google.edgetpu_vendor_service-V2-ndk',
'vendor.google.whitechapel.audio.audioext@4.0',
'vendor.google.whitechapel.audio.extension-V4-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', ''),
} # fmt: skip
extract_fns: extract_fns_user_type = {
pixel_factory_image_regex: extract_pixel_factory_image,
pixel_firmware_regex: extract_pixel_firmware,
}
module = ExtractUtilsModule(
'husky',
'google',
device_rel_path='device/google/shusky/husky',
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/lib64/com.google.edgetpu_app_service-V4-ndk.so',
'vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so',
'vendor/lib64/vendor.google.whitechapel.audio.audioext@4.0.so',
'vendor/lib64/vendor.google.whitechapel.audio.extension-V4-ndk.so',
]
for file_path in module_suffix_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.MODULE_SUFFIX, '_vendor')
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,136 +0,0 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=husky
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
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/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,4 @@
on init
insmod /lib/modules/heatmap.ko
insmod /lib/modules/goog_touch_interface.ko
insmod /lib/modules/ftm5.ko

24
husky/osaifu-keitai.patch Normal file
View File

@@ -0,0 +1,24 @@
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

@@ -32,6 +32,15 @@
<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">6</integer>
<!-- Default strength, in percentage, of bright color reduction when activated. -->
<integer name="config_reduceBrightColorsStrengthDefault">35</integer>
<!-- Minimum strength, in percentage, supported by bright color reduction. -->
<integer name="config_reduceBrightColorsStrengthMin">25</integer>
<!-- Maximum strength, in percentage, supported by bright color reduction. -->
<integer name="config_reduceBrightColorsStrengthMax">50</integer>
<!-- If this is true, the udfps vote is ignored. -->
<bool name="config_ignoreUdfpsVote">true</bool>

View File

@@ -23,6 +23,9 @@
<dimen name="rounded_corner_radius_top">91px</dimen>
<dimen name="rounded_corner_radius_bottom">91px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">16dp</dimen>
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->

View File

@@ -188,11 +188,11 @@
</array>
<item name="gps.voltage">3700</item>
<!-- Idle Receive current for wifi radio in mA.-->
<item name="wifi.controller.idle">79</item>
<item name="wifi.controller.idle">38</item>
<!-- Rx current for wifi radio in mA.-->
<item name="wifi.controller.rx">118</item>
<item name="wifi.controller.rx">57</item>
<!-- Tx current for wifi radio in mA-->
<item name="wifi.controller.tx">331</item>
<item name="wifi.controller.tx">550</item>
<!-- Operating voltage for wifi radio in mV.-->
<item name="wifi.controller.voltage">3700</item>
<item name="wifi.controller.voltage">3850</item>
</device>

View File

@@ -16,6 +16,18 @@
*/
-->
<resources>
<!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">0dp</dimen>
<!-- 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_default</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="ongoing_appops_dot_min_padding">16dp</dimen>
<!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">774px</dimen>

View File

@@ -1,6 +1,8 @@
# All blobs below are extracted from the release mentioned in proprietary-files.txt
product/etc/CarrierSettings/1and1_de.pb
product/etc/CarrierSettings/2degrees_nz.pb
product/etc/CarrierSettings/321communications_us.pb
product/etc/CarrierSettings/48_ie.pb
product/etc/CarrierSettings/4ka_sk.pb
product/etc/CarrierSettings/a1_at.pb
product/etc/CarrierSettings/a1_bg.pb
@@ -8,9 +10,13 @@ product/etc/CarrierSettings/a1_hr.pb
product/etc/CarrierSettings/a1_mk.pb
product/etc/CarrierSettings/a1_si.pb
product/etc/CarrierSettings/ahamo_jp.pb
product/etc/CarrierSettings/airbus_de.pb
product/etc/CarrierSettings/airbus_fr.pb
product/etc/CarrierSettings/airtel_in.pb
product/etc/CarrierSettings/ais_th.pb
product/etc/CarrierSettings/alcom_fi.pb
product/etc/CarrierSettings/altice_us.pb
product/etc/CarrierSettings/alticeroaming_us.pb
product/etc/CarrierSettings/andorratelecom_ad.pb
product/etc/CarrierSettings/antel_uy.pb
product/etc/CarrierSettings/appalachian_us.pb
@@ -18,12 +24,14 @@ product/etc/CarrierSettings/apt_tw.pb
product/etc/CarrierSettings/asda_gb.pb
product/etc/CarrierSettings/assurance_us.pb
product/etc/CarrierSettings/astca_as.pb
product/etc/CarrierSettings/astoundbroadband_us.pb
product/etc/CarrierSettings/att5g_us.pb
product/etc/CarrierSettings/att5gsa_us.pb
product/etc/CarrierSettings/att_mx.pb
product/etc/CarrierSettings/att_us.pb
product/etc/CarrierSettings/attbootstrap_us.pb
product/etc/CarrierSettings/attmvnos_us.pb
product/etc/CarrierSettings/axis_id.pb
product/etc/CarrierSettings/base_be.pb
product/etc/CarrierSettings/batelco_bh.pb
product/etc/CarrierSettings/bell_ca.pb
@@ -49,7 +57,11 @@ product/etc/CarrierSettings/chatr_ca.pb
product/etc/CarrierSettings/chinamobile_hk.pb
product/etc/CarrierSettings/cht_tw.pb
product/etc/CarrierSettings/cityfone_ca.pb
product/etc/CarrierSettings/claro_br.pb
product/etc/CarrierSettings/claro_cl.pb
product/etc/CarrierSettings/claro_co.pb
product/etc/CarrierSettings/claro_pr.pb
product/etc/CarrierSettings/commonmvnxatt_us.pb
product/etc/CarrierSettings/congstar_de.pb
product/etc/CarrierSettings/consumercellularatt_us.pb
product/etc/CarrierSettings/consumercellulartmo_us.pb
@@ -64,6 +76,7 @@ product/etc/CarrierSettings/cspire_us.pb
product/etc/CarrierSettings/default.pb
product/etc/CarrierSettings/digi_hu.pb
product/etc/CarrierSettings/digi_my.pb
product/etc/CarrierSettings/digi_pt.pb
product/etc/CarrierSettings/digi_ro.pb
product/etc/CarrierSettings/digimobil_es.pb
product/etc/CarrierSettings/dish5gsa_us.pb
@@ -72,15 +85,20 @@ product/etc/CarrierSettings/dito_ph.pb
product/etc/CarrierSettings/dna_fi.pb
product/etc/CarrierSettings/docomo_jp.pb
product/etc/CarrierSettings/docomomvno_jp.pb
product/etc/CarrierSettings/docomopacific_us.pb
product/etc/CarrierSettings/dtac_th.pb
product/etc/CarrierSettings/du_ae.pb
product/etc/CarrierSettings/eastlink_ca.pb
product/etc/CarrierSettings/ee_gb.pb
product/etc/CarrierSettings/eeyoumobility_ca.pb
product/etc/CarrierSettings/eir_ie.pb
product/etc/CarrierSettings/elisa1_fi.pb
product/etc/CarrierSettings/elisa2_fi.pb
product/etc/CarrierSettings/elisa_ee.pb
product/etc/CarrierSettings/enetworks_gy.pb
product/etc/CarrierSettings/enreach_nl.pb
product/etc/CarrierSettings/entel_cl.pb
product/etc/CarrierSettings/epic_mt.pb
product/etc/CarrierSettings/eplus_de.pb
product/etc/CarrierSettings/erate_no.pb
product/etc/CarrierSettings/esn_gb.pb
@@ -90,7 +108,7 @@ product/etc/CarrierSettings/evolve_us.pb
product/etc/CarrierSettings/fastweb_it.pb
product/etc/CarrierSettings/fet_tw.pb
product/etc/CarrierSettings/fi_at.pb
product/etc/CarrierSettings/fi_us.pb
product/etc/CarrierSettings/fi_tmo_us.pb
product/etc/CarrierSettings/fido_ca.pb
product/etc/CarrierSettings/finetwork_es.pb
product/etc/CarrierSettings/firstnet_us.pb
@@ -98,7 +116,10 @@ product/etc/CarrierSettings/firstnetpacific2_us.pb
product/etc/CarrierSettings/firstnetpacific_us.pb
product/etc/CarrierSettings/fizz_ca.pb
product/etc/CarrierSettings/fl1_li.pb
product/etc/CarrierSettings/foroyatele_fo.pb
product/etc/CarrierSettings/free_fr.pb
product/etc/CarrierSettings/free_gp.pb
product/etc/CarrierSettings/free_mq.pb
product/etc/CarrierSettings/free_re.pb
product/etc/CarrierSettings/freedommobile_ca.pb
product/etc/CarrierSettings/gamma_gb.pb
@@ -107,6 +128,8 @@ product/etc/CarrierSettings/gibtel_gi.pb
product/etc/CarrierSettings/giffgaff_gb.pb
product/etc/CarrierSettings/giga_sg.pb
product/etc/CarrierSettings/globe_ph.pb
product/etc/CarrierSettings/gomobile_mt.pb
product/etc/CarrierSettings/grameenphone_bd.pb
product/etc/CarrierSettings/guuk_es.pb
product/etc/CarrierSettings/h3_at.pb
product/etc/CarrierSettings/h3_gb.pb
@@ -114,6 +137,7 @@ product/etc/CarrierSettings/h3_ie.pb
product/etc/CarrierSettings/h3_se.pb
product/etc/CarrierSettings/h3g27202_ie.pb
product/etc/CarrierSettings/halebop_se.pb
product/etc/CarrierSettings/helium_us.pb
product/etc/CarrierSettings/help_at.pb
product/etc/CarrierSettings/homobile_it.pb
product/etc/CarrierSettings/hotmobile_il.pb
@@ -121,9 +145,15 @@ product/etc/CarrierSettings/ice_no.pb
product/etc/CarrierSettings/idea_in.pb
product/etc/CarrierSettings/idmobile_gb.pb
product/etc/CarrierSettings/iliad_it.pb
product/etc/CarrierSettings/indosat_id.pb
product/etc/CarrierSettings/inland_us.pb
product/etc/CarrierSettings/iwireless_us.pb
product/etc/CarrierSettings/jazz_pk.pb
product/etc/CarrierSettings/jazztel_es.pb
product/etc/CarrierSettings/jcommobile_jp.pb
product/etc/CarrierSettings/kddi5gsa_jp.pb
product/etc/CarrierSettings/kddi_jp.pb
product/etc/CarrierSettings/kddimvno5gsa_jp.pb
product/etc/CarrierSettings/kddimvno_jp.pb
product/etc/CarrierSettings/kena_it.pb
product/etc/CarrierSettings/koodo_ca.pb
@@ -131,6 +161,7 @@ product/etc/CarrierSettings/kpn_nl.pb
product/etc/CarrierSettings/lebara_es.pb
product/etc/CarrierSettings/lebara_fr.pb
product/etc/CarrierSettings/lebara_gb.pb
product/etc/CarrierSettings/lebara_nl.pb
product/etc/CarrierSettings/liberty_pr.pb
product/etc/CarrierSettings/lifecell_ua.pb
product/etc/CarrierSettings/linemo_jp.pb
@@ -140,18 +171,33 @@ product/etc/CarrierSettings/lowi_es.pb
product/etc/CarrierSettings/luckymobile_ca.pb
product/etc/CarrierSettings/lum_ca.pb
product/etc/CarrierSettings/lyca_es.pb
product/etc/CarrierSettings/lyca_us.pb
product/etc/CarrierSettings/lycamobile_gb.pb
product/etc/CarrierSettings/lycamobile_pt.pb
product/etc/CarrierSettings/lycamobile_se.pb
product/etc/CarrierSettings/m1_sg.pb
product/etc/CarrierSettings/magticom_ge.pb
product/etc/CarrierSettings/manxcontract_im.pb
product/etc/CarrierSettings/manxprepaid_im.pb
product/etc/CarrierSettings/masmovil_es.pb
product/etc/CarrierSettings/maxis_my.pb
product/etc/CarrierSettings/mediacom_us.pb
product/etc/CarrierSettings/melita_mt.pb
product/etc/CarrierSettings/meo_pt.pb
product/etc/CarrierSettings/metropcs_us.pb
product/etc/CarrierSettings/mobifone_vn.pb
product/etc/CarrierSettings/mobily_sa.pb
product/etc/CarrierSettings/monacotelecom_mc.pb
product/etc/CarrierSettings/movistar_co.pb
product/etc/CarrierSettings/movistar_es.pb
product/etc/CarrierSettings/movistar_mx.pb
product/etc/CarrierSettings/mucho_ch.pb
product/etc/CarrierSettings/mvnoconnect_us.pb
product/etc/CarrierSettings/nema_fo.pb
product/etc/CarrierSettings/netcomgroup_fr.pb
product/etc/CarrierSettings/nexphone_ch.pb
product/etc/CarrierSettings/nextech_us.pb
product/etc/CarrierSettings/no_sim.pb
product/etc/CarrierSettings/nos_pt.pb
product/etc/CarrierSettings/nova_gr.pb
product/etc/CarrierSettings/nova_is.pb
@@ -162,9 +208,12 @@ product/etc/CarrierSettings/o2postpaid_gb.pb
product/etc/CarrierSettings/o2prepaid_de.pb
product/etc/CarrierSettings/o2prepaid_gb.pb
product/etc/CarrierSettings/omantel_om.pb
product/etc/CarrierSettings/one_me.pb
product/etc/CarrierSettings/onecall_no.pb
product/etc/CarrierSettings/only_yt.pb
product/etc/CarrierSettings/ooredoo_kw.pb
product/etc/CarrierSettings/ooredoo_qa.pb
product/etc/CarrierSettings/optimera_us.pb
product/etc/CarrierSettings/optus_au.pb
product/etc/CarrierSettings/orange_be.pb
product/etc/CarrierSettings/orange_es.pb
@@ -182,18 +231,24 @@ product/etc/CarrierSettings/pcmobilebell_ca.pb
product/etc/CarrierSettings/pelephone_il.pb
product/etc/CarrierSettings/pepephone_es.pb
product/etc/CarrierSettings/play_pl.pb
product/etc/CarrierSettings/plintron_us.pb
product/etc/CarrierSettings/plus_pl.pb
product/etc/CarrierSettings/post_lu.pb
product/etc/CarrierSettings/postemobile_it.pb
product/etc/CarrierSettings/povo5gsa_jp.pb
product/etc/CarrierSettings/povo_jp.pb
product/etc/CarrierSettings/proximus_be.pb
product/etc/CarrierSettings/publicmobile_ca.pb
product/etc/CarrierSettings/pwg_us.pb
product/etc/CarrierSettings/qlink_us.pb
product/etc/CarrierSettings/r_es.pb
product/etc/CarrierSettings/racc_es.pb
product/etc/CarrierSettings/rakuten_jp.pb
product/etc/CarrierSettings/reachmobileatt_us.pb
product/etc/CarrierSettings/redpocketatt_us.pb
product/etc/CarrierSettings/redpockettmo_us.pb
product/etc/CarrierSettings/republicwireless_us.pb
product/etc/CarrierSettings/rjio_in.pb
product/etc/CarrierSettings/robi_bd.pb
product/etc/CarrierSettings/rogers5g_ca.pb
product/etc/CarrierSettings/rogers_ca.pb
product/etc/CarrierSettings/rogerswpn_ca.pb
@@ -210,34 +265,47 @@ product/etc/CarrierSettings/singtel_sg.pb
product/etc/CarrierSettings/skinny_nz.pb
product/etc/CarrierSettings/skt_kr.pb
product/etc/CarrierSettings/sky_gb.pb
product/etc/CarrierSettings/sky_ie.pb
product/etc/CarrierSettings/skylo_zz.pb
product/etc/CarrierSettings/smart_ph.pb
product/etc/CarrierSettings/smartfren_id.pb
product/etc/CarrierSettings/smartone_hk.pb
product/etc/CarrierSettings/smarty_gb.pb
product/etc/CarrierSettings/softbank_jp.pb
product/etc/CarrierSettings/solomobile_ca.pb
product/etc/CarrierSettings/spark_nz.pb
product/etc/CarrierSettings/spectrum_us.pb
product/etc/CarrierSettings/spectrummso_us.pb
product/etc/CarrierSettings/spectrummsotest_us.pb
product/etc/CarrierSettings/spmtelecom_pm.pb
product/etc/CarrierSettings/sprint_us.pb
product/etc/CarrierSettings/sprintprepaid_us.pb
product/etc/CarrierSettings/sprintwholesale_us.pb
product/etc/CarrierSettings/spusu_at.pb
product/etc/CarrierSettings/spusu_ch.pb
product/etc/CarrierSettings/spusu_gb.pb
product/etc/CarrierSettings/spusu_it.pb
product/etc/CarrierSettings/ssimobile_ca.pb
product/etc/CarrierSettings/starhub_sg.pb
product/etc/CarrierSettings/stc_bh.pb
product/etc/CarrierSettings/stc_kw.pb
product/etc/CarrierSettings/stc_sa.pb
product/etc/CarrierSettings/strata_us.pb
product/etc/CarrierSettings/sunrise_ch.pb
product/etc/CarrierSettings/superdrug_gb.pb
product/etc/CarrierSettings/sweno_es.pb
product/etc/CarrierSettings/swisscom_ch.pb
product/etc/CarrierSettings/swisscom_li.pb
product/etc/CarrierSettings/swisscommvno_ch.pb
product/etc/CarrierSettings/talkmobile_gb.pb
product/etc/CarrierSettings/tango_lu.pb
product/etc/CarrierSettings/tango_us.pb
product/etc/CarrierSettings/tbaytel_ca.pb
product/etc/CarrierSettings/tchibo_at.pb
product/etc/CarrierSettings/tchibo_de.pb
product/etc/CarrierSettings/tdc_dk.pb
product/etc/CarrierSettings/telavox_be.pb
product/etc/CarrierSettings/telavox_se.pb
product/etc/CarrierSettings/telcel_mx.pb
product/etc/CarrierSettings/telco_re.pb
product/etc/CarrierSettings/tele2_ee.pb
@@ -249,15 +317,18 @@ product/etc/CarrierSettings/telekom_de.pb
product/etc/CarrierSettings/telekom_gr.pb
product/etc/CarrierSettings/telekom_hr.pb
product/etc/CarrierSettings/telekom_hu.pb
product/etc/CarrierSettings/telekom_me.pb
product/etc/CarrierSettings/telekom_mk.pb
product/etc/CarrierSettings/telekom_pl.pb
product/etc/CarrierSettings/telekom_ro.pb
product/etc/CarrierSettings/telekom_si.pb
product/etc/CarrierSettings/telekom_sk.pb
product/etc/CarrierSettings/telemach_hr.pb
product/etc/CarrierSettings/telemach_si.pb
product/etc/CarrierSettings/telenet_be.pb
product/etc/CarrierSettings/telenor_dk.pb
product/etc/CarrierSettings/telenor_no.pb
product/etc/CarrierSettings/telenor_pk.pb
product/etc/CarrierSettings/telenor_se.pb
product/etc/CarrierSettings/telia_dk.pb
product/etc/CarrierSettings/telia_ee.pb
@@ -265,15 +336,21 @@ product/etc/CarrierSettings/telia_fi.pb
product/etc/CarrierSettings/telia_lt.pb
product/etc/CarrierSettings/telia_no.pb
product/etc/CarrierSettings/telia_se.pb
product/etc/CarrierSettings/telkomsel_id.pb
product/etc/CarrierSettings/tello_us.pb
product/etc/CarrierSettings/telstra_au.pb
product/etc/CarrierSettings/telus_ca.pb
product/etc/CarrierSettings/tesco_gb.pb
product/etc/CarrierSettings/test001_zz.pb
product/etc/CarrierSettings/three_dk.pb
product/etc/CarrierSettings/tigo_co.pb
product/etc/CarrierSettings/tim_br.pb
product/etc/CarrierSettings/tim_it.pb
product/etc/CarrierSettings/tmobile_at.pb
product/etc/CarrierSettings/tmobile_cz.pb
product/etc/CarrierSettings/tmobile_nl.pb
product/etc/CarrierSettings/tmobile_us.pb
product/etc/CarrierSettings/tmobileprivate_us.pb
product/etc/CarrierSettings/tmomvno_nl.pb
product/etc/CarrierSettings/tmomvno_us.pb
product/etc/CarrierSettings/tracfoneatt_us.pb
@@ -295,6 +372,7 @@ product/etc/CarrierSettings/ultra_us.pb
product/etc/CarrierSettings/umobile_my.pb
product/etc/CarrierSettings/unifi_my.pb
product/etc/CarrierSettings/unionwireless_us.pb
product/etc/CarrierSettings/unitedwireless_us.pb
product/etc/CarrierSettings/uqmobile5gsa_jp.pb
product/etc/CarrierSettings/uqmobile_jp.pb
product/etc/CarrierSettings/uscc_us.pb
@@ -302,6 +380,7 @@ product/etc/CarrierSettings/verizon_us.pb
product/etc/CarrierSettings/verymobile_it.pb
product/etc/CarrierSettings/viaero_us.pb
product/etc/CarrierSettings/videotron_ca.pb
product/etc/CarrierSettings/viettel_vn.pb
product/etc/CarrierSettings/vimla_se.pb
product/etc/CarrierSettings/vinaphone_vn.pb
product/etc/CarrierSettings/virgin_ca.pb
@@ -311,6 +390,8 @@ product/etc/CarrierSettings/virgintelco_es.pb
product/etc/CarrierSettings/visible_us.pb
product/etc/CarrierSettings/visiblev_us.pb
product/etc/CarrierSettings/viti_pf.pb
product/etc/CarrierSettings/vivacom_bg.pb
product/etc/CarrierSettings/vivo_br.pb
product/etc/CarrierSettings/vodafone_au.pb
product/etc/CarrierSettings/vodafone_cz.pb
product/etc/CarrierSettings/vodafone_de.pb
@@ -320,6 +401,7 @@ product/etc/CarrierSettings/vodafone_gr.pb
product/etc/CarrierSettings/vodafone_hu.pb
product/etc/CarrierSettings/vodafone_ie.pb
product/etc/CarrierSettings/vodafone_in.pb
product/etc/CarrierSettings/vodafone_is.pb
product/etc/CarrierSettings/vodafone_it.pb
product/etc/CarrierSettings/vodafone_nl.pb
product/etc/CarrierSettings/vodafone_nz.pb
@@ -328,10 +410,12 @@ product/etc/CarrierSettings/vodafone_pt.pb
product/etc/CarrierSettings/vodafone_qa.pb
product/etc/CarrierSettings/vodafone_ro.pb
product/etc/CarrierSettings/vodafone_tr.pb
product/etc/CarrierSettings/walmart_mx.pb
product/etc/CarrierSettings/webbing_hk.pb
product/etc/CarrierSettings/windtre_it.pb
product/etc/CarrierSettings/xfinity2_us.pb
product/etc/CarrierSettings/xfinity_us.pb
product/etc/CarrierSettings/xfinitymso_us.pb
product/etc/CarrierSettings/yes_my.pb
product/etc/CarrierSettings/yesss_at.pb
product/etc/CarrierSettings/yettel_bg.pb
@@ -341,3 +425,4 @@ product/etc/CarrierSettings/zain_bh.pb
product/etc/CarrierSettings/zain_kw.pb
product/etc/CarrierSettings/zain_sa.pb
product/etc/CarrierSettings/zeop_re.pb
product/etc/CarrierSettings/ztar_us.pb

File diff suppressed because it is too large Load Diff

View File

@@ -4,8 +4,8 @@
# AiAi
product/priv-app/AICorePrebuilt/AICorePrebuilt.apk;PRESIGNED
product/priv-app/DeviceIntelligenceNetworkPrebuilt-v.U.14.playstore/DeviceIntelligenceNetworkPrebuilt-v.U.14.playstore.apk;PRESIGNED
product/priv-app/DevicePersonalizationPrebuiltPixel2023-v.U.14.playstore/DevicePersonalizationPrebuiltPixel2023-v.U.14.playstore.apk;PRESIGNED
product/priv-app/DeviceIntelligenceNetworkPrebuilt-U.32_V.7_playstore_astrea_20240725.00_RC01/DeviceIntelligenceNetworkPrebuilt-U.32_V.7_playstore_astrea_20240725.00_RC01.apk;PRESIGNED
product/priv-app/DevicePersonalizationPrebuiltPixel2023-U.32_V.7_playstore_aiai_20240725.00_RC08/DevicePersonalizationPrebuiltPixel2023-U.32_V.7_playstore_aiai_20240725.00_RC08.apk;PRESIGNED
# Audio
product/etc/ambient/matcher_tah.leveldb
@@ -21,6 +21,11 @@ product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIG
product/etc/permissions/androidx.camera.extensions.impl.xml
product/priv-app/PixelCameraServices/PixelCameraServices.apk;PRESIGNED
# Camera services
product/etc/permissions/com.google.pixel.camera.connectivity.impl.xml
product/etc/permissions/com.google.pixel.camera.services.cameraidremapper.impl.xml
product/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.impl.xml
# Felica
product/etc/felica/common.cfg
product/etc/felica/mfm.cfg
@@ -62,7 +67,7 @@ product/etc/permissions/com.android.sdm.plugins.dcmo.xml
product/etc/permissions/com.android.sdm.plugins.diagmon.xml
product/lib64/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmengine.so
product/lib64/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmjavaplugin.so
product/priv-app/CarrierSettings_signed_45.0.591154042/CarrierSettings_signed_45.0.591154042.apk;PRESIGNED
product/priv-app/CarrierSettings_signed_51.0.707712815/CarrierSettings_signed_51.0.707712815.apk;PRESIGNED
product/priv-app/CarrierWifi/CarrierWifi.apk;PRESIGNED
product/priv-app/ConnMO/ConnMO.apk
product/priv-app/DCMO/DCMO.apk
@@ -87,14 +92,33 @@ product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
product/priv-app/OemDmTrigger/OemDmTrigger.apk
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
# system partition
# IMS
system/bin/oem-iptables-init.sh
# system_ext partition
# Audio
system_ext/bin/hw/vendor.google.whitechapel.audio.hal.parserservice
system_ext/etc/init/vendor.google.whitechapel.audio.hal.parserservice.rc
# Camera extensions
system_ext/etc/permissions/com.google.android.camera.extensions.xml
system_ext/etc/permissions/com.google.android.camerax.extensions.xml
system_ext/framework/com.google.android.camera.extensions.jar
system_ext/framework/com.google.android.camerax.extensions.jar
# Camera services
system_ext/app/PersistentBackgroundCameraServices/PersistentBackgroundCameraServices.apk
system_ext/etc/permissions/com.google.pixel.camera.connectivity.xml
system_ext/etc/permissions/com.google.pixel.camera.services.cameraidremapper.xml
system_ext/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.xml
system_ext/etc/vintf/manifest/com.google.pixel.camera.services@1.0-service-google.xml
system_ext/framework/com.google.pixel.camera.connectivity.jar
system_ext/framework/com.google.pixel.camera.services.cameraidremapper.jar
system_ext/framework/com.google.pixel.camera.services.lyricconfigprovider.jar
# Display
system_ext/lib64/libpixeldisplaymanager_jni.so;SYMLINK=system_ext/priv-app/PixelDisplayService/lib/arm64/libpixeldisplaymanager_jni.so
system_ext/priv-app/PixelDisplayService/PixelDisplayService.apk
@@ -104,9 +128,8 @@ system_ext/bin/hw/vendor.google.edgetpu_app_service@1.0-service
system_ext/etc/init/vendor.google.edgetpu_app_service@1.0-service.rc
system_ext/etc/public.libraries-google.txt
system_ext/etc/vintf/manifest/vendor.google.edgetpu_app_service@1.0-service.xml
system_ext/lib64/com.google.edgetpu_app_service-V3-ndk.so
system_ext/lib64/com.google.edgetpu_app_service-V4-ndk.so
system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
system_ext/lib64/libedgetpu_dba.google.so
# Hotword
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
@@ -117,10 +140,19 @@ system_ext/etc/permissions/com.android.qns.xml
system_ext/etc/permissions/com.shannon.imsservice.xml
system_ext/etc/permissions/com.shannon.rcsservice.xml
system_ext/lib64/libmediaadaptor.so
system_ext/lib64/libpixelimsmedia.so
system_ext/lib64/vendor.google.whitechapel.audio.audioext@4.0.so
system_ext/lib64/vendor.google.whitechapel.audio.extension-V4-ndk.so
system_ext/priv-app/PixelImsMediaService/PixelImsMediaService.apk
system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# IWLAN
system_ext/etc/permissions/privapp-permlist_com.google.pixel.iwlan.xml
system_ext/etc/sysconfig/sysconfig_com.google.pixel.iwlan.xml
system_ext/priv-app/PixelIwlan/PixelIwlan.apk
# Permissions
system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml
@@ -137,6 +169,7 @@ system_ext/priv-app/CarrierSetup/CarrierSetup.apk;PRESIGNED
system_ext/priv-app/ConnectivityThermalPowerManager/ConnectivityThermalPowerManager.apk
system_ext/priv-app/EuiccGoogleOverlay/EuiccGoogleOverlay.apk
system_ext/priv-app/EuiccSupportPixel-P23/EuiccSupportPixel-P23.apk;PRESIGNED
system_ext/priv-app/EuiccSupportPixel-P23/SUSA_RC2_23.up
system_ext/priv-app/EuiccSupportPixel-P23/esim-full-v1-m40.img
system_ext/priv-app/EuiccSupportPixel-P23/esim-full-v1-m41.img
system_ext/priv-app/EuiccSupportPixel-P23/esim-full-v1.img

View File

@@ -30,7 +30,7 @@
<item>37</item>
</integer-array>
<integer-array name="antenna_y">
<item>103</item>
<item>55</item>
</integer-array>
<bool name="nfc_observe_mode_supported">true</bool>
</resources>

View File

@@ -0,0 +1,9 @@
//
// Copyright (C) 2024 The Android Open Source Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "PixelDisplayServiceOverlayHusky",
product_specific: true,
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.pixeldisplayservice.overlay.husky">
<overlay
android:isStatic="true"
android:priority="1"
android:targetPackage="com.android.pixeldisplayservice" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 KiB

View File

@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<array name="config_za_compensation_brightness_thresholds_list">
<item>@array/config_za_primary_display_brightness_thresholds_list</item>
</array>
<array name="config_za_compensation_images_list">
<item>@array/config_za_primary_display_compensation_images_list</item>
</array>
<array name="config_za_compensation_opr_thresholds">
<item>0.17</item>
<item>0.4</item>
</array>
<array name="config_za_primary_display_brightness_thresholds_list">
<item>@array/config_za_primary_display_condition1_brightness_thresholds</item>
<item>@array/config_za_primary_display_condition2_brightness_thresholds</item>
</array>
<array name="config_za_primary_display_compensation_images_list">
<item>@array/config_za_primary_display_condition1_compensation_images</item>
<item>@array/config_za_primary_display_condition2_compensation_images</item>
</array>
<array name="config_za_primary_display_condition1_brightness_thresholds">
<item>0.53125</item>
<item>0.546875</item>
<item>0.5625</item>
<item>0.578125</item>
<item>0.59375</item>
<item>0.671875</item>
<item>0.75</item>
<item>0.8125</item>
<item>0.875</item>
<item>0.9375</item>
<item>1.0</item>
</array>
<array name="config_za_primary_display_condition1_compensation_images">
<item>@drawable/ZACI_2_ZA9128</item>
<item>@drawable/ZACI_3_ZA8941</item>
<item>@drawable/ZACI_4_ZA8755</item>
<item>@drawable/ZACI_5_ZA8476</item>
<item>@drawable/ZACI_7_ZA8197</item>
<item>@drawable/ZACI_9_ZA8010</item>
<item>@drawable/ZACI_10_ZA7824</item>
<item>@drawable/ZACI_11_ZA7638</item>
<item>@drawable/ZACI_13_ZA7359</item>
<item>@drawable/ZACI_15_ZA7079</item>
<item>@drawable/ZACI_17_ZA6800</item>
</array>
<array name="config_za_primary_display_condition2_brightness_thresholds">
<item>0.53125</item>
<item>0.578125</item>
<item>0.625</item>
<item>0.65625</item>
<item>0.6875</item>
<item>0.71875</item>
<item>0.75</item>
<item>0.8125</item>
<item>0.828125</item>
<item>0.84375</item>
<item>0.859375</item>
<item>0.875</item>
<item>0.890625</item>
<item>0.90625</item>
<item>0.921875</item>
<item>0.9375</item>
<item>0.96875</item>
<item>1.0</item>
</array>
<array name="config_za_primary_display_condition2_compensation_images">
<item>@drawable/ZACI_0_ZA9595</item>
<item>@drawable/ZACI_1_ZA9314</item>
<item>@drawable/ZACI_2_ZA9128</item>
<item>@drawable/ZACI_3_ZA8941</item>
<item>@drawable/ZACI_4_ZA8755</item>
<item>@drawable/ZACI_5_ZA8476</item>
<item>@drawable/ZACI_6_ZA8383</item>
<item>@drawable/ZACI_7_ZA8197</item>
<item>@drawable/ZACI_8_ZA8103</item>
<item>@drawable/ZACI_9_ZA8010</item>
<item>@drawable/ZACI_10_ZA7824</item>
<item>@drawable/ZACI_11_ZA7638</item>
<item>@drawable/ZACI_12_ZA7452</item>
<item>@drawable/ZACI_13_ZA7359</item>
<item>@drawable/ZACI_14_ZA7266</item>
<item>@drawable/ZACI_15_ZA7079</item>
<item>@drawable/ZACI_16_ZA6893</item>
<item>@drawable/ZACI_17_ZA6800</item>
</array>
<bool name="config_compensation_animation_enabled">true</bool>
<item type="dimen" name="config_compensation_filter_intercept">10.0</item>
<item type="dimen" name="config_za_compensation_brightness_enter_threshold">0.5</item>
<integer name="config_ambient_brightness_changed_debounce_ms">500</integer>
<integer name="config_compensation_filter_horizon">1500</integer>
</resources>

View File

@@ -30,4 +30,12 @@
* When previously foreground 3p apps moves to background, sessions are not terminated
-->
<bool name = "background_ranging_enabled">true</bool>
<!-- Whether multicast list update notification v2 is supported or not.
If enabled, the notification will be parsed into version 2 if uci major version is 2.0. -->
<bool name = "is_multicast_list_update_ntf_v2_supported">true</bool>
<!-- Whether multicast list update response v2 is supported or not.
If enabled, the response will be parsed into version 2 if uci major version is 2.0. -->
<bool name = "is_multicast_list_update_rsp_v2_supported">true</bool>
</resources>

1
husky/setup-makefiles.py Executable file
View File

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

View File

@@ -1,82 +0,0 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=husky
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
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}"
function vendor_imports() {
cat <<EOF >>"$1"
"device/google/shusky",
"hardware/google/av",
"hardware/google/gchips",
"hardware/google/graphics/common",
"hardware/google/interfaces",
"hardware/google/pixel",
EOF
}
function lib_to_package_fixup_vendor_variants() {
if [ "$2" != "vendor" ]; then
return 1
fi
case "$1" in
com.google.edgetpu_app_service-V3-ndk | \
com.google.edgetpu_vendor_service-V2-ndk)
echo "$1-vendor"
;;
libprotobuf-cpp-full-21.12)
echo "libprotobuf-cpp-full"
;;
libprotobuf-cpp-lite-21.12)
echo "libprotobuf-cpp-lite"
;;
libacryl | \
libexynosv4l2) ;;
*)
return 1
;;
esac
}
function lib_to_package_fixup() {
lib_to_package_fixup_clang_rt_ubsan_standalone "$1" ||
lib_to_package_fixup_proto_3_9_1 "$1" ||
lib_to_package_fixup_vendor_variants "$@"
}
# Initialize the helper
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"
# Warning headers and guards
write_headers
write_makefiles "${MY_DIR}/proprietary-files.txt"
write_makefiles "${MY_DIR}/proprietary-files-carriersettings.txt"
write_makefiles "${MY_DIR}/proprietary-files-vendor.txt"
append_firmware_calls_to_makefiles "${MY_DIR}/proprietary-firmware.txt"
# Finish
write_footers

View File

@@ -5,6 +5,7 @@ bin/acpi
bin/awk
bin/base64
bin/basename
bin/blkdiscard
bin/blockdev
bin/boringssl_self_test64
bin/brctl
@@ -22,11 +23,13 @@ bin/cksum
bin/clear
bin/cmp
bin/comm
bin/copy_efs_files_to_data
bin/cp
bin/cpio
bin/cut
bin/date
bin/dd
bin/defrag.f2fs
bin/devmem
bin/df
bin/diff
@@ -34,12 +37,13 @@ bin/dirname
bin/dmesg
bin/dos2unix
bin/du
bin/dump.f2fs
bin/dump/dump_aoc
bin/dump/dump_devfreq
bin/dump/dump_display
bin/dump/dump_display_logbuffer
bin/dump/dump_gti0.sh
bin/dump/dump_modem.sh
bin/dump/dump_fingerprint
bin/dump/dump_modem
bin/dump/dump_modemlog
bin/dump/dump_pcie.sh
bin/dump/dump_perf
@@ -47,12 +51,14 @@ bin/dump/dump_pixel_metrics
bin/dump/dump_power
bin/dump/dump_sensors
bin/dump/dump_soc
bin/dump/dump_stm.sh
bin/dump/dump_storage
bin/dump/dump_thermal.sh
bin/dump/dump_touch.sh
bin/dump/dump_trusty.sh
bin/dump/dump_umfw_stat
bin/dump/dump_wlan.sh
bin/dump_touch/predump_gti0.sh
bin/dump_touch/predump_stm.sh
bin/dumpsys
bin/echo
bin/egrep
@@ -67,11 +73,13 @@ bin/find
bin/flock
bin/fmt
bin/free
bin/fsck.f2fs
bin/fsync
bin/getconf
bin/getenforce
bin/getevent
bin/getfattr
bin/getopt
bin/getprop
bin/gpiodetect
bin/gpiofind
@@ -85,13 +93,12 @@ bin/gunzip
bin/gzip
bin/head
bin/hostname
bin/hw/android.hardware.audio.service
bin/hw/android.hardware.boot-service.default-pixel
bin/hw/android.hardware.composer.hwc3-service.pixel
bin/hw/android.hardware.drm-service.clearkey
bin/hw/android.hardware.dumpstate-service
bin/hw/android.hardware.gatekeeper-service.trusty
bin/hw/android.hardware.graphics.allocator-V1-service
bin/hw/android.hardware.graphics.allocator-V2-service
bin/hw/android.hardware.health-service.zuma
bin/hw/android.hardware.health.storage-service.default
bin/hw/android.hardware.memtrack-service.pixel
@@ -100,11 +107,11 @@ bin/hw/android.hardware.power-service.pixel-libperfmgr
bin/hw/android.hardware.power.stats-service.pixel
bin/hw/android.hardware.secure_element-service.thales
bin/hw/android.hardware.security.keymint-service.rust.trusty
bin/hw/android.hardware.security.secretkeeper.trusty
bin/hw/android.hardware.sensors-service.multihal
bin/hw/android.hardware.thermal-service.pixel
bin/hw/android.hardware.usb-service
bin/hw/android.hardware.usb.gadget-service
bin/hw/android.hardware.vibrator-service.cs40l26
bin/hw/android.hardware.wifi-service
bin/hw/disable_contaminant_detection.sh
bin/hw/hostapd
@@ -170,6 +177,7 @@ bin/pidof
bin/pixelstats-vendor
bin/pkill
bin/pmap
bin/predump_touch.sh
bin/printenv
bin/printf
bin/ps
@@ -179,6 +187,7 @@ bin/readlink
bin/realpath
bin/rebalance_interrupts-vendor
bin/renice
bin/resize.f2fs
bin/restorecon
bin/rm
bin/rmdir
@@ -224,6 +233,7 @@ bin/timeout
bin/toolbox
bin/top
bin/touch
bin/touch_gti_ical
bin/toybox_vendor
bin/tr
bin/true
@@ -255,14 +265,12 @@ bin/xargs
bin/xxd
bin/yes
bin/zcat
boot_otas/boot_ota_16k.zip
boot_otas/boot_ota_4k.zip
build.prop
etc/NOTICE.xml.gz
etc/a2dp_audio_policy_configuration_7_0.xml
etc/a2dp_in_audio_policy_configuration_7_0.xml
etc/aconfig_flags.pb
etc/aidl/le_audio/aidl_audio_set_configurations.bfbs
etc/aidl/le_audio/aidl_audio_set_configurations.json
etc/aidl/le_audio/aidl_audio_set_scenarios.bfbs
etc/aidl/le_audio/aidl_audio_set_scenarios.json
etc/aoc/BLUETOOTH.dat
etc/aoc/HANDSET.dat
@@ -272,16 +280,9 @@ etc/aoc/mcps.dat
etc/aoc/recording.gatf
etc/aoc/smartfeature.gstf
etc/atrace/atrace_categories.txt
etc/audio_effects.xml
etc/audio_platform_configuration.xml
etc/audio_policy_configuration.xml
etc/audio_policy_configuration_a2dp_offload_disabled.xml
etc/audio_policy_configuration_bluetooth_legacy_hal.xml
etc/audio_policy_configuration_le_offload_disabled.xml
etc/audio_policy_volumes.xml
etc/avf/assignable_devices.xml
etc/bluetooth/bt_vendor_overlay.conf
etc/bluetooth_audio_policy_configuration_7_0.xml
etc/bluetooth_power_limits.csv
etc/bluetooth_power_limits_CA.csv
etc/bluetooth_power_limits_EU.csv
@@ -292,6 +293,7 @@ etc/boringssl_self_test.no_zygote.rc
etc/boringssl_self_test.zygote32.rc
etc/boringssl_self_test.zygote64.rc
etc/boringssl_self_test.zygote64_32.rc
etc/bpf/filterPowerSupplyEvents.o
etc/build_flags.json
etc/default_volume_tables.xml
etc/display_colordata_cal0.pb
@@ -301,6 +303,8 @@ etc/display_golden_external_display_cal2.pb
etc/display_golden_google-hk3_cal0.pb
etc/fs_config_dirs
etc/fs_config_files
etc/fstab.efs
etc/fstab.efs.from_data
etc/fstab.modem
etc/fstab.persist
etc/fstab.zram.2g
@@ -320,41 +324,51 @@ etc/gnss/gps.xml
etc/gnss/lhd.conf
etc/gnss/scd.conf
etc/group
etc/hearing_aid_audio_policy_configuration_7_0.xml
etc/init.common.cfg
etc/init/android.hardware.audio.service.rc
etc/init/android.hardware.boot-service.default-pixel.rc
etc/init/android.hardware.drm-service.clearkey.rc
etc/init/android.hardware.dumpstate-service.rc
etc/init/android.hardware.gatekeeper-service.trusty.rc
etc/init/android.hardware.graphics.allocator-aidl-service.rc
etc/init/android.hardware.graphics.allocator2-aidl-service.rc
etc/init/android.hardware.health-service.zuma.rc
etc/init/android.hardware.power-service.pixel-libperfmgr.rc
etc/init/android.hardware.power.stats-service.pixel.rc
etc/init/android.hardware.secure_element_gto.rc
etc/init/android.hardware.security.keymint-service.rust.trusty.rc
etc/init/android.hardware.security.secretkeeper.trusty.rc
etc/init/android.hardware.sensors-service-multihal.rc
etc/init/android.hardware.thermal-service.pixel.rc
etc/init/android.hardware.usb-service.rc
etc/init/android.hardware.usb.gadget-service.rc
etc/init/android.hardware.vibrator-service.cs40l26.rc
etc/init/android.hardware.wifi-service.rc
etc/init/android.hardware.wifi.supplicant-service.rc
etc/init/atrace_categories.rc
etc/init/boringssl_self_test.rc
etc/init/dump_power.rc
etc/init/gpu_probe.rc
etc/init/health-storage-default.rc
etc/init/hostapd.android.rc
etc/init/hw/init.husky.rc
etc/init/hw/init.zuma.rc
etc/init/hw/init.zuma.storage.rc
etc/init/hw/init.zuma.usb.rc
etc/init/hwc3-pixel.rc
etc/init/init.aoc.rc
etc/init/init.display_logbuffer.rc
etc/init/init.efs.rc
etc/init/init.fingerprint.dump.rc
etc/init/init.module.rc
etc/init/init.persist.rc
etc/init/init.pixel-mm-gs.rc
etc/init/init.pixel-perf.rc
etc/init/init.pixel.rc
etc/init/init.power-gs.rc
etc/init/init.storage.rc
etc/init/init.touch.gti0.rc
etc/init/init.touch.predump.rc
etc/init/libg3a_gabc.rc
etc/init/libg3a_gaf.rc
etc/init/libg3a_ghawb.rc
etc/init/memtrack.rc
etc/init/nfc-service-default.rc
etc/init/pixel-mm-gki.rc
@@ -363,6 +377,9 @@ etc/init/pixelstats-vendor.zuma.rc
etc/init/rebalance_interrupts-vendor.gs101.rc
etc/init/vndservicemanager.rc
etc/le_audio_codec_capabilities.xml
etc/libg3a_standalone_gabc_rc
etc/libg3a_standalone_gaf_rc
etc/libg3a_standalone_ghawb_rc
etc/libnfc-hal-st.conf
etc/libse-gto-hal.conf
etc/linker.config.pb
@@ -370,7 +387,7 @@ etc/media_codecs.xml
etc/media_codecs_c2.xml
etc/media_codecs_performance.xml
etc/media_codecs_performance_c2.xml
etc/mixer_paths.xml
etc/mixer_paths_aidl.xml
etc/mkshrc
etc/modem/Pixel_stability.cfg
etc/modem/Pixel_stability.nprf
@@ -397,7 +414,7 @@ etc/permissions/android.hardware.camera.full.xml
etc/permissions/android.hardware.camera.raw.xml
etc/permissions/android.hardware.context_hub.xml
etc/permissions/android.hardware.device_unique_attestation.xml
etc/permissions/android.hardware.hardware_keystore.xml
etc/permissions/android.hardware.hardware_keystore_V3.xml
etc/permissions/android.hardware.keystore.app_attest_key.xml
etc/permissions/android.hardware.location.gps.prebuilt.xml
etc/permissions/android.hardware.nfc.ese.xml
@@ -429,7 +446,6 @@ etc/permissions/android.hardware.wifi.direct.xml
etc/permissions/android.hardware.wifi.passpoint.xml
etc/permissions/android.hardware.wifi.rtt.xml
etc/permissions/android.hardware.wifi.xml
etc/permissions/android.software.contextualsearch.xml
etc/permissions/android.software.device_id_attestation.xml
etc/permissions/android.software.ipsec_tunnel_migration.xml
etc/permissions/android.software.ipsec_tunnels.xml
@@ -439,10 +455,10 @@ etc/permissions/android.software.verified_boot.xml
etc/permissions/android.software.vulkan.deqp.level.xml
etc/permissions/aosp_excluded_hardware.xml
etc/permissions/com.nxp.mifare.xml
etc/permissions/features_com.android.virt.xml
etc/permissions/handheld_core_hardware.xml
etc/permissions/vendor.android.hardware.camera.preview-dis.xml
etc/powerhint.json
etc/r_submix_audio_policy_configuration.xml
etc/radio/log_masks/default/default_modem_log_mask.cfg
etc/radio/log_masks/default/default_modem_log_mask.conf
etc/radio/log_masks/default/default_modem_log_mask.nprf
@@ -452,6 +468,7 @@ etc/radio/log_masks/empty/empty_modem_log_mask.conf
etc/radio/log_masks/empty/empty_modem_log_mask.nprf
etc/radio/log_masks/empty/empty_modem_log_mask.xml
etc/radio/log_masks/lassen_default/lassen_default.conf
etc/selinux/genfs_labels_version.txt
etc/selinux/plat_pub_versioned.cil
etc/selinux/plat_sepolicy_vers.txt
etc/selinux/precompiled_sepolicy
@@ -461,19 +478,22 @@ etc/selinux/precompiled_sepolicy.system_ext_sepolicy_and_mapping.sha256
etc/selinux/selinux_denial_metadata
etc/selinux/vendor_file_contexts
etc/selinux/vendor_hwservice_contexts
etc/selinux/vendor_keystore2_key_contexts
etc/selinux/vendor_mac_permissions.xml
etc/selinux/vendor_property_contexts
etc/selinux/vendor_seapp_contexts
etc/selinux/vendor_sepolicy.cil
etc/selinux/vendor_service_contexts
etc/selinux/vndservice_contexts
etc/sound_trigger_configuration.xml
etc/spatializer/base
etc/spatializer/mode_2_ch
etc/spatializer/mode_6_ch
etc/spatializer/mode_xaural
etc/sysconfig/component-overrides.xml
etc/task_profiles.json
etc/thermal_info_config.json
etc/thermal_info_config_charge.json
etc/ueventd.rc
etc/usb_audio_policy_configuration.xml
etc/uwb/calibration-CE.conf
etc/uwb/calibration-FCC.conf
etc/uwb/calibration-JP.conf
@@ -492,18 +512,18 @@ etc/vintf/manifest/android.hardware.power-service.pixel.xml
etc/vintf/manifest/android.hardware.power.stats-service.pixel.xml
etc/vintf/manifest/android.hardware.secure_element_gto.xml
etc/vintf/manifest/android.hardware.security.keymint-service.rust.trusty.xml
etc/vintf/manifest/android.hardware.security.secretkeeper.trusty.xml
etc/vintf/manifest/android.hardware.sensors-multihal.xml
etc/vintf/manifest/android.hardware.thermal-service.pixel.xml
etc/vintf/manifest/android.hardware.usb-service.xml
etc/vintf/manifest/android.hardware.usb.gadget-service.xml
etc/vintf/manifest/android.hardware.vibrator-service.cs40l26.xml
etc/vintf/manifest/android.hardware.wifi-service.xml
etc/vintf/manifest/android.hardware.wifi.hostapd.xml
etc/vintf/manifest/android.hardware.wifi.supplicant.xml
etc/vintf/manifest/bluetooth_audio.xml
etc/vintf/manifest/health-storage-default.xml
etc/vintf/manifest/hwc3-default.xml
etc/vintf/manifest/manifest_gralloc_aidl.xml
etc/vintf/manifest/manifest.xml
etc/vintf/manifest/manifest_gralloc_aidl2.xml
etc/vintf/manifest/memtrack.xml
etc/vintf/manifest/nfc-service-default.xml
etc/vintf/manifest/pixel-display-default.xml
@@ -535,6 +555,7 @@ lib/modules/aoc_unit_test_dev.ko
lib/modules/aoc_uwb_platform_drv.ko
lib/modules/aoc_uwb_service_dev.ko
lib/modules/arm_dsu_pmu.ko
lib/modules/bbd_pps_gpio.ko
lib/modules/bcm_dbg.ko
lib/modules/bcmdhd4398.ko
lib/modules/cfg80211.ko
@@ -543,11 +564,13 @@ lib/modules/cp_thermal_zone.ko
lib/modules/cs40l26-core.ko
lib/modules/cs40l26-i2c.ko
lib/modules/dbgcore-dump.ko
lib/modules/exynos-seclog.ko
lib/modules/ftm5.ko
lib/modules/gnss_spi.ko
lib/modules/gnssif.ko
lib/modules/goodix_brl_touch.ko
lib/modules/goodixfp.ko
lib/modules/goog_touch_interface.ko
lib/modules/google_ccd.ko
lib/modules/google_dock.ko
lib/modules/google_dual_batt_gauge.ko
lib/modules/gxp.ko
@@ -559,6 +582,7 @@ lib/modules/mali_kutf.ko
lib/modules/mali_kutf_clk_rate_trace_test_portal.ko
lib/modules/max77729_charger.ko
lib/modules/max77729_uic.ko
lib/modules/max77779-fwupdate.ko
lib/modules/modules.alias
lib/modules/modules.blocklist
lib/modules/modules.dep
@@ -569,6 +593,8 @@ lib/modules/panel-boe-nt37290.ko
lib/modules/pinctrl-slg51002.ko
lib/modules/qm35.ko
lib/modules/rio.ko
lib/modules/rt6160-regulator.ko
lib/modules/rt9471_charger.ko
lib/modules/sec_touch.ko
lib/modules/snd-soc-cs35l41-i2c.ko
lib/modules/snd-soc-cs35l41-spi.ko
@@ -576,52 +602,35 @@ lib/modules/snd-soc-cs35l41.ko
lib/modules/snd-soc-cs40l26.ko
lib/modules/snd-soc-wm-adsp.ko
lib/modules/softdog.ko
lib/modules/sscoredump_sample_test.ko
lib/modules/sscoredump_test.ko
lib/modules/st33spi.ko
lib/modules/stmvl53l1.ko
lib/modules/vh_preemptirq_long.ko
lib/modules/wlan_ptracker.ko
lib64/PixelVibratorFlagsL26.so
lib64/PixelVibratorStats.so
lib64/android.frameworks.sensorservice-V1-ndk.so
lib64/android.frameworks.stats-V1-ndk.so
lib64/android.frameworks.stats-V2-ndk.so
lib64/android.hardware.audio.common-V3-ndk.so
lib64/android.hardware.audio.common-util.so
lib64/android.hardware.audio.common@2.0.so
lib64/android.hardware.audio.common@5.0.so
lib64/android.hardware.audio.common@7.0-enums.so
lib64/android.hardware.audio.common@7.0-util.so
lib64/android.hardware.audio.common@7.0.so
lib64/android.hardware.audio.common@7.1-enums.so
lib64/android.hardware.audio.common@7.1-util.so
lib64/android.hardware.audio.effect@7.0-util.so
lib64/android.hardware.audio.effect@7.0.so
lib64/android.hardware.audio@7.0.so
lib64/android.hardware.audio@7.1-util.so
lib64/android.hardware.audio@7.1.so
lib64/android.hardware.bluetooth.audio-V4-ndk.so
lib64/android.hardware.bluetooth.audio-impl.so
lib64/android.hardware.bluetooth.audio@2.0.so
lib64/android.hardware.bluetooth.audio@2.1.so
lib64/android.hardware.audio.common-V4-ndk.so
lib64/android.hardware.audio.effect-V3-ndk.so
lib64/android.hardware.boot-V1-ndk.so
lib64/android.hardware.boot@1.0.so
lib64/android.hardware.boot@1.1.so
lib64/android.hardware.common-V2-ndk.so
lib64/android.hardware.common.fmq-V1-ndk.so
lib64/android.hardware.drm-V1-ndk.so
lib64/android.hardware.drm.common-V1-ndk.so
lib64/android.hardware.dumpstate-V1-ndk.so
lib64/android.hardware.gatekeeper-V1-ndk.so
lib64/android.hardware.graphics.allocator-V1-ndk.so
lib64/android.hardware.graphics.allocator-V2-ndk.so
lib64/android.hardware.graphics.allocator@2.0.so
lib64/android.hardware.graphics.allocator@3.0.so
lib64/android.hardware.graphics.allocator@4.0.so
lib64/android.hardware.graphics.common-V3-ndk.so
lib64/android.hardware.graphics.common-V5-ndk.so
lib64/android.hardware.graphics.common-V6-ndk.so
lib64/android.hardware.graphics.common@1.0.so
lib64/android.hardware.graphics.common@1.1.so
lib64/android.hardware.graphics.common@1.2.so
lib64/android.hardware.graphics.composer3-V3-ndk.so
lib64/android.hardware.graphics.composer3-V4-ndk.so
lib64/android.hardware.graphics.composer@2.1-resources.so
lib64/android.hardware.graphics.composer@2.1.so
lib64/android.hardware.graphics.composer@2.2-resources.so
@@ -632,13 +641,13 @@ lib64/android.hardware.graphics.mapper@2.0.so
lib64/android.hardware.graphics.mapper@2.1.so
lib64/android.hardware.graphics.mapper@3.0.so
lib64/android.hardware.graphics.mapper@4.0.so
lib64/android.hardware.health-V3-ndk.so
lib64/android.hardware.health-V4-ndk.so
lib64/android.hardware.health.storage-V1-ndk.so
lib64/android.hardware.memtrack-V1-ndk.so
lib64/android.hardware.nfc-V1-ndk.so
lib64/android.hardware.power-V1-ndk.so
lib64/android.hardware.power-V2-ndk.so
lib64/android.hardware.power-V5-ndk.so
lib64/android.hardware.power-V6-ndk.so
lib64/android.hardware.power.stats-V2-ndk.so
lib64/android.hardware.power.stats-impl.gs-common.so
lib64/android.hardware.power.stats-impl.pixel.so
@@ -648,71 +657,54 @@ lib64/android.hardware.radio@1.1.so
lib64/android.hardware.secure_element-V1-ndk.so
lib64/android.hardware.secure_element.thales.libse.so
lib64/android.hardware.security.keymint-V1-ndk.so
lib64/android.hardware.security.keymint-V3-ndk.so
lib64/android.hardware.security.keymint-V4-ndk.so
lib64/android.hardware.security.secureclock-V1-ndk.so
lib64/android.hardware.sensors-V2-ndk.so
lib64/android.hardware.sensors-V3-ndk.so
lib64/android.hardware.sensors@1.0.so
lib64/android.hardware.sensors@2.0-ScopedWakelock.so
lib64/android.hardware.sensors@2.0.so
lib64/android.hardware.sensors@2.1.so
lib64/android.hardware.soundtrigger@2.0-core.so
lib64/android.hardware.soundtrigger@2.0.so
lib64/android.hardware.soundtrigger@2.1.so
lib64/android.hardware.soundtrigger@2.2.so
lib64/android.hardware.soundtrigger@2.3.so
lib64/android.hardware.thermal-V1-ndk.so
lib64/android.hardware.thermal-V2-ndk.so
lib64/android.hardware.thermal-V3-ndk.so
lib64/android.hardware.thermal@1.0.so
lib64/android.hardware.thermal@2.0.so
lib64/android.hardware.usb-V3-ndk.so
lib64/android.hardware.usb.gadget-V1-ndk.so
lib64/android.hardware.usb.gadget@1.0.so
lib64/android.hardware.vibrator-V2-ndk.so
lib64/android.hardware.wifi-V2-ndk.so
lib64/android.hardware.wifi.common-V1-ndk.so
lib64/android.hardware.wifi.hostapd-V2-ndk.so
lib64/android.hardware.wifi.supplicant-V3-ndk.so
lib64/android.hidl.allocator@1.0.so
lib64/android.hidl.memory.token@1.0.so
lib64/android.hardware.wifi-V3-ndk.so
lib64/android.hardware.wifi.common-V2-ndk.so
lib64/android.hardware.wifi.hostapd-V3-ndk.so
lib64/android.hardware.wifi.supplicant-V4-ndk.so
lib64/android.hidl.memory@1.0.so
lib64/android.hidl.safe_union@1.0.so
lib64/android.media.audio.common.types-V3-ndk.so
lib64/android.media.audio.common.types-V4-ndk.so
lib64/android.media.audio.eraser.types-V1-ndk.so
lib64/android.system.keystore2-V1-ndk.so
lib64/android.system.suspend-V1-ndk.so
lib64/arm.graphics-V1-ndk.so
lib64/com.google.hardware.pixel.display-V10-ndk.so
lib64/hw/android.hardware.audio.effect@7.0-impl.so
lib64/hw/android.hardware.audio@7.1-impl.so
lib64/com.google.hardware.pixel.display-V13-ndk.so
lib64/hw/android.hardware.graphics.allocator-aidl-impl.so
lib64/hw/android.hardware.graphics.mapper@4.0-impl.so
lib64/hw/android.hardware.soundtrigger@2.3-impl.so
lib64/hw/android.hardware.vibrator-impl.cs40l26.so
lib64/hw/android.hidl.memory@1.0-impl.so
lib64/hw/audio.bluetooth.default.so
lib64/hw/audio.primary.default.so
lib64/hw/audio.r_submix.default.so
lib64/hw/audio.usb.default.so
lib64/hw/audio.usbv2.default.so
lib64/hw/gralloc.default.so
lib64/hw/local_time.default.so
lib64/hw/mapper.pixel.so
lib64/hw/power.default.so
lib64/hw/vibrator.default.so
lib64/libExynosHWCService.so
lib64/libOpenCL.so
lib64/libaconfig_storage_read_api_cc.so
lib64/libacryl.so
lib64/libacryl_hdr_plugin.so
lib64/libalsautils.so
lib64/libalsautilsv2.so
lib64/libandroid_log_sys.dylib.so
lib64/libandroid_logger.dylib.so
lib64/libaudio_aidl_conversion_common_ndk.so
lib64/libaudioaidlcommon.so
lib64/libaudioutils.so
lib64/libbase.so
lib64/libbinder.so
lib64/libbinderdebug.so
lib64/libbluetooth_audio_session.so
lib64/libbluetooth_audio_session_aidl.so
lib64/libc++.so
lib64/libcfg_if.dylib.so
lib64/libclang_rt.ubsan_standalone-aarch64-android.so
lib64/libcrypto.so
lib64/libcutils.so
lib64/libdisppower-pixel.so
@@ -724,15 +716,14 @@ lib64/libdumpstateutil.so
lib64/libeffects.so
lib64/libeffectsconfig.so
lib64/libenv_logger.dylib.so
lib64/libext2_uuid.so
lib64/libexynosdisplay.so
lib64/libflatbuffers-cpp.so
lib64/libfmq.so
lib64/libgatekeeper.so
lib64/libgralloctypes.so
lib64/libhardware.so
lib64/libhardware_legacy.so
lib64/libhidlbase.so
lib64/libhidlmemory.so
lib64/libhwjpeg.so
lib64/libion_google.so
lib64/libjsoncpp.so
@@ -740,10 +731,7 @@ lib64/libkeystore-engine-wifi-hidl.so
lib64/liblibloading.dylib.so
lib64/liblog_rust.dylib.so
lib64/libmedia_helper.so
lib64/libmediautils_vendor.so
lib64/libmemtrack-pixel.so
lib64/libmemunreachable.so
lib64/libnbaio_mono.so
lib64/libnl.so
lib64/libonce_cell.dylib.so
lib64/libperfmgr.so
@@ -759,12 +747,11 @@ lib64/libreference-ril.so
lib64/libril.so
lib64/librilutils.so
lib64/libsensorndkbridge.so
lib64/libsparse.so
lib64/libspeexresampler.so
lib64/libssl.so
lib64/libstagefright_foundation.so
lib64/libstd.dylib.so
lib64/libtinyalsa.so
lib64/libtinyalsav2.so
lib64/libtinyxml2.so
lib64/libtrusty.so
lib64/libui.so
@@ -788,40 +775,81 @@ lib64/pixel_stateresidency_provider_aidl_interface-ndk.so
lib64/pixelatoms-cpp.so
lib64/server_configurable_flags.so
lib64/soundfx/libaudiopreprocessing.so
lib64/soundfx/libbundleaidl.so
lib64/soundfx/libbundlewrapper.so
lib64/soundfx/libdownmix.so
lib64/soundfx/libdownmixaidl.so
lib64/soundfx/libdynamicsprocessingaidl.so
lib64/soundfx/libdynproc.so
lib64/soundfx/libeffectproxy.so
lib64/soundfx/libhapticgenerator.so
lib64/soundfx/libhapticgeneratoraidl.so
lib64/soundfx/libldnhncr.so
lib64/soundfx/libloudnessenhanceraidl.so
lib64/soundfx/libreverbaidl.so
lib64/soundfx/libreverbwrapper.so
lib64/soundfx/libvisualizer.so
lib64/soundfx/libvisualizeraidl.so
odm/etc/build.prop
odm/etc/group
odm/etc/passwd
odm/etc/selinux/odm_file_contexts
odm/etc/selinux/odm_hwservice_contexts
odm/etc/selinux/odm_mac_permissions.xml
odm/etc/selinux/odm_property_contexts
odm/etc/selinux/odm_seapp_contexts
odm/etc/selinux/odm_sepolicy.cil
odm/etc/selinux/odm_service_contexts
odm_dlkm/etc/build.prop
overlay/EmergencyInfo__husky__auto_generated_rro_vendor.apk
overlay/NfcNci__husky__auto_generated_rro_vendor.apk
overlay/Settings__husky__auto_generated_rro_vendor.apk
overlay/StorageManager__husky__auto_generated_rro_vendor.apk
overlay/SystemUI__husky__auto_generated_rro_vendor.apk
overlay/TeleService__husky__auto_generated_rro_vendor.apk
overlay/Traceur__husky__auto_generated_rro_vendor.apk
overlay/framework-res__husky__auto_generated_rro_vendor.apk
vendor_dlkm/etc/16kb/init.insmod.husky.cfg
vendor_dlkm/etc/16kb/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/16kb/init.insmod.shiba.cfg
vendor_dlkm/etc/build.prop
vendor_dlkm/etc/debug_api/init.insmod.husky.cfg
vendor_dlkm/etc/debug_api/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/debug_api/init.insmod.shiba.cfg
vendor_dlkm/etc/debug_kmemleak/init.insmod.husky.cfg
vendor_dlkm/etc/debug_kmemleak/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/debug_kmemleak/init.insmod.shiba.cfg
vendor_dlkm/etc/debug_locking/init.insmod.husky.cfg
vendor_dlkm/etc/debug_locking/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/debug_locking/init.insmod.shiba.cfg
vendor_dlkm/etc/debug_memory/init.insmod.husky.cfg
vendor_dlkm/etc/debug_memory/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/debug_memory/init.insmod.shiba.cfg
vendor_dlkm/etc/debug_memory_accounting/init.insmod.husky.cfg
vendor_dlkm/etc/debug_memory_accounting/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/debug_memory_accounting/init.insmod.shiba.cfg
vendor_dlkm/etc/init.insmod.husky.cfg
vendor_dlkm/etc/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/init.insmod.shiba.cfg
vendor_dlkm/etc/kasan/init.insmod.husky.cfg
vendor_dlkm/etc/kasan/init.insmod.ripcurrent.cfg
vendor_dlkm/etc/kasan/init.insmod.shiba.cfg
# Exclude overlays, symlinks and extra files that we override
# Overlays
overlay/DeviceDiagnostics__husky__auto_generated_rro_vendor.apk
overlay/DMService__husky__auto_generated_rro_vendor.apk
overlay/DeviceDiagnostics__husky__auto_generated_rro_vendor.apk
overlay/Flipendo__husky__auto_generated_rro_vendor.apk
overlay/SettingsGoogle__husky__auto_generated_rro_vendor.apk
overlay/StorageManagerGoogle__husky__auto_generated_rro_vendor.apk
overlay/SystemUIGoogle__husky__auto_generated_rro_vendor.apk
overlay/TeleService__husky__auto_generated_rro_vendor.apk
overlay/Traceur__husky__auto_generated_rro_vendor.apk
overlay/framework-res__husky__auto_generated_rro_vendor.apk
# beta
overlay/DMService__husky_beta__auto_generated_rro_vendor.apk
overlay/DeviceDiagnostics__husky_beta__auto_generated_rro_vendor.apk
overlay/Flipendo__husky_beta__auto_generated_rro_vendor.apk
overlay/SettingsGoogle__husky_beta__auto_generated_rro_vendor.apk
overlay/StorageManagerGoogle__husky_beta__auto_generated_rro_vendor.apk
overlay/SystemUIGoogle__husky_beta__auto_generated_rro_vendor.apk
overlay/TeleService__husky_beta__auto_generated_rro_vendor.apk
overlay/Traceur__husky_beta__auto_generated_rro_vendor.apk
overlay/framework-res__husky_beta__auto_generated_rro_vendor.apk
# Symlinks
lib/modules
@@ -829,23 +857,48 @@ lib/modules
# Exclude files that compile with BUILD_WITHOUT_VENDOR := false
# or manually added as build targets in device-lineage.mk
# AIDL audio
etc/aidl/hfp/hfp_codec_capabilities.xml
etc/aidl/le_audio/aidl_audio_set_configurations.bfbs
etc/aidl/le_audio/aidl_audio_set_scenarios.bfbs
etc/aidl/le_audio/aidl_default_audio_set_configurations.json
etc/aidl/le_audio/aidl_default_audio_set_scenarios.json
etc/vintf/manifest/bluetooth_audio.xml
lib64/android.hardware.audio.common@5.0.so
lib64/android.hardware.bluetooth.audio-V5-ndk.so
lib64/android.hardware.bluetooth.audio-impl.so
lib64/android.hardware.bluetooth.audio@2.0.so
lib64/android.hardware.bluetooth.audio@2.1.so
lib64/android.hidl.memory.token@1.0.so
lib64/android.hidl.safe_union@1.0.so
lib64/libalsautilsv2.so
lib64/libbluetooth_audio_session_aidl.so
lib64/libclang_rt.ubsan_standalone-aarch64-android.so
lib64/libflatbuffers-cpp.so
lib64/libhidlmemory.so
lib64/libmediautils_vendor.so
lib64/libmemunreachable.so
lib64/libnbaio_mono.so
lib64/libtinyalsa.so
lib64/libtinyalsav2.so
# Audio
lib64/android.hardware.audio.core.sounddose-V2-ndk.so
lib64/android.hardware.audio.sounddose-V2-ndk.so
lib64/libaudio_aidl_conversion_common_ndk.so
lib64/android.hardware.audio.core-V3-ndk.so
lib64/android.hardware.audio.core.sounddose-V3-ndk.so
lib64/android.hardware.soundtrigger3-V3-ndk.so
lib64/android.media.soundtrigger.types-V3-ndk.so
lib64/libaudioaidlranges.so
lib64/libaudioroutev2.so
lib64/libaudioserviceexampleimpl.so
lib64/libexpat.so
lib64/libtinycompress.so
lib64/libutils_binder.so
# Bluetooth
lib64/android.hardware.bluetooth-V1-ndk.so
lib64/android.hardware.bluetooth.finder-V1-ndk.so
lib64/android.hardware.bluetooth.ranging-V1-ndk.so
lib64/hardware.google.bluetooth.bt_channel_avoidance@1.0.so
# Camera
lib64/libGralloc4Wrapper.so
lib64/libcamera2ndk_vendor.so
# Charger
etc/res/images/charger/battery_fail.png
etc/res/images/charger/battery_scale.png
@@ -853,7 +906,6 @@ etc/res/images/charger/main_font.png
etc/res/values/charger/animation.txt
# Codec2
lib64/android.hardware.media.bufferpool2-V1-ndk.so
lib64/android.hardware.media.bufferpool2-V2-ndk.so
lib64/android.hardware.media.bufferpool@2.0.so
lib64/android.hardware.media.c2-V1-ndk.so
@@ -865,6 +917,7 @@ lib64/android.hardware.media@1.0.so
lib64/libavservices_minijail.so
lib64/libcap.so
lib64/libcodec2.so
lib64/libcodec2_aidl.so
lib64/libcodec2_hal_common.so
lib64/libcodec2_hidl@1.0.so
lib64/libcodec2_hidl@1.1.so
@@ -893,10 +946,16 @@ lib64/libteeui_hal_support.so
# Contexthub
lib64/android.hardware.contexthub-V3-ndk.so
lib64/android.hardware.contexthub-V4-ndk.so
lib64/chre_atoms_log.so
lib64/chre_metrics_reporter.so
lib64/chremetrics-cpp.so
# Experiments
bin/pixel-experiments-recovery.sh
etc/init/pixel-apf-experiment.rc
etc/init/pixel-experiments-recovery.rc
etc/init/pixel-kswapd-experiment.rc
# GPS
lib64/liblzma.so
lib64/libunwindstack.so
@@ -906,9 +965,6 @@ lib64/libhidltransport.so
lib64/libhwbinder.so
# Identity credential
etc/permissions/android.hardware.identity_credential.xml
lib64/android.hardware.identity-V5-ndk.so
lib64/android.hardware.identity-support-lib.so
lib64/libpuresoftkeymasterdevice.so
lib64/libsoft_attestation_cert.so
@@ -916,14 +972,15 @@ lib64/libsoft_attestation_cert.so
lib64/libjson.so
# Nos
lib64/android.hardware.security.keymint-V3-ndk.so
lib64/lib_android_keymaster_keymint_utils.so
lib64/libcppbor_external.so
lib64/libcppbor.so
lib64/libcppcose_rkp.so
lib64/libkeymaster4support.so
lib64/libkeymaster_messages.so
lib64/libkeymaster_portable.so
lib64/libkeymint.so
lib64/libkeymint_support.so
lib64/libkeymint_support_V3.so
lib64/libnos.so
lib64/libnos_client_citadel.so
lib64/libnos_datagram.so
@@ -932,9 +989,7 @@ lib64/libnos_feature.so
lib64/libnos_transport.so
lib64/libnosprotos.so
lib64/nos_app_avb.so
lib64/nos_app_identity.so
lib64/nos_app_keymaster.so
lib64/nos_app_keymaster_ctdl.so
lib64/nos_app_weaver.so
lib64/pixelpowerstats_provider_aidl_interface-cpp.so
@@ -945,14 +1000,18 @@ lib64/libziparchive.so
lib64/modem_clock_manager.so
lib64/modem_clock_manager_impl.so
# Secretkeeper
bin/hw/android.hardware.security.secretkeeper.trusty
etc/init/android.hardware.security.secretkeeper.trusty.rc
etc/vintf/manifest/android.hardware.security.secretkeeper.trusty.xml
# Sensors
lib64/android.frameworks.sensorservice@1.0.so
lib64/android.hardware.sensors-V2-ndk.so
lib64/hw/sensors.dynamic_sensor_hal.so
lib64/libhidparser.so
# Trusty
lib64/android.trusty.stats.nw.setter-cpp.so
lib64/lib_sensor_listener.so
lib64/libbinder_trusty.so
lib64/libtrusty_metrics.so
@@ -960,8 +1019,6 @@ lib64/libtrusty_metrics.so
lib64/android.frameworks.stats-V1-cpp.so
lib64/android.hardware.authsecret-V1-ndk.so
lib64/android.hardware.biometrics.common-V3-ndk.so
lib64/android.hardware.biometrics.face-V3-ndk.so
lib64/android.hardware.biometrics.face@1.0.so
lib64/android.hardware.biometrics.fingerprint-V3-ndk.so
lib64/android.hardware.gnss-V3-ndk.so
lib64/android.hardware.graphics.bufferqueue@1.0.so
@@ -969,11 +1026,9 @@ lib64/android.hardware.graphics.bufferqueue@2.0.so
lib64/android.hardware.health-V1-ndk.so
lib64/android.hardware.input.common-V1-ndk.so
lib64/android.hardware.input.processor-V1-ndk.so
lib64/android.hardware.keymaster-V3-ndk.so
lib64/android.hardware.keymaster-V4-ndk.so
lib64/android.hardware.keymaster@3.0.so
lib64/android.hardware.keymaster@4.0.so
lib64/android.hardware.keymaster@4.1.so
lib64/android.hardware.neuralnetworks-V4-ndk.so
lib64/android.hardware.neuralnetworks@1.0.so
lib64/android.hardware.neuralnetworks@1.1.so
@@ -1004,12 +1059,12 @@ lib64/android.hardware.radio@1.5.so
lib64/android.hardware.radio@1.6.so
lib64/android.hardware.security.rkp-V3-ndk.so
lib64/android.hardware.security.sharedsecret-V1-ndk.so
lib64/android.hardware.thermal-V2-ndk.so
lib64/android.hardware.vibrator-V3-ndk.so
lib64/android.hardware.weaver-V2-ndk.so
lib64/android.hardware.wifi-V1-ndk.so
lib64/android.hidl.token@1.0-utils.so
lib64/android.hidl.token@1.0.so
lib64/com.google.hardware.pixel.display-V4-ndk.so
lib64/com.google.hardware.pixel.display-V6-ndk.so
lib64/com.google.hardware.pixel.display-V9-ndk.so
lib64/hardware.google.ril_ext-V1-ndk.so
@@ -1018,6 +1073,10 @@ bin/dump/dump_gsc.sh
lib64/libevent.so
lib64/libion.so
# Odex
framework/oat/arm64/com.google.android.camera.experimental2023.odex
framework/oat/arm64/com.google.android.camera.experimental2023.vdex
# Completely skip files that are not required
# Google

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