Home
last modified time | relevance | path

Searched refs:mAppUsageStats (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java103 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/
DNotificationManagerServiceTest.java415 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/
DNotificationManagerService.java675 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(),