Searched refs:getUsageTimeMs (Results 1 – 2 of 2) sorted by relevance
337 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageObserver_Accumulation()344 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageObserver_Accumulation()356 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testAppUsageObserver_Accumulation()372 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testUsageSessionObserver_Accumulation()379 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testUsageSessionObserver_Accumulation()391 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testUsageSessionObserver_Accumulation()407 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageLimitObserver_Accumulation()414 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageLimitObserver_Accumulation()426 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testAppUsageLimitObserver_Accumulation()779 assertEquals(TIME_30_MIN, group.getUsageTimeMs()); in testAppUsageObserver_ConcurrentUsage()[all …]
272 public long getUsageTimeMs() { return mUsageTimeMs; } in getUsageTimeMs() method in AppTimeLimitController.UsageGroup