Searched refs:UsageGroup (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppTimeLimitController.java | 96 public final ArrayMap<String, ArrayList<UsageGroup>> observedMap = new ArrayMap<>(); 115 void addUsageGroup(UsageGroup group) { in addUsageGroup() 118 ArrayList<UsageGroup> list = observedMap.get(group.mObserved[i]); in addUsageGroup() 128 void removeUsageGroup(UsageGroup group) { in removeUsageGroup() 132 final ArrayList<UsageGroup> list = observedMap.get(observed); in removeUsageGroup() 252 abstract class UsageGroup { class in AppTimeLimitController 264 UsageGroup(UserData user, ObserverAppData observerApp, int observerId, String[] observed, in UsageGroup() method in AppTimeLimitController.UsageGroup 418 class AppUsageGroup extends UsageGroup { 443 class SessionUsageGroup extends UsageGroup implements AlarmManager.OnAlarmListener { 524 class AppUsageLimitGroup extends UsageGroup { [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 332 AppTimeLimitController.UsageGroup appUsageGroup = mController.getAppUsageGroup(UID, in testAllObservers_ExclusiveObserverIds() 334 AppTimeLimitController.UsageGroup sessionUsageGroup = mController.getSessionUsageGroup(UID, in testAllObservers_ExclusiveObserverIds() 336 AppTimeLimitController.UsageGroup appUsageLimitGroup = getAppUsageLimitObserver( in testAllObservers_ExclusiveObserverIds() 355 AppTimeLimitController.UsageGroup group = mController.getAppUsageGroup(UID, OBS_ID1); in testAppUsageObserver_Accumulation() 390 AppTimeLimitController.UsageGroup group = mController.getSessionUsageGroup(UID, OBS_ID1); in testUsageSessionObserver_Accumulation() 425 AppTimeLimitController.UsageGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_Accumulation() 795 AppTimeLimitController.UsageGroup group = mController.getAppUsageGroup(UID, OBS_ID1); in testAppUsageObserver_ConcurrentUsage() 818 AppTimeLimitController.UsageGroup group = mController.getSessionUsageGroup(UID, OBS_ID1); in testUsageSessionObserver_ConcurrentUsage() 841 AppTimeLimitController.UsageGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_ConcurrentUsage()
|