Searched refs:getTimeLimitMs (Results 1 – 2 of 2) sorted by relevance
293 mController.getAppUsageGroup(UID, OBS_ID1).getTimeLimitMs() == TIME_10_MIN); in testAppUsageObserver_ObserverReAdd()305 mController.getSessionUsageGroup(UID, OBS_ID1).getTimeLimitMs() == TIME_10_MIN); in testUsageSessionObserver_ObserverReAdd()317 getAppUsageLimitObserver(UID, OBS_ID1).getTimeLimitMs() == TIME_10_MIN); in testAppUsageLimitObserver_ObserverReAdd()340 assertEquals(TIME_10_MIN, appUsageGroup.getTimeLimitMs()); in testAllObservers_ExclusiveObserverIds()341 assertEquals(TIME_30_MIN, sessionUsageGroup.getTimeLimitMs()); in testAllObservers_ExclusiveObserverIds()342 assertEquals(TIME_10_MIN, appUsageLimitGroup.getTimeLimitMs()); in testAllObservers_ExclusiveObserverIds()357 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageObserver_Accumulation()364 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageObserver_Accumulation()376 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testAppUsageObserver_Accumulation()392 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testUsageSessionObserver_Accumulation()[all …]
275 public long getTimeLimitMs() { return mTimeLimitMs; } in getTimeLimitMs() method in AppTimeLimitController.UsageGroup