Randall Huang
0e178ea210
fstab: add the noatime for read-only ext4 partitions
...
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I44f9632cc7b848d6fe673232be014cef71355018
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-07-06 14:59:39 +00:00
Sebastian Pickl
ac5dd11596
Revert "bt: make bluetooth own the data vendor bluetooth folder ..."
...
Revert submission 23844270-P22-vendor-log-udc-qpr
Reason for revert: causes selinux tests to fail b/289989584
go/abtd: https://android-build.googleplex.com/builds/abtd/run/L37600000961782595
Bug:289989584
Reverted changes: /q/submissionid:23844270-P22-vendor-log-udc-qpr
Change-Id: Ife1c71257572101c32b9e6f60c275b9366c654b2
2023-07-05 11:28:39 +00:00
Patty Huang
f77e84ac98
bt: make bluetooth own the data vendor bluetooth folder permission
...
Bug:289055382
Test: enable vendor debug log and check the vendor snoop log contain the
vendor log
Change-Id: If3e247093deae5b9d5c237dc585973e77a0629b1
2023-07-05 06:16:08 +00:00
Luis Delgado de Mendoza Garcia
03df275b45
Add chre dedicated channel and start using them in chre_daemon.
...
Adding the necessary entries to ueventd for gs201 and newer and
enable the flag for chre_daemon to start using the channel.
Bug: 241960170
Test: in-device verification.
Change-Id: Ie53e3c21e6c83f9e184d31fd189cff3e5602bb2b
2023-07-03 02:57:05 +00:00
guibing
ae51b7425b
init: reduce the boot boost uclamp min.
...
Use a moderate boost instead of fmax out of thermal constraints.
Bug: 284039815
Test: boot ab tests
Change-Id: Ie8d321e20d64e97d2896f6e5cf6f437dede84928
2023-06-30 08:38:04 +00:00
Rick Yiu
a6499b7e3e
Make bg group throttle value experimental am: 7e4ac7e54e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/23728183
Change-Id: I6a4efe4b7342bc9c597359f73d8c8e837dbabef2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:15:58 +00:00
Rick Yiu
7e4ac7e54e
Make bg group throttle value experimental
...
Bug: 287562715
Test: build pass
Change-Id: I6482881c454687fe7ccae5d7d1da39d88b27a476
2023-06-16 11:19:18 +00:00
Angela Wu
7de9995af8
Allow access to video12 from applications.
...
Change-Id: Ib5534999715d7f35fe21422e8846ec49a62a9b68
Test: same as ag/23052928
Bug: 267820687
2023-06-06 15:21:50 +00:00
Wei Wang
f2ec1ed9ab
Remove prefer_idle for SF CFS tasks
...
Test: Boot
Bug: 236868627
Change-Id: I57ea6032f2b6fcd974455ec09cb0318ec9601923
Signed-off-by: Wei Wang <wvw@google.com>
2023-06-02 21:19:56 +00:00
Matt Buckley
b4e9557898
Remove rt_uclamp_min and sf_uclamp_min
...
rt_uclamp_min and sf_uclamp_min have been made redundant in Pixel by
ADPF for sf, so we are just going to remove them outright rather than
worrying about overriding them later
Bug: 285248880
Test: manual
Change-Id: I230a9f39603a27409a2a06b22bc62b8ede4af94c
2023-06-02 16:33:34 +00:00
Carter Hsu
e7e7c77862
audio: set system/audio group for acd-mel_processor
...
Bug: 244133608
Test: build pass
Change-Id: Icf9c8361076f5775df2b63713058514c6f86d886
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-06-02 01:10:09 +00:00
Jenny Ho
8352219e0d
dump_power_201: update battery fg dump data
...
- add battery eeprom dump path
- adjusted maxfg names for better readability
Bug: 284878175
Change-Id: I162314f580eace926c9cd661d8d1e04dea131fe4
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-05-30 12:00:20 +08:00
Donnie Pollitz
d78467fe66
Make sure nsp storage has the right owner/group
...
Background:
* Not all secure storage files had the correct ownership transitions.
Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: I4486bb08d21e42cf3099c6b600a7adaf7580c4bf
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-05-26 07:17:39 +00:00
sashwinbalaji
9ad2131f09
thermal: Update path reading for temperature residency metrics
...
Add temperature residency reset path
chown to system to reset from pixelstats
Bug: 193833982
Test: Local build and verify atom logs
Change-Id: I272b1f52243dcb91d4d6dd142c54edf533f6498c
2023-05-25 05:28:45 +00:00
Sam Dubey
b67c8e1423
Revert "Make sure nsp storage has the right owner/group"
...
Revert submission 23280559-nsp
Reason for revert: b/284107307
Reverted changes: /q/submissionid:23280559-nsp
Change-Id: Ieaed6e8e130c1a443c48981d160dc20e06c2449b
2023-05-24 10:40:51 +00:00
Donnie Pollitz
2a83a22a6d
Make sure nsp storage has the right owner/group
...
Background:
* Not all secure storage files had the correct ownership transitions.
Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: Ic76f312ec954e8afbbe95b3843356b8f92a1d4a7
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-05-24 08:30:29 +00:00
Rick Yiu
0fed542401
Restore uclamp.max for bg groups
...
These values could indicate if cpu is running important tasks.
Bug: 201260585
Test: build pass
Change-Id: I222ba118f63d8c1a3285c882eb4e5940e666a02d
2023-05-24 06:06:17 +00:00
Rick Yiu
ba9adf43a8
Modify utilization group setting
...
We should set sysbg_ug to UG_BG but not sys_ug.
Bug: 282718756
Test: build pass
Change-Id: Id7075ed90cd130b8314e59525365dce0293432c6
2023-05-18 10:07:46 +00:00
Rick Yiu
9c4d422154
Set top-app to UG_FG explicitly
...
Bug: 280924566
Test: work as expected
Change-Id: Ic918055f9ce6a21d2eb1a95357f0036eacd688e3
2023-05-12 11:05:29 +00:00
Rick Yiu
118604edc1
Rename vug_bg_group_throttle to ug_bg_group_throttle
...
Also set initial ug group for some vendor groups.
Bug: 201260585
Test: build pass
Change-Id: Ice6021eddccce508d5b9a6658c1ea4b281b34f23
2023-05-10 08:32:44 +00:00
Rick Yiu
9fd00f36cb
Set boost_adpf_prio with property
...
Set boost_adpf_prio with property for experiment.
Bug: 245675204
Test: work as expected
Change-Id: If0fd7d1d581d349d7487ba4b4902e38a34d70436
2023-05-04 12:21:49 +00:00
Rick Yiu
050710937c
Relax background cpuset
...
With bg group throttle set to 30 percent of cpu capacity, we need to
relax background cpuset as well.
Bug: 201260585
Test: value set as expected.
Change-Id: I18297904e63f84c4d3d64880ebab7e924a830e42
2023-05-02 06:18:55 +00:00
Rick Yiu
9d122f3b4e
Set bg group throttle to 30 percent of cpu capacity
...
Also remove old settings.
Bug: 201260585
Test: value set as expected
Change-Id: I31576d3c10c293e32616e839e29d751beb7a2a6c
2023-04-29 03:27:00 +00:00
Ken Chen
6c5bec678a
Increases socket buffer for 5G FR2 throughput
...
The existing socket buffer size is unable to sustain 4.2Gbits/s. Enlarge
buffer size based on LAB test result.
Bug: 274709266
Test: $ iperf3 -u -c 10.174.105.148 -i1 -b450M -P10 -t60 -p 5029 --bidir
DL: 4.17 Gbits/sec
UL: 310 Mbits/sec
Change-Id: I50fe3d43ee3db48dc2d1a0abac75a0b390c17d18
2023-04-14 05:31:34 +00:00
kadirpili
714ff42ac8
gs201: Create folder for OTA UECap
...
Bug: 274737512
Change-Id: Ic2bd29d2f8a36fe8b432cf567aded0e9f27c8925
2023-04-12 01:16:55 +00:00
Woody Lin
cfaaafcf40
DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled
...
Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
(cherry picked from commit 7d695f4bff
)
2023-04-06 16:10:49 +08:00
Jack Wu
6ad02c5d5b
init: add permission for first_usage_date access am: 3d6a5583f2
am: d9ac7ac603
am: b8c492f73a
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2514126
Change-Id: Iba99344f88c0b48dbe0f2c23662da81ce6df2ff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 14:22:16 +00:00
Jack Wu
b8c492f73a
init: add permission for first_usage_date access am: 3d6a5583f2
am: d9ac7ac603
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2514126
Change-Id: I270d9ea895d7d7b0b7cad8ed4eb52bfe99a1ddc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 13:53:10 +00:00
Jack Wu
3d6a5583f2
init: add permission for first_usage_date access
...
Bug: 275441997
Test: write first_usage_date sysfs node successfully
Change-Id: Ic82fd8b367af6199d5a157a9e7d131cf4b8afd16
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-30 20:04:10 +08:00
Woody Lin
d1a237a574
DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled am: 7d695f4bff
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21691322
Change-Id: I08b1bc6bbd0d47336079c767cc824e3b62a97918
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 09:36:33 +00:00
Woody Lin
7d695f4bff
DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled
...
Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
2023-03-02 07:14:55 +00:00
Jenny Ho
8e2f4d4b2d
init: add permission to adjust temp_filter_enable am: 656976885e
am: 565b592bdf
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21414046
Change-Id: I6481581950943c582c70d3547ce04aa9d4dacbbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 03:41:12 +00:00
Jenny Ho
565b592bdf
init: add permission to adjust temp_filter_enable am: 656976885e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21414046
Change-Id: Ie9b332294e3fe235def411933ab77c0b7e622d50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 02:06:56 +00:00
Jenny Ho
656976885e
init: add permission to adjust temp_filter_enable
...
Bug: 262461194
Change-Id: I03cc764ac666512d00b058fd10311434d1fb8430
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-23 01:09:20 +00:00
Erik Staats
f2a55fc82e
Set acd-com.google.umfw_stat permissions, owner, and group
...
Bug: 254464877
Test: Verified /dev/acd-com.google.umfw_stat permissions, owner, and
group.
Change-Id: I9a1a781aadf592911cbc03f3fe92cb9c66ffcf57
2023-02-14 14:37:34 +00:00
Avichal Rakesh
25f66eacfb
usb gadget: Add config for UVC in init
...
The UVC gadget requires some setup in configfs before it can be used by
the gadget HAL. This CL adds that setup to usb specific init.rc file.
Currently, UVC is setup to advertise mjpeg streams at 720p and 1080p at
60, 30, 24, and 15 fps each.
Bug: 242344221
Test: Manually tested that UVC is correctly set up on boot.
Change-Id: Id0536ded1035f371adb01ed50bbfbff47914cc6a
2023-02-06 21:20:59 +00:00
Jack Wu
942fe044ca
init: add permission for charging_policy access am: c0cf226818
am: cd966979dd
am: 8333686242
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2418919
Change-Id: I544ee3ca74947bdaf99fb8a82e4c4fd38ef4e124
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 09:27:09 +00:00
Jack Wu
8333686242
init: add permission for charging_policy access am: c0cf226818
am: cd966979dd
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2418919
Change-Id: I72d7f80ee9e5cbe9857f21e28b2a3cb4e2a80aee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 08:58:29 +00:00
Jack Wu
cd966979dd
init: add permission for charging_policy access am: c0cf226818
...
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2418919
Change-Id: I4ed3c83a17116b843e6e1bfc13b1d76d4402ecba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 05:43:32 +00:00
Sajid Dalvi
aec4604122
dumpstate: Add logbuffer support for pcie driver [DO NOT MERGE] am: fd2a8ca06b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21077873
Change-Id: Ib67cfb16aaf28264f4c4b556e2960167369daae7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 05:41:29 +00:00
Sajid Dalvi
fd2a8ca06b
dumpstate: Add logbuffer support for pcie driver [DO NOT MERGE]
...
Add logbuffer support to pcie driver to reduce dmesg spam.
Bug: 267495494
Change-Id: Ic70dfd696d084c1ab7f55872b69ca86856720592
Signed-off-by: Sajid Dalvi <sdalvi@google.com>
2023-02-02 21:30:23 +00:00
Jack Wu
c0cf226818
init: add permission for charging_policy access
...
Bug: 251425963
Test: write charging_policy sysfs node successfully
Change-Id: I3f387cbd80aa9bdcb483d0c6435cb382a7a847c7
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-02 19:57:30 +08:00
Doug Zobel
a269b503e5
pixelstats: Configure PCIe link stats pathnames am: 471d17d1ae
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21087424
Change-Id: I7b18affe0e1a60d7744d2311eb99f72d5908676c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 14:04:22 +00:00
Doug Zobel
471d17d1ae
pixelstats: Configure PCIe link stats pathnames
...
Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 264287533
Change-Id: If059347f847a857f66164926edfecd2a756f2339
Signed-off-by: Doug Zobel <zobel@google.com>
2023-02-01 13:30:23 +00:00
Jack Wu
c49d350dee
dumpstate: add battery eeprom in bugreport am: e28746e3f1
am: a0c8de3597
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21027679
Change-Id: Id7952997e7ec906fa5206f67335840660c11ba55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 09:14:27 +00:00
Jack Wu
a0c8de3597
dumpstate: add battery eeprom in bugreport am: e28746e3f1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21027679
Change-Id: Ib1f9a08b6e14445852164f0a5d7bef8e7d6c7094
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 07:57:56 +00:00
Doug Zobel
7e9ed22e6a
pixelstats: Configure PCIe link stats pathnames
...
Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 264287533
Change-Id: If059347f847a857f66164926edfecd2a756f2339
Signed-off-by: Doug Zobel <zobel@google.com>
2023-01-24 02:05:32 +00:00
Jack Wu
e28746e3f1
dumpstate: add battery eeprom in bugreport
...
Bug: 265889611
Test: adb bugreport
Change-Id: I604834cdae4a3352db20301128d61059c71f0fb2
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-18 08:17:23 +00:00
Wasb Liu
48676580c3
dumpstate: dump dual batt logbuffer am: 08a7fc6c70
am: ddb529fff8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20806353
Change-Id: I61b2c69c8dcf19cb0bb43b9a8ca5298a13a0325c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 06:00:50 +00:00
Wasb Liu
ddb529fff8
dumpstate: dump dual batt logbuffer am: 08a7fc6c70
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20806353
Change-Id: I71eb4fdcff36d63dd2c27d6c9d7cbff419691d26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 05:21:51 +00:00