Searched refs:addAppUsageLimitObserver (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 198 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/ |
D | AppTimeLimitController.java | 859 public void addAppUsageLimitObserver(int requestingUid, int observerId, String[] observed, in addAppUsageLimitObserver() method in AppTimeLimitController
|
D | UsageStatsService.java | 3179 mAppTimeLimit.addAppUsageLimitObserver(callingUid, observerId, packages, in registerAppUsageLimitObserver()
|