Commit graph

5034 commits

Author SHA1 Message Date
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
8221a79c0b review grilservice_app
Bug: 254378739
Test:
$ adb shell ps -Z| grep gril
u:r:grilservice_app:s0:c202,c256,c512,c768 u0_a202 1995 829 14518964 91276 0               0 S com.google.android.grilservice

Change-Id: Ie1d22e30cb548b0d82275d9e76fc4810b9fbe289
2022-11-02 11:01:52 +08:00
Adam Shih
5e2579cc53 review oemrilservice_app
Bug: 254378739
Test: boot with the app labeled correctly
adb shell ps -Z| grep oem
u:r:oemrilservice_app:s0:c231,c256,c512,c768 u0_a231 2105 829 14654604 92840 0             0 S com.samsung.slsi.telephony.oemril

Change-Id: I22b839a9547646e811925abfc5ed3b122928123c
2022-11-02 10:57:00 +08:00
Adam Shih
62b41afb1e review rild
Bug: 254378739
Test: boot with rild launched
Change-Id: I90a800bb6b15732cc2fcfdafc5174f8c874b55ef
2022-11-02 10:53:58 +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
Gabriel Biren
7b9dd04005 Merge "Update zuma sepolicy to allow the wifi_ext AIDL service." 2022-11-01 23:19:52 +00: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
Adam Shih
b571e6349c remove duplicated gps setting
Bug: 254758553
Test: build pass
Change-Id: I21c08f138f066f4c3baa7fa0c37ed821e3d03363
2022-11-01 10:54:35 +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
9e250fe85e Merge "bcl: Add Mitigation Logger - Del zuma-sepolicy" 2022-10-31 14:17:57 +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
Adam Shih
81a354fc88 move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I0ffbf5da277d71e04cd3aec1e8ef366b00309a83
2022-10-28 14:00:27 +08:00
George Lee
5a11307aac bcl: Add Mitigation Logger - Del zuma-sepolicy
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
Change-Id: I83f1d8da286b53c0ae072db7ad1ce62900e5837d
Signed-off-by: George Lee <geolee@google.com>
2022-10-28 05:26:16 +00:00
Adam Shih
53ee1c09b9 review cbd
Bug: 254378739
Test: boot with cbd launched
Change-Id: I9c89c0fc3b40957bc60dd7854788d49e498fc0cd
2022-10-28 11:59:23 +08:00
Adam Shih
2f2b04a36e review modem_svc_sit
Bug: 254378739
Test: boot with modem_svc_sit running
Change-Id: Iee1a831f12ca5c2df54181f0807f1d284072cf7f
2022-10-28 11:12:56 +08:00
Adam Shih
92aa199be5 label all wakeup nodes
Bug: 254378739
Test: boot with no system_suspend error on sysfs
Change-Id: I03b663678f543967e70089e3513cfec9335a1a40
2022-10-27 14:12:09 +08:00
Adam Shih
1889b6d85f review modem_diagnostic_app
Bug: 254378739
Test: build pass
Change-Id: Ia2a07987a0e60e882074df1b8514139bdd6cd95c
2022-10-27 13:46:20 +08:00
TreeHugger Robot
6f44317b90 Merge changes I3402c89b,Ia0e63e7f,I28581c15
* changes:
  review dmd and modem_logging_control
  review cbrs_setup_app
  review ssr_detector_app
2022-10-27 02:32:55 +00:00
Krzysztof Kosiński
81da9fe942 Merge "Set displaycolor platform variable to zuma." 2022-10-27 02:31:16 +00:00
Gabriel Biren
9c7e1c9f63 Update zuma sepolicy to allow the wifi_ext AIDL service.
Changes should be similar to aosp/2262723.

Bug: 205044134
Test: m + Pre-submit tests
Change-Id: I458896f8e82be51dde466d7970a2f307d8f9c94d
2022-10-26 23:20:45 +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
Salmax Chang
3d7deb5028 cbd, rfsd: remove the super permissions
Remove the setuid, chown and setgid rules.

Bug: 255494528
Change-Id: I47d4295d2f95ec45d9566ce9badd345dc34c80ac
2022-10-25 17:14:45 +08: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
Adam Shih
f652d07d61 review dmd and modem_logging_control
Bug: 254378739
Test: boot with both of them launched
Change-Id: I3402c89be55bb8258d0ceb8475cef9fb913d2604
2022-10-24 14:30:52 +08:00
Adam Shih
0fb88a6e5c review cbrs_setup_app
Bug: 254378739
Test: boot with the app correctly labeled

Change-Id: Ia0e63e7fc1a6b68ad1a7012e65b063f08f05470d
2022-10-24 14:14:12 +08:00
Adam Shih
aff9f380d3 review ssr_detector_app
Bug: 254378739
Test: boot with ssr app correctly labeled
Change-Id: I28581c15cf0f7ecb01cbd11c747ad338b157e1c8
2022-10-24 14:12:27 +08:00
Adam Shih
cbbbe57599 review rfsd
Bug: 254378739
Test: boot with rfsd launched
Change-Id: I15446c8fb84de588ba09325414a1cbabbdaa9c58
2022-10-24 11:54:10 +08:00
Adam Shih
9c81dc8d56 isolate legacy sepolicy to start reviewing while letting others work
Bug: 254378739
Test: boot, camera, google map, play youtube
Change-Id: If8ee7c64c0f7534a7e918f36a0e785b0ee9cd11f
2022-10-24 11:40:47 +08:00