/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 | 93 private NotificationUsageStats mUsageStats; field in ValidateNotificationPeople 99 mUsageStats = usageStats; in initialize() 224 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople() 525 mUsageStats.registerPeopleAffinity(mRecord, mContactAffinity > NONE, in work()
|
D | NotificationManagerService.java | 454 private NotificationUsageStats mUsageStats; field in NotificationManagerService 1627 mUsageStats = us; in setUsageStats() 1678 mUsageStats = usageStats; in init() 1716 mUsageStats, in init() 4250 PulledStats stats = mUsageStats.remoteViewStats(startMs, doAgg); 4477 dump.put("stats", mUsageStats.dumpJson(filter)); 4486 PulledStats stats = mUsageStats.remoteViewStats(filter.since, true); 4723 mUsageStats.dump(pw, " ", filter); 4818 mUsageStats.registerEnqueuedByApp(pkg); 5214 final float appEnqueueRate = mUsageStats.getAppEnqueueRate(pkg); [all …]
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 88 private final UsageStatsManagerInternal mUsageStats; field in CacheQuotaStrategy 99 mUsageStats = Preconditions.checkNotNull(usageStatsManager); in CacheQuotaStrategy() 178 mUsageStats.queryUsageStatsForUser(info.id, UsageStatsManager.INTERVAL_BEST, in getUnfulfilledRequests()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 96 NotificationUsageStats mUsageStats; field in BuzzBeepBlinkTest 137 when(mUsageStats.isAlertRateLimited(any())).thenReturn(false); in setUp() 156 mService.setUsageStats(mUsageStats); in setUp() 1051 when(mUsageStats.isAlertRateLimited(any())).thenReturn(true); in testRepeatedSoundOverLimitMuted() 1066 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingSilentNotificationDoesNotAffectRateLimiting() 1075 verify(mUsageStats, never()).isAlertRateLimited(any()); in testPostingGroupSuppressedDoesNotAffectRateLimiting() 1084 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 | 204 private NotificationUsageStats mUsageStats; field in NotificationManagerServiceTest 392 mCompanionMgr, mSnoozeHelper, mUsageStats, mPolicyFile, mActivityManager, in setUp() local 719 assertFalse(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_suspended() 729 assertTrue(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_blockedChannel() 730 verify(mUsageStats, times(1)).registerBlocked(eq(r)); in testBlockedNotifications_blockedChannel() 824 assertTrue(mService.isBlocked(r, mUsageStats)); in testBlockedNotifications_blockedChannelGroup() 825 verify(mUsageStats, times(1)).registerBlocked(eq(r)); in testBlockedNotifications_blockedChannelGroup() 950 verify(mUsageStats, never()).registerPostedByApp(any()); in testBlockedNotifications_blockedByAssistant()
|
D | PreferencesHelperTest.java | 117 @Mock NotificationUsageStats mUsageStats; field in PreferencesHelperTest
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 236 mUsageStats.addEvent(new AuthenticationEvent( in onAuthenticated() 254 mUsageStats.addEvent(new AuthenticationEvent( in onError() 839 private UsageStats mUsageStats; field in FaceService 1052 mUsageStats = new UsageStats(context); in FaceService() 1338 mUsageStats.print(pw); in dumpInternal()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 212 final UsageStatsManagerInternal mUsageStats; field in JobSchedulerService 1319 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in JobSchedulerService() 1320 mUsageStats.addAppIdleStateChangeListener(mStandbyTracker); in JobSchedulerService() 1745 final long timeSinceJob = mUsageStats.getTimeSinceLastJobRun(packageName, userId); in heartbeatWhenJobsLastRun() 2586 long sinceLast = mUsageStats.getTimeSinceLastJobRun(packageName, userId); in onUserInteractionStarted()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 404 private UsageStatsManagerInternal mUsageStats; field in NetworkPolicyManagerService 740 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in initService() 876 mUsageStats.addAppIdleStateChangeListener(new AppIdleStateChangeListener()); in initService() 3843 int[] idleUids = mUsageStats.getIdleUidsForUser(user.id); in updateRulesForAppIdleUL() 3890 boolean paroled = mUsageStats.isAppIdleParoleOn(); in updateRulesForAppIdleParoleUL() 4120 if (!mUsageStats.isAppIdle(packageName, uid, userId)) { in isUidIdle()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 9191 Landroid/app/usage/CacheQuotaHint$Builder;->mUsageStats:Landroid/app/usage/UsageStats; 9195 Landroid/app/usage/CacheQuotaHint;->mUsageStats:Landroid/app/usage/UsageStats;
|