since it's not actually ever used at runtime,
it's only meant to be part of the bpfloader boot time one shot binary.
(all non-bpfloader bpf implementation is in .h files only)
Test: TreeHugger, m libandroid_runtime
Bug: 218882781
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8d3b8ac80ffdbe293221150f7272f7def80fc1c4
Merged-In: I8d3b8ac80ffdbe293221150f7272f7def80fc1c4
Seems already call Binder unlinkToDeath while registerOrganizer
but still received binderDied in DAOC, dead organizer already
been replaced by newer organizer with same featureId and will
remove the newer organizer.
Add a judge to make sure same organizer obecjt and old organizer
binder isn't alive while DAOC received binderDied.
Bug: 208552581
Test: run autotest pass
Change-Id: I555d2fdedb7be7b7d0e5b10fbc617a9cce66c4b5
One of the optimizations ag/12911059 did was calling
SelectionModifierCursorController.show() before
startActionModeInternal(). The rationale was that if we start the action
mode first, SelectionModifierCursorController.show() would end up
invalidating the action mode twice unnecessarily, once for each handle.
However, with this optimization, we are calling
SelectionModifierCursorController.show() even when onCreateActionMode
returns false.
Reverted this particular optimization to fix the issue.
Added a test which was failing without this fix but passing with it.
Fixes: 199380016
Fixes: 214341747
Test: atest TextViewActivityTest
Merged-In: I793f76a23978cbbbbde2d16e8a522615174bcdd5
Change-Id: I793f76a23978cbbbbde2d16e8a522615174bcdd5
(cherry picked from commit 11bd64482249c9257ee22390de15f69f9c834247)
This change removes the privapp allowlist from Traceur, which had
previously explicitly granted the DUMP, QUERY_ALL_PACKAGES,
START_FOREGROUND_SERVICES_FROM_BACKGROUND, and STATUS_BAR permissions.
These permissions no longer need to be granted because Traceur is now a
platform app.
Bug: 209476712
Test: - Checked that Traceur can still take normal and long traces on
AOSP userdebug and internal user/userdebug.
- Checked that bugreports will stop ongoing traces.
- Checked that the quick settings tile still stops/starts traces.
Change-Id: I33cd317f9fe00e2e08ae205a832237bfe0df044a
Merged-In: I33cd317f9fe00e2e08ae205a832237bfe0df044a
To remove the need of giving system_server the syslog_read permission,
we are introducing dmesgd, a service that will be launched by init and
perform dmesg output parsing and collection of kernel error reports.
In order to trigger the service, BootReceiver just needs to set the
dmesgd.start property to 1.
Bug: 215095687
Test: run on a user device with injected KFENCE bugs
Change-Id: Ifcfe83ad559633558bba623fb514d7b27d97f6af
This allows us to monitor any failed reports using
go/perfetto-monitoring.
Bug: 205892741
Test: New CTS test PerfettoTests#testSkipReportAtoms and
PerfettoTest#testReportAtoms
Change-Id: Idf72bc693c1730fcb522b7a9ecfdf3c9db8b0777
1) Keyname should not be including key_
2) This is bundle type not to be used as int array
Bug: b/216365058
Test: atest
Change-Id: Ia2db386e7394fd09194477e529fc6e8c752623c2
Merged-In: Ia2db386e7394fd09194477e529fc6e8c752623c2