Adam Shih
06cc3ee882
update error on ROM 7278058
...
Bug: 185186743
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I40066584800e1a40fbd75dc2d97ee44f9e6dde89
2021-04-13 10:55:33 +08:00
Michael Wright
16dbd68327
Enable TEXT_HANDLE_MOVE am: a281288798
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14161614
Change-Id: I58699ecf95c8e7545245b1d539f3394190699473
2021-04-13 02:41:21 +00:00
SalmaxChang
6f1275582c
logger_app: Grant to access new logger properties am: 2c1b29b494
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14140254
Change-Id: I7b4a9da5ba9d1ac3dc43469c11f360ca7e887d9d
2021-04-13 02:18:43 +00:00
Michael Wright
a281288798
Enable TEXT_HANDLE_MOVE
...
New devices are capable of subtle vibrations, so this experience should
be enabled.
Bug: 185134911
Test: manual
Change-Id: I20d251a82e734cd5cb98b086efdec6d2c555a898
2021-04-13 01:51:51 +00:00
J. Avila
50d62c93fc
Explicitly set log_buf_len am: df9dc5cf76
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14162562
Change-Id: I1b1248eb11fc7f167d5d832ee04f21e7827ded3c
2021-04-12 22:39:06 +00:00
J. Avila
df9dc5cf76
Explicitly set log_buf_len
...
By setting the log_buf_len via cmdline, devices using this cmdline will
be able to guarantee their preferred buffer size even if the underlying
CONFIG_LOG_BUF_SHIFT changes.
Bug: 185141673
Change-Id: Iafe7561dceef65fc47cb0bb54a8f84a5e10c51a9
2021-04-12 22:00:50 +00:00
Jimmy Shiu
227d5f3c09
powerhint: Add Display refresh rate hint, DISPLAY_IDLE and DISPLAY_UPDATE_IMMINENT am: cfb1e3fdef
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782434
Change-Id: I75bcf7de56203028b1234716f53df94058ae4daf
2021-04-12 21:25:02 +00:00
Jimmy Shiu
cfb1e3fdef
powerhint: Add Display refresh rate hint, DISPLAY_IDLE and DISPLAY_UPDATE_IMMINENT
...
Add display refresh rate changed hints:
REFRESH_120FPS
REFRESH_90FPS
REFRESH_60FPS
For DISPLAY_IDLE hint, set TAUClampBoost to 0.
Then for DISPLAY_UPDATE_IMMINENT and INTERACTION, set TAUClampBoost back to default.
Bug: 170648686
Bug: 170508822
Test: `watch -n 1 adb shell cat /dev/cpuctl/top-app/cpu.uclamp.min`
Change-Id: I18fd6d4257f8902ddbbdb3ed4a20b88d5cc43a2c
2021-04-12 20:42:06 +00:00
Sidath Senanayake
7c8d4d86e8
Fix Android GPU Inspector (AGI) support
...
In order for AGI to work, it needs to dlopen the libgpudataproducer.so
shared object.
Bug: 185127179
Bug: 175593589
Change-Id: I9ad9c587f10e0fd6e27c4743c1d4cb85c896c41d
2021-04-12 17:41:01 +01:00
Ted Lin
cd12670940
Allow to dump pps-dc
...
Bug:185041587
Test: adb bugreport
Change-Id: Ia4adcc335b05f5f7d06625c274842e6a9f5d2637
Signed-off-by: Ted Lin <tedlin@google.com>
2021-04-12 18:27:20 +08:00
Wiwit Rifa'i
7d1dfc15c8
Enable SurfaceFlinger Cache by default am: cfaf39f1de
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031647
Change-Id: Ib19bf8d79b58a9bb15eaab65c6f9e9af592fe171
2021-04-12 07:16:41 +00:00
SalmaxChang
2c1b29b494
logger_app: Grant to access new logger properties
...
avc: denied { read } for comm="oid.pixellogger" name="u:object_r:vendor_ssrdump_prop:s0" dev="tmpfs" ino=308 scontext=u:r:logger_app:s0:c24,c257,c512,c768 tcontext=u:object_r:vendor_ssrdump_prop:s0 tclass=file permissive=1
avc: denied { set } for property=vendor.debug.ramdump.full pid=5081 uid=10280 gid=10280 scontext=u:r:logger_app:s0:c24,c257,c512,c768 tcontext=u:object_r:vendor_ramdump_prop:s0 tclass=property_service permissive=1
avc: denied { set } for property=persist.logd.logpersistd.count pid=5081 uid=10280 gid=10280 scontext=u:r:logger_app:s0:c24,c257,c512,c768 tcontext=u:object_r:logpersistd_logging_prop:s0 tclass=property_service permissive=1
avc: denied { set } for property=persist.vendor.ril.crash_handling_mode pid=5081 uid=10280 gid=10280 scontext=u:r:logger_app:s0:c24,c257,c512,c768 tcontext=u:object_r:vendor_rild_prop:s0 tclass=property_service permissive=1
avc: denied { set } for property=persist.logd.size pid=5081 uid=10280 gid=10280 scontext=u:r:logger_app:s0:c24,c257,c512,c768 tcontext=u:object_r:logd_prop:s0 tclass=property_service permissive=1
Bug: 178744858
Change-Id: I42629335e82565fbf305be242098870aef6ea317
2021-04-12 15:08:30 +08:00
Wiwit Rifa'i
cfaf39f1de
Enable SurfaceFlinger Cache by default
...
Test: check SF Cache is enabled by default using perfetto trace
Bug: 172968540
Change-Id: I525b6db8d35207c1f2f8982d9fa64ed501592c6f
2021-04-12 06:41:44 +00:00
Taehwan Kim
f215945bd4
add media.c2.dmabuf.padding am: d8b25b96f8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14141265
Change-Id: Ie6817688e1153b886221d40c8792ecceaa4a1a89
2021-04-12 05:04:28 +00:00
Taehwan Kim
d8b25b96f8
add media.c2.dmabuf.padding
...
Bug: 181380463
Test: ExoPlayer, YouTube playback OK. Recording OK.
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I7bc4d051d176252ae7758599ab11fce81c03487c
2021-04-12 04:49:09 +00:00
Jenny Ho
71c2768d03
dumpstate: add P7 dual battery fuel gauge path am: 0ecbb8aa26
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14119786
Change-Id: I55532c4ac8c67cffb000a2c0040861f95c949e4b
2021-04-12 04:39:23 +00:00
Jenny Ho
d906f1bf39
init.gs101.rc: set system ownership for P7 maxfg am: fa30b5b9ff
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14139965
Change-Id: I16925e92cfd7fe2d61707a01c8aca56ba34a6bde
2021-04-12 04:39:23 +00:00
Jenny Ho
2d617d57ef
Merge "Fix avc denied for maxfg_base/flip and wireless dump" into sc-dev am: 3b6d7aeb94
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14139366
Change-Id: I6ecd5edf52d62b58fe8aeeed700f2501fe2ec0e7
2021-04-12 04:39:22 +00:00
Jenny Ho
3b6d7aeb94
Merge "Fix avc denied for maxfg_base/flip and wireless dump" into sc-dev
2021-04-12 04:05:09 +00:00
Jenny Ho
0ecbb8aa26
dumpstate: add P7 dual battery fuel gauge path
...
also add lugbuffer_rtx/wireless
Bug: 184780667
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I91370b3cbb1c2d57bcfa37032b39e22d43bfc69c
2021-04-12 04:05:09 +00:00
Jenny Ho
fa30b5b9ff
init.gs101.rc: set system ownership for P7 maxfg
...
Bug: 184780667
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ic1df561438aa197459f7b1bbd72bd1d905c156c8
2021-04-12 04:05:09 +00:00
Andy Chou
72aaa16452
Merge "Remove sepolicy of Wirecutter" into sc-dev am: deaf447bc6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14136827
Change-Id: I3a6bfb4d8f39ca7e4319eb14fd234e2ab1bfa806
2021-04-12 02:27:42 +00:00
Erik Staats
7e5ceecdf6
Add policy for USF low latency transport gralloc usage. am: 1082e886c0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14144079
Change-Id: I32cc4ea5c2f396ddb1b3b288d5531116bf185baf
2021-04-12 02:27:27 +00:00
Andy Chou
deaf447bc6
Merge "Remove sepolicy of Wirecutter" into sc-dev
2021-04-12 02:06:48 +00:00
Erik Staats
1082e886c0
Add policy for USF low latency transport gralloc usage.
...
Bug: 183233052
Test: Verified regular and direct report sampling on Raven with shared
memory transport enabled.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/14144079 .
Change-Id: Ia852a4a9ca6e8eacb0fb465884d17f95445a6822
2021-04-12 01:33:52 +00:00
Badhri Jagan Sridharan
299e33f83a
gs101: recovery: Set sys.usb.controller for UDC configuration am: 9a80547bed
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14132554
Change-Id: Ib8646621f05434789ce818634b7e0d9ca6931776
2021-04-11 08:51:20 +00:00
Badhri Jagan Sridharan
9a80547bed
gs101: recovery: Set sys.usb.controller for UDC configuration
...
Bug: 179935027
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I259ac52bc5f91d1de74cc94862440739c9726d48
2021-04-11 08:31:24 +00:00
Rick Yiu
1828d22166
gs101: Change LogFailures to string am: e8d7fb7f88
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14124690
Change-Id: Id55562c97c809ab59c6045ed466f2312f8c469c2
2021-04-10 04:56:33 +00:00
Rick Yiu
e8d7fb7f88
gs101: Change LogFailures to string
...
To match the definition of proto file.
Bug: 184715843
Test: function works
Change-Id: I8d6106bdc6978edb292e1f3ef0237469a77fe902
2021-04-10 04:19:36 +00:00
Jaegeuk Kim
52599b6dcb
gs101: set readahead_size_kb=128 to system and data am: 3bc597748b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14084126
Change-Id: I98275969d5311011200bc985c87a41924f7d7b38
2021-04-09 18:32:38 +00:00
Jaegeuk Kim
3bc597748b
gs101: set readahead_size_kb=128 to system and data
...
This can avoid memory pressure.
Bug: 181567573
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I654c4d3bf24fa741c3fb0255431a26d8dcf5f153
2021-04-09 17:45:42 +00:00
millerliang
b67548e8cf
Fix avc denied in MMAP audio exclusive mode am: b4bab832f9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14063265
Change-Id: Ib5a43be93cfcff6ec0a4f2a6e10db267f7c2047c
2021-04-09 14:36:47 +00:00
millerliang
981578740c
audio: set the permission for dma heap am: 1868e419d5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031649
Change-Id: Id13ad581cf5c0e21e24c761ac21d91c4d0b682d4
2021-04-09 14:36:47 +00:00
millerliang
b4bab832f9
Fix avc denied in MMAP audio exclusive mode
...
04-01 15:26:30.936 16390 16390 I auditd : type=1400 audit(0.0:55): avc:
denied { read } for comm="HwBinder:16390_" name="aaudio_playback_heap"
dev="tmpfs" ino=400 scontext=u:r:hal_audio_default:s0
tcontext=u:object_r:dmabuf_heap_device:s0 tclass=chr_file permissive=1
Bug: 165737390
Test: Build and use OboeTester to run MMAP audio
Change-Id: I22201dfd4a3f579b52d4cfbc86fc6148dc481cb0
2021-04-09 20:43:54 +08:00
millerliang
1868e419d5
audio: set the permission for dma heap
...
Set the permission for the two dma heap.
They are used for mmap audio in exclusive mode.
/dev/dma_heap/aaudio_playback_heap
/dev/dma_heap/aaudio_capture_heap
Bug: 165737390
Test: make
Change-Id: Ie8d35d59fb3bde10915dd0e0746852849acbad8c
2021-04-09 20:43:11 +08:00
samou
e694ba3c3c
powerstats: Fill in P21 GPU power profile number am: 9db455e69d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031652
Change-Id: Icfa0aaada99de87ebcfe57ac654849b61ce94205
2021-04-09 10:58:23 +00:00
Jack Nudelman
97f101493c
[automerger skipped] Update CbrsNetworkMonitor package name. am: e36b41e17f
-s ours
...
am skip reason: skip tag Change-Id I474401de47892c97c3fcf4a5471773cd0474e1ef with SHA-1 f960fc6c46 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14135245
Change-Id: Icd150c9cc9a8fd00d40ce108c3cc7639a5d0bedd
2021-04-09 10:58:07 +00:00
Shinru Han
ef9fb8c905
gps: remove lhd log in on-chip PVT mode am: 188be4a5e3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14111135
Change-Id: I68f92d074899e537860ef2e83240b57c9ce98349
2021-04-09 10:58:01 +00:00
Tsung-Mao Fang
209ce14790
[automerger skipped] Have a consistent permission configuration with other devices am: 7dd7ceba38
-s ours
...
am skip reason: skipped by user tmfang
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14123765
Change-Id: I9586124193ad54b1e089497bc2a71ad788464368
2021-04-09 10:57:56 +00:00
Jenny Ho
b94e7586ce
Fix avc denied for maxfg_base/flip and wireless dump
...
Bug: 184780667
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ice4102cf541dc80c85beb05ad5c523a4306a77bc
2021-04-09 18:24:32 +08:00
samou
9db455e69d
powerstats: Fill in P21 GPU power profile number
...
Bug: 184042446
Change-Id: Ifbc00ed0a9de98f65e7f0c4b1981e45f0b1887ba
2021-04-09 10:13:01 +00:00
andychou
b370d9d2c3
Remove sepolicy of Wirecutter
...
Bug: 184886787
Test: build pass
Change-Id: Ibe539d31dc70cc4ea478f074ef4bf75d918bcb67
2021-04-09 17:06:51 +08:00
Ocean Chen
57f56b76c6
pixelstats: start service on boot completed
...
Sometims the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system
Otherwise, pixelstats cannot write these two sysnode
Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
2021-04-09 08:18:58 +00:00
TreeHugger Robot
95d168126d
Merge "Fix avc denied for Silent Logging" into sc-dev am: 60a2a6c09b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14103373
Change-Id: I77f2d19f407e8b0e0bcda835885b50218da6ad1c
2021-04-09 06:53:47 +00:00
TreeHugger Robot
60a2a6c09b
Merge "Fix avc denied for Silent Logging" into sc-dev
2021-04-09 06:20:41 +00:00
TreeHugger Robot
70ba745b79
Merge "cbd: Grant to access slog file" into sc-dev am: 5c9b9d882f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14119811
Change-Id: Ia792e85b0627e4134db6dc784bc3d3c7e3831ae3
2021-04-09 05:54:29 +00:00
TreeHugger Robot
5c9b9d882f
Merge "cbd: Grant to access slog file" into sc-dev
2021-04-09 05:15:34 +00:00
Jack Nudelman
e36b41e17f
Update CbrsNetworkMonitor package name.
...
Bug: 184313658
Test: make
Change-Id: I474401de47892c97c3fcf4a5471773cd0474e1ef
Merged-In: I474401de47892c97c3fcf4a5471773cd0474e1ef
2021-04-09 04:52:33 +00:00
Aaron Tsai
06b410dc4a
Fix avc denied for Silent Logging
...
04-06 15:18:31.513 root 1 1 E init : Do not have permissions to set 'persist.vendor.sys.silentlog.tcp' to 'On' in property file '/vendor/build.prop': SELinux permission check failed
04-06 15:20:17.988 root 1 1 W /system/bin/init: type=1107 audit(0.0:33): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.sys.silentlog.ap pid=8917 uid=1000 gid=1000 scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:vendor_persist_sys_default_prop:s0 tclass=property_service permissive=0'
04-06 15:20:23.256 root 1 1 W /system/bin/init: type=1107 audit(0.0:38): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.sys.silentlog.cp pid=9025 uid=1000 gid=1000 scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:vendor_persist_sys_default_prop:s0 tclass=property_service permissive=0'
04-06 15:20:51.340 root 1 1 W /system/bin/init: type=1107 audit(0.0:43): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.sys.silentlog pid=9291 uid=1000 gid=1000 scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:vendor_persist_sys_default_prop:s0 tclass=property_service permissive=0'
04-06 15:21:03.608 root 1 1 W /system/bin/init: type=1107 audit(0.0:54): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.sys.silentlog.tcp pid=9473 uid=1000 gid=1000 scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:vendor_persist_sys_default_prop:s0 tclass=property_service permissive=0'
04-06 20:17:08.060 1000 5754 5754 W Thread-3: type=1400 audit(0.0:21): avc: denied { write } for name="slog" dev="dm-7" ino=245 scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:vendor_slog_file:s0 tclass=dir permissive=0
04-06 20:17:09.194 1000 398 398 E SELinux : avc: denied { find } for interface=vendor.samsung_slsi.telephony.hardware.oemservice::IOemService sid=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 pid=5754 scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:hal_vendor_oem_hwservice:s0 tclass=hwservice_manager permissive=0
04-06 21:07:18.376 7458 7458 I auditd : type=1400 audit(0.0:20): avc: denied { call } for comm="y.silentlogging" scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:r:dmd:s0 tclass=binder permissive=0
04-06 21:16:53.200 8873 8873 W Thread-4: type=1400 audit(0.0:85): avc: denied { create } for name="NNEXT_PROFILE.nprf" scontext=u:r:vendor_telephony_app:s0:c232,c259,c512,c768 tcontext=u:object_r:vendor_slog_file:s0:c232,c259,c512,c768 tclass=file permissive=0
Bug: 184608648
Test: verified with the forrest ROM and error log gone
Change-Id: Id9cdf15478c751de92a9a84bcfdc8233d6e9d294
2021-04-09 04:33:13 +00:00
TreeHugger Robot
b415e72482
Merge "init: allow to set tcpdump property" into sc-dev am: 83d6ee82fb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14124655
Change-Id: Ia3dd270c6ea9f90658f1657051c19a4732c4b38d
2021-04-09 04:30:36 +00:00