Home
last modified time | relevance | path

Searched refs:mUsageStatsManagerInternal (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java119 private UsageStatsManagerInternal mUsageStatsManagerInternal; field in AlarmManagerServiceTest
258 doReturn(mUsageStatsManagerInternal).when( in setUp()
263 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), in setUp()
295 verify(mUsageStatsManagerInternal).addAppIdleStateChangeListener(captor.capture()); in setUp()
479 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testStandbyBucketDelay_workingSet()
485 verify(mUsageStatsManagerInternal, atLeastOnce()) in testStandbyBucketDelay_workingSet()
500 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testStandbyBucketDelay_frequent()
505 verify(mUsageStatsManagerInternal, atLeastOnce()) in testStandbyBucketDelay_frequent()
520 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testStandbyBucketDelay_rare()
525 verify(mUsageStatsManagerInternal, atLeastOnce()) in testStandbyBucketDelay_rare()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java93 UsageStatsManagerInternal mUsageStatsManagerInternal; field in AppStateTracker
424 mUsageStatsManagerInternal = Objects.requireNonNull( in onSystemServicesReady()
433 mUsageStatsManagerInternal.addAppIdleStateChangeListener(mStandbyTracker); in onSystemServicesReady()
DAlarmManagerService.java176 private UsageStatsManagerInternal mUsageStatsManagerInternal; field in AlarmManagerService
1596 mUsageStatsManagerInternal = in onBootPhase()
1598 mUsageStatsManagerInternal.addAppIdleStateChangeListener(new AppStandbyTracker()); in onBootPhase()
1859 final int standbyBucket = mUsageStatsManagerInternal.getAppStandbyBucket( in adjustDeliveryTimeBasedOnBucketLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java121 private final UsageStatsManagerInternal mUsageStatsManagerInternal; field in LauncherAppsService.LauncherAppsImpl
140 mUsageStatsManagerInternal = Preconditions.checkNotNull( in LauncherAppsImpl()
639 mUsageStatsManagerInternal.getAppUsageLimit(packageName, user); in getAppUsageLimit()
DShortcutService.java321 private final UsageStatsManagerInternal mUsageStatsManagerInternal; field in ShortcutService
440 mUsageStatsManagerInternal = Preconditions.checkNotNull( in ShortcutService()
2272 mUsageStatsManagerInternal.reportShortcutUsage(packageName, shortcutId, userId); in reportShortcutUsed()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java502 final UsageStatsManagerInternal mUsageStatsManagerInternal; field in DevicePolicyManagerService
2226 mUsageStatsManagerInternal = Preconditions.checkNotNull( in DevicePolicyManagerService()
3829 mUsageStatsManagerInternal.onActiveAdminAdded( in setActiveAdmin()
3846 mUsageStatsManagerInternal.onAdminDataAvailable(); in loadAdminDataAsync()
3857 mUsageStatsManagerInternal.setActiveAdminApps( in pushActiveAdminPackages()
3875 mUsageStatsManagerInternal.setActiveAdminApps( in pushActiveAdminPackagesLocked()