Commit graph

95 commits

Author SHA1 Message Date
shawnlin
95d76f9978 Update status bar height res to correct size
Test: make
Bug: 216782082
Change-Id: If4a32ae8114fa9d65523c1141f01faff2497deb2
2022-04-11 11:48:19 +08:00
shawnlin
66077ef4ed Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I862dac1658dd54ce03150a2b36d3c260869d878f
2022-04-02 03:31:25 +00:00
Yanting Yang
41af24a128 Update regulation e-label of B3
Update label for GX7AS (ROW Sub6)

Bug: 204885051
Test: visual
Change-Id: I753e9dc76fb03a0a33da30eeaeea4cc4b9ad333b
2022-03-11 16:53:14 +08:00
vincenttew
1460360449 audio: update audio tuning table
Change list:
1. Modify mic fallback detection parameter to 0x0000 for HA/HH NB/WB/SWB/FB
2. Sync same parameter for BT-HAC TX / TTY_VCO TX / HE_Headphone TX

Bug: 192810349
Test: voice call
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9c1fa1c50dc93e73aacd501a8cb97e4a0e2b877c
2022-03-03 04:10:58 +00:00
TreeHugger Robot
4a4b4cbbec Merge "thermal: Reduce DVFS throttling per BCL irq" into sc-v2-dev 2022-03-02 02:36:57 +00:00
George Lee
4abdd74552 thermal: Reduce DVFS throttling per BCL irq
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia7fca8c349828867a4c8c09d3db95d6def03214f
2022-02-26 13:32:18 -08:00
Yanting Yang
b74419ba77 Add regulation e-labels of B3
Add labels for GB62Z(VzW mmWave), GX7AS(ROW Sub6), G1AZG(EU Sub6) and
GB17L(JP Sub6)

Bug: 204885051
Test: visual
Change-Id: I45dd6ddb9e69f1bff23c8a31ac47deafcc2312f7
2022-02-25 15:20:47 +08:00
TreeHugger Robot
9f067aae85 Merge "powerhint: release BC max frequency when launching" into sc-v2-dev 2022-02-17 05:39:03 +00:00
TreeHugger Robot
d2befd61e3 Merge "thermal: increase SEVERE GPU power budget" into sc-v2-dev 2022-02-16 23:39:27 +00:00
Chris Kuiper
51af3854f0 Merge "Config: fine tune the ambient threshold to improve the brightness stability" into sc-v2-dev 2022-02-16 16:32:08 +00:00
Kyle Lin
8c4b2d44f5 powerhint: release BC max frequency when launching
Bug: 218459805
Test: Build and Trace

Change-Id: I9d3ac193d5eb9449bcbbf7c4d7aeb672d45c7820
Signed-off-by: Kyle Lin <kylelin@google.com>
2022-02-14 08:28:44 +00:00
David Chao
645398693f thermal: increase SEVERE GPU power budget
B3 throttle GPU more than O6 in severe caused lower performance
(e.g. Manhattan fps:62 vs. O6:66), but tests skin temp (B3:43C) is lower than O6 (46C).
Adjust the setting by increase sustain power from 1500 to 2000
and adjust weight to allocate increased budget to GPU only
while keep other component budget constant.
With the CL B3 achieve similar fps to O6 while skin temperature is 1C lower.

Bug: 213406560
Test: thermal throttling worked properly after appling the config
Change-Id: I9b20cc012bdab3792b70e85df82518e2afccea92
2022-02-11 09:40:46 +00:00
Jimmy Shiu
7bd53411b9 Merge "powerhint: fork powerhint.json for b3" into sc-v2-dev 2022-02-10 03:55:37 +00:00
Ed Lin
23e4aa41c8 Merge "Update ./DevInfo/Mod model name" into sc-v2-dev 2022-02-10 03:29:46 +00:00
edyblin
768b542206 Update ./DevInfo/Mod model name
Need to set DevInfo Model name to GB62Z
Bug:213025996
Test: Build pass, Test pass at b/213025996#comment9

Change-Id: Ic63da25caf4b2928ed1579260f897ddc6a39eb5f
2022-02-08 11:10:43 +00:00
Jimmy Shiu
8ac6004dd0 powerhint: fork powerhint.json for b3
Move the powerhint.json from gs101 to b3

Test: build and manually check
Bug: 215655510
Change-Id: I974d00750312dee4479ceffb91c1bde6871b720a
Merged-In: I974d00750312dee4479ceffb91c1bde6871b720a
2022-02-08 12:35:59 +08:00
Chris Kuiper
f95914d63b Config: fine tune the ambient threshold to improve the brightness
stability

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: I9f6e21b2fad4a7200b001401a4385e1158392651
2022-02-01 13:39:22 -08:00
Philip Quinn
78fa2057ed Start twoshay after setting touch_offload permissions.
On the current trigger, twoshay starts before it has permissions to
read the touch_offload devices and gives the following errors:

twoshay.twoshay_pipeline: Failed to open file with ret = -13
twoshay.twoshay_pipeline: Failed to open file with ret = -13

Bug: 216331251
Test: twoshay starts without the above errors
Change-Id: Iaad7600d3245174157ae01d8959f86bc79cb995e
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
2022-01-29 00:49:16 +00:00
TreeHugger Robot
f40642f16b Merge "audio: remove 3 channel config for primary input" into sc-v2-dev 2022-01-27 06:13:48 +00:00
vincenttew
d04a6a4238 audio: remove 3 channel config for primary input
Bug: 215405301
Test: solotester recording Mic/VR source
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ie2c1e998a04eb0d2eeabb316ede64b7a4ed0b750
2022-01-25 23:20:31 +08:00
Johnson Yang
5e4cf939f3 Merge "Bluetooth: B3 BT SAR tables for US/EU/CA/JP" into sc-v2-dev 2022-01-25 11:53:40 +00:00
Sam Ou
ace4accdb0 Merge "power_profile: Correct CPU topology and power number" into sc-v2-dev 2022-01-25 05:51:31 +00:00
More Kuo
334b768243 Bluetooth: B3 BT SAR tables for US/EU/CA/JP
Bug: 215492843
Test: build pass
Change-Id: I854ce7b19ea75a9169ff58edea957fad94066536
2022-01-24 16:02:39 +08:00
George Lee
849a5a999b Merge "thermal: Deploy BCL policy" into sc-v2-dev 2022-01-21 20:31:46 +00:00
Sam Ou
cce795e4f4 power_profile: Correct CPU topology and power number
Bug: 214127772
Signed-off-by: Sam Ou <samou@google.com>
Change-Id: I00cf8b282ba9f2d6e4a05a18e25ed03758338db0
2022-01-21 19:06:55 +00:00
TreeHugger Robot
b491f183ff Merge "conf: remove world writable on speaker.cal" into sc-v2-dev 2022-01-21 11:07:20 +00:00
TreeHugger Robot
13bccc7ff0 Merge "Reveal model/make name in camera EXIF" into sc-v2-dev 2022-01-21 09:35:58 +00:00
Eddie Lan
c28358a727 Merge "fingerprint: Build fps extension lib" into sc-v2-dev 2022-01-21 06:06:27 +00:00
MingChe Chiang
d010f150ed Reveal model/make name in camera EXIF
bug: 201977563
Test: Jpeg exif, CTS
Change-Id: I7cb0fecc684951b30a29683126f9d5740d103a4d
2022-01-21 11:54:05 +08:00
George Lee
4d03382a4f thermal: Deploy BCL policy
Bug: 214568831
Test: Local Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I329c930335c6167bbc5afaa7580a294610e88b76
2022-01-20 17:21:51 -08:00
vincenttew
611fc32f3d conf: remove world writable on speaker.cal
Bug: 215489377
Test: do re-calibration and check the speaker.cal is updated.
adb shell crus_sp_cal -d -s -a --device 5 --ambient 27 --num-speaker 2 --verbosity 7
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I96020bd2cae54c117ddd364aaf292ade04770d05
2022-01-20 09:53:02 +00:00
TreeHugger Robot
4951e41ba0 Merge "audio: update audio tuning table" into sc-v2-dev 2022-01-20 08:56:18 +00:00
eddielan
873bc59478 fingerprint: Build fps extension lib
Bug: 208400345
Test: build Pass
Change-Id: I24c42aa13de94650cd9f597cdea1fb53abcbc7a9
2022-01-20 15:22:31 +08:00
Tim Lin
6265f30670 correct MMS UA, UAProf for B3
Bug: 214140683
Test: MMS and check UAProfile
Change-Id: I4e96aaff750fb87196bb7ee88a350bd2cde3064a
2022-01-20 08:03:39 +08:00
vincenttew
4c0d670b37 audio: update audio tuning table
change list:
1. modify EQ and DRC to increase bass & vocal.
2. Use 18kHz Low Pass Filter one order.
3. Smooth volume curve
4. modify DTMF quiet step a little quieter

Bug: 215311926
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I3fdf930f3ae1bfdd8477dd7addb97fddd5f1eece
2022-01-19 12:57:38 +00:00
vincenttew
156bdf9998 audio: update audio tuning table
Change List :
HA NB/WB RX TDDRC gain for Orange
HA SWB RX FDEQ for Orange

Hardware verification:
- Verified Handset/Speaker phone/USB-Headset function work well.

Bug: 192810349
Test: build pass, voice call
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I8306780860365c8d1bf98239dc9f5dbc40171bfa
2022-01-18 11:52:39 +00:00
Jimmy Shiu
5e85943c0e Merge "PowerHal: move power HAL property to PRODUCT_VENDOR_PROPERTIES" into sc-v2-dev 2022-01-17 01:01:50 +00:00
Jason CH Hsu
254c814489 Merge "audio: update audio tuning table" into sc-v2-dev 2022-01-15 07:51:08 +00:00
TreeHugger Robot
b8880c2465 Merge "Adjust lmkd kill timeout" into sc-v2-dev 2022-01-14 10:19:59 +00:00
Jason Hsu
318acd4ccd audio: update audio tuning table
Change List :
HA WB/SWB RFR and RX TDDRC gain for Orange
HA NB RX TDDRC for TMOUS
HA WB/SWB RX/TX TDDRC for TMOUS

Bug: 192810349
Test: build pass

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I75602de7f29d58e546baa4d5ccd8b867270bb423
2022-01-14 16:26:15 +08:00
Jimmy Shiu
b6b4bf0a31 PowerHal: move power HAL property to PRODUCT_VENDOR_PROPERTIES
'vendor.powerhal.adpf.rate' should be placed in /vendor if it is used
by vendor processes. The product partition (and system_ext) belongs to
"system" in Treble view so it will be replaced by GSI.

Bug: 204035997
Test: Install GSI by b/204035997#comment19 and run the following
      command would get a non-null number:
      $ adb root; adb shell getprop vendor.powerhal.adpf.rate
Test: $ adb shell 'find . -type f -name "build.prop" -exec grep -Hn "adpf" {} \; 2> /dev/null'
    ./vendor/build.prop:83:vendor.powerhal.adpf.rate=16666666
Change-Id: Icdefe5fe61aa3edd2d54766d902f56ee973c00b2
2022-01-13 01:10:58 +08:00
Martin Liu
9fa1038ddf Adjust lmkd kill timeout
Set lmkd kill timeout value as 50 to avoid long
waiting on dying process.

Bug: 212870947
Test: check timeout property
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Iaf90702a84f854ce5f7f3a52702175340e42d974
2022-01-12 21:45:31 +08:00
Yu-Bin Chiu
7b5070a4bb Merge "audio: add mfg_audio record for usb recording" into sc-v2-dev 2022-01-10 05:50:47 +00:00
vincenttew
09a484c4c8 audio: update audio tuning table
Change List :
1. HA SWB
Modify RFR for PTCBR
2. HH NB/WB/SWB
Modify TX TDDRC for Orange SLR
Sync HH TX setting to Headphone/VCO/BT-HAC

Hardware verification:
- Verified Handset/Speaker phone/USB-Headset function work well.

Bug: 192810349
Test: voice call, volume, playback, capture, path switching
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Iae2dec76e8f236dbacb20507d067ea86acc7c526
2022-01-04 11:43:24 +00:00
vincenttew
9db71fc141 audio: add mfg_audio record for usb recording
currently mfg audio tool using audio-recordC usb-headset-mic
in mixer_paths.xml, add a new path for mfg usb recording to
switching the usb mic source

Bug: 213027646
Test: verify pass with mfg tool usb-record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ief5183b6d496c3ffe8234b59954cf9aa213eebe4
2022-01-04 07:56:40 +00:00
vincenttew
9ec5a18e29 audio: update audio tuning table
Change list:
Update recording.gatf file for
1.  Modifing SNS parameters in SA

Bug: 212642733
Test: build pass, camcorder recording, playback
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ie4156c0c1f2228501f9d1e3a31761746ce021631
2021-12-30 08:50:08 +00:00
TreeHugger Robot
03fa993547 Merge "audio: update audio table" into sc-v2-dev 2021-12-29 15:33:06 +00:00
vincenttew
9fa2de1f9b audio: update audio table
Change list:
1. HEWB
 1 Modify TX HE_BB_WB_DT improvement TX_EAD_THR: 0x4500 --> 0x36B0
2. HA/HH  NB/WB/SWB (Generic/TMOUS)
 1 Enable mic blocked algorithm
 2 Sync HH TX setting to Headphone/VCO/BT-HAC

Hardware verification: telephony function is normal (HA/HH/HE)

Bug: 192810349
Test: build pass, voice call, playback, record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I0ada7655207e54ee27bd9ef15e89a84e6199f21e
2021-12-29 10:00:19 +00:00
Joe Huang
a3c45b1680 [DO NOT MERGE] Add HAL attributes to support LPPe DBH features
Fix CP LPPe DBH message missing issue by enabling:
  - CpLppeCancelDbhOnAgnssProvideLoc
  - CpLppeUseAgnssLocForEmptyDbh

Bug: 212487275
Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I66acbbbc82ea34012a1ceb1c8248ec4d1084418f
2021-12-29 07:44:00 +00:00
wenchangliu
066f73ac81 Enable media performance class 12
Bug: 205071373
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Test: atest android.filesystem.cts.RandomRWTest
Test: atest android.filesystem.cts.SequentialRWTest
Test: atest CtsVideoQualityFloorHostTestCases
Change-Id: I462fda9a2c09b6212791b30f4af08d4893ef10e9
2021-12-27 21:09:00 +08:00