Searched refs:mAppUsageStats (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 103 private final UsageStatsManagerInternal mAppUsageStats; field in SliceManagerService 118 mAppUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in SliceManagerService() 175 mAppUsageStats.reportEvent(slicePkg, user, in pinSlice()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 415 private UsageStatsManagerInternal mAppUsageStats; field in NotificationManagerServiceTest 751 mAppUsageStats, mDevicePolicyManager, mUgm, mUgmInternal, in initNMS() 7618 verify(mAppUsageStats).reportInterruptiveNotification(anyString(), anyString(), anyInt()); in testOnNotificationVisibilityChanged_triggersInterruptionUsageStat() 7660 verify(mAppUsageStats).reportInterruptiveNotification(anyString(), anyString(), anyInt()); in testSetNotificationsShownFromListener_triggersInterruptionUsageStat() 7682 verify(mAppUsageStats, never()).reportInterruptiveNotification( in testSetNotificationsShownFromListener_protectsCrossUserInformation() 7720 verify(mAppUsageStats, times(1)).reportInterruptiveNotification( in testMaybeRecordInterruptionLocked_doesNotRecordTwice() 7736 verify(mAppUsageStats, times(1)).reportInterruptiveNotification( in testMaybeRecordInterruptionLocked_smallIconsRequiredForHistory() 9040 verify(mAppUsageStats, never()).reportEvent(anyString(), anyInt(), anyInt()); in testReportSeen_delegated() 9049 verify(mAppUsageStats, times(1)).reportEvent(anyString(), anyInt(), anyInt()); in testReportSeen_notDelegated()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 675 private UsageStatsManagerInternal mAppUsageStats; field in NotificationManagerService 2424 mAppUsageStats = appUsageStats; in init() 3282 mAppUsageStats.reportEvent(r.getSbn().getPackageName(), 3358 mAppUsageStats.reportInterruptiveNotification(r.getSbn().getPackageName(), 3466 mAppUsageStats.reportEvent(r.getSbn().getPackageName(),
|