Home
last modified time | relevance | path

Searched refs:UsageStatsManagerInternal (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/com/android/server/backup/
DUsageStatsBackupHelper.java5 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/
DSyncAdapterStateFetcher.java18 import android.app.usage.UsageStatsManagerInternal;
44 final UsageStatsManagerInternal usmi = in getStandbyBucket()
45 LocalServices.getService(UsageStatsManagerInternal.class); in getStandbyBucket()
DSyncManager.java32 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/
DSliceManagerServiceTest.java35 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/
DCacheQuotaStrategy.java25 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/
DUsageStatsManagerInternal.java32 public abstract class UsageStatsManagerInternal { class
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java33 import android.app.usage.UsageStatsManagerInternal;
83 public final UsageStatsManagerInternal usageStatsManagerInternal;
120 usageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java24 import android.app.usage.UsageStatsManagerInternal;
144 UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java26 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()
DAlarmManagerService.java38 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/
DJobServiceContext.java27 import android.app.usage.UsageStatsManagerInternal;
273 UsageStatsManagerInternal usageStats = in executeRunnableJob()
274 LocalServices.getService(UsageStatsManagerInternal.class); in executeRunnableJob()
DJobSchedulerService.java37 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/
DStorageStatsService.java26 import android.app.usage.UsageStatsManagerInternal;
540 UsageStatsManagerInternal usageStatsManager = in getInitializedStrategy()
541 LocalServices.getService(UsageStatsManagerInternal.class); in getInitializedStrategy()
DUsageStatsService.java35 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 {
DAppStandbyController.java54 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener;
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java35 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/
DAppStateTrackerTest.java47 import android.app.usage.UsageStatsManagerInternal;
48 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener;
131 UsageStatsManagerInternal injectUsageStatsManagerInternal() { in injectUsageStatsManagerInternal()
178 private UsageStatsManagerInternal mMockUsageStatsManagerInternal;
DNetworkPolicyManagerServiceTest.java85 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/
DBaseShortcutManagerTest.java45 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/
DAppStandbyControllerTests.java49 import android.app.usage.UsageStatsManagerInternal;
302 private class TestParoleListener extends UsageStatsManagerInternal.AppIdleStateChangeListener {
/frameworks/base/services/java/com/android/server/
DSystemServer.java21 import android.app.usage.UsageStatsManagerInternal;
704 LocalServices.getService(UsageStatsManagerInternal.class)); in startCoreServices()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java126 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/
DShortcutService.java27 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/
DDevicePolicyManagerService.java117 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/
DActivityManagerService.java270 import android.app.usage.UsageStatsManagerInternal;
1371 UsageStatsManagerInternal mUsageStatsService;
2779 public void setUsageStatsManager(UsageStatsManagerInternal usageStatsManager) { in setUsageStatsManager()

12