Commit graph

356 commits

Author SHA1 Message Date
Sandeep Vijayasekar
67a373d8d8 Merge "Change system property type" into tm-qpr-dev 2022-12-22 21:17:19 +00:00
Miller Liang
2fe9461174 Merge "audio: adjust the latency for camcorder av sync" into tm-qpr-dev 2022-12-21 01:25:25 +00:00
Mariia Sandrikova
7d15e2f698 Merge changes from topic "tangor-pro-natural-orientation" into tm-qpr-dev
* changes:
  [2/2][Pro] Set orientation for boot animation and default display rotation.
  [1/n][Pro] Change natural device orientation to portrait.
2022-12-21 00:37:13 +00:00
Sandeep Vijayasekar
a15edc5d93 Change system property type
Bug: b/263263027
Test: ensure mediashell can read this property
Change-Id: I5f6bda59947f4b58c738c375847d6d728f19e918
2022-12-20 12:12:17 -08:00
millerliang
c3a8473e64 audio: adjust the latency for camcorder av sync
Adjust the dsp_latency for camcorder with BT to sync the
audio and video.

Bug: 260712719
Test: manual test passed
Change-Id: I5270ed6202b5476105eca0e63f437430ce778a8c
Signed-off-by: millerliang <millerliang@google.com>
2022-12-20 17:41:41 +08:00
Rex Lin
0ad490bc7b Merge "uwb: update T6P calibration file" into tm-qpr-dev 2022-12-19 02:02:23 +00:00
TreeHugger Robot
1c20ccef17 Merge "Disable sensor power for off mode charging." into tm-qpr-dev 2022-12-16 15:52:22 +00:00
Sam Ou
cf8e4c8484 Merge "power_profile: remove modem" into tm-qpr-dev 2022-12-16 05:01:38 +00:00
S Ashwin Balaji
a7e44cf65d Merge changes from topic "T6-throttling" into tm-qpr-dev
* changes:
  Thermal: update charger_skin_therm permission for thermalHAL
  Thermal: Update passiveDelay and pollingDealy of trigger sensors
  thermal: Update VIRTUAL-BACK-CHARGER Sensor
  thermal: Update powerhint to use VIRTUAL-SKIN-HINT
2022-12-16 04:15:13 +00:00
Anoush Khazeni
81a3ac576d Merge "[T6pro] Updating the Waves tuning." into tm-qpr-dev 2022-12-16 03:51:11 +00:00
TreeHugger Robot
ab7c5817da Merge "audio: update handsfree AEC" into tm-qpr-dev 2022-12-16 02:40:53 +00:00
Rex Lin
cff81aa562 uwb: update T6P calibration file
Tx power setting and PD_delay --> Locked down. Official cert is done.
ANT delay --> Calibrated and Locked down.
Xtal default value --> Locked down.
ANT settings --> Locked down.

Bug: 254602083
Test: local verified pass
Change-Id: I1c76a0ad72298bfea1ee57e3510c74824655e1b1
Signed-off-by: Rex Lin <rexcylin@google.com>
2022-12-16 10:01:29 +08:00
Jasmine Cha
4b45975d18 audio: update handsfree AEC
- optimize the stability of AEC during double talk
- Supported Usecases:
HANDSFREE-HANDFREE-RESERVE2-SWB
HANDSFREE-HANDFREE-CUSTOM1-SWB
HANDSFREE-HANDFREE-CUSTOM2-SWB
HANDSFREE-HANDFREE-RESERVE1-SWB

HANDSFREE-PORTRAIT-RESERVE2-SWB
HANDSFREE-PORTRAIT-CUSTOM1-SWB
HANDSFREE-PORTRAIT-CUSTOM2-SWB
HANDSFREE-PORTRAIT-RESERVE1-SWB

HANDSFREE-REVERSED_LANDSCAPE-RESERVE2-SWB
HANDSFREE-REVERSED_LANDSCAPE-CUSTOM1-SWB
HANDSFREE-REVERSED_LANDSCAPE-CUSTOM2-SWB
HANDSFREE-REVERSED_LANDSCAPE-RESERVE1-SWB

HANDSFREE-REVERSED_PORTRAIT-RESERVE2-SWB
HANDSFREE-REVERSED_PORTRAIT-CUSTOM1-SWB
HANDSFREE-REVERSED_PORTRAIT-CUSTOM2-SWB
HANDSFREE-REVERSED_PORTRAIT-RESERVE1-SWB

HANDSFREE-CHARGING_ONLY-RESERVE2-SWB
HANDSFREE-CHARGING_ONLY-CUSTOM1-SWB
HANDSFREE-CHARGING_ONLY-CUSTOM2-SWB
HANDSFREE-CHARGING_ONLY-RESERVE1-SWB

Bug: 262322091
Test: manual test (b/262322091#comment10)

Change-Id: I1632d31edc26394d93bb6a868b5bcde64f3c8399
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-16 01:03:10 +00:00
sashwinbalaji
7685a7a72c Thermal: update charger_skin_therm permission for thermalHAL
Bug: 254020998
Test: Update rc and adb shell ls -al dev/thermal/tz-by-name/charger_skin_therm/trip_point_0*
Change-Id: I0585f117907e0d3355973dad5d64bd6a3b4fb68c
2022-12-15 17:31:37 +08:00
sashwinbalaji
94157b77ec Thermal: Update passiveDelay and pollingDealy of trigger sensors
Align the delays in accordance with older devices

Bug: 254263444
Test: build and emul_temp
Change-Id: I6d7bfaef87c9f4a3d81644425b6687bacb3ef0f4
2022-12-15 12:21:31 +08:00
Himanshu Rawat
809d0d74ff Disable unsupported BT profiles
PBAP server, MAP server and SAP server roles are not supported on the
TangorPro

Bug: 262203491
Test: adb shell getprop bluetooth.profile.map.server.enabled; adb shell
getprop bluetooth.profile.pbap.server.enabled; adb shell getprop
bluetooth.profile.sap.server.enabled

Change-Id: I90d965ea77d015077bad844a8d377254c4e2a886
2022-12-15 03:27:13 +00:00
matthuang
d9c6a4a7d5 Disable sensor power for off mode charging.
Bug: 261519005
Test: Build pass.
Test: sensor_test sample -s0.
Change-Id: I012a9342286370c019fc46e978913a89aa474da6
2022-12-15 02:41:51 +00:00
sashwinbalaji
e8a062b1fb thermal: Update VIRTUAL-BACK-CHARGER Sensor
- Add triggerSensor
- Increase PassiveDelay

Bug: 254020998
Test: tested locally using emul_temp
Change-Id: I349f85a60f82c97e27cb031c0cc3be30ae8f8981
2022-12-14 15:28:47 +08:00
sashwinbalaji
28d3ef8f26 thermal: Update powerhint to use VIRTUAL-SKIN-HINT
Replace VIRTUAL-SKIN with VIRTUAL-SKIN-HINT

Bug: 262471610
Test: tested locally by emul_temp
Change-Id: I83f75e5f4b97bf47ac612c862063e8db5bde886f
2022-12-14 14:03:10 +08:00
Poompatai Puntitpong
6fe695d0eb Merge "bt: change bluetooth.uart.port property to soong config property this property is also tied to vendor partition usage" into tm-qpr-dev 2022-12-14 02:59:32 +00:00
Poompatai Puntitpong
66129c918e bt: change bluetooth.uart.port property to soong config property
this property is also tied to vendor partition usage

Bug: 245439217
Test: pass VtsHalBluetoothV1_0TargetTest
Change-Id: I9eb8b321866c0de182a9f0287ed0eb448dd05e07
2022-12-14 02:42:18 +00:00
Anoush Khazeni
89d4a4b269 [T6pro] Updating the Waves tuning.
Updating the Waves tuning to T6K6 REV18
(Google_T6K6_REV18_T6-v13_K6-v10_20221213)

Bug: 262400333
Test: Build only
Change-Id: I08439e8452adc0ab44305695cadfe92c0c20df96
2022-12-13 13:29:53 -08:00
Mariia Sandrikova
e28a4937ec [2/2][Pro] Set orientation for boot animation and default display rotation.
Change the default display rotation value and boot animation orientation to 270. This is needed to preserve primary landscape UX after device natural orientation changes to portrait.

Context: go/tangor-natural-orientation

Bug: 260627934
Test: manual test with all 4 values
Change-Id: I1ff42f7df21ec8231ff19fd7e209cfbb84537f93
2022-12-11 13:54:38 +00:00
Sandeep Vijayasekar
75bfd09596 Merge "[DO NOT MERGE] Revert "Revert "[AudioProxy] Enable AudioProxy""" into tm-qpr-dev 2022-12-10 02:18:14 +00:00
TreeHugger Robot
d8ffc64faf Merge "Mark that device is not voice capable" into tm-qpr-dev 2022-12-10 01:49:54 +00:00
Wei Wang
7f0c7aa489 Merge "Remove UClampThreshold hint" into tm-qpr-dev 2022-12-09 21:44:04 +00:00
Adam Bookatz
f1ea15f5f4 Mark that device is not voice capable
"Voice" capable means that the device supports phone calls over the telephony network. So for this device, this should be false.

The impetus for this is that with voice capability defaulting to true, the Multiuser pannel asks the owner whether secondary users should be allowed to make phone calls/sms, which is inapplicable. Changing the value to false should get rid of this option.

Bug: 248440908
Change-Id: If5249bc943c96f88c2ddd26880fe0626bb53592e
Test: manual
(cherry picked from commit 699275b04d85dde5645034cdeca19207b0bde632)
2022-12-09 23:26:49 +08:00
Sandeep Vijayasekar
67442466d3 [DO NOT MERGE] Revert "Revert "[AudioProxy] Enable AudioProxy""
This reverts commit 40e6ca666b.

Reason for revert: fix breakage with ag/20681848

Change-Id: Ia62aaa17e94a426390e120cc0d811b67cf5739ae
2022-12-08 21:40:14 +00:00
Sandeep Vijayasekar
5b22bbb049 Merge "Revert "[AudioProxy] Enable AudioProxy"" into tm-qpr-dev 2022-12-08 21:17:50 +00:00
Beverly Tai
65de8d9be2 Merge "Default pickupGesture enabled state is FALSE" into tm-qpr-dev 2022-12-08 16:16:55 +00:00
Chungkai Mei
7661bc43df Remove UClampThreshold hint
the file node was removed so also remove these
dummy setting

Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-08 09:44:24 +00:00
Sam Ou
4876730ab7 power_profile: remove modem
Bug: 214561299
Change-Id: Idf931e99039508be325cc9c03deb9febd5aee19a
Signed-off-by: Sam Ou <samou@google.com>
2022-12-08 06:14:23 +00:00
T.J. Mercier
40e6ca666b Revert "[AudioProxy] Enable AudioProxy"
This reverts commit f75c0dd43d.

Reason for revert: DroidMonitor: Potential culprit for Bug 261776026 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I7941dfe9235d843ac3a24034819ea6e0ffe00884
2022-12-08 00:16:00 +00:00
Mariia Sandrikova
32eaab94ec [1/n][Pro] Change natural device orientation to portrait.
This change is needed to ensure compatibility of Camera apps that rely on natural orientation being aligned with portrait camera orientation.

0 degrees is selected over 180 to have the back camera at the top of the device when portrait-only apps are force rotated into specific orientation for compatibility.

Also, temporary override ro.surface_flinger.primary_display_orientation to use it instead the value from HWC API to avoid breaking the build even for a short period of time since there is no direct way to synchronize landing of this CLs chain with pa/2342172

Bug: 246793311
Test: manual QA for top apps and manual exploratory testing for overall device experience
Change-Id: I67f9cb522f4478c83ac6bbc18da2eaf4ee0dd686
2022-12-07 20:01:12 +00:00
Yuchen Liu
30cac33ee4 Merge "[AudioProxy] Enable AudioProxy" into tm-qpr-dev 2022-12-07 18:48:30 +00:00
Beverly
2ba02faa8a Default pickupGesture enabled state is FALSE
Test: manually tested
Bug: 256185823
Change-Id: I2e7f8c7fbe072dd0dae0842067a9925ba4d46e92
2022-12-07 18:23:38 +00:00
Miller Liang
bf0f5362ef Merge "audio: add missed camcorder be_cfg in dsp latency" into tm-qpr-dev 2022-12-07 13:42:35 +00:00
TreeHugger Robot
19a6de8c96 Merge changes from topic "T6-throttling" into tm-qpr-dev
* changes:
  thermal: add charging throttling policy
  thermal: add CPU GPU throttling policy and VIRTUAL-SKIN-HINT
2022-12-07 10:17:54 +00:00
sashwinbalaji
4c6b6d02aa thermal: add charging throttling policy
- Align thermal charge config with older devices
- Add hardlimit for fcc

Bug: 254020998
Test: tested locally by verifying lshal and logs
Change-Id: I96460871a2fa9ad714f9a3e2e722a0ab62fa4ba6
2022-12-07 08:06:08 +00:00
Gillian Lin
ab7bfdbfeb factory: default disable tap gesture function
Set persist.sys.tap_gesture=0 for factory target to disable tap to check
phone by default.

Bug: 261542166
Test: import rc to check tap to wake was not functional
Change-Id: Ia9075f820a944d9f7035edf350816044abd1b9d1
2022-12-07 03:18:09 +00:00
Lucas Silva
472d77fe92 Merge "Disable legacy dream components" into tm-qpr-dev 2022-12-06 15:37:17 +00:00
millerliang
a913e088df audio: add missed camcorder be_cfg in dsp latency
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.

Bug: 260824124
Test: Reporter verified
Change-Id: Ib08e69a1f7ccffc4bdb0ef8965c391126c15ced3
2022-12-06 15:45:49 +08:00
Lucas Silva
785443fca3 Disable legacy dream components
Bug: 260118215
Test: set settings.secure.screensaver_components to the colors
screensaver using adb, and verified it doesn't show

Change-Id: I2e4d4aaa2e16e48efbe6d1b3474464a4da5a12f1
2022-12-05 16:56:02 -05:00
Armelle Laine
d8696e9b81 Merge "Revert "Revert "init: Delay trusty app loading until storage is ..."" into tm-qpr-dev 2022-12-05 19:59:21 +00:00
sashwinbalaji
d9e676ad01 thermal: add CPU GPU throttling policy and VIRTUAL-SKIN-HINT
- Add VIRTUAL-SKIN-CPU-GPU
  - Add PID and BindedCdev aligning with older devices
- Add VIRTUAL-SKIN-HINT
  - Modify light temp from 39 to 37

Change-Id: I648680eedcd508bf2d81ad8d04f5e5a17a1f508f
Bug: 261148703(skin hint)
Bug: 254021126(cpu policy)
Bug: 254021580(gpu policy)
Test: use local build to check lshal and log
2022-12-05 12:14:11 +08:00
Armelle Laine
b3c1e7f84d Revert "Revert "init: Delay trusty app loading until storage is ..."
Revert submission 20612866-trusty-fs-ready

Reason for revert: ag/20620962
Reverted Changes:
I915870922:Revert "init: Delay trusty app loading until stora...
Idc3589cd3:Revert "init: Delay trusty app loading until stora...

Change-Id: I7e12122ff0650a166ead67c9937105595560d211
2022-12-02 19:17:49 +00:00
TreeHugger Robot
e9a0530ff2 Merge "audio: update speaker firmware tuning bin files" into tm-qpr-dev 2022-12-02 09:36:30 +00:00
Stephen Crane
aba401865e Merge "Revert "init: Delay trusty app loading until storage is ready"" into tm-qpr-dev 2022-12-01 22:43:07 +00:00
Stephen Crane
25cc8824f0 Revert "init: Delay trusty app loading until storage is ready"
This reverts commit 0ca6773d8f.

Reason for revert: Fingerprint HAL crashes

Change-Id: Idc3589cd3f7f09306d3a14d03d9529bdf5fdbdce
2022-12-01 21:46:33 +00:00
Stephen Crane
9ce071ea55 Merge "init: Delay trusty app loading until storage is ready" into tm-qpr-dev 2022-12-01 18:54:21 +00:00