Searched refs:addAppUsageObserver (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 159 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_AddObserver() 161 addAppUsageObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN); in testAppUsageObserver_AddObserver() 188 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_RemoveObserver() 269 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_ObserverReAdd() 271 addAppUsageObserver(OBS_ID1, GROUP1, TIME_10_MIN); in testAppUsageObserver_ObserverReAdd() 305 addAppUsageObserver(OBS_ID1, GROUP1, TIME_10_MIN); in testAllObservers_ExclusiveObserverIds() 329 addAppUsageObserver(OBS_ID1, GROUP1, TIME_30_MIN); in testAppUsageObserver_Accumulation() 434 addAppUsageObserver(OBS_ID1, GROUP1, 4_000L); in testAppUsageObserver_TimeoutOtherApp() 471 addAppUsageObserver(OBS_ID1, GROUP1, 4_000L); in testAppUsageObserver_Timeout() 516 addAppUsageObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN); in testAppUsageObserver_AlreadyRunning() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppTimeLimitController.java | 735 public void addAppUsageObserver(int requestingUid, int observerId, String[] observed, in addAppUsageObserver() method in AppTimeLimitController
|
D | UsageStatsService.java | 1584 mAppTimeLimit.addAppUsageObserver(callingUid, observerId, packages, timeLimitMs, in registerAppUsageObserver()
|