Commit graph

196 commits

Author SHA1 Message Date
Alex Hong
271c7e84a6 [DO NOT MERGE] Use GmsCorePrebuilt y2022w39 for tangorpro devices
Bug: 248359402
Change-Id: Ia8a5aacbb05f6bc3ef8ed547208033b9bbe5d523
2022-09-27 18:30:49 +08:00
Doreen Wang
06f1e47a23 Revert "RESTRICT AUTOMERGE: [Camera 3A] Update T6Pro soong_config"
This reverts commit fed96fed0c.
Test: build successfully
Bug:249154327
Change-Id: Iabfbd8994ec74117b039443ba6e209265054087c

Change-Id: If5eccfc92c4ea0ac523de9b1de7b19dce605d983
2022-09-27 00:49:56 +00:00
Doreen Wang
fed96fed0c RESTRICT AUTOMERGE: [Camera 3A] Update T6Pro soong_config
Update T6Pro soong_config target device

Bug: 246290120
Test: build pass
Change-Id: Ib0f14c27710c55e15029d592602fb16fd55210e2
2022-09-24 18:14:08 +00:00
TreeHugger Robot
ed382f7df5 Merge "Add Ownership to powerhint files" into tm-qpr-dev 2022-09-23 23:18:46 +00:00
Taeju Park
3c7314c4be Add Ownership to powerhint files
Bug: 248115959
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I9b34950be21ea0a6718d11a09bb81605dc8c1d90
2022-09-23 13:38:45 -07:00
Krzysztof Kosiński
5e717801d7 Merge "Set Lyric camera_hardware variable." into tm-qpr-dev 2022-09-23 20:32:13 +00:00
TreeHugger Robot
ece41add66 Merge "powerstats: update Display energy consumer" into tm-qpr-dev 2022-09-23 06:17:18 +00:00
Krzysztof Kosiński
e4a986aba2 Set Lyric camera_hardware variable.
Bug: 240478511
Test: presubmit
Change-Id: Idbec3553d9eca43a7c7fb4c36f3d3a1ceac63d77
Merged-In: Idbec3553d9eca43a7c7fb4c36f3d3a1ceac63d77
2022-09-23 02:56:08 +00:00
Darren Hsu
761ee0a9d1 powerstats: update Display energy consumer
Bug: 248391573
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I9e3275a3d3404eede3fa8be696f623260b50c574
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-23 10:23:02 +08:00
Blade Chiu
04e0e865fa Merge "Set correct the isp tuning project name" into tm-qpr-dev 2022-09-22 17:14:13 +00:00
bladechiu
7f1a1ba110 Set correct the isp tuning project name
bug: 244499712
Test: Added Unit test
Change-Id: I9ab519174422b169d4bf32c42c5276d8e10a9257
Merged-In: If4ee5e0bba8c78addc3771a272cbaf32a80b1fd6
2022-09-22 04:08:53 +08:00
Anoush Khazeni
a31ae38529 Merge "[T6pro] Updating the hotword pipeline gain settings." into tm-qpr-dev 2022-09-21 16:53:40 +00:00
TreeHugger Robot
ea7f0cb158 Merge "waves: support AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET" into tm-qpr-dev 2022-09-21 03:19:27 +00:00
Jasmine Cha
9d27aac3e9 waves: support AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
Bug: 247904183
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I0aa5e99a18ec954821e46a8016b2a99e5a7de3b1
2022-09-21 02:14:17 +00:00
TreeHugger Robot
f565ba8262 Merge "audio: extand the period number of hifi usecase" into tm-qpr-dev 2022-09-20 15:20:11 +00:00
vincenttew
fa017cc38a audio: extand the period number of hifi usecase
extend this to prevent alsa trigger stop playback
and causing pop

Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If27a33bf2aaa6671238a1c227d6bf022b8dfdc1a
2022-09-20 07:34:43 +00:00
Anoush Khazeni
408df1d72c [T6pro] Updating the hotword pipeline gain settings.
Updating the gain settings as follows:

Docked:
eraser_pre_gain  : 17.0dB
eraser_post_gain : 18.6dB
non_eraser_gain  : 35.6dB

Undocked:
eraser_pre_gain  : 22.0dB
eraser_post_gain : 0dB
non_eraser_gain  : 22.0dB

Bug: 209861919
Test: Build only
Change-Id: If0e5c6f74574ad66ff114c512de38d3da5915641
2022-09-19 17:58:53 -07:00
Chungjui Fan
55da5747a6 lights: Move version above fqname
system/libvintf/xsd/halManifest/vts/ValidateHalManifest.cpp:76: Failure
XML is not valid according to the xsd
While validating: (dir_path + "/"s + file_name).c_str()
Which is: /vendor/etc/vintf/manifest/android.hardware.lights-service.tangorpro.xml
Against the schema: xsd
Which is: /data/local/tmp/hal_manifest.xsd
Libxml2 errors:
Error: Element 'version': This element is not expected. Expected is ( fqname ).

Bug: 245442303
Test: Function works as expected
Change-Id: I51c94c509271caa13cd5e7b97c11a3ed866e4e95
2022-09-19 06:14:13 +00:00
Richard Chang
e93b23905f Merge "powerhint: clean up unused hints in T6p" into tm-qpr-dev 2022-09-19 05:12:37 +00:00
TreeHugger Robot
bed81dfcfd Merge "fingerprint: 1540.app take priority over cast_auth.app" into tm-qpr-dev 2022-09-19 03:17:54 +00:00
Ching-Sung Li
2e7b414355 Merge "Build T6 Pro default CMF color wallpaper" into tm-qpr-dev 2022-09-19 00:32:28 +00:00
Richard Chang
54bda0f2d3 powerhint: clean up unused hints in T6p
LAUNCH_120FPS is removed but some actions still use it.

Bug: 246738037
Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t
com.google.android.perf.pts.PowerHintJsonVerifyTest

Change-Id: I3ab91cace52c617adf0ccadb95098de697efc5c0
2022-09-16 08:20:38 +00:00
TeYuan Wang
e657950726 Remove frequency boost of big cores for FACE_UNLOCK
Bug: 245619770
Test: build
Change-Id: I31b68a52e80c924bbecaa1b18a15c9ff4b2335ed
2022-09-15 23:38:11 +08:00
sashwinbalaji
e9f6f92eb6 thermal: update control temp in powerhint
1) Change the default trip_point_1_temp and trip_point_2_temp in accordance to new config provided by hardware (b/235166018#comment5).
2) Removing AUR nodes

Bug: 246546076
Test: Used local build to verify the trip_point_1_temp & trip_point_2_temp when VIRTUAL_SKIN
severity is changed on updating quiet_therm temp.

Change-Id: I240ba1b77706b6ce8991285dfa0ea6deae25f15b
2022-09-14 15:21:11 +08:00
TreeHugger Robot
df4c908131 Merge "zram: add zram size property" into tm-qpr-dev 2022-09-12 03:20:57 +00:00
Martin Liu
546a717d7b zram: add zram size property
Bug: 245442843
Test: check zram swap and backing device

Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Idf96ad2db919c29adcceecd58af9e097e895add1
2022-09-09 16:32:02 +08:00
Ching-Sung Li
06b486dec4 Build T6 Pro default CMF color wallpaper
Bug: 239505748
Test: Build pass; manual
Change-Id: Id7346c9f60321b24599d0e5124c800b5d88753f5
2022-09-09 10:08:39 +08:00
Wei Wang
8ec52c3f3f Merge "Replace GPUMinFreq 151000 with 202000" into tm-qpr-dev 2022-09-06 16:08:18 +00:00
Siddharth Kapoor
001814c4ac Replace GPUMinFreq 151000 with 202000
Bug: 240479599
Change-Id: If7a5970b4f6d6049fc0aee4fc7caeb99ccbbdf21
2022-09-05 22:22:16 -07:00
TreeHugger Robot
9ced5e2b6c Merge "Differentiate COD between phone and non-phone project" into tm-qpr-dev 2022-09-05 03:30:29 +00:00
TreeHugger Robot
c305d4a222 Merge "Config dex2oat according to thermal status" into tm-qpr-dev 2022-09-02 06:04:31 +00:00
Rick Yiu
3ed689ec0d Merge "Remove RestrictedCpuset hint" into tm-qpr-dev 2022-09-02 04:59:42 +00:00
shihchienc
0c9f44cdbd Differentiate COD between phone and non-phone project
Since we have tablet project and its COD device class should not
be same as phone, we need to add tag for each tablet project so
that when we build project, we can use different COD setting toward
different projects.

Bug: 244403430
Test: build project and check EIR
      tablet should have ComputeR/handheld PC/PDA class and phone should
      have Phone/Smartphone class
Change-Id: If7eed69ad9c9a24c9f2366cfa970886255f8c322
2022-09-01 10:08:54 +00:00
Rick Yiu
60f3c1e73e Config dex2oat according to thermal status
Config dex2oat cpuset and thread count according to thermal status.

LIGHT cpuset = 0,1,2,3,4,5 thread = 6
MODERATE cpuset = 0,1,2,3 thread = 4
SEVERE cpuset = 0,1,2,3 thread = 4
CRITICAL cpuset = 0,1,2,3 thread = 2
EMERGENCY cpuset = 0,1,2,3 thread = 1

Bug: 242948832
Test: build pass
Change-Id: If352833f9fe0f2593f5e98648587e2a99d5669c5
2022-09-01 08:37:24 +00:00
eddielan
6e3022a9f3 fingerprint: Add config for different product
Fingerprint AIDL interface provides the module location API.
AIDL HAL can fill out he coordinate(x,y) and report to framework.

Setting different product means HAL is using specific project and report
corresponding (x,y).

Bug: 244261157
Test: make android.hardware.biometrics.fingerprint-service.fpc42
Test: Check Fingerprint mark location is correct in enrollment UI
Change-Id: I866a7c0270a126ed569ac9991720124b7d086803
2022-08-31 08:57:58 +00:00
TreeHugger Robot
3aed12c3ef Merge changes from topic "fpcsw42-hidl-record-status" into tm-qpr-dev
* changes:
  fingerprint: Enable Clean ta flag
  fingerprint: Enable HIDL fingerprint status flag
2022-08-31 05:45:26 +00:00
Hyungwoo Yang
f7d3e52aba Merge "input: Add USI Device Certification Tool" into tm-qpr-dev 2022-08-30 14:33:03 +00:00
eddielan
2c147fdc5b fingerprint: Enable Clean ta flag
Bug: 203016894
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I108b828b343a130a41c5154da402c837a53b6fc5
2022-08-30 19:24:46 +08:00
eddielan
b625c6d926 fingerprint: Enable HIDL fingerprint status flag
Bug: 203016894
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I3f77a2b2a181729b1ad79c50b3574408df149f38
2022-08-30 19:24:37 +08:00
Hyungwoo Yang
e3aca7b803 input: Add USI Device Certification Tool
usi_test is the tool to be used to
- get USI Device Certification.
- debug USI Stylus & Controller.

This patch adds the usi_test binary into userdebug image.

Test: Build and manually check.
Bug: 242689275
Change-Id: I541aa1f3084966f73525a0e8f8de4b46c5efddf1
2022-08-30 07:20:40 +00:00
Rick Yiu
de3d6dd287 Remove RestrictedCpuset hint
With systemui now changed its cpuset in early stage, we no longer
need RestrictedCpuset hint as workaround.

Bug: 242775562
Test: build pass
Change-Id: I17603010b7070594f703e04b09cfb3a2a37ecac5
2022-08-30 06:48:24 +00:00
jimmyshiu
ba8ccf33f5 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: b/241152899
Bug: b/195990840

Test: manual
Change-Id: I06a38eeade1aea7cb12bef079b555e6e34d2581c
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:22:09 +00:00
TreeHugger Robot
9335488c69 Merge "Revert "Disable A2DP hardware offload"" into tm-qpr-dev 2022-08-29 05:39:28 +00:00
eddielan
7ace69f2ed fingerprint: 1540.app take priority over cast_auth.app
Bug: 243902555
Test: Forrest build pass
Test: Flash on local device and unlock device via fingerprint
Change-Id: Ib64be209369c9778a27e32351ebd5e89e130a357
2022-08-29 13:18:17 +08:00
TreeHugger Robot
e05312ee80 Merge "thermal: seperate thermal config for charging" into tm-qpr-dev 2022-08-26 07:27:57 +00:00
Gil Liu
2489c41087 Merge "display: enable Lbe supported property" into tm-qpr-dev 2022-08-26 06:12:10 +00:00
David Chao
03f56679b7 thermal: seperate thermal config for charging
Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 243347663
Test: thermalHAL init completed in charger.
Change-Id: I474d58d51ec715c90fcf4d8ad8d377db4e8e43f0
2022-08-25 16:13:59 +08:00
Jasmine Cha
b5914301da audio: improve mute duration
- preview of notification will be cut off slightly becuase of mute
  duration is too long.
- sync mute duration of primary output from to 40 ms

Test: preview notification

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib97017db1066fb6687b6634956e086a3102fe939
2022-08-24 10:53:47 +08:00
TreeHugger Robot
38385b5721 Merge "p2p: fix p2p configuration" into tm-qpr-dev 2022-08-23 20:33:26 +00:00
Jasmine Cha
ca6b0c61f4 audio: update fm table
Source (iS895):
K6: HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (K6_HEADSET_Apr_26_and_epdoffset_15ms.dat)
T6: HANDSFREE-HANDFREE-VOICE_GENERIC-FB   (HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat)

Change steps:
1. Convert iS895 source file "K6_HEADSET_Apr_26_and_epdoffset_15ms.dat" and "HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat" to iS900
choose source parameter "HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB" and "HANDSFREE-HANDFREE-VOICE_GENERIC-FB" from Nest Handsfree/Headset iS895 parameter
2. apply T6 iS900 evaluation parameter, including enabling iS900 SSA2.0(T6/K6), EC/NS(slight change in T6)
3. 48k-32k mapping, (Tx/Rx EQ, EPD_offset)
//EPD_offset from 0x2D0(15ms at 48k) to 0x1E0 (15ms at 32k)

Bug: 242920998
Test: manaul test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I731f75c92e31be98986da8091d5c744064ccfeec
2022-08-22 13:10:07 +08:00