Searched refs:mUsageStatsService (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 73 sService.mUsageStatsService = LocalServices.getService(UsageStatsManagerInternal.class); in setUpOnce() 86 assertNotNull(sService.mUsageStatsService); in setUpProcess()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 1129 UsageStatsManagerInternal mUsageStatsService; field in ActivityManagerService 2101 mUsageStatsService = usageStatsManager; in setUsageStatsManager() 3077 if (mUsageStatsService != null) { in updateActivityUsageStats() 3078 mUsageStatsService.reportEvent(activity, userId, event, appToken.hashCode(), in updateActivityUsageStats() 3101 if (mUsageStatsService != null) { in updateActivityUsageStats() 3102 mUsageStatsService.reportEvent(packageName, userId, event); in updateActivityUsageStats() 3119 if (mUsageStatsService != null) { in updateForegroundServiceUsageStats() 3120 mUsageStatsService.reportEvent(service, userId, in updateForegroundServiceUsageStats() 7861 mUsageStatsService.reportEvent("android", mUserController.getCurrentUserId(), event); in reportGlobalUsageEventLocked() 7865 mUsageStatsService.reportEvent((String)null, profiles[i], event); in reportGlobalUsageEventLocked() [all …]
|
D | OomAdjuster.java | 1966 if (mService.mUsageStatsService == null) { in maybeUpdateUsageStatsLocked() 1997 mService.mUsageStatsService.reportEvent(packages[i], app.userId, in maybeUpdateUsageStatsLocked()
|