Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java178 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/
DAppTimeLimitController.java843 public void addAppUsageLimitObserver(int requestingUid, int observerId, String[] observed, in addAppUsageLimitObserver() method in AppTimeLimitController
DUsageStatsService.java2063 mAppTimeLimit.addAppUsageLimitObserver(callingUid, observerId, packages, in registerAppUsageLimitObserver()
/frameworks/base/services/
Dart-profile31954 PLcom/android/server/usage/AppTimeLimitController;->addAppUsageLimitObserver(II[Ljava/lang/String;J…