Searched refs:stat1 (Results 1 – 5 of 5) sorted by relevance
95 final UsageStats stat1 = new UsageStats(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp() local96 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp()97 stat1.mPackageName = "pkg.class"; in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp()98 stats.add(stat1); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp()100 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp()116 final UsageStats stat1 = new UsageStats(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() local119 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()120 stat1.mPackageName = "pkg.class"; in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()121 stats.add(stat1); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()131 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()[all …]
71 final UsageStats stat1 = new UsageStats(); in onReloadDataCompleted_recentAppsSet_hidePreference() local72 stat1.mLastTimeUsed = System.currentTimeMillis(); in onReloadDataCompleted_recentAppsSet_hidePreference()73 stat1.mPackageName = "pkg.class"; in onReloadDataCompleted_recentAppsSet_hidePreference()74 stats.add(stat1); in onReloadDataCompleted_recentAppsSet_hidePreference()
128 final UsageStats stat1 = new UsageStats(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() local131 stat1.mLastTimeUsed = System.currentTimeMillis(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()132 stat1.mPackageName = "pkg.class"; in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()133 stats.add(stat1); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()142 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()
141 final UsageStats stat1 = new UsageStats(); in display_showRecents() local144 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents()145 stat1.mPackageName = "pkg.class"; in display_showRecents()146 stats.add(stat1); in display_showRecents()157 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in display_showRecents()180 final UsageStats stat1 = new UsageStats(); in display_showRecentsWithInstantApp() local181 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecentsWithInstantApp()182 stat1.mPackageName = "com.foo.bar"; in display_showRecentsWithInstantApp()183 stats.add(stat1); in display_showRecentsWithInstantApp()196 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())).thenReturn(stat1Entry); in display_showRecentsWithInstantApp()[all …]
335 public int compare(UsageStats stat1, UsageStats stat2) { in compare() argument336 Long time1 = stat1.getLastTimeUsed(); in compare()