commit | dc492999bfd8f8da3b3dc9511f388cf68a9ba3d6 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Oct 02 23:04:11 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Mon Oct 05 20:18:15 2020 +0000 |
tree | 0561830d7369c7dcba2d56e7ed540d3a04f7b1f5 | |
parent | c6de1b1efe63b3f6aee0d70ad962966d22731209 [diff] |
integration tests: avoid setenforce setenforce disables SELinux globally on a device. This was required because even as root, requesting an application to be run does not give that app root priveleges. So, we could not retrieve services. However, by globally disabling SELinux, we potentially disrupt the system as well as potentially rely on behaviors that are disallowed (when this code talks to other processes). So, this: - moves the test from an app into a jar - uses 'app_process' to launch our desired functionality as root Bug: 169704480 Test: atest aidl_integration_test Change-Id: Iad9a1bc98809867673c2560f7b23f36dca098de0
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview