Home
last modified time | relevance | path

Searched refs:AppUsageLimitGroup (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java176 SparseArray<AppUsageLimitGroup> appUsageLimitGroups = new SparseArray<>();
524 class AppUsageLimitGroup extends UsageGroup { class in AppTimeLimitController
525 public AppUsageLimitGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageLimitGroup() method in AppTimeLimitController.AppUsageLimitGroup
648 AppUsageLimitGroup getAppUsageLimitGroup(int observerAppUid, int observerId) { in getAppUsageLimitGroup()
674 final ArraySet<AppUsageLimitGroup> usageLimitGroups = new ArraySet<>(); in getAppUsageLimit()
676 if (usageGroups.get(i) instanceof AppUsageLimitGroup) { in getAppUsageLimit()
677 final AppUsageLimitGroup group = (AppUsageLimitGroup) usageGroups.get(i); in getAppUsageLimit()
690 AppUsageLimitGroup smallestGroup = usageLimitGroups.valueAt(0); in getAppUsageLimit()
692 final AppUsageLimitGroup otherGroup = usageLimitGroups.valueAt(i); in getAppUsageLimit()
868 AppUsageLimitGroup group = observerApp.appUsageLimitGroups.get(observerId); in addAppUsageLimitObserver()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java1019 AppTimeLimitController.AppUsageLimitGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_GetTotalUsageLimit()
1033 AppTimeLimitController.AppUsageLimitGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_GetUsageRemaining()
1101 AppTimeLimitController.AppUsageLimitGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_ZeroTimeRemainingIsAllowed()
1149 private AppTimeLimitController.AppUsageLimitGroup getAppUsageLimitObserver( in getAppUsageLimitObserver()