summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2021-03-29 09:11:47 -0700
committerSudheer Shanka <sudheersai@google.com>2021-04-05 10:55:57 -0700
commitce7fc422912918e6bbe933c47fb3729ec67f34ac (patch)
tree50d32587c4d5991f83187f7eea342072a114a076 /tools/aapt2/java/JavaClassGenerator.cpp
parentddf368aa33e5163e6e1651ca4cf982bd81bf6aee (diff)
Allow clients to register for listening to changes in capabilities.
Clients can register for listening to changes in procstates and if they are only interested in knowing if the procstate crosses a certain threshold, they can specify a "cutpoint" and they will only get a callback if the procstate crosses that "cutpoint" but clients cannot use this if they are also interested in changes in capabilities. So, add a way for clients to use the "cutpoint" facility and also listen to changes in capabilities. Bug: 177641226 Test: atest services/tests/servicestests/src/com/android/server/am/ActivityManagerServiceTest.java Test: atest services/tests/servicestests/src/com/android/server/am/UidObserverControllerTest.java Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: I1198e602ca81382975500b10f930dacfd16919e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions