Commit graph

197 commits

Author SHA1 Message Date
TreeHugger Robot
d2243eb68c Merge "powerstats: update display state residency and energy consumer" into tm-qpr-dev 2022-09-16 13:20:30 +00:00
Gil Liu
e40e565db6 Merge "config: update autobrightness table" into tm-qpr-dev 2022-09-16 09:25:55 +00:00
TreeHugger Robot
8bee28fd3b Merge "Remove frequency boost of big cores for FACE_UNLOCK" into tm-qpr-dev 2022-09-16 09:01:55 +00:00
Gil Liu
c358c2b727 Merge "display: update AOD brightness setting" into tm-qpr-dev 2022-09-16 07:58:34 +00:00
Gary Jian
58bcd73499 Merge "Correct MMS UA, UAProf for F10" into tm-qpr-dev 2022-09-16 06:45:03 +00:00
Darren Hsu
eb0c0f8173 powerstats: update display state residency and energy consumer
Bug: 232051653
Bug: 232051289
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I1392ca757575b3f79735b7c4b3d84a00e925c06a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-16 11:48:26 +08:00
TeYuan Wang
f60da16f48 Remove frequency boost of big cores for FACE_UNLOCK
Bug: 245619770
Test: build
Change-Id: I248dda87480b9b6ee082abd3500eabc986182632
2022-09-15 15:01:44 +00:00
TreeHugger Robot
e5f0fa4162 Merge changes I66a85036,Id45dbc2e into tm-qpr-dev
* changes:
  thermal: add cellular-emergency policy
  thermal: correct the typo for sensor equation of fold mode
2022-09-14 11:44:00 +00:00
TeYuan Wang
8f47b098aa thermal: add cellular-emergency policy
Bug: 244114302
Test: emul_temp and check thermal event log
Change-Id: I66a8503673cad943e7bd8fc86d88cb84f71b5022
2022-09-14 17:55:10 +08:00
TeYuan Wang
27929b9fbe thermal: correct the typo for sensor equation of fold mode
Bug: 236787614
Test: emul_temp VIRTUAL-SKIN to EMERGENCY and monitor overheat warning
message

Change-Id: Id45dbc2e7989b9c854f8b4f241d891a76b39cf34
2022-09-14 17:53:27 +08:00
Gary Jian
18f271ab61 Correct MMS UA, UAProf for F10
Bug: 239520846
Test: make
Change-Id: Id42f8cffef9997e79ce602e32440fb07fc65338b
2022-09-14 11:41:51 +08:00
Carter Hsu
7af02ec2af Merge "audio: enable USB clock boost on SWB voice-call" into tm-qpr-dev 2022-09-14 01:05:31 +00:00
Carter Hsu
ed53eed43d audio: enable USB clock boost on SWB voice-call
Bug: 245421488
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If36b80fa8201d6cbaffc097ee1f592f11408661d
2022-09-07 01:12:04 +00:00
Wei Wang
00d57c020a Merge "Replace GPUMinFreq 151000 with 202000" into tm-qpr-dev 2022-09-06 16:08:18 +00:00
gilliu
7a8d1b7ad0 display: update AOD brightness setting
Bug: 244389620
Test: check AOD brightness
Change-Id: Iadce02f701e1572a269a739c0c18224fd955a442
2022-09-06 08:50:21 +00:00
Joe Huang
e8adb84f26 Update RF path loss values
Bug: 245219559
Test: Build test and check xml values
Change-Id: I2dd56e2dcefb6f0cade8aefaa6affa604fdaf943
2022-09-06 15:20:13 +08:00
Siddharth Kapoor
398e87dc72 Replace GPUMinFreq 151000 with 202000
Bug: 240479599
Change-Id: If7a5970b4f6d6049fc0aee4fc7caeb99ccbbdf21
2022-09-05 22:05:01 -07:00
Jason Chang
1368c814cf Disable One-handed mode system property for F10
PRODUCT_PRODUCT_PROPERTIES += \
    ro.support_one_handed_mode=false

Note: We intend disable flag for large-screen device

Bug: 245051925

Test: manually test.
Change-Id: I8c747f999c0e8c99095f00056a61b7691e369bda
2022-09-05 16:42:15 +08:00
Alex Chau
6a238b3d50 Merge "Fix height of status bar" into tm-qpr-dev 2022-09-02 10:48:42 +00:00
TreeHugger Robot
4775c372fe Merge "Config dex2oat according to thermal status" into tm-qpr-dev 2022-09-02 06:04:28 +00:00
Rick Yiu
3fddfd6c6b Merge "Remove RestrictedCpuset hint" into tm-qpr-dev 2022-09-02 04:59:43 +00:00
Alex Chau
cf1f36d2c4 Fix height of status bar
Fix: 244590750
Test: none
Change-Id: I507608b7fd13b2cb0ac0650db6b5c2372bffb211
2022-09-01 18:12:56 +01:00
Rick Yiu
d3901e4f50 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: I7a2d662d96b0818d69c66d5cfb69ec751ef82e33
2022-09-01 08:33:40 +00:00
Wayne Lin
3917cc94ae Merge "Move lhd.conf, scd.conf to device folder" into tm-qpr-dev 2022-09-01 08:27:38 +00:00
Gil Liu
26aeb712f8 Merge "Config: Update display config file" into tm-qpr-dev 2022-08-31 07:30:07 +00:00
Gil Liu
14a5fa5c30 Merge "display: Set ro.surface_flinger.ignore_hdr_camera_layers" into tm-qpr-dev 2022-08-31 07:30:07 +00:00
Shanmuga Pandi M
9ef3632eff [F10] Camera: Enable the product properties.
1. Raise buffer allocation priority
2. Extended cpu boost

Bug: 243607128
Test: GCA
Change-Id: Icc70f68c7af81196a0fb531d8699270fb8c6afc7
2022-08-31 06:05:02 +00:00
TreeHugger Robot
fc210a7534 Merge "Obsecure camera EXIF information for AOSP camera." into tm-qpr-dev 2022-08-31 03:45:22 +00:00
Wayne Lin
ca25c24d3c Move lhd.conf, scd.conf to device folder
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement

Bug: 244258007
Test: confirm the configurations are correct
Change-Id: Idec1cb1b10ab836e696941f6efd8eba48f95a9f2
2022-08-31 10:11:56 +08:00
Wei Wang
e6fcd2b961 Merge "set swiotlb as noforce" into tm-qpr-dev 2022-08-30 16:32:55 +00:00
Martin Liu
48629bbd9a set swiotlb as noforce
There is no swiotlb usage so we can append noforce to
remove 2MB reserved memory.

Bug: 241338125
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ic08d1913cf17265841e6415e3609276658a4322d
2022-08-30 21:22:55 +08:00
Gil
3f58156018 Config: Update display config file
1. Auto Brightness debounce
2. ambient threshold setting
3. Auto Brightness table

Bug: 234326197
Bug: 234327304
Test: adb shell dumpsys display
Change-Id: I387dae5c5c8a554ccdeb799462e5553089c257dd
2022-08-30 20:10:59 +08:00
Gil
40fbaa1786 config: update autobrightness table
Bug: 234327304
Test: adb shell dumpsys display
Change-Id: I77583b834fc5e861ce4b5db6e1962677f41d68a8
Signed-off-by: Gil <gilliu@google.com>
2022-08-30 19:05:06 +08:00
Rick Yiu
3da3205392 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: Ic27752a19e58d955418953937f787328d477ba6d
2022-08-30 06:49:10 +00:00
TreeHugger Robot
520d2ba546 Merge "update dimming usage property" into tm-qpr-dev 2022-08-30 06:27:33 +00:00
MingChe Chiang
0cfb27ef87 Obsecure camera EXIF information for AOSP camera.
Bug: 242039712
Test: AOSP camera snapshot
Change-Id: I0b79919d748b33fcb684eec6e826cbfa7a648f0d
2022-08-30 14:05:00 +08:00
Wei Wang
3783d484b1 Merge "Enable ADPF CPU hints for SF" into tm-qpr-dev 2022-08-29 19:35:05 +00:00
jimmyshiu
6a07310af2 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: If485f2bb12c5e44e58f294807b5085016b148192
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:23:54 +00:00
TeYuan Wang
cd3de1891c thermal: bringup charging thermal throttling
Bug: 233844810
Test: verified by emul_temp
Change-Id: I3d92d6495ae547e863f00d743810eaa272868949
2022-08-29 16:21:12 +08:00
TreeHugger Robot
708e6df79f Merge "p2p: fix p2p configuration" into tm-qpr-dev 2022-08-24 03:14:18 +00:00
TreeHugger Robot
3dedd5967a Merge "F10: update default brightness" into tm-qpr-dev 2022-08-24 02:48:37 +00:00
Jimmy Chen
5d98978037 p2p: fix p2p configuration
The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Change-Id: If34d3173bba6d3fe2296d3dd63b05d99221faf42
2022-08-24 08:53:46 +08:00
TeYuan Wang
e2fcfb0697 thermal: enable sendCallback for SKIN thermal sensor
Bug: 236787614
Test: emul_temp VIRTUAL-SKIN to EMERGENCY and monitor overheat warning
message

Change-Id: I44362239b2037f7e606b9a797a1a1c8da67c1410
2022-08-23 07:56:37 +00:00
jimmyshiu
24be6d7726 Remove FPS boost
Bug: 241312961
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I617b36bf2bb5169ea7389fb0ea2c198fec6d938b
2022-08-23 05:20:11 +00:00
David Chao
91f8937f1f thermal: seperate thermal config for charging
Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 240897207
Test: thermalHAL init completed in charger.
Change-Id: I6e0c6869969ae1e817db00e2492afb3aaa2fe43d
2022-08-22 14:41:30 +08:00
TreeHugger Robot
2b31d3c72d Merge "Support 4k60 for physical outer front camera" into tm-qpr-dev 2022-08-18 04:53:11 +00:00
MingChe Chiang
c51fbed636 Support 4k60 for physical outer front camera
Support 4k60 recording for outer front camera and 1080p30 for inner
front camera.

Bug: 242944421
Test: Video recording
Change-Id: Iff3a0922085c559879449a7a1200726762593c9b
2022-08-18 04:46:22 +00:00
Burney Yu
f1af595c4e F10: update default brightness
update default brightness in kernel to match the brightness from bootloader.

Test: make dist -j 128
Bug: 234327433
Change-Id: Iadc96325addda2fa569a70bd7d6aa14e5c181ad2
2022-08-16 18:53:52 +08:00
linpeter
b9d18c4a31 update dimming usage property
Bug: 234327328
test: check value of property
Change-Id: I30ea114148538eb81214ecbca3f6ec6f6540c9a2
2022-08-15 20:35:09 +08:00
TreeHugger Robot
beb65036fa Merge "Add early wake up node property for secondary display" into tm-qpr-dev 2022-08-11 08:25:32 +00:00