Searched refs:addUsageSessionObserver (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 169 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_AddObserver() 171 addUsageSessionObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_AddObserver() 197 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_RemoveObserver() 281 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_ObserverReAdd() 283 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_10_MIN, TIME_1_MIN); in testUsageSessionObserver_ObserverReAdd() 306 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_1_MIN); in testAllObservers_ExclusiveObserverIds() 364 addUsageSessionObserver(OBS_ID1, GROUP1, TIME_30_MIN, TIME_10_MIN); in testUsageSessionObserver_Accumulation() 446 addUsageSessionObserver(OBS_ID1, GROUP1, 4_000L, 1_000L); in testUsageSessionObserver_TimeoutOtherApp() 484 addUsageSessionObserver(OBS_ID1, GROUP1, 4_000L, 1_000L); in testUsageSessionObserver_Timeout() 535 addUsageSessionObserver(OBS_ID2, GROUP_GAME, TIME_30_MIN, TIME_1_MIN); in testUsageSessionObserver_AlreadyRunning() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppTimeLimitController.java | 790 public void addUsageSessionObserver(int requestingUid, int observerId, String[] observed, in addUsageSessionObserver() method in AppTimeLimitController
|
D | UsageStatsService.java | 1596 mAppTimeLimit.addUsageSessionObserver(callingUid, observerId, observed, timeLimitMs, in registerUsageSessionObserver()
|
/frameworks/base/services/ |
D | art-profile | 13691 PLcom/android/server/usage/AppTimeLimitController;->addUsageSessionObserver(II[Ljava/lang/String;JJ…
|