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.java177 void removeAppUsageGroup(int observerId) { in removeAppUsageGroup()
182 void removeSessionUsageGroup(int observerId) { in removeSessionUsageGroup()
187 void removeAppUsageLimitGroup(int observerId) { in removeAppUsageLimitGroup()
230 public void onLimitReached(int observerId, @UserIdInt int userId, long timeLimit, in onLimitReached()
242 public void onSessionEnd(int observerId, @UserIdInt int userId, long timeElapsed, in onSessionEnd()
258 UsageGroup(UserData user, ObserverAppData observerApp, int observerId, String[] observed, in UsageGroup()
413 public AppUsageGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageGroup()
441 public SessionUsageGroup(UserData user, ObserverAppData observerApp, int observerId, in SessionUsageGroup()
513 public AppUsageLimitGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageLimitGroup()
617 AppUsageGroup getAppUsageGroup(int observerAppUid, int observerId) { in getAppUsageGroup()
[all …]
DUsageStatsService.java1372 public void registerAppUsageObserver(int observerId, in registerAppUsageObserver()
1397 public void unregisterAppUsageObserver(int observerId, String callingPackage) { in unregisterAppUsageObserver()
1457 public void registerAppUsageLimitObserver(int observerId, String[] packages, in registerAppUsageLimitObserver()
1484 public void unregisterAppUsageLimitObserver(int observerId, String callingPackage) { in unregisterAppUsageLimitObserver()
1582 void registerAppUsageObserver(int callingUid, int observerId, String[] packages, in registerAppUsageObserver()
1589 void unregisterAppUsageObserver(int callingUid, int observerId, int userId) { in unregisterAppUsageObserver()
1593 void registerUsageSessionObserver(int callingUid, int observerId, String[] observed, in registerUsageSessionObserver()
1604 void registerAppUsageLimitObserver(int callingUid, int observerId, String[] packages, in registerAppUsageLimitObserver()
1610 void unregisterAppUsageLimitObserver(int callingUid, int observerId, int userId) { in unregisterAppUsageLimitObserver()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java1070 private void addAppUsageObserver(int observerId, String[] packages, long timeLimit) { in addAppUsageObserver()
1074 private void addUsageSessionObserver(int observerId, String[] packages, long timeLimit, in addUsageSessionObserver()
1080 private void addAppUsageLimitObserver(int observerId, String[] packages, long timeLimit, in addAppUsageLimitObserver()
1087 private boolean hasAppUsageObserver(int uid, int observerId) { in hasAppUsageObserver()
1092 private boolean hasUsageSessionObserver(int uid, int observerId) { in hasUsageSessionObserver()
1097 private boolean hasAppUsageLimitObserver(int uid, int observerId) { in hasAppUsageLimitObserver()
1102 int uid, int observerId) { in getAppUsageLimitObserver()
/frameworks/base/core/java/android/app/usage/
DIUsageStatsManager.aidl55 void registerAppUsageObserver(int observerId, in String[] packages, long timeLimitMs, in registerAppUsageObserver()
57 void unregisterAppUsageObserver(int observerId, String callingPackage); in unregisterAppUsageObserver()
62 void registerAppUsageLimitObserver(int observerId, in String[] packages, long timeLimitMs, in registerAppUsageLimitObserver()
64 void unregisterAppUsageLimitObserver(int observerId, String callingPackage); in unregisterAppUsageLimitObserver()
DUsageStatsManager.java647 public void registerAppUsageObserver(int observerId, @NonNull String[] observedEntities, in registerAppUsageObserver()
668 public void unregisterAppUsageObserver(int observerId) { in unregisterAppUsageObserver()
796 public void registerAppUsageLimitObserver(int observerId, @NonNull String[] observedEntities, in registerAppUsageLimitObserver()
822 public void unregisterAppUsageLimitObserver(int observerId) { in unregisterAppUsageLimitObserver()