Searched refs:mAppUsageStats (Results 1 – 3 of 3) sorted by relevance
/aosp12/frameworks/base/services/core/java/com/android/server/slice/ |
H A D | SliceManagerService.java | 104 private final UsageStatsManagerInternal mAppUsageStats; field in SliceManagerService 119 mAppUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in SliceManagerService() 176 mAppUsageStats.reportEvent(slicePkg, user, in pinSlice()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 261 private UsageStatsManagerInternal mAppUsageStats; field in NotificationManagerServiceTest 524 mAppUsageStats, mock(DevicePolicyManagerInternal.class), mUgm, mUgmInternal, in setUp() 4931 verify(mAppUsageStats).reportInterruptiveNotification(anyString(), anyString(), anyInt()); in testOnNotificationVisibilityChanged_triggersInterruptionUsageStat() 4973 verify(mAppUsageStats).reportInterruptiveNotification(anyString(), anyString(), anyInt()); in testSetNotificationsShownFromListener_triggersInterruptionUsageStat() 4995 verify(mAppUsageStats, never()).reportInterruptiveNotification( in testSetNotificationsShownFromListener_protectsCrossUserInformation() 5033 verify(mAppUsageStats, times(1)).reportInterruptiveNotification( in testMaybeRecordInterruptionLocked_doesNotRecordTwice() 5049 verify(mAppUsageStats, times(1)).reportInterruptiveNotification( in testMaybeRecordInterruptionLocked_smallIconsRequiredForHistory() 5954 verify(mAppUsageStats, never()).reportEvent(anyString(), anyInt(), anyInt()); in testReportSeen_delegated() 5963 verify(mAppUsageStats, times(1)).reportEvent(anyString(), anyInt(), anyInt()); in testReportSeen_notDelegated()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 559 private UsageStatsManagerInternal mAppUsageStats; field in NotificationManagerService 2088 mAppUsageStats = appUsageStats; in init() 2856 mAppUsageStats.reportEvent(r.getSbn().getPackageName(), 2932 mAppUsageStats.reportInterruptiveNotification(r.getSbn().getPackageName(), 3036 mAppUsageStats.reportEvent(r.getSbn().getPackageName(),
|