Hung-Yeh Lee
0dcf585cd6
display-dump: sepolicy for new secondary display dump
...
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I5186dfa9de755caa5023d159cb3cc1601268aa6a
2024-12-26 22:16:12 -08:00
Hung-Yeh Lee
c980a0a5c1
display-dump: sepolicy for legacy secondary display dump
...
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I903eb0d954f18b1501787d1292497696f1886437
2024-12-26 22:15:51 -08:00
Hung-Yeh Lee
19268ffb20
display-dump: sepolicy for new primary display dump
...
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I3b1d1f46ddea4882f028d9314cfd174371039925
2024-12-26 22:14:20 -08:00
Hung-Yeh Lee
33f5985af3
display-dump: sepolicy for legacy primary display dump
...
Create sub-directory for project-specific sepolicy files, and move
legacy sepolicy files to sub-directory.
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7de8667b666d7f47c05b147a1f9e7da62ba35e1c
2024-12-26 22:13:48 -08:00
Hung-Yeh Lee
bbe22a1056
display-dump: update project-specific crtc sysfs node
...
Refactor and rename project-specific dump
Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7bf470e5784e0fd726c49823b55aae6235aceaec
2024-12-18 21:59:42 -08:00
Taylor Nelms
0379e1a2b8
display: add pixel display trace to bugreport
...
AVC error log justifications:
[ 1198.907014] type=1400 audit(1728067746.876:2074): avc: denied { search } for comm="cat" name="instances" dev="tracefs" ino=4194 scontext=u:r:dump_display_userdebug:s0 tcontext=u:object_r:debugfs_tracing_instances:s0 tclass=dir permissive=1
[ 1198.908565] type=1400 audit(1728067746.876:2075): avc: denied { read } for comm="cat" name="trace" dev="tracefs" ino=167692 scontext=u:r:dump_display_userdebug:s0 tcontext=u:object_r:debugfs_tracing_instances:s0 tclass=file permissive=1
[ 1198.909716] type=1400 audit(1728067746.876:2076): avc: denied { open } for comm="cat" path="/sys/kernel/tracing/instances/pixel-display/trace" dev="tracefs" ino=167692 scontext=u:r:dump_display_userdebug:s0 tcontext=u:object_r:debugfs_tracing_instances:s0 tclass=file permissive=1
Bug: 369099258
Test: pixel display trace visible in bugreport
Flag: EXEMPT bugfix
Change-Id: I53f9340aee155d1ff0d0c0bc2db45e6bd77f342a
Signed-off-by: Taylor Nelms <tknelms@google.com>
2024-10-04 18:55:40 +00:00
Safayat Ullah
617a80e659
display-dump: use generic panel path
...
Bug: 364795380
Test: adb bugreport
Flag: EXEMPT bugfix
Change-Id: I10f55a3ffb5daf6bf72d80473ba3af23b85a5120
2024-09-23 11:19:46 +00:00
attis
44f21d0c43
Add dump of panel power_mode.
...
Add the power_mode sysfs node to dump_second_display.cpp and
dump_display.cpp.
Bug: 358505990
Flag: EXEMPT bugfix
Test: adb bugreport.
Change-Id: I875b9a3ef416c188376eb2f9226996b6645ccdb9
Signed-off-by: attis <attis@google.com>
2024-08-26 12:13:48 +00:00
Chris Lu
4984f37fe0
Add dump of panel_pwr_vreg
...
Bug: 296978805
Test: capture a bugreport
Change-Id: If652058b45b2854ec71b2a029686540a600f2cc8
2023-10-27 07:46:17 +00:00
Midas Chien
cbe4abfd37
Grant HWComposer access to DRM module debug file
...
Change DRM debug file SELinux type to sysfs_display to allow HWComposer
to access it.
Bug: 301599195
Test: ls -Z to check selinux type
Test: check HWC can access it
Change-Id: If4e09f5f2d2e6a1d4cf4f55c6680a7af3018f89d
2023-09-22 15:59:09 +00:00
Adam Shih
32b37d33a7
create second panel dump
...
Bug: 269212897
Test: adb bugreport
Change-Id: I281e716a943abf64d5d36ecf2a256db8e32a041a
2023-03-08 23:30:03 +00:00
Adam Shih
cd831a6189
Move common display dump to gs-common
...
Bug: 269212897
Test: adb bugreport
Change-Id: I6739aec7a432e55e829bbd4a69fec50e0d4050ac
2023-03-06 06:33:40 +00:00
Adam Shih
39e672acb4
create display userdebug dump
...
Bug: 269212897
Test: adb bugreport
Change-Id: I666fb3e0872f8afcf5b8a2d8b598245fbcdbb151
2023-02-22 13:53:34 +08:00