Bug: 188078957
Test: Verified using temporary log messages to confirm
file paths are formed correctly as otherwise to test queryMoistureDetectionStatus()
requires some mock circuits.
Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: If5402d5999c77bf5a3431c70d800e50570b87c88
Since cfs_rq clamp feature uses tg's value, align it with the
vendor_group setting.
Bug: 170508405
Test: build pass
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie0c896de2022f435be5ea53ae3cecf5d80d2c067
1) Enable prefer_high_cap of camera vendor group
2) Set high_capacity_start_cpu to 4
3) Set prefer_idle of camera vendor group to 0
4) Set MemFreq floor
5) Change camera-daemon/cpu.uclamp.latency_sensitive owner to root
Bug: 186564130
Test: Boot & check setting values
Change-Id: Ief0cae2aa9e4f84bed93f7de0bfb765e8a27009b
With vendor kernel support of getting rq cfs util in group base,
we could limit uclamp.max of background group to get more power benefit.
Bug: 170508405
Test: build pass
Change-Id: I997e653eb2790f5e3be4fbf3c8b1de356d787377
Right now we have many groups due to uclamp setup, and this would
potentially create interesting fairness between groups.
Ultimately we want only a system group and a background group for
cpu.shares, which would achieve after b/182509410 resolved.
Test: boot and check setting
Bug: 171740453
Change-Id: I8fa23268aa7ed02dcccc527abcec8556009aa9a7
This reverts commit 637fc9e8d727121276cf8dea2976ac52f8da8d15.
Reason for revert: Camera EBUF overflow observed after launching GCA.
Bug: 187760882
Change-Id: I2357d943f4b4d96ffa7a156671ac7c790640a5ed
uclamp value is calculated based on the full capacity 1024. Previously
camera-daemon uses 6 which would set the min to 61. This boosts the
camera thread util up and would have power penalty. Change the value
to 1 to have minimum boost.
Bug: 186564130
Test: cat /dev/cpuctl/camera-daemon/cpu.uclamp.min & check power
Change-Id: Ib8f5ae2091848da4ee98211aeae37612ae2b308a
With recently merged kernel change pa/1916082, down rate limit will be
adjusted dynamically. Without out this change, we would run into cases
that we too little down rate limit for little.
Bug: 186392111
Bug: 170511089
Test: boot and check rate limit
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I78d9894301c9f4f888d33010c9fcca20d51d4b20
Bug: 187302501
Bug: 186636898
Test: boot and wifi function is ok
Test: p2p connection and throughput tests.
Change-Id: I599763e8c583f9566833183d4dbec13db1d040bc
This reverts commit 788012640b
Reason for revert: Caused throughput issue in p2p b/187302501
Bug: 187302501
Bug: 186636898
Test: boot and wifi function is ok
Test: p2p connection and throughput tests.
Change-Id: I70f4015040f10452acff697ee504b02cfb3c1e27
For dump these informations into bugreports and debugging
Bug: 186872139
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I5e4efd83b1ae111a423cb13e1c35f31766f98252
The original edgetpu_service is now split into two, where the
original one stays under /system_ext/ and the new one,
edgetpu_vendor_service, now locates under /vendor/.
This change updates files including device.mk accordingly to
ensure these services are setup properly on P21.
Bug: 185432427
Test: Oriole + GCA
Change-Id: I5b0eff64f2f044a56bc14cf5e1d92ec3463560a9
With a scheduler change that refers to uclamp value of a rq, we need
to change uclamp min value for camera to get better performance.
Bug: 170648224
Test: check fps in video recording
Change-Id: I29e55706b49d5182935209d1d6f3552fb7f5d821
See http://shortn/_X7vYHND2xN for testing with various NN models
faster execution of NNAPI results in less execution time and
in turn, less total power consumed.
Bug: 183576817
Test: adb push'd rc file to a device
`cat /dev/cpuctl/nnapi-hal/cpu.uclamp.min` == 15.00
ran MLPerf, got better scores
Change-Id: I398c3741fc46958f95a9b608a27b52da47c69597
We create a new label for /mnt/vendor/persist/ss.
So add restorecon for the label.
Bug: 173971240
Bug: 173032298
Test: Trusty storage tests
Change-Id: I98267ba6c4472c2c0ae186b576ffc18de86e0378
In hostapd, there have hostapd.android.rc and make /data/vendor/wifi
with permission 770 when the device boots up.
It will overwrite the permission from slider specific rc,
which makes this folder without "+x" permission.
In order to make Pixel Logger can write config files in this folder.
This change will make sure "/data/vendor/wifi" have +x permission
Bug: 159650456
Test: wifi is workable
data/vendor/wifi with 771 permission
Change-Id: I5b396fc41a4eddefc04d43f8e3d276787d722726
For the 1st boot with efs erased, we need to relabel efs first to chown
for rfsd and cbd to access.
Bug: 184221482
Test: Check rfsd and cbd could access efs w/wo erasing.
Change-Id: Ib186cf5c9375ebef177081a612d5486c35fc20f4
Changed the ownership of compression sysfs nodes for Pixelstats to reset
these values after reading them.
Test: check the ownership of /dev/sys/fs/by-name/userdata/compr_*
Bug: 173399386
Bug: 170789472
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I25bd80fb4b3db855de3c536084cf4b3c14bc8d74
Give dimming_on node sutiable permission to allow
hwcomposer to set dimming_on to display driver.
Bug: 177141990
test: check file node permission
Change-Id: I1f78b77884d619f1e48a63ac11c4201089010a0d
We found the '-X' of chmod may not work properly.
Add chmod 0771 command to make sure the camera calibration folders have
right permission.
impact folders:
1. /mnt/vendor/persist/camera
2. /mnt/vendor/persist/camera/OTP_calibration
3. /mnt/vendor/persist/camera/pdaf_calibration_data
4. /mnt/vendor/persist/camera/rear
Test: build pass, gca
Bug: 181520309
Change-Id: Ib43b457764d0a700cd6fe413f07731621fa6753c
Route a debug system property to a persist system property to control
the touch driver attribute file glove_mode.
0: default sensitivity mode (default)
1: high sensitivity mode
Bug: 173330977
Bug: 174189638
Bug: 174191024
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Ia54ea2b84340c34943809373b87c31604d2ae478
Turned off slice_idling during booting to increase total throughput
for faster boot time.
Test: cat /sys/block/sda/queue/iosched/slice_idle
Bug: 171739280
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: Id6bb4af2582f40557afaa69c72fdf20d036da4cd