Searched refs:getUsageTimeMs (Results 1 – 2 of 2) sorted by relevance
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()399 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testUsageSessionObserver_Accumulation()411 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testUsageSessionObserver_Accumulation()427 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageLimitObserver_Accumulation()434 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageLimitObserver_Accumulation()446 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testAppUsageLimitObserver_Accumulation()809 assertEquals(TIME_30_MIN, group.getUsageTimeMs()); in testAppUsageObserver_ConcurrentUsage()[all …]
278 public long getUsageTimeMs() { return mUsageTimeMs; } in getUsageTimeMs() method in AppTimeLimitController.UsageGroup