Searched refs:mUsm (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 32 private UsageStatsManager mUsm; field in ChooserWrapperActivity 41 if (mUsm == null) { in getUsageStatsManager() 42 mUsm = (UsageStatsManager) getSystemService(Context.USAGE_STATS_SERVICE); in getUsageStatsManager() 44 return mUsm; in getUsageStatsManager()
|
D | ResolverListControllerTest.java | 72 private UsageStatsManager mUsm; field in ResolverListControllerTest 114 mUsm = new UsageStatsManager(mMockContext, mMockService); in reportChooserSelection() 115 when(mMockContext.getSystemService(Context.USAGE_STATS_SERVICE)).thenReturn(mUsm); in reportChooserSelection() 119 long beforeReport = getCount(mUsm, packageName, action, annotation); in reportChooserSelection() 121 long afterReport = getCount(mUsm, packageName, action, annotation); in reportChooserSelection()
|
D | ResolverWrapperActivity.java | 36 private UsageStatsManager mUsm; field in ResolverWrapperActivity
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 94 private final UsageStatsManager mUsm; field in ResolverComparator 178 mUsm = (UsageStatsManager) context.getSystemService(Context.USAGE_STATS_SERVICE); in ResolverComparator() 182 mStats = mUsm.queryAndAggregateUsageStats(mSinceTime, mCurrentTime); in ResolverComparator() 368 if (mUsm != null) { in updateChooserCounts() 369 mUsm.reportChooserSelection(packageName, userId, mContentType, mAnnotations, action); in updateChooserCounts()
|