Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java170 SparseArray<AppUsageLimitGroup> appUsageLimitGroups = new SparseArray<>();
512 class AppUsageLimitGroup extends UsageGroup { class in AppTimeLimitController
513 public AppUsageLimitGroup(UserData user, ObserverAppData observerApp, int observerId, in AppUsageLimitGroup() method in AppTimeLimitController.AppUsageLimitGroup
632 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 …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java971 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()
/frameworks/base/services/
Dart-profile31910 PLcom/android/server/usage/AppTimeLimitController$AppUsageLimitGroup;-><init>(Lcom/android/server/u…
31911 PLcom/android/server/usage/AppTimeLimitController$AppUsageLimitGroup;->getTotaUsageLimit()J
31912 PLcom/android/server/usage/AppTimeLimitController$AppUsageLimitGroup;->getUsageRemaining()J
31913 PLcom/android/server/usage/AppTimeLimitController$AppUsageLimitGroup;->remove()V
45143 Lcom/android/server/usage/AppTimeLimitController$AppUsageLimitGroup;