Home
last modified time | relevance | path

Searched refs:mUsageStats (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
DRankingHelperTest.java30 @Mock NotificationUsageStats mUsageStats; field in RankingHelperTest
50 mHelper = new RankingHelper(getContext(), handler, mUsageStats, in setUp()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java90 private NotificationUsageStats mUsageStats; field in ValidateNotificationPeople
96 mUsageStats = usageStats; in initialize()
214 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople()
476 mUsageStats.registerPeopleAffinity(mRecord, mContactAffinity > NONE, in work()
DNotificationManagerService.java301 private NotificationUsageStats mUsageStats; field in NotificationManagerService
931 mUsageStats = new NotificationUsageStats(getContext()); in onStart()
935 mUsageStats, in onStart()
2321 dump.put("stats", mUsageStats.dumpJson(filter)); in dumpJson()
2402 mUsageStats.dump(pw, " ", filter); in dumpImpl()
2523 mUsageStats.registerEnqueuedByApp(pkg); in enqueueNotificationInternal()
2529 final float appEnqueueRate = mUsageStats.getAppEnqueueRate(pkg); in enqueueNotificationInternal()
2531 mUsageStats.registerOverRateQuota(pkg); in enqueueNotificationInternal()
2551 mUsageStats.registerOverCountQuota(pkg); in enqueueNotificationInternal()
2655 mUsageStats.registerSuspendedByAdmin(r); in run()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java276 private UsageStatsManagerInternal mUsageStats; field in NetworkPolicyManagerService
541 mUsageStats = LocalServices.getService(UsageStatsManagerInternal.class); in systemReady()
647 mUsageStats.addAppIdleStateChangeListener(new AppIdleStateChangeListener()); in systemReady()
2632 int[] idleUids = mUsageStats.getIdleUidsForUser(user.id); in updateRulesForAppIdleLocked()
2661 boolean enableChain = !mUsageStats.isAppIdleParoleOn(); in updateRulesForAppIdleParoleLocked()
2753 if (!mUsageStats.isAppIdle(packageName, uid, userId)) { in isUidIdle()