Commit graph

406 commits

Author SHA1 Message Date
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
millerliang
0e707c7cfc audio:Enable AAudio support
Enable the realted property and the needed files
for MMAP use cases.

Bug: 254160121
Test: OboeTester

Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I17011349c80ac66601ccccd3edcac5aa529d2df9
2022-10-21 15:25:52 +08:00
Adam Shih
4a9f47fc47 Merge "move aoc settings to gs-common" 2022-10-21 00:08:01 +00:00
Jonglin Lee
3155288db0 [REVERTME] Keep mali always_on
Keep mali always_on to prevent crashes during GPU DVFS

Bug: 254526976
Signed-off-by: Jonglin Lee <jonglin@google.com>
Change-Id: I07c5453adbdb308c14a733f7010e88d70b10b0cf
2022-10-20 15:10:18 -07:00
Cheng Chang
fecf5610ba gps: update gps driver 147.20.23.552120
- Fix OnChipAccMask setting is not working
 - Fix SUPL connection issue caused by incorrect DNS caching in gpsd
 - Fix ADR_STATE_HALF_CYCLE_RESOLVED is not set properly for GLONASS
 - Support new IPC sitIndGpsNfwData and sitIndApEmcState for modem location privacy feature.
   - sitIndGpsNfwData
     Modem can report NFW data for CP non-AGNSS cases like E-CID/OTDOA to gpsd
   - sitIndApEmcState
     Modem can get emergency status from gpsd

Bug: 249908120
Bug: 247476666
Bug: 247733027
Bug: 230404480
Test: manually
Change-Id: I63356ad0adca2723718da1b3f5cac15d202c4980
2022-10-20 05:35:34 +00:00
Adam Shih
03063d506b move aoc settings to gs-common
Bug: 248426917
Test: boot with aoc launched
Change-Id: If1bebaf185071efcb9477d16aec7f9a518e6d785
2022-10-20 11:24:47 +08:00
Stefano Tommasini
353f2be720 Add NEARBY_WIFI_DEVICES permissions to be granted by default on new Pixel devices
BUG: 253260100

Change-Id: I4c4a336ec63111f71eb955b5fed19260d8f8efd9
2022-10-19 14:41:24 +00:00
Adam Shih
ee95ff6570 Merge "update dumpstate to latest version" 2022-10-19 11:22:26 +00:00
Adam Shih
c745e34cb4 update dumpstate to latest version
Bug: 240530709
Test: adb bugreport
Change-Id: I49ffdcadce89e3dc8859819576998df56928a75a
2022-10-19 15:22:46 +08:00
Tommy Chiu
e2d5c4820b GSC: Bring storngbox RKP back
This service was commented before, for dev-board bringup.

Bug: 253425352
Test: Boot to HOME
Change-Id: I398b821d238ed23b00cdf60859c9f33eae525197
2022-10-19 06:45:14 +00:00
emilchung
af7c535d3a Remove obsolete source of sensor of P23.
These files are not used anymore, removed them.

Bug: 245007498
Test: build pass and check the build on HK3.
Change-Id: I81c37bcc562be9dc89974735c2158ea3d1117de2
Signed-off-by: emilchung <emilchung@google.com>
2022-10-19 11:57:03 +08:00
TreeHugger Robot
3abe730880 Merge "powerstats: update CLx-DVFS state residency" 2022-10-18 12:27:32 +00:00
TreeHugger Robot
79fa85cf58 Merge "create catpipe folder for camera useage" 2022-10-18 03:32:06 +00:00
Darren Hsu
c2b947484a powerstats: update CLx-DVFS state residency
Bug: 254026553
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Idd69fba97968d49434ab8fe2422593f8af54fc83
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-17 21:48:32 +08:00
Speth Chang
ae205738a8 create catpipe folder for camera useage
The folder will be used for place the necessary libraries that used by
catpipe functions.

Bug: 249274299
Test: build pass, check the folder with user build
Change-Id: I4554414b6e831a8541ae636d8289f986cca7a6c0
2022-10-17 14:54:07 +08:00
Firman Hadi Prayoga
a2d00c609c Add restorecon_recursive to /mnt/vendor/persist/camera.
Bug: 253560582
Test: Boot
Change-Id: I93297b7c89f1858af2da552ebfa078f6041077ca
2022-10-17 14:13:10 +08:00
Shiyong Li
57c9064576 Merge "Disable dimming mode in factory build" 2022-10-14 17:44:12 +00:00
TreeHugger Robot
e30a263eb0 Merge "init: support boot.charger_mode feature" 2022-10-14 07:09:40 +00:00
Krzysztof Kosiński
1284a92253 Merge "Revert "usf: Include usf_product.mk for USF PDK."" 2022-10-13 22:11:52 +00:00
TreeHugger Robot
fde8e41f9b Merge "factory: udfps: Configure permission for display file node." 2022-10-13 10:42:41 +00:00
Kris Chen
962b33e652 factory: udfps: Configure permission for display file node.
Configure permission to get display DDIC chip id.

Bug: 228302164
Bug: 250740167
Test: Performed UDFPS calibration on SB3
Test: Verified the correct cali file was generated under /data/device_cali/
Change-Id: If629ce3a954252bf84e5ea20f54a5adbf1491db2
2022-10-13 17:44:51 +08:00
linpeter
242ea42ffb Disable dimming mode in factory build
Bug: 252965426
test: check dimming flag
Change-Id: I581d4449b8e68bfb996ddde3784b31ed98b12985
2022-10-13 16:36:42 +08:00