summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-09-16 19:32:33 +0000
committer Kweku Adams <kwekua@google.com> 2022-10-31 14:57:28 +0000
commitc6a6194824c132eb836efee6f3a0932d4043e453 (patch)
tree67236da8d7e7c89b9f0c46e3ca791ff4e18aa265 /services/coverage/java
parentb30d5466b3393647f8c2bcc6feefddd40a912784 (diff)
Consolidate UserID+Package classes.
https://xkcd.com/927/ Many different components have created their own classes to represent a userID+packageName combination. This means 1) duplicate code, 2) duplicate objects in memory representing the same thing. Creating a common class that limits itself to one object per userID+packageName combo addresses those two concerns. There are still others with similar classes. They're not included in this CL because they have slight differences and would require a little bit more work to consolidate. Bug: 141645789 Bug: 247127880 Test: atest CtsAccountManagerTestCases Test: atest CtsContentTestCases:OverlayManagerTest Test: atest CtsShortcutManagerTestCases Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/om Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/pm Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/tare Test: atest FrameworksMockingServicesTests:PrefetchControllerTest Test: atest FrameworksMockingServicesTests:QuotaControllerTest Change-Id: I63d5bc946cc7b24a0536e8b2051da07a801b3a8a
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions