summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Johnston <acjohnston@google.com>2020-08-04 14:39:10 +0100
committerAlex Johnston <acjohnston@google.com>2020-08-13 17:30:10 +0100
commitaf1c3cb4403eb10348e91934b26e4cd09bf655f0 (patch)
tree8175580b5c9134f896988da202efc6ad5e15982f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent71008157a7a16a740130c5ec37be365cc0feb4af (diff)
Add precondition checks
* Add precondition checks to check the call authorization and the calling user. * Add CallerIdentity object and helper method to create and return a CallerIdentity object. * Add isDeviceOwner check which takes in a CallingIdentity * Update setLocationEnabled to use new precondition check Bug: 162825394 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest atest com.android.cts.devicepolicy.DeviceOwnerTest#testSetLocationEnabled Change-Id: I6054620aab661f302ebe0cb8c13bf906aad3cb68
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions