Commit graph

2827 commits

Author SHA1 Message Date
Darren Hsu
6ec79d62e1 powerstats: update GPU energy consumer stats
Bug: 244695633
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4cd274a96f4b3857262a7e0a656b3093b8e42eb7
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-07 18:19:41 +08:00
Robin Peng
1f1bdb5429 Merge "zuma: remove prebuilt boot-user.img usage" 2022-11-07 05:53:39 +00:00
Adam Shih
412119e35a remove raven touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: Ic6245796de03a607adb1f2999629732040123f12
2022-11-07 11:36:08 +08:00
Peter Collingbourne
5e5f5ffd2c Improvements for BOARD_WITHOUT_RADIO.
As far as I can tell, GPS is part of the radio board on Zuma, so disabling
the radio should disable GPS as well.

The PixelLogger app has a hard dependency on the shannondm logger,
so don't install it if the radio is disabled.

This will help avoid service restarts so that we will be able
to do more accurate perf measurements.

Bug: 237601345
Change-Id: I60639d8e8fb61343ba19c2d9bea40cbeb8c6e0fd
2022-11-04 19:06:57 -07:00
Robin Peng
80841d9eb7 zuma: remove prebuilt boot-user.img usage
When $(TARGET_KERNEL_DIR) contains:
* boot.img

then use those as prebuilt boot images for the target build.

Bug: 242812258
Change-Id: I7e10698c179d061d16e8f5e4b391c4c82279005f
2022-11-04 06:49:46 +00:00
Yen-Chao Chen
3586b36d91 Merge "init: change touch file owner" 2022-11-04 06:13:55 +00:00
Jenny Ho
fe75eb7e14 Merge "dumpstate: dump battery eeprom into bugreport" 2022-11-04 03:30:15 +00:00
Darren Hsu
e15f63968a powerstats: add AUR DVFS state residency stats
Bug: 244519060
Bug: 256016398
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I9c1e7af0028f28d34e6f2194304f0433f97bb513
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-03 15:32:10 +08:00
Chris Lee
d4f0512aaf Merge "Drop the ACCESS_FINE_LOCATION for Restore" 2022-11-03 05:29:51 +00:00
TreeHugger Robot
29bad315dc Merge "dumpstate: correct the touch dumpstate path" 2022-11-03 03:16:18 +00:00
David Kimmel
acc32747f7 Merge "init: Soft max dev freq persistent properties" 2022-11-02 18:50:02 +00:00
Jenny Ho
8ce88826e6 dumpstate: dump battery eeprom into bugreport
Add coresponse path and permission

Bug: 255894697
Change-Id: I597291bba2d17af99825dbe80a8f1436dc73e58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-02 17:33:13 +08:00
TreeHugger Robot
c293c73188 Merge "align user experience on Android bug tool" 2022-11-02 06:56:17 +00:00
TreeHugger Robot
64f1de6865 Merge changes I41afe01a,Id8307407
* changes:
  powerstats: expose common data provider methods
  powerstats: update core stats state residency
2022-11-02 06:42:59 +00:00
TreeHugger Robot
eba6abf418 Merge "powerstats: update TPU DVFS state residency" 2022-11-02 06:42:20 +00:00
TreeHugger Robot
d97eaa5f53 Merge "powerstats: update power domain state residency" 2022-11-02 06:40:58 +00:00
davidycchen
2a95f0dc94 init: change touch file owner
Bug: 243077990
Test: build pass

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ic68c6041748287e7065ca2df376db9d381eb8dd8
2022-11-02 14:24:32 +08:00
Adam Shih
082bb51497 align user experience on Android bug tool
Bug: 255250616
Test:
adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default wlan

Change-Id: Ibefd8f9fff91cf6ece1f09dd6b207b6f9c97df4d
2022-11-02 13:26:32 +08:00
Adam Shih
d8382a8ac6 Merge "move gps init.rc settings to gs-common" 2022-11-02 02:34:53 +00:00
Darren Hsu
5a69d9ee33 powerstats: expose common data provider methods
Bug: 256942114
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I41afe01aea5d2e816218540a1a14e2e2519b65f7
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-02 10:25:04 +08:00
davidycchen
0c70bcb8b0 dumpstate: correct the touch dumpstate path
Bug: 243077990
Bug: 256913819
Test: trigger bugreport.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I0019587c0fcf5f6446405ea5e9e2a447790ee647
2022-11-02 09:42:23 +08:00
Darren Hsu
226ee13075 powerstats: update core stats state residency
Bug: 244519855
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id83074079bade4f6a3aace25b513ccc99a255fb1
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-02 09:18:20 +08:00
Darren Hsu
cf9769e614 powerstats: update TPU DVFS state residency
Bug: 244518971
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iac01cd2891fa94aaa1e86a0d924d164bf0c55cdc
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-01 20:50:50 +08:00
Darren Hsu
c6d6807f9d powerstats: update power domain state residency
Bug: 244541973
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I6b4a6f8d1f3bc56dcbabe661a18f4f866a5af904
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-11-01 19:32:05 +08:00
Wen Chang Liu
c4a7543d1f Merge "BoardConfig.mk: add BOARD_SUPPORT_MFC_ENC_BT2020" 2022-11-01 02:37:55 +00:00
George Lee
47eb8f3751 Merge "bcl: Add Mitigation Logger - Makefile" 2022-10-31 14:17:57 +00:00
TreeHugger Robot
6e52afaf3e Merge "powerstats: use fvp_stats to collect CPU/MIF state residencies" 2022-10-31 11:28:03 +00:00
Taehwan Kim
fc35c67bc4 BoardConfig.mk: add BOARD_SUPPORT_MFC_ENC_BT2020
Bug: 239912381
Test: atest android.mediav2.cts.EncoderColorAspectsTest
Change-Id: I68be5ef52d60d65886cf9e1dae5069e7daa60775
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2022-10-31 05:02:33 +00:00
Adam Shih
c9f5913ea1 move gps init.rc settings to gs-common
Bug: 254758553
Test: boot and open google map getting my location
Change-Id: I34ef708fc29f617ce9320b790687ac126cf397c6
2022-10-31 10:51:07 +08:00
Jack Wu
e9c71901e4 Revert "init: support boot.charger_mode feature"
This reverts commit 42c035d7fa.

Reason for revert: no longer needed.

Bug: 251680171
Test: manually
Change-Id: I8662fe20361690704820838f983168633d2cae08
2022-10-29 02:50:13 +00:00
David Kimmel
d3d0fb6553 init: Soft max dev freq persistent properties
Bug: 254727262
Test: adb shell setprop persist.vendor.softmaxfreq.mif 3172000

Change-Id: Ic9b00f112dbe9d09b4171d23f634f0e0f7dfbacd
Signed-off-by: David Kimmel <davidkimmel@google.com>
2022-10-28 21:58:41 +00:00
Gabriel Biren
7cc666c771 Update Zuma compatibility matrix to use the
AIDL wifi_ext service.

Bug: 205044134
Test: Presubmit tests
Change-Id: Ide057bb667d55d96990aca1cada2c76d630fcf89
2022-10-28 19:00:43 +00:00
Darren Hsu
34d8dea1ae powerstats: use fvp_stats to collect CPU/MIF state residencies
Bug: 244516713
Bug: 244516289
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4454208cc4ef2a47981f78ba857e331d4f56b39e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-28 18:18:06 +08:00
TreeHugger Robot
bb41a6b07f Merge "move brcm gps solution to gs-common" 2022-10-28 08:45:08 +00:00
Kris Chen
7aa52a5781 udfps: set permissions for osc cal
Bug: 251239489
Test: adb shell udfps_test osc_output
Change-Id: I2292307e0089f43ab6f291b0956e82dc2758d741
2022-10-28 06:07:05 +00:00
Krzysztof Kosiński
81da9fe942 Merge "Set displaycolor platform variable to zuma." 2022-10-27 02:31:16 +00:00
TreeHugger Robot
caf0728a50 Merge "[REVERTME] Keep mali always_on" 2022-10-26 20:14:03 +00:00
Miller Liang
8b760a33bd Merge "audio:Enable AAudio support" 2022-10-26 09:54:45 +00:00
Darren Hsu
bf8d4423e9 powerstats: add new Devfreq state residencies
Bug: 244689272
Bug: 244689401
Bug: 244689409
Bug: 244689754
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id4cd9be4ce032102d53ee34756470c952036d863
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-26 14:26:34 +08:00
Chris.CC Lee
ee12a2ca7d Drop the ACCESS_FINE_LOCATION for Restore
With Android T, GoogleRestore uses NEARBY_WIFI_DEVICES to create a hotspot. ACCESS_FINE_LOCATION was used in Android S and no longer needed in Android T.

Bug: 231966826
Test: Manual tested on Bramble. Used a GoogleRestore APK which declares the use of the ACCESS_FINE_LOCATION permission but the permission is not granted by default.
Change-Id: Ia920623cec62bc013cbfed503d78fd6ad5542fda
2022-10-26 12:49:34 +08:00
Krzysztof Kosiński
032cb9830c Set displaycolor platform variable to zuma.
Bug: 241708558
Test: presubmit
Change-Id: I7f573a6d95a3c4f840a59c9ee56c922941ea5b47
2022-10-26 02:36:46 +00:00
Adam Shih
c1364b5444 move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: Icd316e1999c635dfaad863e8b36188c82bce3b4c
2022-10-26 09:33:51 +08:00
George Lee
73a1f95106 Add BrownoutDetected Events - device
Brownout Detection is detected during the boot sequence.  If the
previous shutdown resulted in a reboot reason that has *ocp* or *uvlo*
in it, the shutdown was due to brownout.  Mitigation Logger should have
logged the device state during the brownout.  This event metric is to
surface the logged data.

Bug: 250009365
Test: Confirm triggering of events
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ib142a4135d0a9ff617fc8355f0ba978b5c3f8afb
2022-10-25 10:10:50 -07:00
Wei Wang
1fe9cfc398 Merge "init: Modify the cpu/policy from 6 to 8" 2022-10-25 15:37:31 +00:00
George Lee
4f74bf9fa2 bcl: Add Mitigation Logger - Makefile
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts.  Information
collected is to help debug system brownout.

Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ie6fd5bc1a46891fc3c611af545e05253b263243f
2022-10-24 19:28:27 -07:00
Nicole Lee
76dc566fd7 Replace the content of default with Pixel_default
Bug: 255275530
Change-Id: I2370cdf2adc3f91d6bc3e75fdc2d7a00091ddb38
2022-10-24 09:26:04 +00:00
Rick Yiu
97f5268b50 init: Modify the cpu/policy from 6 to 8
Note: some file nodes and frequencies do not exist, need to modify
later.

Bug: 249159698
Test: build pass
Change-Id: Ic9bde09a4381d0c3925dd6d49fd517f95cd1b50f
2022-10-24 16:33:09 +08:00
TreeHugger Robot
bcc5a503ff Merge "init: set teo as cpu idle governor" 2022-10-21 22:24:24 +00:00
Chungkai Mei
7618865b72 init: set teo as cpu idle governor
To enhance system performance and save power, chagne idle governor to TEO.

Test: boot to home
Bug: 175800838
Signed-off-by: Chungkai Mei <chungkai@google.com>
Change-Id: I591c1ff8d0c9ed8d5a3b4861c9c5b715ed1c3eae
2022-10-21 13:55:18 -07:00
TreeHugger Robot
bcc77ed0e3 Merge "Remove obsolete source of sensor of P23." 2022-10-21 09:04:09 +00:00