Searched refs:mUsm (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 43 private UsageStatsManager mUsm; field in ChooserWrapperActivity 52 if (mUsm == null) { in getUsageStatsManager() 53 mUsm = (UsageStatsManager) getSystemService(Context.USAGE_STATS_SERVICE); in getUsageStatsManager() 55 return mUsm; in getUsageStatsManager()
|
D | ResolverListControllerTest.java | 69 private UsageStatsManager mUsm; field in ResolverListControllerTest 111 mUsm = new UsageStatsManager(mMockContext, mMockService); in reportChooserSelection() 112 when(mMockContext.getSystemService(Context.USAGE_STATS_SERVICE)).thenReturn(mUsm); in reportChooserSelection() 116 long beforeReport = getCount(mUsm, packageName, action, annotation); in reportChooserSelection() 118 long afterReport = getCount(mUsm, packageName, action, annotation); in reportChooserSelection()
|
D | ResolverWrapperActivity.java | 31 private UsageStatsManager mUsm; field in ResolverWrapperActivity
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AbstractResolverComparator.java | 49 protected final UsageStatsManager mUsm; field in AbstractResolverComparator 102 mUsm = (UsageStatsManager) context.getSystemService(Context.USAGE_STATS_SERVICE); in AbstractResolverComparator() 229 if (mUsm != null) { in updateChooserCounts() 230 mUsm.reportChooserSelection(packageName, userId, mContentType, mAnnotations, action); in updateChooserCounts()
|
D | ResolverRankerServiceResolverComparator.java | 95 mStats = mUsm.queryAndAggregateUsageStats(mSinceTime, mCurrentTime); in ResolverRankerServiceResolverComparator()
|