/frameworks/base/core/java/com/android/server/backup/ |
D | UsageStatsBackupHelper.java | 5 import android.app.usage.UsageStatsManagerInternal; 36 UsageStatsManagerInternal localUsageStatsManager = in getBackupPayload() 37 LocalServices.getService(UsageStatsManagerInternal.class); in getBackupPayload() 56 UsageStatsManagerInternal localUsageStatsManager = in applyRestoredPayload() 57 LocalServices.getService(UsageStatsManagerInternal.class); in applyRestoredPayload()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 18 import android.app.usage.UsageStatsManagerInternal; 44 final UsageStatsManagerInternal usmi = in getStandbyBucket() 45 LocalServices.getService(UsageStatsManagerInternal.class); in getStandbyBucket()
|
D | SyncManager.java | 32 import android.app.usage.UsageStatsManagerInternal; 1672 final UsageStatsManagerInternal usmi = LocalServices.getService( in scheduleSyncOperationH() 1673 UsageStatsManagerInternal.class); in scheduleSyncOperationH() 3562 final UsageStatsManagerInternal usmi = LocalServices.getService( in dispatchSyncOperation() 3563 UsageStatsManagerInternal.class); in dispatchSyncOperation()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceManagerServiceTest.java | 35 import android.app.usage.UsageStatsManagerInternal; 74 LocalServices.addService(UsageStatsManagerInternal.class, in setup() 75 mock(UsageStatsManagerInternal.class)); in setup() 87 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in teardown()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 25 import android.app.usage.UsageStatsManagerInternal; 89 private final UsageStatsManagerInternal mUsageStats; 97 Context context, UsageStatsManagerInternal usageStatsManager, Installer installer, in CacheQuotaStrategy()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 32 public abstract class UsageStatsManagerInternal { class
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 33 import android.app.usage.UsageStatsManagerInternal; 83 public final UsageStatsManagerInternal usageStatsManagerInternal; 120 usageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 24 import android.app.usage.UsageStatsManagerInternal; 144 UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 26 import android.app.usage.UsageStatsManagerInternal; 27 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener; 93 UsageStatsManagerInternal mUsageStatsManagerInternal; 498 UsageStatsManagerInternal injectUsageStatsManagerInternal() { in injectUsageStatsManagerInternal() 499 return LocalServices.getService(UsageStatsManagerInternal.class); in injectUsageStatsManagerInternal()
|
D | AlarmManagerService.java | 38 import android.app.usage.UsageStatsManagerInternal; 166 private UsageStatsManagerInternal mUsageStatsManagerInternal; 1367 mUsageStatsManagerInternal = LocalServices.getService(UsageStatsManagerInternal.class); in onBootPhase() 3931 final class AppStandbyTracker extends UsageStatsManagerInternal.AppIdleStateChangeListener {
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 27 import android.app.usage.UsageStatsManagerInternal; 273 UsageStatsManagerInternal usageStats = in executeRunnableJob() 274 LocalServices.getService(UsageStatsManagerInternal.class); in executeRunnableJob()
|
D | JobSchedulerService.java | 37 import android.app.usage.UsageStatsManagerInternal; 38 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener; 199 final UsageStatsManagerInternal mUsageStats; 1128 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in JobSchedulerService() 2445 UsageStatsManagerInternal usageStats = LocalServices.getService( in standbyBucketForPackage() 2446 UsageStatsManagerInternal.class); in standbyBucketForPackage()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 26 import android.app.usage.UsageStatsManagerInternal; 540 UsageStatsManagerInternal usageStatsManager = in getInitializedStrategy() 541 LocalServices.getService(UsageStatsManagerInternal.class); in getInitializedStrategy()
|
D | UsageStatsService.java | 35 import android.app.usage.UsageStatsManagerInternal; 133 private UsageStatsManagerInternal.AppIdleStateChangeListener mStandbyChangeListener = 134 new UsageStatsManagerInternal.AppIdleStateChangeListener() { 202 publishLocalService(UsageStatsManagerInternal.class, new LocalService()); in onStart() 1170 private final class LocalService extends UsageStatsManagerInternal {
|
D | AppStandbyController.java | 54 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener;
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 35 import android.app.usage.UsageStatsManagerInternal; 102 private final UsageStatsManagerInternal mAppUsageStats; 117 mAppUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in SliceManagerService()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 47 import android.app.usage.UsageStatsManagerInternal; 48 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener; 131 UsageStatsManagerInternal injectUsageStatsManagerInternal() { in injectUsageStatsManagerInternal() 178 private UsageStatsManagerInternal mMockUsageStatsManagerInternal;
|
D | NetworkPolicyManagerServiceTest.java | 85 import android.app.usage.UsageStatsManagerInternal; 296 final UsageStatsManagerInternal usageStats = in registerLocalServices() 297 addLocalServiceMock(UsageStatsManagerInternal.class); in registerLocalServices() 441 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in unregisterLocalServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 45 import android.app.usage.UsageStatsManagerInternal; 614 protected UsageStatsManagerInternal mMockUsageStatsManagerInternal; 753 mMockUsageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in setUp() 758 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in setUp() 759 LocalServices.addService(UsageStatsManagerInternal.class, mMockUsageStatsManagerInternal); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 49 import android.app.usage.UsageStatsManagerInternal; 302 private class TestParoleListener extends UsageStatsManagerInternal.AppIdleStateChangeListener {
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 21 import android.app.usage.UsageStatsManagerInternal; 704 LocalServices.getService(UsageStatsManagerInternal.class)); in startCoreServices()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 126 import android.app.usage.UsageStatsManagerInternal; 399 private UsageStatsManagerInternal mUsageStats; 718 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in initService() 4200 extends UsageStatsManagerInternal.AppIdleStateChangeListener {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 27 import android.app.usage.UsageStatsManagerInternal; 318 private final UsageStatsManagerInternal mUsageStatsManagerInternal; 435 LocalServices.getService(UsageStatsManagerInternal.class)); in ShortcutService()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 117 import android.app.usage.UsageStatsManagerInternal; 441 final UsageStatsManagerInternal mUsageStatsManagerInternal; 1821 UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal() 1822 return LocalServices.getService(UsageStatsManagerInternal.class); in getUsageStatsManagerInternal()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 270 import android.app.usage.UsageStatsManagerInternal; 1371 UsageStatsManagerInternal mUsageStatsService; 2779 public void setUsageStatsManager(UsageStatsManagerInternal usageStatsManager) { in setUsageStatsManager()
|