Home
last modified time | relevance | path

Searched refs:addAppUsageLimitObserver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java198 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_AddObserver()
200 addAppUsageLimitObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, 0); in testAppUsageLimitObserver_AddObserver()
226 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_RemoveObserver()
313 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_ObserverReAdd()
315 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_10_MIN, 0); in testAppUsageLimitObserver_ObserverReAdd()
327 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_10_MIN, 0); in testAllObservers_ExclusiveObserverIds()
419 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_Accumulation()
479 addAppUsageLimitObserver(OBS_ID1, GROUP1, 4_000L, 0); in testAppUsageLimitObserver_TimeoutOtherApp()
526 addAppUsageLimitObserver(OBS_ID1, GROUP1, 4_000L, 0); in testAppUsageLimitObserver_Timeout()
579 addAppUsageLimitObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, 0); in testAppUsageLimitObserver_AlreadyRunning()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java859 public void addAppUsageLimitObserver(int requestingUid, int observerId, String[] observed, in addAppUsageLimitObserver() method in AppTimeLimitController
DUsageStatsService.java3179 mAppTimeLimit.addAppUsageLimitObserver(callingUid, observerId, packages, in registerAppUsageLimitObserver()