Searched refs:AppUsageLimitGroup (Results 1 – 2 of 2) sorted by relevance
170 SparseArray<AppUsageLimitGroup> appUsageLimitGroups = new SparseArray<>();512 class AppUsageLimitGroup extends UsageGroup { class in AppTimeLimitController513 public AppUsageLimitGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageLimitGroup() method in AppTimeLimitController.AppUsageLimitGroup632 AppUsageLimitGroup getAppUsageLimitGroup(int observerAppUid, int observerId) { in getAppUsageLimitGroup()658 final ArraySet<AppUsageLimitGroup> usageLimitGroups = new ArraySet<>(); in getAppUsageLimit()660 if (usageGroups.get(i) instanceof AppUsageLimitGroup) { in getAppUsageLimit()661 final AppUsageLimitGroup group = (AppUsageLimitGroup) usageGroups.get(i); in getAppUsageLimit()674 AppUsageLimitGroup smallestGroup = usageLimitGroups.valueAt(0); in getAppUsageLimit()676 final AppUsageLimitGroup otherGroup = usageLimitGroups.valueAt(i); in getAppUsageLimit()852 AppUsageLimitGroup group = observerApp.appUsageLimitGroups.get(observerId); in addAppUsageLimitObserver()[all …]
971 AppTimeLimitController.AppUsageLimitGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_GetTotalUsageLimit()985 AppTimeLimitController.AppUsageLimitGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_GetUsageRemaining()1053 AppTimeLimitController.AppUsageLimitGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_ZeroTimeRemainingIsAllowed()1101 private AppTimeLimitController.AppUsageLimitGroup getAppUsageLimitObserver( in getAppUsageLimitObserver()