Commit graph

1278 commits

Author SHA1 Message Date
Peter (YM)
959543581d thermal: read thermistor temp from sysfs
- avoid wrong sensor value reading for thermalHAL

Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I8b6c828896159af3d4a0fbe6023a1097b0d6dc77
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:51:14 +00:00
Treehugger Robot
4a15f39063 Merge "gps: Update 4.15.1_19_240725_R1 config for CT3" into main 2024-07-24 12:49:57 +00:00
Robin Peng
f2c7344513 [automerger skipped] Update Comet SVN to 5 am: dc15dc3a03 -s ours
am skip reason: Merged-In I760b22383d2d8b563ad98989a8ee092f997bcbc4 with SHA-1 1885637a49 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28421210

Change-Id: Id97a5ce404c4bff9d852b9e2f1197d868f653da9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 08:16:10 +00:00
Treehugger Robot
cbe0081a4b Merge "init: Remove unused 1540.app" into main 2024-07-23 07:02:31 +00:00
Bao Do
c8c10532af Merge "Set system property for LEA multi-codec for Comet project" into main 2024-07-23 02:14:41 +00:00
Robin Peng
843a4f578d [automerger skipped] Update Comet SVN to 4 am: ceee48c3e4 -s ours
am skip reason: Merged-In I760b22383d2d8b563ad98989a8ee092f997bcbc4 with SHA-1 1885637a49 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28421208

Change-Id: I4d2497ed53587f7da987a0111ccfd6119a3bafa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-22 17:33:59 +00:00
Robin Peng
dc15dc3a03 Update Comet SVN to 5
Bug: 350826665
Change-Id: I3f46d224b18807266ccd144b779d5f7271845ba8
Merged-In: I760b22383d2d8b563ad98989a8ee092f997bcbc4
2024-07-22 06:12:42 +00:00
Robin Peng
ceee48c3e4 Update Comet SVN to 4
Bug: 350826665
Change-Id: Ic5d7655e514cafc5bcfafbcfebfec7023cf0330d
Merged-In: I760b22383d2d8b563ad98989a8ee092f997bcbc4
2024-07-22 06:12:24 +00:00
Robin Peng
5bd46d2188 Update Comet SVN to 4
Bug: 350826665
Flag: build.RELEASE_SVN_COMET
Change-Id: Ic5d7655e514cafc5bcfafbcfebfec7023cf0330d
2024-07-22 06:01:57 +00:00
James Huang
264230a9e7 gps: Update 4.15.1_19_240725_R1 config for CT3
Update GnssPowerStats config

Bug: 300361503
Test: CTS/VTS, GNSS sanity test, stress test
Change-Id: Iaf4aff4d750085f99baac0d64999572ec64b035a
2024-07-20 10:44:18 +08:00
Kangping Dong
2bc93e68b6 Merge "Add ThreadNetworkDemoApp to comet device-comet.mk" into main 2024-07-19 02:56:45 +00:00
Kyle Hsiao
1885637a49 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I760b22383d2d8b563ad98989a8ee092f997bcbc4
2024-07-18 13:09:11 +00:00
Kangping Dong
6f74100068 Add ThreadNetworkDemoApp to comet device-comet.mk
Flag: EXEMPT userdebug-only change
Bug: 353883169

Change-Id: I0f76d0e573ba787c3a897e4ca45afc32f5303a8c
2024-07-18 09:31:52 +00:00
Yvonne Yip
4d8c8dfade powerhint: Enable auto migration margins/dvfs headroom for game mode
Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.

Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.

Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61cf08366eb4e916beb1ad910754c8bc6c18bf14)
Merged-In: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da
Change-Id: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da
2024-07-17 23:00:31 +00:00
Yvonne Yip
51140ac43c powerhint: Add nodes to control per-task iowait boost
It's disabled by default.

Ensure camera and game mode explicitly disable it too as it is only
required when auto margins are enabled for now.

Ensure it is disabled when screen is off too as We don't want io
activities to cause wake up on bigger cores while screen is off.

Bug: 340534339
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dad48beaeb9f9fce8acb67c06bfd022e86ce0e0d)
Merged-In: Ie9d20fe5ad6b423e8c26a36b7f01592040292ead
Change-Id: Ie9d20fe5ad6b423e8c26a36b7f01592040292ead
2024-07-17 22:59:56 +00:00
Yvonne Yip
b804969d8f powerhint: Add nodes required to enable auto migration margins/dvfs headroom
Everything should be disabled by default.

Make sure camera and game explicitly disable them by default too.

Ensure the feature is disable when screen is idle.

Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb4df08c9ea617625d25cf12bc60c41c173d996b)
Merged-In: Ibd08cec303010e87057463f5aff737a5105e04b6
Change-Id: Ibd08cec303010e87057463f5aff737a5105e04b6
2024-07-17 22:59:25 +00:00
Yvonne Yip
62542ec650 powerhint: Explicitly set DownRateLimitUs for camera
So that we can change the default values without impacting it.

Bug: 315748906powerhint: Explicitly set DownRateLimitUs for camera

So that we can change the default values without impacting it.

Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9084165d0d0f699f7cc3968dded4f71d4ec20a92)
Merged-In: Ic14d51f0b5b512f5557d904d682e9f934bbab87f
Change-Id: Ic14d51f0b5b512f5557d904d682e9f934bbab87f
2024-07-17 22:58:00 +00:00
eddielan
c93bb1ebb0 init: Remove unused 1540.app
Bug: 353447862
Test: Build pass & verify on device
Flag: EXEMPT NDK
Change-Id: I8a60b6fac737bb6a337a43df3cb4f971d72c190f
2024-07-17 06:21:11 +00:00
Bao Do
09d12a9a52 Set system property for LEA multi-codec for Comet project
Bug: 306225778
Test: Check system property value
Flag: NONE system property change only
Change-Id: I46cd826bab76b68201141f13287399e7f95c00a0
2024-07-16 11:33:20 +08:00
Treehugger Robot
b416bdb6d0 Merge "Powerhint tuning for photo capture" into main 2024-07-15 09:17:35 +00:00
Isaac Chiou
6763fac6cc Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork am: 84c4eeb901
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28285484

Change-Id: Ib4388a25f1287d233b50a2052828a2d0b20b29bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-15 04:29:48 +00:00
Pointer Kung
4080c0deea Powerhint tuning for photo capture
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.

To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.

Refer to ag/28118299

Bug: 345601796
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: I7d6d0c5c23aaf7888a64ecbafde2275129fd22a1
2024-07-15 04:14:05 +00:00
Lokesh Kumar Goel
effd8c87a7 Merge "comet: Use build_flags for SVN" into main 2024-07-12 18:00:39 +00:00
Treehugger Robot
821febfb74 Merge "Revert "Enable bootstrap for DVT for convenient testing"" into main 2024-07-12 17:33:18 +00:00
Isaac Chiou
84c4eeb901 Wifi: Disable config_wifiEnableStaIndoorChannelForPeerNetwork
In JP, the device is not allowed to enable hotspot on W52 (5G band 1) outdoors unless the warning statement is present, and the original mechanism would violate regulations when the device connects to AP on W52 and enables the hotspot outdoors.

This CL disable config_wifiEnableStaIndoorChannelForPeerNetwork and make sure the device will not enable hotspot on Indoor Channel

Bug: 351981809
Test: AU drop/IFS/RvR/CTS/VTS/Manual Test, JP SAP indoor channel test
Change-Id: Ib5bf4c59edd3ea802b850372e709598e64ab54ae
2024-07-12 08:01:12 +00:00
Meng Wang
18bcbf8b90 Revert "Enable bootstrap for DVT for convenient testing"
This reverts commit 65acbd0996.

Reason for revert: DVT may be used by RoW carriers for test. Do not want to suddenly enable bootstrap for them and cause confusion.

Bug: 343731008
Change-Id: I8419188d3a1d433c52f9ae4eb235afd3bc4d7935
2024-07-12 00:03:56 +00:00
Lokesh Kumar Goel
8289963985 comet: Use build_flags for SVN
Flag: build.RELEASE_SVN_COMET
Bug: 332726030
Change-Id: Ie851e0f40fa5d44d7632978d0735da803394e6d0
2024-07-11 20:00:18 +00:00
David Lin
442491542d Merge "Increase SPC thresholds based on the field data" into 24D1-dev am: 5ddc4bc359
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28179628

Change-Id: I27fa02fe9dde758554ce9896753828a1ffac7254
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 01:53:47 +00:00
David Lin
4a63c3e3c1 Merge "[Bluetooth] Update BT SAR table" into 24D1-dev am: 48716e9c9c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28210500

Change-Id: I3158b8ecffd90bf2b433bb8b2608b861ab32541b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 01:52:38 +00:00
David Lin
5ddc4bc359 Merge "Increase SPC thresholds based on the field data" into 24D1-dev 2024-07-11 01:21:32 +00:00
David Lin
48716e9c9c Merge "[Bluetooth] Update BT SAR table" into 24D1-dev 2024-07-11 01:15:05 +00:00
Pointer Kung
4d6418dc70 Increase SPC thresholds based on the field data
Refer to ag/28174403

Bug: 350111391
Test: Build pass, Boot to home
Test: 30fps/120fps ~+20mW, 60fps ~+26mW without frame drop impact
https://docs.google.com/spreadsheets/d/1z_s2z_MjSYOcEKZbKdC6Pu0quoSDZDzn3bawaulInzo/edit?usp=sharing
Flag: EXEMPT bugfix
Change-Id: I686e5d45ac0595c93b766ea311cd390f4d3d7bd7
2024-07-10 17:29:27 +00:00
Robin Peng
902e709ac3 Update SVN to 3 am: 44ab63212c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28189884

Change-Id: If86e416a8037d889f7682dfab71673ff2f58c8fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-10 09:23:30 +00:00
Koli Lin
e17b0ee2bf add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: Ia2e128e602cf63bff8830f2a4e65b862df08a0a3
2024-07-09 07:58:35 +00:00
Pointer Kung
c3552767f0 Increase SPC thresholds based on the field data
Refer to ag/28174403

Bug: 350111391
Test: Build pass, Boot to home
Test: 30fps/120fps ~+20mW, 60fps ~+26mW without frame drop impact
https://docs.google.com/spreadsheets/d/1z_s2z_MjSYOcEKZbKdC6Pu0quoSDZDzn3bawaulInzo/edit?usp=sharing
Change-Id: I686e5d45ac0595c93b766ea311cd390f4d3d7bd7
2024-07-09 02:22:41 +00:00
Ted Wang
36dec6ad46 [Bluetooth] Update BT SAR table
Increase SAR table MIMO power for all region

Bug: 351756436
Test: Acceptance test
Change-Id: Ide5e8261d871c69c273190c2fcd6eb5e2f1607fa
2024-07-08 09:28:00 +00:00
Robin Peng
44ab63212c Update SVN to 3
Bug: 350826665
Change-Id: I61495499ba6b1932a53ddae460cab8f9541a13f1
2024-07-05 01:03:03 +00:00
Robin Peng
0854dd9a69 Update SVN to 2 am: 85585670a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28156922

Change-Id: Iba32d88de9efa6ab56a84f2c86c2b17eecdf2f29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-03 08:01:54 +00:00
Robin Peng
85585670a3 Update SVN to 2
Bug: 350826665
Change-Id: Ib45615fcb7e1e71db10764a447db523b8f7b9a9a
2024-07-03 02:11:32 +00:00
Greg Piecyk
53d2b2dd46 [CT3] Add config.xml to OMA-DM package with DevInfo Model name. am: 23c53a9f41
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/28014823

Change-Id: I7d94fe57e18c524416524763302985f27e031198
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-02 09:37:32 +00:00
Treehugger Robot
89cacdb48c Merge "Revert "[Thread] remove thread hal"" into main 2024-06-28 04:14:18 +00:00
Patrick Chang
fa64acd71e Revert "[Thread] remove thread hal"
This reverts commit 5cca60ceb8.

Reason for revert: add Thread HAL back to main branch
Bug: 349759405
Change-Id: I1f4dfc3c7cc70f237987f3ced9bb7a2cf991361d
2024-06-27 09:41:55 +00:00
Richard Chang
60066c727e Merge "Reapply "powerhint: add proactive kill hint for camera launch"" into main 2024-06-27 07:19:51 +00:00
Treehugger Robot
2898c2efd6 Merge "bt: enable vendor logging and update BQR event_mask" into main 2024-06-27 04:27:05 +00:00
Oleg Petšjonkin
81404d4890 Merge "Revert^2 "Set persistBrightnessNitsForDefaultDisplay to true"" into main 2024-06-25 18:47:53 +00:00
Greg Piecyk
23c53a9f41 [CT3] Add config.xml to OMA-DM package with DevInfo Model name.
Set DevInfo Model name to GGH2X for Comet (CT3).

Bug: 347345943
Change-Id: I509e2594b8e161a72d5047d03997872db7874fd0
Test: b/347345943
2024-06-24 22:10:10 +00:00
Meng Wang
65acbd0996 Enable bootstrap for DVT for convenient testing
Bug: 343731008
Flag: NONE init.rc change limited to DVT hardwares
Change-Id: I2084852ed3b0af5a1d7fca86fa116918a2900c3c
2024-06-24 21:11:25 +00:00
Liana Kazanova
8289bd4ea9 Merge "Revert "Move PRODUCT_SHIPPING_API_LEVEL to define by device"" into main 2024-06-24 20:04:02 +00:00
Liana Kazanova
b43f7a6c72 Revert "Move PRODUCT_SHIPPING_API_LEVEL to define by device"
Revert submission 27975044-ship_api_35

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

Reverted changes: /q/submissionid:27975044-ship_api_35

Change-Id: Ib2d214b4598b6d131e3fdba7901bf678e2968f80
2024-06-24 16:31:49 +00:00
Cyan Hsieh
3a9f1fe03a Merge "Move PRODUCT_SHIPPING_API_LEVEL to define by device" into main 2024-06-24 11:11:39 +00:00