Home
last modified time | relevance | path

Searched refs:getUsageRemaining (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DUsageStatsManagerInternal.java303 public long getUsageRemaining() { in getUsageRemaining() method in UsageStatsManagerInternal.AppUsageLimitData
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java536 long getUsageRemaining() { in getUsageRemaining() method in AppTimeLimitController.AppUsageLimitGroup
677 if (otherGroup.getUsageRemaining() < smallestGroup.getUsageRemaining()) { in getAppUsageLimit()
682 smallestGroup.getTotaUsageLimit(), smallestGroup.getUsageRemaining()); in getAppUsageLimit()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java988 TIME_10_MIN * 2, group.getUsageRemaining()); in testAppUsageLimitObserver_GetUsageRemaining()
1018 TIME_1_MIN * 9, group.getUsageRemaining()); in testAppUsageLimitObserver_GetAppUsageLimitUsed()
1035 0L, group.getUsageRemaining()); in testAppUsageLimitObserver_GetAppUsageLimitAllUsed()
1055 assertEquals("Usage remaining was not 0.", 0, group.getUsageRemaining()); in testAppUsageLimitObserver_ZeroTimeRemainingIsAllowed()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1773 public long getUsageRemaining() { in getUsageRemaining() method in LauncherApps.AppUsageLimit
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java650 data.getTotalUsageLimit(), data.getUsageRemaining()); in getAppUsageLimit()
/frameworks/base/api/
Dsystem-current.txt1556 method public long getUsageRemaining();