Commit graph

484 commits

Author SHA1 Message Date
Patty Huang
bb8178c325 Enable 32k audio config for LE Audio with condition
Align the setting with other projects that only enable 32k
audio config with condition
* Remove the 32k support for two devices
* Remove the 32k for encode only

Bug: 271247229
Bug: 272597112
Test: Check the offload supported config
Change-Id: Ic9a79d632e4b983a29c235122ada504b57c98264
2023-04-20 09:19:10 +00:00
Jason Hsu
95e65ad4c8 audio: FM table check in (2023/04/13) for telephony.
Update mcps.dat
vote for highest clock

Bug: 277993237
Test: tested by acoustic team
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I12bb9cf029af26d629004095f76efb316e3893bf
2023-04-20 07:09:57 +00:00
Bill Yi
062ebe5313 Add AOSP support for Husky and Shiba.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/husky
platform/vendor/aosp/google_devices/shiba

and the paths are
vendor/google_devices/husky
vendor/google_devices/shiba

TEST:make and flash a husky device

BUG: 278968179
Change-Id: I1c5424dfddddb8ee29a86f2408a231aa5556a0bb
2023-04-19 22:26:16 -07:00
TreeHugger Robot
7bb022f4bd Merge "thermal: update virtual sensor euqation" into udc-d1-dev 2023-04-20 00:25:52 +00:00
Wei Wang
2c67560c6b Merge "powerhint: Boost GPU(302000) by 1st frame" into udc-d1-dev 2023-04-19 22:02:20 +00:00
George
2fd48aa99e Update NFC customize settings
Add antenna position info for the new NFC API
Update default routing settings and remove legacy settings

Bug: 278829073
Test: manual
Change-Id: Ice6dc1ffce1c9adebf03ccbe8c3d50eb07022186
2023-04-19 13:04:10 +00:00
shihchienc
7bdd128083 [SWB] Enable super wideband
Enable SWB by setting system property

Tag: #feature
Bug: 277338500
Test: flash devices and check property
Change-Id: I5dbdafc0a4ed03f137d4ce9602fe67c1b2fca756
2023-04-19 07:06:10 +00:00
Yung Ti Su
b28bf692ab Merge "add immersive_output" into udc-d1-dev 2023-04-19 04:20:50 +00:00
Robert Lee
db10c22071 Merge "audio: update speaker tuning bin files" into udc-d1-dev 2023-04-19 04:07:24 +00:00
Robert Lee
7376c60b3d Merge "audio: update speaker tuning bin files and fast switch table" into udc-d1-dev 2023-04-19 04:07:05 +00:00
Edmond Chung
95e1820a14 Merge "Revert "Disable rlsservice for P23 devices"" into udc-d1-dev 2023-04-19 03:37:15 +00:00
Yung Ti Su
ffa841e738 add immersive_output
Bug: 275639025
Test: manual

Change-Id: I207402fcdeeead44f3e057101debde5b88951e79
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-04-19 00:52:28 +00:00
Krzysztof Kosiński
9b8eba9a9e Revert "Disable rlsservice for P23 devices"
Revert submission 22636720-disable_rlsservice

Reason for revert: Breaks device context tests, which did not run in presubmit due to b/277661004

Reverted changes: /q/submissionid:22636720-disable_rlsservice

Change-Id: Iae76027b5e92740181eca3f0645c5ea8c6219b87
2023-04-19 00:36:23 +00:00
TeYuan Wang
6475f8db2e thermal: update virtual sensor euqation
Update VIRTUAL-SKIN, VIRTUAL-SKIN-CHAEGE and add VIRTUAL-SKIN-SPEAKER

Bug: 277782111
Test: adb shell dumpsys android.hardware.thermal.IThermal/default

Change-Id: Ibb82e0f51b27edca153e333f963ccd6f2243da47
2023-04-19 01:17:52 +08:00
Jasmine Cha
97b149659a audio: update aidl tables
- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.

Bug: 206738075
Test: host test
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: Id3dbc4c0d694967421cbc516ff42709876845e16
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-18 12:44:08 +08:00
Timmy Li
debc020497 Merge "Disable rlsservice for P23 devices" into udc-d1-dev 2023-04-18 03:44:16 +00:00
Treehugger Robot
e3309b1dee Merge "Set audio.camerasound.force for JP devices" into udc-d1-dev 2023-04-18 02:23:17 +00:00
Wei Wang
85a3340c48 Merge "thermal: update powerhints based on new thermal policy" into udc-d1-dev 2023-04-17 23:21:44 +00:00
Ali K. Zadeh
58de5c32cb Merge "Enable core8 and disable prefer idle for 60fps" into udc-d1-dev 2023-04-17 16:18:28 +00:00
Ted Wang
b8d2e6d4e9 Add supported of POF
Bug: 274554177
Test: build pass
Change-Id: I4b41262fdd279c073971872248a9d79294d227a0
2023-04-17 08:49:49 +00:00
Carter Hsu
1cad7056a8 Merge "audio: FM table check in (2023/04/13) for telephony." into udc-d1-dev 2023-04-17 07:34:22 +00:00
Carter Hsu
d910e1ccae Merge "audio: FM table check in (2023/04/13) for telephony." into udc-d1-dev 2023-04-17 07:34:11 +00:00
Cyan_Hsieh
c54353929b Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option

Bug: 277875182
Change-Id: Ibb7bd6a1046de6d6b97b0c93ae13e260c80f15bb
2023-04-17 05:20:02 +00:00
timmyli
49db9e25f9 Disable rlsservice for P23 devices
These devices will use spectral driver for ambient
light and flicker information.

Bug: 277959222
Test: ./run_cts.sh
Change-Id: Ide881aee6796310c2fc4853f7ce9167a2704e912
2023-04-16 17:25:29 +00:00
Treehugger Robot
ede9f1d3b4 Merge "device-shiba.mk: let kernel decide display LHBM peak brightness delay" into udc-d1-dev 2023-04-14 21:51:20 +00:00
Shiyong Li
ae0476876e device-shiba.mk: let kernel decide display LHBM peak brightness delay
Bug: 240216847
Change-Id: Ifcbb8dda78ce86f60590e270a11e8a4fa20e79d6
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-04-14 19:01:05 +00:00
Treehugger Robot
2f50a84487 Merge "uwb: install UWB test apk on RP non-user build" into udc-d1-dev 2023-04-14 18:59:21 +00:00
Treehugger Robot
c5ec78d0b3 Merge "Update Doze brightness mapping" into udc-d1-dev 2023-04-14 10:49:47 +00:00
Treehugger Robot
e0e5f8c3b7 Merge "bt: update BQR event_mask and set vendor quality configuration" into udc-d1-dev 2023-04-14 09:12:31 +00:00
Jack Lee
f1d194535c Merge "Disable zone DMA32 for shiba and husky" into udc-d1-dev 2023-04-14 08:37:48 +00:00
Carter Hsu
4437bb859f audio: FM table check in (2023/04/13) for telephony.
-HK3 Handsfree (Ricky)
1. Opitmized subjetive quality on NB/WB/SWB- Double talk echo / single talk echo
2. Modify FNS on Voice call/ VOIP SWB for CCA2.0

- SB3 Heaset (Gene)
For CCA 2.0
//RX_NS_LVL_CTRL  03 ==> 06
Improve WB NS

- SB3 BT (Gene)
For CCA 2.0
//RX_NS_LVL_CTRL  03 ==> 06

Files from the latest attachment on b/278061372

Bug: 278061372
Test: verified by rickycheng@
Change-Id: I22d2fde2f7ed0f2ffffdf3b10acfbe597a06eaa6
2023-04-14 15:18:43 +08:00
Treehugger Robot
c4cd2221f8 Merge "Set default value of allowing STA-connected DFS channel as true" into udc-d1-dev 2023-04-14 03:34:26 +00:00
Rex Lin
91de28dea2 uwb: install UWB test apk on RP non-user build
Bug: 275456664
Test: local verified pass
Change-Id: I8663c731695f2264450e5a2f536034449fef4838
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-04-14 11:01:11 +08:00
Carter Hsu
b6e4892e9a audio: FM table check in (2023/04/13) for telephony.
- HK3 Handset.dat (Owen)
1. Modify SWB Rx FNS with enabled CCA 2.0 - NS_LVL_CTRL: 0006 & LAMBDA_PFILT: 7CCD
2. Modify NB/WB Rx FDEQ_v0406 and TDDRC gain to 9/8dB for maxvol distortion
3. Modify NB Tx TDDRC gain to 14.5dB for SLR=7
4. Copy item 1. Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2
5. Copy item 2. Rx settings of Handset | Voice_Generic to Handset | Tmobile-US
6. Copy item 3. Tx settings of Handset | Voice_Generic to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

-HK3 Handsfree (Ricky)
1. Optimized subjective quality on NB/WB- Double talk echo / single talk echo
2. Modify FNS on Voice call/ VOIP SWB for CCA2.0

- HK3 Headset (Gene)
For CCA 2.0
//RX_NS_LVL_CTRL  03 ==> 06
Improve WB NS

- HK3 BT (Gene)
For CCA 2.0
//RX_NS_LVL_CTRL  03 ==> 06

Files from the latest attachment on b/278059919

Bug: 278059919
Test: verified by rickycheng@
Change-Id: Ib0bc47e05f20c594664cdff000db801945a2964d
2023-04-14 10:07:40 +08:00
Treehugger Robot
bd601d358c Merge "[eSE] Update AIDL secure_element for eSE1" into udc-d1-dev 2023-04-14 01:21:56 +00:00
Treehugger Robot
1353430769 Merge "Update powerhint to restrict DSU and BCI frequencies" into udc-d1-dev 2023-04-13 23:37:42 +00:00
Sayanna Chandula
6e986cbc8b thermal: update powerhints based on new thermal policy
Bug: 241784772
Test: Build and boot on device

Change-Id: I8b6a8d707289379df194ec7c25567207aafe19cf
2023-04-13 16:09:46 -07:00
Ali K. Zadeh
bb2228a15c Enable core8 and disable prefer idle for 60fps
Bug: 274005880
Test: ODPM and framedrop
Change-Id: If5e42034dc1addb94061573a3a5805616c5007a3
2023-04-13 21:34:54 +00:00
Ali K. Zadeh
f5deb897f6 Update powerhint to restrict DSU and BCI frequencies
Bug: 274005880
Test: ODPM, framedrop and kibbles measurement
Change-Id: I42e37b55c77780a153f6d959bf5e18ffae89da97
2023-04-13 16:20:32 +00:00
jonerlin
7da4616689 bt: update BQR event_mask and set vendor quality configuration
enable Vendor Specific Quality event as default.
set bqr event_mask to 295006 (0x4805e), vnd_quality_mask to 29 (0x1d)
for user debug or eng rom

Bug: 240636731
Test: manual test vendor specific masks
Change-Id: I6b2099bc0a0b8ea133a40a286855e2b0fa91e686
2023-04-14 00:13:47 +08:00
Shuibing Dai
ce629324cf Set default value of allowing STA-connected DFS channel as true
Bug: 272298287
Test: manual test to confirm the feature had been enabled in vendor drv
Change-Id: I89b7ea07eebb29d7dc80b281204cc050153fc3b1
(cherry picked from commit c5dd7497883d8b836f64d45e66d8c0a83b59cc20)
2023-04-13 11:31:49 +00:00
George
bdb48f2549 [eSE] Update AIDL secure_element for eSE1
Bug: 261566299
Test: run cts -m CtsOmapiTestCases
Test: atest VtsAidlHalNfcTargetTest
Change-Id: I69d11b1a5e111d8c8500ac2872998c53dde10075
2023-04-13 11:03:25 +00:00
weichinweng
88640d17e1 Revert "Enable Bluetooth CHRE feature on bt_vendor.conf" am: ee1a3d85d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22608427

Change-Id: Ia94b5b0bcba04d4bec348bdb8a9b74071e19d0c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 10:12:57 +00:00
weichinweng
ee1a3d85d5 Revert "Enable Bluetooth CHRE feature on bt_vendor.conf"
This reverts commit bb80a75e1c.

Bug: 275036842
Change-Id: I2a89094fc5d20cd2bf9832f29182747c89bc0e8e
(cherry picked from commit 8a7815929bf548e98cd2ac3fe45c2c893cab250e)
2023-04-13 08:35:08 +00:00
linpeter
bf6e5ec87a Update Doze brightness mapping
Bug: 276343567
Test: check doze brightness
Change-Id: I7aafe3ab317c203f0c125cae363da47f14f5d574
2023-04-13 16:18:00 +08:00
liangjlee
45294d4aa3 Disable zone DMA32 for shiba and husky
Same as P22, P23 do not have 32-bit address limitation in hardware, so
we would like to empty zone DMA32 for better performance and simplify
memory management.

Bug: 263239622
Test: b/270096808, b/270097444. Pass reboot test and run sst for 100+
hours without obvious issues.
Change-Id: Ib95223aafca17165e1b8d972448c5d66384d3ccc
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from commit 4584a04fe3)
2023-04-13 06:37:48 +00:00
Sayanna Chandula
f61340b5ff thermal: lower tj control temp during battery save am: 87feda99aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22518206

Change-Id: Ic4db9c4f1064a22f85867b740f0773aac73bbb35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 06:26:03 +00:00
Robert Lee
e02ea72f52 audio: update speaker tuning bin files and fast switch table
Change list
- Re0 golden value updated for both top and bot speakers
- Update fast_switch config(1&2 FIR on, 3&4 FIR off)

Bug: 243497194
Test: builds
Change-Id: I36b0010b80421a2c7dbe5e9c5787f0e3b7dd9ec0
Signed-off-by: Robert Lee <lerobert@google.com>
2023-04-13 03:36:49 +00:00
Robert Lee
2b103b08c4 audio: update speaker tuning bin files
Change list:
1. set Re0 golden value in bin files

Bug: 243626704
Test: builds
Change-Id: I0ded23e066ab983a5ffe1598c497e97c623a04cd
Signed-off-by: Robert Lee <lerobert@google.com>
2023-04-13 11:29:34 +08:00
Sayanna Chandula
87feda99aa thermal: lower tj control temp during battery save
Use LOW_POWER power hint to detect and lower the control temp
for junction control loops

Bug: 266011718
Test: Build and boot on device. Check thermal control temperatures
during battery save

Change-Id: I24960bf615900d9f174259cdc863050fcf4fcb36
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-04-12 19:03:01 +00:00