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
This path cannot be used by camera HAL because it would be a
Treble violation.
Bug: 181300165
Test: build, boot, camera preview on a gs101 device
Change-Id: I90f81b5c50e61c501c5f509814368189562a4256
The path "/data/log/abox" violates Android treble rule. Pixel uses
google audio HAL but not vendor one. Remove the path.
Bug: 177186257
Change-Id: Ie53be71f31e0d673592457b88304136d4d616780
Give atc nodes sutiable permission to allow hwcomposer to set
atc config to display driver.
Bug: 168848203
test: check file node permission
Change-Id: I6b1b90d0951aa844d19bd68b9020e501d0e359de