6 Commits

Author SHA1 Message Date
Dinesh Yadav
46f3fdd067 Merge "Move gxp sepolicies to gs-common" into main 2023-07-14 04:00:24 +00:00
Dinesh Yadav
2a6c690d1a Move gxp sepolicies to gs-common
This change moves all gxp sepolicies to common. This eliminates the
need for having these policies in sepolicy folder of all P22+ devices.

Tested:
Created private builds and found no selinux violations for P22 & P23 devices.

Bug: 288368306
Change-Id: Iec5dfe01dd9088a117f549cc999b9ee2aa2c4484
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2023-07-10 08:58:08 +00:00
Dinesh Yadav
3f904fffac [BugFix]: Remove the android property used by GXP debug dump [RESTRICT AUTOMERGE]
"dump_gxp" needs access to gxp android properties earlier.
Granting access causes compatibility issues between P23 & P22 devices,
thus removing this property is the easiest option.

Bug: 287898138
Change-Id: I9ebebbc4f7c47cfbc8efd1d5dede080d79011736
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2023-06-28 03:41:06 +00:00
nischaljain
779e3323a2 Enable gxp dumps in bugreport
- Enable gxp dumps to be captured in bugreport during dogfood.
- TODO(b/277094681): Revert this cl around device beta milestone.

Bug: 274956438
Test: Verified the changes on the device using ab/P53879006.
Change-Id: Idb701e430b64c3cae8cef6a4bb73999c92b6c94a
Signed-off-by: nischaljain <nischaljain@google.com>
2023-04-06 08:21:51 +00:00
nischaljain
0e8dc978b6 Limit maxGxpDebugDumps to 3.
DSP multicore workload can run atmost on 3 cores thus in case
of crash we will need atmost 3 core dumps. Thus limiting
maxGxpDebugDumps to 3 to make sure that we will be capturing
all the required core dumps for the recent crash and at the
same time not inflating the bugreport size.

Bug: 275756225,274956438
Test: Verified the changes on the device using ab/P53879006.
Change-Id: Iede8ec4204d58fdedbe4141bf57fc434b411bf0c
Signed-off-by: nischaljain <nischaljain@google.com>
2023-04-06 08:14:41 +00:00
Adam Shih
60d07215ea move gxp dump to gs-common
Bug: 240530709
Test: adb bugreport;unzip *zip;tar -xvf dumpstate_board.bin
And found gxp content

Change-Id: I27b54b283609cf574796d706da0450802dc601a3
2023-03-01 22:23:18 +00:00