Commit Graph

276 Commits

Author SHA1 Message Date
Chris Paulo
ad95139b97 [DO NOT MERGE] lynx/vibrator: Fix Capodetector on AoC restart
Update pointers used in protobuf interface for configuring the detector.
When AoC has an SSR, it causes CapoDetector to go down by null pointer
dereference.

Bug: 261349596
Test: Verified 10x forced AoC SSR - adb shell 'echo mem dump 0 > /dev/acd-debug'
Change-Id: I48d94b721fc3ba689a48e415d04fa4152f4f8865
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-12-29 02:23:42 +00:00
Patty Huang
f976ad7424 Disable LE Audio unicast & broadcast by default
Bug: 253951174
Test: LE Audio related services are all disabled by default
Test: Enable LE Audio realted services by devleoper options

Change-Id: I1ef4d2271769a3c343e4da07133d6941e456a47f
2022-12-27 08:10:44 +00:00
Yung Ti Su
d71280fb16 audio: [L10] Recording tuning table update 12/09 - DVT Ver.3 For Final setting
update the AGC module's parameters, the original setting would suppress the loudness in high sound pressure environment.
idealRMS -34 -> -24
minGain -34 -> -24

Files from the latest attachment on b/261930259

Bug: 261930259
Test: verified by darrenyen@
Change-Id: I5154760a8d6c4856c056cf8491ff5e4d78699dbd
2022-12-12 07:58:25 +00:00
Chungkai Mei
47ab30f2e5 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:43:26 +00:00
millerliang
926ba2baf2 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: I9ee30d97971dc2499787592f8632f48ef79eae80
2022-12-07 13:40:47 +00:00
Yung Ti Su
d89b45c9df audio: Phase in Waves mps file in L10
This file update Thermal LinkLaw parameter:
New parameter:
43 degree C    -1
44 degreeC    -3
45 degreeC    -6
45.5 degreeC  -7
46 degreeC    -8

Below is previous EVT ROM parameter:
43 degreeC    -1
44 degreeC    -2
45 degreeC    -3
46 degreeC    -5
47 degreeC    -7

Files from the latest attachment on b/261676080

Bug: 261676080
Test: verified by supery@
Change-Id: I3549679cc5638cb8094cba58039c5c57056a4b1c
2022-12-07 09:16:43 +00:00
linpeter
6a5f8ebaa2 set 60Hz refresh rate as default
Bug: 261663718
test: check dumpsys display
Change-Id: I976fec416e7562bb972ab1465b5a646ddcba5f7e
2022-12-07 06:50:46 +00:00
Amy Hsu
acdce960f5 display : add display_golden_cal0.pb
Add golden color cal profile

Bug: 224528325
Test: Verified by TE
Change-Id: Iea4ddbb73d742210a2bb4b129710b0163a2c0135
2022-12-06 08:46:42 +00:00
Amy Hsu
cdc7671744 display : update display_colordata_dev_cal0.pb
For smooth display DPU compensation on DVT1.0.
For LHBM compensation on DVT1.0.

Bug: 255935855
Bug: 255517448
Test: Verified by HW.
Change-Id: I763cae4a0637927155c40d16365eb6b212c18bb0
2022-12-03 14:33:44 +00:00
Vic Huang
caa58b6e1e [L10]Update BT SAR tables for different SKUs/countries
Bug: 259198345
Test: Manual test and RF verify pass
Change-Id: I2295ba998811ffcb223782516c18a8ffea523d91
2022-12-02 15:52:36 +00:00
Yung Ti Su
9ef2359c2c audio: [L10] Recording tuning table update 12/01 - DVT Ver.2 For Final setting
update IIR1 parameters on camcorder(6 scenarios) and IIR2 parameters on mic path(mono, stereo) for DVT stage devices on L10. this version fine tune the IIR filter and make the FR as flat as possible.

Files from the latest attachment on b/261005130

Bug: 261005130
Test: verified by darrenyen@
Change-Id: Id7bd28814fd1089cd0af63b29ab6541e5fe57483
2022-12-02 09:34:14 +08:00
Edwin Tung
772d604910 gps: Disable SUPL OTDOA
Bug: 260816431

Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: Ic228089381e51594b5e40ff3298b2e2a807ca1cd
2022-11-30 17:56:36 +08:00
junkyukang
da2b518a5c [L10] gps: enable GNSS PPS feature
Bug: 260532637
Test: Gnss measurement elapsedrealtime work && suspend/resume work,
validity test
Change-Id: Iea71f2fe6bb662bec704d4f6c7b7d5b31a8e173d
2022-11-30 08:35:17 +00:00
pointerkung
1be5765f1e Camera powerhint update
Sync PMU and EM_Profile tuning changes (ag/19819352, ag/20017229) for 60fps power saving.

Bug: 253411744
Test: Build pass, GCA, Camera power/performance evaluation
Change-Id: I21ddc855c0eace1ad516ba1c9ccd9736fc924671
2022-11-30 05:33:25 +00:00
Yanting Yang
110d6bb043 Update MIC e-label for JP SKU of L10
Bug: 259926917
Test: visual
Change-Id: I0d6a5cb5423e94379afd177872cce738df1789fd
2022-11-29 14:30:55 +00:00
David Chao
5fb6fed0a1 thermal: update thermal config for FCC
- Change charging throttling switch-on temp from 25C to 35C

Bug: 260522422
Test: ThermalHAL throttling worked properly
Change-Id: Ifbf27e56203db712fa4b5e29f1e4a91671ca852c
2022-11-29 16:13:23 +08:00
timothywang
465e6e27f8 Remove the useless property
persist.vendor.camera.1080P_60fps_binning_except_rear_main is not used
anymore.

Test: GCA
Bug: 257859918
Change-Id: I0fbb2fb2ed9950bb684596166393774fe5319f81
Merged-In: I0fbb2fb2ed9950bb684596166393774fe5319f81
(cherry picked from commit 518a1291d6)
2022-11-29 06:34:53 +00:00
Jinyoung Jeong
97f951425c Add system property for transfer in non-QS flow
For Lynx/L10 (Pixel 7a)

Bug: 245814974
Bug: 260297446
Test: manual
Change-Id: I43cfb4b249f9e9e026ce5855b48b525c9f7d2450
2022-11-29 04:02:06 +00:00
Yung Ti Su
a0634db44d audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handheld :
Optimize TX SWB/VOIP performance for kid's voice

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Files from the latest attachment on b/260539954

Bug: 260539954
Test: verified by ntkuo@
Change-Id: If25c0bbb1c202d70d2ebabd0093ce1468dedbc86
2022-11-28 15:09:17 +08:00
TeYuan Wang
e8816c6b58 thermal: increase GPU thermal power budget
Bug: 260311882
Test: Test Burn8, MH_OFF, Genshin
Change-Id: I7e0de89275e386446e01233619b54ebc071895ea
2022-11-25 10:09:09 +00:00
Robert Lee
bc0b6a7c01 audio: add new path for diag tools
amp1 = Top speaker
amp2 = Bottom speaker

Bug: 215307768
Test: Builds
Change-Id: Id285b89ac10d5e453b27a9bb1fa9fe8ef0a14fc6
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-24 10:08:24 +00:00
Rick Yiu
e57a5f03b5 Change the default cpuset of camera daemon
Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.

Bug: 240889279
Test: build pass
Change-Id: I11a865fa2eeeb67225d4b129497b1cd85237644f
2022-11-21 10:17:59 +00:00
Yung Ti Su
cc64b02213 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize AMS performance Generic/TMO
Optimize TX/RX performance for Orange

Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimize AMS performance
Optimize TX/RX performance for Orange

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB

Files from the latest attachment on b/259870425

Bug: 259870425
Test: verified by ntkuo@
Change-Id: Ib7a145ce75aa10699e96457a3c345e18d1bff103
2022-11-21 12:03:18 +08:00
Yung Ti Su
20a9437771 audio: enable gapless offload flag
Enable gapless support on compressed_offload w/o trimming delay and padding.

Bug: 259490645
Test: manual

Change-Id: I8b1a9281d2de9c46322cbe12f9e51b9f70adecae
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-11-18 01:53:53 +00:00
David Chao
e21617d617 thermal: update thermal config
Based on EVT1.0 and SpeedTest results to update thermal formula v0.7-1117,
Also add:
- CPU/GPU power budget = CPU/GPU default power budget - MODEM power * 0.3
- Start throttle charging at 25C.

Bug: 257243663
Test: ThermalHAL throttling worked properly
Change-Id: I7c887fd27b776a0be36cddd7f84dcc5b4a736e57
2022-11-17 07:28:19 +00:00
Chris Paulo
0db068b63c device/vibrator: Add contextual haptics feature
Add capability for vibrator HAL to detect whether the device is face-up
and adjust/scale haptic alerts to avoid loud and startling buzzing when
there is no case on the device. Added global compile-time disable that
can be set in the environment.

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I6b2355acb7fa5e0323b8eca6327bb19ac42a2c56
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-16 20:19:54 +00:00
Chris Paulo
24789fe332 device/vibrator: Move vibrator HAL into device folder for l26
Moved L26 portion of vibrator hal from hardware/google/pixel to
device/google.

Bug: 198239103
Test: None
Change-Id: I4dc77f5770929337905878c7ee6acbbfa489bc57
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-16 20:19:54 +00:00
Yung Ti Su
7ccd8f7716 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize RX performance for TMOUS SWB

Files from the latest attachment on b/259193926

Bug: 259193926
Test: verified by ntkuo@
Change-Id: Id0cadbf645e3346e634f91df1e1258b631104b44
2022-11-16 10:12:10 +08:00
Sayanna Chandula
a426bad653 thermal: update shutdown thresholds for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: I96ea572c63595cd2396dc64a3045cca8a63f44fe
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-11-15 03:25:01 +00:00
Kyle Lin
c821db2c4c powerhint: relax the cap when camera exit
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I86b19467f6038a7fde0935bf79f0a0e6bc76523b
2022-11-11 17:45:52 +08:00
Carter Hsu
41c1bcb989 audio: update hidl to 4.0
Bug: 252877772
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iac5181267e99a88f4c955250a78f85ac5fccaf5e
2022-11-11 01:50:19 +00:00
Yung Ti Su
5243d9ff7d audio: [L10] Recording tuning table update 11/09 - DVT Ver. For Final setting
update IIR1 parameters on both camcorder(6 scenarios) and mic path(mono, stereo) for DVT stage devices on L10

Files from the latest attachment on b/258390574

Bug: 258390574
Test: verified by darrenyen@
Change-Id: I2d006076c63f4e7c62cc93d47f515e037d03fb92
2022-11-09 18:27:22 +08:00
Jasmine Cha
0dd39b7952 audio: waves: Playback thermal throttle
- introduce 2nd LL in presets.

Bug: 256506814
Test: manual test

Change-Id: Id5d2635ac45c51ad5d65ac517830fb692831ca2b
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-09 01:24:27 +00:00
Beverly
c457b30aa3 Update lock-icon longpress time to 100ms
Test: manual
Fixes: 257589825
Change-Id: Id85e129b583df074308b86ec89ef4383e9cb1d93
2022-11-07 13:39:02 +00:00
Kyle Lin
d181c82406 set dalvik.vm.dexopt.thermal-cutoff to 1
Bug: 256753117
Test: build and getprop
Change-Id: I61a25a103a9d7b8bb4f8a310d1802920ea1234c8
2022-11-07 12:52:53 +00:00
Yung Ti Su
d0037da39b audio: Phase in audio_policy_volumes.xml in L10
I put refine volume curve file in the attached file.
This new tuning slightly increase 10th~20th volume step loudness.
It fixes user's bug  "16th volume step loudness is quiet compared to B3".

Files from the latest attachment on b/257197305

Bug: 254569854
Bug: 257197305
Test: verified by supery@
Change-Id: I2f0d887da27b898259209afe33d578471b308589
2022-11-03 15:51:55 +08:00
Vincent Wang
9e112e676d Move fingerprint and face haptic form server to sysui(3/3)
BUG: 237621645
Test: Check the vibrator work normally when using biometric unlock
Change-Id: I3f97a94e4df9d089ffb62cb9ad44bff41927b17e
Merged-In: I3f97a94e4df9d089ffb62cb9ad44bff41927b17e
(cherry picked from commit 0873961b4b)
2022-11-03 06:19:52 +00:00
Bonnie Tu
1f65f248f3 Update ./DevInfo/Mod model name
Need to set model name to G0DZQ
Bug: 254423479
Test: XXX

Change-Id: I211d15a969e921fe82a277eec94b62d48fa7e12f
2022-11-02 13:12:14 +00:00
pointerkung
ea20ad99c3 Camera: Enable optimized TNR frequency and create TNR low power hint.
Bug: 243729855
Test: Build pass, GCA, check 4K60 and 240fps TNR clock frequency
Change-Id: I7cede8b8518abb2b16628b6ac5964b8a0c1693d7
2022-11-01 11:33:43 +00:00
Rick Yiu
b05312f680 Limit camera daemon cpuset to little cores when app launch
When exiting camera app, camera daemon is still busy in background,
which may affect the launch animation of launcher. So, limit the cpuset
of camera daemon to little cores for 1 second when there is app launch
hint to improve it. This only happens when camera is running. Also bypass this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: I130b1e4718f8e5ef47ad761a2a73d86697d0f8bc
2022-11-01 07:27:31 +00:00
Jasmine Cha
a487474608 audio: enable BAACL
Bug: 256749917
Test: emul_temp
 adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 80 > /dev/thermal/tz-by-name/soc/emul_temp"
 adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 70 > /dev/thermal/tz-by-name/soc/emul_temp"

Change-Id: I5cc3e42d4715ee6c5b9b5d453a74425b3cb85f57
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-01 07:23:29 +00:00
pointerkung
d71041d54d Increase MIF frequency for 30fps
This CL increases min MIF frequency to 1352000 in 30fps mode.
Although the MIF power consumption increases due to this
change, but the reduction in CPU cycles results in over-all SoC
power saving. This change also doesn't negatively impact framedrop
rate.

P22 change is ag/19820773.

Bug: 256564865
Test: Build pass, GCA, Camera power and performance evaluation
Change-Id: Iacf9172f0ce9edeecb14d38edc3c1466e7e4c7fe
2022-10-31 09:10:08 +00:00
Yung Ti Su
d07d56e222 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize RX performance for DVT
Optimize AMS performance
Sync AMS setting to TMO / Reserve 2 SWB/ HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Sync VOIP RX/RX2 setting
Optimize AMS performance
Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Files from the latest attachment on b/256090548

Bug: 256090548
Test: verified by ntkuo@
Change-Id: I42a92558b89285a49d6688166149813ac4e962cc
2022-10-28 15:49:01 +08:00
David Chao
96ab71498c thermal: update thermal config for EVT1.0
Based on Safety results to modify thermal formula V0.6 for EVT1.0.

Bug: 253992204
Test: boot to home and thermal throttling worked properly.
Change-Id: I545fd4d0fce8dadbf82c45f4f867eb06e811719b
2022-10-21 19:39:17 +00:00
Shanmuga Pandi M
b4fdef36a5 Don't set the min CPU frequency to max frequency for CAMERA_SHOT
Bug: 254797125
Test: 3rd party APP snapshot, GCA live video shot

Change-Id: I7b1012dec9764ebed7744ffa4216028f2948eb9d
2022-10-21 09:58:06 +00:00
Yung Ti Su
d6450a63a9 audio: Phase in Waves mps file in L10
I put L10 EVT tuning files in the attached file.

1. Refine tuning to fix AQTI and dogfood issue.
2. Modify below 20th volume step timbre. Let it clear.
3. Portrait mode and Landscape mode volume curve the same. Use Waves Linklaw to modify Landscape volume curve.
4. Include 1.8A BAACL tuning in this mps

Files from the latest attachment on b/254376925

Bug: 244273219
Bug: 244273447
Bug: 244509076
Bug: 254376925
Test: verified by supery@
Change-Id: I3cfca6cb8e2d2b963347c4832674f438a929f268
2022-10-19 13:01:14 +00:00
Darren Hsu
b36ec31c04 powerstats: update specific data provider configurations
Bug: 253951732
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I25002aa32cca636f12615c67555c957036ab2d24
Merged-In: Ie81082c4c2df6620f361a9ad6d2bc725749e0e00
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-19 06:38:54 +00:00
Cyan Hsieh
2abdd7f706 Revert "Revert "Enable radio on aosp_lynx""
This reverts commit ef4447e281.

Reason for revert: change only affects aosp_lynx-userdebug, test pass with the broken test: FrameworksServicesTests:com.android.server.pm.PackageManagerTests#testSigSameAfterUpgrade

Bug: 253288064
Change-Id: I7285439a6138723bdda037ae5238105c2dd7a1a3
2022-10-19 05:48:10 +00:00
Elie Kheirallah
ef4447e281 Revert "Enable radio on aosp_lynx"
DroidMonitor: Potential culprit for Bug 254323087 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

This reverts commit b9cb6d340b.

Reason for revert: Multiple test failures on multiple targets.

Change-Id: Icf83fcb9a56349adf78638509ac755db7440c660
2022-10-18 23:01:10 +00:00
David Chao
396f97cf15 thermal: increase charging current on WLC charging throttling
Increase cdev_ceiling on WLC:
- MODERATE: from 10 (100mA) to 8 (250mA)

Bug: 250938144
Test: boot to home and thermal throttling worked properly
Change-Id: I978efc8e922e7c7100a3bd557f7d935174d632fd
2022-10-17 09:05:21 +00:00