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.java117 private UsageStatsManagerInternal mUsageStatsManagerInternal; field in AlarmManagerServiceTest
257 doReturn(mUsageStatsManagerInternal).when( in setUp()
259 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), in setUp()
291 verify(mUsageStatsManagerInternal).addAppIdleStateChangeListener(captor.capture()); in setUp()
476 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testStandbyBucketDelay_workingSet()
482 verify(mUsageStatsManagerInternal, atLeastOnce()) in testStandbyBucketDelay_workingSet()
497 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testStandbyBucketDelay_frequent()
502 verify(mUsageStatsManagerInternal, atLeastOnce()) in testStandbyBucketDelay_frequent()
517 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), in testStandbyBucketDelay_rare()
522 verify(mUsageStatsManagerInternal, atLeastOnce()) in testStandbyBucketDelay_rare()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java93 UsageStatsManagerInternal mUsageStatsManagerInternal; field in AppStateTracker
424 mUsageStatsManagerInternal = Preconditions.checkNotNull( in onSystemServicesReady()
433 mUsageStatsManagerInternal.addAppIdleStateChangeListener(mStandbyTracker); in onSystemServicesReady()
DAlarmManagerService.java176 private UsageStatsManagerInternal mUsageStatsManagerInternal; field in AlarmManagerService
1598 mUsageStatsManagerInternal = in onBootPhase()
1600 mUsageStatsManagerInternal.addAppIdleStateChangeListener(new AppStandbyTracker()); in onBootPhase()
1866 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()
645 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.java498 final UsageStatsManagerInternal mUsageStatsManagerInternal; field in DevicePolicyManagerService
2218 mUsageStatsManagerInternal = Preconditions.checkNotNull( in DevicePolicyManagerService()
3821 mUsageStatsManagerInternal.onActiveAdminAdded( in setActiveAdmin()
3838 mUsageStatsManagerInternal.onAdminDataAvailable(); in loadAdminDataAsync()
3849 mUsageStatsManagerInternal.setActiveAdminApps( in pushActiveAdminPackages()
3867 mUsageStatsManagerInternal.setActiveAdminApps( in pushActiveAdminPackagesLocked()