/frameworks/base/services/core/java/com/android/server/backup/ |
D | UsageStatsBackupHelper.java | 6 import android.app.usage.UsageStatsManagerInternal; 44 UsageStatsManagerInternal localUsageStatsManager = in getBackupPayload() 45 LocalServices.getService(UsageStatsManagerInternal.class); in getBackupPayload() 66 UsageStatsManagerInternal localUsageStatsManager = in applyRestoredPayload() 67 LocalServices.getService(UsageStatsManagerInternal.class); in applyRestoredPayload()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 19 import android.app.usage.UsageStatsManagerInternal; 43 final UsageStatsManagerInternal usmi = in getStandbyBucket() 44 LocalServices.getService(UsageStatsManagerInternal.class); in getStandbyBucket()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/ |
D | UsageStatsServiceTest.java | 32 import android.app.usage.UsageStatsManagerInternal; 96 UsageStatsManagerInternal usmi = LocalServices.getService(UsageStatsManagerInternal.class); in testUsageEventListener() 113 UsageStatsManagerInternal.UsageEventListener {
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceManagerServiceTest.java | 36 import android.app.usage.UsageStatsManagerInternal; 76 LocalServices.addService(UsageStatsManagerInternal.class, in setUp() 77 mock(UsageStatsManagerInternal.class)); in setUp() 88 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in teardown()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsIdleService.java | 23 import android.app.usage.UsageStatsManagerInternal; 119 final UsageStatsManagerInternal usageStatsManagerInternal = LocalServices.getService( in onStartJob() 120 UsageStatsManagerInternal.class); in onStartJob()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 30 import android.app.usage.UsageStatsManagerInternal; 97 LocalServices.addService(UsageStatsManagerInternal.class, in setUpOnce() 98 mock(UsageStatsManagerInternal.class)); in setUpOnce() 99 sService.mUsageStatsService = LocalServices.getService(UsageStatsManagerInternal.class); in setUpOnce() 118 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in tearDownOnce()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | UsageStatsQueryHelper.java | 24 import android.app.usage.UsageStatsManagerInternal; 41 private final UsageStatsManagerInternal mUsageStatsManagerInternal; 231 private static UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal() 232 return LocalServices.getService(UsageStatsManagerInternal.class); in getUsageStatsManagerInternal()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundInstallControlService.java | 26 import android.app.usage.UsageStatsManagerInternal; 142 UsageStatsManagerInternal usageStatsManagerInternal = in BackgroundInstallControlService() 617 UsageStatsManagerInternal getUsageStatsManagerInternal(); in getUsageStatsManagerInternal() 652 public UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal() 653 return LocalServices.getService(UsageStatsManagerInternal.class); in getUsageStatsManagerInternal()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceTimeoutTest.java | 37 import android.app.usage.UsageStatsManagerInternal; 87 private UsageStatsManagerInternal mUsageStatsManagerInt;
|
D | AsyncProcessStartTest.java | 36 import android.app.usage.UsageStatsManagerInternal; 93 private UsageStatsManagerInternal mUsageStatsManagerInt;
|
D | ProcessObserverTest.java | 36 import android.app.usage.UsageStatsManagerInternal; 92 private UsageStatsManagerInternal mUsageStatsManagerInt;
|
D | BaseBroadcastQueueTest.java | 29 import android.app.usage.UsageStatsManagerInternal; 107 UsageStatsManagerInternal mUsageStatsManagerInt;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | UsageStatsQueryHelperTest.java | 37 import android.app.usage.UsageStatsManagerInternal; 75 private UsageStatsManagerInternal mUsageStatsManagerInternal; 86 addLocalServiceMock(UsageStatsManagerInternal.class, mUsageStatsManagerInternal); in setUp() 104 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in tearDown()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 50 import android.app.usage.UsageStatsManagerInternal; 301 final UsageStatsManagerInternal usmi = mock(UsageStatsManagerInternal.class); 302 LocalServices.addService(UsageStatsManagerInternal.class, usmi); 496 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); 642 setUsageStatsManager(LocalServices.getService(UsageStatsManagerInternal.class));
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 25 import android.app.usage.UsageStatsManagerInternal; 88 private final UsageStatsManagerInternal mUsageStats; 96 Context context, UsageStatsManagerInternal usageStatsManager, Installer installer, in CacheQuotaStrategy()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | PrefetchController.java | 29 import android.app.usage.UsageStatsManagerInternal; 30 import android.app.usage.UsageStatsManagerInternal.EstimatedLaunchTimeChangedListener; 74 private final UsageStatsManagerInternal mUsageStatsManagerInternal; 136 mUsageStatsManagerInternal = LocalServices.getService(UsageStatsManagerInternal.class); in PrefetchController()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/ |
D | AppHibernationServiceTest.java | 46 import android.app.usage.UsageStatsManagerInternal; 47 import android.app.usage.UsageStatsManagerInternal.UsageEventListener; 118 private UsageStatsManagerInternal mUsageStatsManagerInternal; 577 public UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | PrefetchControllerTest.java | 45 import android.app.usage.UsageStatsManagerInternal; 46 import android.app.usage.UsageStatsManagerInternal.EstimatedLaunchTimeChangedListener; 104 private UsageStatsManagerInternal mUsageStatsManagerInternal; 120 .when(() -> LocalServices.getService(UsageStatsManagerInternal.class)); in setUp()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 45 import android.app.usage.UsageStatsManagerInternal; 163 mock(UsageStatsManagerInternal.class), in setUp() 170 mock(UsageStatsManagerInternal.class), mock(TelecomManager.class), in setUp()
|
/frameworks/base/services/core/java/com/android/server/apphibernation/ |
D | AppHibernationService.java | 41 import android.app.usage.UsageStatsManagerInternal; 42 import android.app.usage.UsageStatsManagerInternal.UsageEventListener; 1002 UsageStatsManagerInternal getUsageStatsManagerInternal(); in getUsageStatsManagerInternal() 1059 public UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal() 1060 return LocalServices.getService(UsageStatsManagerInternal.class); in getUsageStatsManagerInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 38 import android.app.usage.UsageStatsManagerInternal; 106 public final UsageStatsManagerInternal usageStatsManagerInternal; 164 usageStatsManagerInternal = mock(UsageStatsManagerInternal.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 27 import android.app.usage.UsageStatsManagerInternal; 137 UsageStatsManagerInternal getUsageStatsManagerInternal() { in getUsageStatsManagerInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 33 import android.app.usage.UsageStatsManagerInternal; 1046 UsageStatsManagerInternal.AppUsageLimitData group = getAppUsageLimit(PKG_SOC1); in testAppUsageLimitObserver_GetAppUsageLimit() 1064 UsageStatsManagerInternal.AppUsageLimitData group = getAppUsageLimit(PKG_SOC1); in testAppUsageLimitObserver_GetAppUsageLimitUsed() 1081 UsageStatsManagerInternal.AppUsageLimitData group = getAppUsageLimit(PKG_SOC1); in testAppUsageLimitObserver_GetAppUsageLimitAllUsed() 1154 private UsageStatsManagerInternal.AppUsageLimitData getAppUsageLimit(String packageName) { in getAppUsageLimit()
|
/frameworks/base/services/core/java/android/app/usage/ |
D | UsageStatsManagerInternal.java | 43 public abstract class UsageStatsManagerInternal { class
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PolicyEnforcerCallbacks.java | 37 import android.app.usage.UsageStatsManagerInternal; 232 LocalServices.getService(UsageStatsManagerInternal.class)
|