diff options
author | Felipe Leme <felipeal@google.com> | 2021-02-18 15:02:32 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2021-02-19 17:29:30 +0000 |
commit | c1e6f21f8ffabcff737d55ad6b18f6ace9eb88cf (patch) | |
tree | b2b5d1bb0ae3ffe2a00f942815fc14a834fbe4c3 /services/coverage/Android.bp | |
parent | c3d7c80f3e5ee62dc768874034b537b7fc5fd981 (diff) |
Safecty checker improvements on DevicePolicyManagerService.
- Include mSafetyChecker on dump().
- Change OneTimeSafetyChecker so it's disabled after any operation.
- (Conditionally) log the mSafetyChecker used.
Bug: 172376923
Test: adb shell dumpsys device_policy | grep mSafetyChecker
Test: atest CtsDevicePolicyManagerTestCases:DeviceOwnerTest#testDevicePolicySafetyCheckerIntegration_allOperations,testDevicePolicySafetyCheckerIntegration_isSafeOperation,testDevicePolicySafetyCheckerIntegration_unsafeStateException \
CtsDevicePolicyManagerTestCases:ProfileOwnerTest#testDevicePolicySafetyCheckerIntegration_allOperations,testDevicePolicySafetyCheckerIntegration_isSafeOperation,testDevicePolicySafetyCheckerIntegration_unsafeStateException
Change-Id: Ife936cea89c6e21a56454766ecb4b29b652bd584
Diffstat (limited to 'services/coverage/Android.bp')
0 files changed, 0 insertions, 0 deletions