Commit graph

507 commits

Author SHA1 Message Date
Shuibing Dai
739ec6cb48 Merge "Enable updating country code from scan results for generic case" into udc-d1-dev 2023-04-26 15:57:24 +00:00
Poomarin Phloyphisut
ee227966b2 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I3e0648f616a60f2a6e1fe5fadb30faf6c88978f7
2023-04-26 09:19:28 +00:00
Richard Chang
455a5c9c54 shusky: adjust zram swap size to 50% of total memory
- 8 GB 	-> 3.62 GB
- 12 GB -> 5.57 GB

Bug: 249179924
Test: Boot
Change-Id: I8c9a3ce05893564878fc395579ae962a2fbe53ca
2023-04-26 08:50:49 +00:00
Peter (YM)
ced8f1ee3b thermal: remove MMWAVE from partial system power reference
Since MMWAVE power rail will be removed for SUB6 only sku (device without MMWAVE module),
remove this from partial system power reference.

Bug: 279698561
Test: Build and boot on device, verify device can boot to home and
thermal can launch

Change-Id: I6ae177a58753f701053d531871f9771962f9c114
Signed-off-by: Peter (YM) <peterym@google.com>
2023-04-26 07:59:39 +00:00
Timmy Li
73e108e439 Merge "Disable rlsservice for P23 devices" into udc-d1-dev 2023-04-25 19:32:03 +00:00
Wei Wang
fc09fbf0aa Merge "powerhint: Add CAMERA_STREAMING_VIDEO_CALL hint" into udc-d1-dev 2023-04-25 17:13:49 +00:00
Jia-yi Chen
bfba21f025 powerhint: Add CAMERA_STREAMING_VIDEO_CALL hint
Use CAMERA_STREAMING_VIDEO_CALL powerhint to optimize power for
the video_call use cases like Meet.

Bug: 279451663
Test: Check power and framedrop running Goggle Meet
Change-Id: I51ac0da491b6cb8d1c57d84a3f6b2d67d1a02f4a
2023-04-25 08:51:34 -07:00
Rios Kao
8a2a6b6435 audio: add smartfeature table for chre tuning
note: add smartfeature.gstf that only used for Hotword
      pipeline in AoC which is sharing to chre usage too.

      On ZUMA
        CHRE PDM Gain(gain=10)
        CHRE AEC Gain(gain=-22)
        CHRE SRC AEC Timeout(timeout=300000)
      This table also contains hotword gain control as
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

Test: end-to-end verify by CHRE
      using aoc_audio_cfg to query gain as below

      adb shell aoc_audio_cfg hotword_get_non_eraser_gain
      adb shell aoc_audio_cfg hotword_get_eraser_post_gain
Bug: 271078701

Change-Id: I8355563141b86c59e0c9115a64b787ac92f5aadd
2023-04-25 05:23:45 +00:00
Rios Kao
0e2008d2a5 Merge changes Ia4b23782,I1432bda8 into udc-d1-dev
* changes:
  shusky: add sound_trigger_tap and hotword_lookback_capture
  audio: reorg aidl_config and add voice call paths for shusky
2023-04-25 05:07:12 +00:00
Cheng Chang
2d15151a87 gps: add malloc assertion condition
Bug: 271750700
Bug: 274541210
Test: verify at b/274541210
Change-Id: I2465edb0534c2419bdfeab31d70404343e35b290
2023-04-25 02:30:19 +00:00
timmyli
602ad8190d 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: I5a245fa222bc83ed3c4976895671070be02a9a43
2023-04-24 20:06:09 +00:00
Bill Yi
abbeadcfe4 Merge "Add template for generating Husky and Shiba vendor blobs" into udc-d1-dev 2023-04-24 18:30:15 +00:00
Bill Yi
88fa567740 Add template for generating Husky and Shiba vendor blobs
Also add template for factory image

TEST: generated images/blobs from artifacts. Flashed device

BUG: 278968179
Change-Id: Ia26ea58c2f8b94f2aedf1a8f097ba6aa28e53d51
2023-04-24 09:37:00 -07:00
Cyan Hsieh
7c21a77018 Merge "Add device mk OWNERS" into udc-d1-dev 2023-04-24 06:01:50 +00:00
Treehugger Robot
d256ed79c1 Merge "Add supported of POF" into udc-d1-dev 2023-04-24 04:07:53 +00:00
Rios Kao
2a375b2ddb shusky: add sound_trigger_tap and hotword_lookback_capture
note: add path for new use-case
      sync diff from P22.

Test: end-to-end test with test apk
Bug: 259455755

Change-Id: Ia4b23782b6e08258450d3c7ca5624ea387add529
2023-04-24 03:39:56 +00:00
Rios Kao
79ada777b9 audio: reorg aidl_config and add voice call paths for shusky
note: sync audio_platform_configuration from P22

Bug: 206737711
Test: mm
Change-Id: I1432bda83eaff5bdb988a6baaf31705b79100575
2023-04-24 03:39:51 +00:00
George Chang
fd20619cc2 Merge "Update NFC customize settings" into udc-d1-dev 2023-04-21 06:54:06 +00:00
Cyan_Hsieh
204b3a1016 Add device mk OWNERS
Bug: 278167548
Change-Id: I6d08227975a8832c90fdfebde951bd967db1adb3
2023-04-21 13:51:18 +08:00
Treehugger Robot
7cb2951f2a Merge "audio: FM table check in (2023/04/13) for telephony." into udc-d1-dev 2023-04-21 03:23:21 +00:00
TreeHugger Robot
60491aa57f Merge "Enable 32k audio config for LE Audio with condition" into udc-d1-dev 2023-04-21 02:15:19 +00:00
Treehugger Robot
7a889ab62a Merge "[SWB] Enable super wideband" into udc-d1-dev 2023-04-21 01:12:07 +00:00
Shuibing Dai
e6de3af5ff Enable updating country code from scan results for generic case
Bug: 271928725
Bug: 267944733
Test: manually test
Change-Id: Id5ffab8c4c35797872d96ca3448d7d8adeea6b0a
Merged-In: Id5ffab8c4c35797872d96ca3448d7d8adeea6b0a
(cherry picked from commit 5e3e1c947ee2c29687bb25d439518305b824c135)
2023-04-20 20:39:43 +00:00
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