Searched refs:AppUsageLimitGroup (Results 1 – 2 of 2) sorted by relevance
176 SparseArray<AppUsageLimitGroup> appUsageLimitGroups = new SparseArray<>();524 class AppUsageLimitGroup extends UsageGroup { class in AppTimeLimitController525 public AppUsageLimitGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageLimitGroup() method in AppTimeLimitController.AppUsageLimitGroup648 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 …]
1019 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()