Searched refs:observerId (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | LauncherAppsTest.java | 241 private void registerObserver(int observerId, Duration timeLimit, Duration timeUsed) { in registerObserver() argument 244 observerId, SETTINGS_PACKAGE_GROUP, timeLimit, timeUsed, in registerObserver() 248 private void unregisterObserver(int observerId) { in unregisterObserver() argument 250 mUsageStatsManager.unregisterAppUsageLimitObserver(observerId)); in unregisterObserver()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 1352 final int observerId = 0; in testObserveUsagePermissionForRegisterObserver() local 1356 mUsageStatsManager.registerAppUsageObserver(observerId, packages, in testObserveUsagePermissionForRegisterObserver() 1364 mUsageStatsManager.registerUsageSessionObserver(observerId, packages, in testObserveUsagePermissionForRegisterObserver() 1372 mUsageStatsManager.registerAppUsageLimitObserver(observerId, packages, in testObserveUsagePermissionForRegisterObserver() 1382 final int observerId = 0; in testObserveUsagePermissionForUnregisterObserver() local 1385 mUsageStatsManager.unregisterAppUsageObserver(observerId); in testObserveUsagePermissionForUnregisterObserver() 1392 mUsageStatsManager.unregisterUsageSessionObserver(observerId); in testObserveUsagePermissionForUnregisterObserver() 1399 mUsageStatsManager.unregisterAppUsageLimitObserver(observerId); in testObserveUsagePermissionForUnregisterObserver()
|