Commit graph

942 commits

Author SHA1 Message Date
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
TreeHugger Robot
0ae466395b Merge "Update IDisplay to V7" 2022-10-13 08:11:55 +00:00
Jack Wu
42c035d7fa init: support boot.charger_mode feature
1. If the device is powered off by users, boot to charger mode
   after plugging in the charger. Otherwise, boot to OS.
2. Disable this feature by default
3. Enable this feature by persist.sys.boot.charger_mode.enable=1

Bug: 251680171
Test: can enter charger mode from power off
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia02e066ee78aaed1ec8873a10ffac800bc83b60e
2022-10-13 15:48:11 +08:00
Krzysztof Kosiński
f516772b0c Revert "usf: Include usf_product.mk for USF PDK."
Revert submission 20107117-usf_pdk_zuma

Reason for revert: no longer needed.
Reverted Changes:
I871eaf232:usf: Include usf_product.mk for USF PDK.
Icd19909d2:usf: Add USF config for PDK

Change-Id: Ic11efde6fcc27b7c3339c047767a316d5daf6b79
2022-10-12 20:57:06 +00:00
jimsun
343c88ce24 Enable GAudio feature
Bug: 253186589
Test: MO/MT call
Change-Id: I2ffc45d469a60c6fc23161bcaa20fce305c6c953
2022-10-12 23:37:50 +08:00
TreeHugger Robot
c898485528 Merge "Upgrade PRODUCT_SHIPPING_API_LEVEL to 33 for Zuma" 2022-10-12 09:02:52 +00:00
Yi-yo Chiang
64fff3f861 Merge "Remove references to BOARD_BUILD_SYSTEM_ROOT_IMAGE" 2022-10-12 02:59:05 +00:00
TreeHugger Robot
4fdc5dc234 Merge "health: Remove SOC based throttling" 2022-10-11 21:10:44 +00:00
George Lee
6500ff0db7 health: Remove SOC based throttling
Bug: 244359848
Bug: 253059301
Test: Confirm SOC based throttling removed
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I05d6d3e8d37ef5ee1d27275a433177dc29b07b1a
2022-10-11 19:58:04 +00:00
Yi-Yo Chiang
94ef63824b Remove references to BOARD_BUILD_SYSTEM_ROOT_IMAGE
This variable is always false or empty now.
Remove it so we can mark it as deprecated later.

Bug: 241346584
Test: Presubmit
Change-Id: I092d760f00c7bdb26dfd9c074691378cdecfa5b7
2022-10-11 19:04:16 +08:00
TreeHugger Robot
fb27d1a566 Merge "powerstats: update path for energy meter" 2022-10-11 04:14:53 +00:00
Ben Schwartz
2f39df8cb3 powerstats: Fix CPU DVFS frequencies
Bug: 250095402
Change-Id: I64ab645de194e5bc86b3e4a92a8ade6db1d51963
Test: dumpsys android.hardware.power.stats.IPowerStats/default
2022-10-10 22:11:08 +00:00
TreeHugger Robot
27dc0f83a2 Merge "update rc file to set dev/uci permissions for uwb" 2022-10-07 21:01:17 +00:00
Alex Hong
678bf7a183 Upgrade PRODUCT_SHIPPING_API_LEVEL to 33 for Zuma
Bug: 245496247
Bug: 251720107
Test: $ get_build_var PRODUCT_SHIPPING_API_LEVEL
Change-Id: Ib7e0d87e7d26b5390f3700b60450978b3840584e
2022-10-07 16:19:00 +08:00
Darren Hsu
ff90cfc166 powerstats: update path for energy meter
Bug: 250976913
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id97facc75794809ed1b5fe42e214281145b0dbd0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-07 11:16:25 +08:00