summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Kershaw <alexkershaw@google.com>2020-02-10 22:51:53 +0000
committerAlex Kershaw <alexkershaw@google.com>2020-02-14 18:32:32 +0000
commit7f7195bf2ce4ae2007077846d3a80ad7652a58e8 (patch)
treee9a33c851753f292e43f1737f75460496cb5f4af /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5eab48c38ed56e01b106fc028311992af287d2ff (diff)
Log cross-profile metrics
Log metrics for the new app-op permission INTERACT_ACROSS_PROFILES and each of the new app-facing and DPC-facing APIs where possible. Simple getters do not have logging. Setters have logging but only when the value has changed. I always moved the logging into a separate private method. This is done to keep the logging code from overpowering the actual logic in the corresponding methods, particularly when there are conditions attached to when we want to log. There are also a few minor clean-ups in CrossProfileAppsServiceImpl. Bug: 136249261 Bug: 149370554 Bug: 149318411 Bug: 149370875 Bug: 149370515 Test: atest com.android.cts.devicepolicy.CrossProfileAppsHostSideTest Test: atest com.android.cts.devicepolicy.CrossProfileAppsPermissionHostSideTest Test: atest com.android.cts.devicepolicy.ManagedProfileCrossProfileTest Test: atest com.android.cts.devicepolicy.ManagedProfileTest Change-Id: Ibf2899f9b9974387ed1ba62fd02ece54a4c1564b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions