/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaHint.java | 40 private final UsageStats mUsageStats; field in CacheQuotaHint 50 this.mUsageStats = builder.mUsageStats; in CacheQuotaHint() 67 return mUsageStats; in getUsageStats() 75 dest.writeParcelable(mUsageStats, 0); in writeToParcel() 88 && Objects.equals(mUsageStats, other.mUsageStats) in equals() 97 return Objects.hash(this.mUuid, this.mUid, this.mUsageStats, this.mQuota); in hashCode() 103 private UsageStats mUsageStats; field in CacheQuotaHint.Builder 128 mUsageStats = stats; in setUsageStats()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 99 private NotificationUsageStats mUsageStats; field in ValidateNotificationPeople 105 mUsageStats = usageStats; in initialize() 230 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople() 562 mUsageStats.registerPeopleAffinity(mRecord, mContactAffinity > NONE, in work()
|
D | NotificationManagerService.java | 508 private NotificationUsageStats mUsageStats; field in NotificationManagerService 1849 mUsageStats = us; in setUsageStats() 1905 mUsageStats = usageStats; in init() 1963 mUsageStats, in init() 5036 PulledStats stats = mUsageStats.remoteViewStats(startMs, doAgg); 5266 dump.put("stats", mUsageStats.dumpJson(filter)); 5275 PulledStats stats = mUsageStats.remoteViewStats(filter.since, true); 5512 mUsageStats.dump(pw, " ", filter); 5667 mUsageStats.registerEnqueuedByApp(pkg); 5877 mUsageStats.registerImageRemoved(pkg); [all …]
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 89 private final UsageStatsManagerInternal mUsageStats; field in CacheQuotaStrategy 100 mUsageStats = Objects.requireNonNull(usageStatsManager); in CacheQuotaStrategy() 179 mUsageStats.queryUsageStatsForUser(info.id, UsageStatsManager.INTERVAL_BEST, in getUnfulfilledRequests()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 100 NotificationUsageStats mUsageStats; field in BuzzBeepBlinkTest 145 when(mUsageStats.isAlertRateLimited(any())).thenReturn(false); in setUp() 165 mService.setUsageStats(mUsageStats); in setUp() 1105 when(mUsageStats.isAlertRateLimited(any())).thenReturn(true); in testRepeatedSoundOverLimitMuted() 1120 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingSilentNotificationDoesNotAffectRateLimiting() 1129 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingGroupSuppressedDoesNotAffectRateLimiting() 1138 verify(mUsageStats, times(1)).isAlertRateLimited(any()); in testGroupSuppressionFailureDoesNotAffectRateLimiting()
|
D | RankingHelperTest.java | 80 @Mock NotificationUsageStats mUsageStats; field in RankingHelperTest 146 mUsageStats, new String[] {ImportanceExtractor.class.getName()}); in setUp()
|
D | NotificationManagerServiceTest.java | 231 private NotificationUsageStats mUsageStats; field in NotificationManagerServiceTest 470 mCompanionMgr, mSnoozeHelper, mUsageStats, mPolicyFile, mActivityManager, in setUp() local 946 assertFalse(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_suspended() 956 assertTrue(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_blockedChannel() 957 verify(mUsageStats, times(1)).registerBlocked(eq(r)); in testBlockedNotifications_blockedChannel() 1054 assertTrue(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_blockedChannelGroup() 1055 verify(mUsageStats, times(1)).registerBlocked(eq(r)); in testBlockedNotifications_blockedChannelGroup() 1185 verify(mUsageStats, never()).registerPostedByApp(any()); in testBlockedNotifications_blockedByAssistant() 6123 verify(mUsageStats, times(5)).registerImageRemoved(PKG); in testRemoveLargeRemoteViews()
|
D | PreferencesHelperTest.java | 146 @Mock NotificationUsageStats mUsageStats; field in PreferencesHelperTest
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 248 mUsageStats.addEvent(new AuthenticationEvent( in onAuthenticated() 267 mUsageStats.addEvent(new AuthenticationEvent( in onError() 845 private UsageStats mUsageStats; field in FaceService 1062 mUsageStats = new UsageStats(context); in FaceService() 1349 mUsageStats.print(pw); in dumpInternal()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 288 final UsageStatsManagerInternal mUsageStats; 1416 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); 2480 long sinceLast = mUsageStats.getTimeSinceLastJobRun(packageName, userId);
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 405 private UsageStatsManagerInternal mUsageStats; field in NetworkPolicyManagerService 741 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in initService() 3864 int[] idleUids = mUsageStats.getIdleUidsForUser(user.id); in updateRulesForAppIdleUL() 4157 if (!mUsageStats.isAppIdle(packageName, uid, userId)) { in isUidIdle()
|