Searched refs:mAppUsageStats (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 100 private final UsageStatsManagerInternal mAppUsageStats; field in SliceManagerService 115 mAppUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in SliceManagerService() 171 mAppUsageStats.reportEvent(slicePkg, user, in pinSlice()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 206 private UsageStatsManagerInternal mAppUsageStats; field in NotificationManagerServiceTest 393 mGroupHelper, mAm, mAppUsageStats, in setUp() local 3814 verify(mAppUsageStats).reportInterruptiveNotification(anyString(), anyString(), anyInt()); in testOnNotificationVisibilityChanged_triggersInterruptionUsageStat() 3827 verify(mAppUsageStats).reportInterruptiveNotification(anyString(), anyString(), anyInt()); in testSetNotificationsShownFromListener_triggersInterruptionUsageStat() 3841 verify(mAppUsageStats, times(1)).reportInterruptiveNotification( in testMaybeRecordInterruptionLocked_doesNotRecordTwice() 4209 verify(mAppUsageStats, never()).reportEvent(anyString(), anyInt(), anyInt()); in testReportSeen_delegated() 4218 verify(mAppUsageStats, times(1)).reportEvent(anyString(), anyInt(), anyInt()); in testReportSeen_notDelegated()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 430 private UsageStatsManagerInternal mAppUsageStats; field in NotificationManagerService 1661 mAppUsageStats = appUsageStats; in init() 2208 mAppUsageStats.reportEvent(r.sbn.getPackageName(), 2284 mAppUsageStats.reportInterruptiveNotification(r.sbn.getPackageName(), 2296 mAppUsageStats.reportEvent(r.sbn.getPackageName(),
|