Searched refs:mUsm (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 42 private UsageStatsManager mUsm; field in ChooserWrapperActivity 51 if (mUsm == null) { in getUsageStatsManager() 52 mUsm = (UsageStatsManager) getSystemService(Context.USAGE_STATS_SERVICE); in getUsageStatsManager() 54 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 | 48 protected final UsageStatsManager mUsm; field in AbstractResolverComparator 99 mUsm = (UsageStatsManager) context.getSystemService(Context.USAGE_STATS_SERVICE); in AbstractResolverComparator() 211 if (mUsm != null) { in updateChooserCounts() 212 mUsm.reportChooserSelection(packageName, userId, mContentType, mAnnotations, action); in updateChooserCounts()
|
D | ResolverRankerServiceResolverComparator.java | 95 mStats = mUsm.queryAndAggregateUsageStats(mSinceTime, mCurrentTime); in ResolverRankerServiceResolverComparator()
|