Searched refs:addAppUsageLimitObserver (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 178 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_AddObserver() 180 addAppUsageLimitObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, 0); in testAppUsageLimitObserver_AddObserver() 206 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_RemoveObserver() 293 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_ObserverReAdd() 295 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_10_MIN, 0); in testAppUsageLimitObserver_ObserverReAdd() 307 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_10_MIN, 0); in testAllObservers_ExclusiveObserverIds() 399 addAppUsageLimitObserver(OBS_ID1, GROUP1, TIME_30_MIN, 0); in testAppUsageLimitObserver_Accumulation() 459 addAppUsageLimitObserver(OBS_ID1, GROUP1, 4_000L, 0); in testAppUsageLimitObserver_TimeoutOtherApp() 501 addAppUsageLimitObserver(OBS_ID1, GROUP1, 4_000L, 0); in testAppUsageLimitObserver_Timeout() 554 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 | 843 public void addAppUsageLimitObserver(int requestingUid, int observerId, String[] observed, in addAppUsageLimitObserver() method in AppTimeLimitController
|
D | UsageStatsService.java | 1606 mAppTimeLimit.addAppUsageLimitObserver(callingUid, observerId, packages, in registerAppUsageLimitObserver()
|