summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Pavel Grafov <pgrafov@google.com> 2024-01-26 14:21:47 +0000
committer Pavel Grafov <pgrafov@google.com> 2024-02-13 19:07:01 +0000
commit479c5911d4b0712041144c00c9021ae68cb9c98f (patch)
treecb159dc48d83e7ae6b67d0e11224043d1bc2503c /libs/input/SpriteController.cpp
parent66013894a6f4feb79d0bc94d4f6ce263cc1d4ee6 (diff)
Migrate sec log to policy engine
Security log is controlled by a system property and currently DPM.setSecurityLoggingEnabled is modifying this property directly. This doesn't allow enablind or disabling security log via any other mechanism without overwriting that policy. To allow controlling security log via audit logging API for DPMRH this CL migrates that policy into a integer policy in the policy engine. That integer is treated as a flag union which currently has only one flag that corresponds to the existing DPM.setSecurityLoggingEnabled. Another flag will be added for the new audit log API so that log buffer will be enabled if either of those flags is present. Bug: 295324350 Test: atest MixedDeviceOwnerTest#testSecurityLoggingWithSingleUser Test: atest MixedDeviceOwnerTest#testSecurityLoggingDelegate Test: atest OrgOwnedProfileOwnerTest#testSecurityLogging Test: atest OrgOwnedProfileOwnerTest#testSecurityLoggingDelegate Test: atest SecurityLoggingTest Test: manual, with TestDPC Change-Id: I05235f36827ce41ab67332283749f886d7cf8426
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions