Add support for setting up userdata for automated testing
This only triggers when a special file in /data is placed which can be
flashed as part of the device setup in an automated environment.
It should not have any effect on phones that don't have this trigger.
Additionally,
* Adjust to Android 11: Migrate all changes from system/{core,sepolicy}
into one FP3 device change.
* Move to Android.bp.
Issue: FP3-A11#130
Change-Id: I0b86b95660e82a224848efa54e4aeceb4d05d802
(cherry picked from commit d92419520ea3507cbf4828dac01bfc7cefe70e41)
Depends-On: I780e7c112cc39251cb6af9781e8eab4f5aa95c6f
7 files changed