Home
last modified time | relevance | path

Searched defs:observerId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java105 public void onLimitReached(int observerId, @UserIdInt int userId, long timeLimit, in onLimitReached()
111 int observerId; field in AppTimeLimitController.TimeLimitGroup
192 public void addObserver(int requestingUid, int observerId, String[] packages, long timeLimit, in addObserver()
246 public void removeObserver(int requestingUid, int observerId, @UserIdInt int userId) { in removeObserver()
254 TimeLimitGroup getObserverGroup(int observerId, int userId) { in getObserverGroup()
265 private void removeObserverLocked(UserData user, int requestingUid, int observerId, in removeObserverLocked()
DUsageStatsService.java1114 public void registerAppUsageObserver(int observerId, in registerAppUsageObserver()
1139 public void unregisterAppUsageObserver(int observerId, String callingPackage) { in unregisterAppUsageObserver()
1155 void registerAppUsageObserver(int callingUid, int observerId, String[] packages, in registerAppUsageObserver()
1161 void unregisterAppUsageObserver(int callingUid, int observerId, int userId) { in unregisterAppUsageObserver()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java307 private void addObserver(int observerId, String[] packages, long timeLimit) { in addObserver()
312 private boolean hasObserver(int observerId) { in hasObserver()
/frameworks/base/core/java/android/app/usage/
DIUsageStatsManager.aidl51 void registerAppUsageObserver(int observerId, in String[] packages, long timeLimitMs, in registerAppUsageObserver()
53 void unregisterAppUsageObserver(int observerId, String callingPackage); in unregisterAppUsageObserver()
DUsageStatsManager.java598 public void registerAppUsageObserver(int observerId, @NonNull String[] packages, long timeLimit, in registerAppUsageObserver()
619 public void unregisterAppUsageObserver(int observerId) { in unregisterAppUsageObserver()