Home
last modified time | relevance | path

Searched refs:addUsageSessionObserver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java189 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_AddObserver()
191 addUsageSessionObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_AddObserver()
217 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_RemoveObserver()
301 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_ObserverReAdd()
303 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_10_MIN, TIME_1_MIN); in testUsageSessionObserver_ObserverReAdd()
326 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testAllObservers_ExclusiveObserverIds()
384 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_10_MIN); in testUsageSessionObserver_Accumulation()
466 addUsageSessionObserver(OBS_ID1, GROUP1, 4_000L, 1_000L); in testUsageSessionObserver_TimeoutOtherApp()
504 addUsageSessionObserver(OBS_ID1, GROUP1, 4_000L, 1_000L); in testUsageSessionObserver_Timeout()
560 addUsageSessionObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_AlreadyRunning()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java806 public void addUsageSessionObserver(int requestingUid, int observerId, String[] observed, in addUsageSessionObserver() method in AppTimeLimitController
DUsageStatsService.java3169 mAppTimeLimit.addUsageSessionObserver(callingUid, observerId, observed, timeLimitMs, in registerUsageSessionObserver()