summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2018-06-25 16:39:23 -0700
committerSvet Ganov <svetoslavganov@google.com>2018-07-03 16:39:44 -0700
commitd873ae62c443dc3381fca328dcf5b73c157daf03 (patch)
treeabbeb50380e346db85b199fba04ee3f8cc9691c6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente3d3ca75dc12dda14a7e8c9c4b65b89318eae484 (diff)
Allow UiAutomation to adopt the shell permission indentity
For testing we often need to run shell commands. This can be done today via running a shell command from an instrumentation test started from the shell. However, this requires adding shell commands which are not in the API contract, involve boilerplate code, require string parsing, etc. This change allows an instrumentation started from the shell to adopt the shell UID permission state. As a result one can call APIs protected by permissions normal apps cannot get by are granted to the shell. This enables adding dedicated test APIs protected by signatures permissions granted to the shell. Test: cts-tradefed run cts-dev -m CtsUiAutomationTestCases -t android.app.uiautomation.cts.UiAutomationTest#testAdoptShellPermissions bug:80415658 Change-Id: I4bfd4b475225125512abf80ea98cd8fcacb6a1be
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions