Searched refs:addAppUsageObserver (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 179 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_AddObserver() 181 addAppUsageObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN); in testAppUsageObserver_AddObserver() 208 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_RemoveObserver() 289 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_ObserverReAdd() 291 addAppUsageObserver(OBS_ID1, GROUP1, TIME_10_MIN); in testAppUsageObserver_ObserverReAdd() 325 addAppUsageObserver(OBS_ID1, GROUP1, TIME_10_MIN); in testAllObservers_ExclusiveObserverIds() 349 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_Accumulation() 454 addAppUsageObserver(OBS_ID1, GROUP1, 4_000L); in testAppUsageObserver_TimeoutOtherApp() 491 addAppUsageObserver(OBS_ID1, GROUP1, 4_000L); in testAppUsageObserver_Timeout() 541 addAppUsageObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN); in testAppUsageObserver_AlreadyRunning() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppTimeLimitController.java | 751 public void addAppUsageObserver(int requestingUid, int observerId, String[] observed, in addAppUsageObserver() method in AppTimeLimitController
|
D | UsageStatsService.java | 3157 mAppTimeLimit.addAppUsageObserver(callingUid, observerId, packages, timeLimitMs, in registerAppUsageObserver()
|