Home
last modified time | relevance | path

Searched refs:stat1 (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppStatsMixinTest.java95 final UsageStats stat1 = new UsageStats(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp() local
96 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() local
119 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 …]
DAllAppsInfoPreferenceControllerTest.java71 final UsageStats stat1 = new UsageStats(); in onReloadDataCompleted_recentAppsSet_hidePreference() local
72 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()
DRecentAppsPreferenceControllerTest.java128 final UsageStats stat1 = new UsageStats(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() local
131 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()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/
DRecentAppsPreferenceControllerTest.java141 final UsageStats stat1 = new UsageStats(); in display_showRecents() local
144 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() local
181 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 …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java374 public int compare(UsageStats stat1, UsageStats stat2) { in compare() argument
375 Long time1 = stat1.getLastTimeUsed(); in compare()