Searched refs:stat3 (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppStatsMixinTest.java | 137 final UsageStats stat3 = new UsageStats(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() local 146 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 147 stat3.mPackageName = "pkg.class3"; in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 148 stats.add(stat3); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 154 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 172 final UsageStats stat3 = new UsageStats(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() local 181 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 182 stat3.mPackageName = "pkg.class3"; in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 183 stats.add(stat3); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 190 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() [all …]
|
D | AppsPreferenceControllerTest.java | 147 final UsageStats stat3 = new UsageStats(); in initRecentApps() local 156 stat3.mLastTimeUsed = System.currentTimeMillis(); in initRecentApps() 157 stat3.mPackageName = "pkg.class3"; in initRecentApps() 158 mUsageStats.add(statsWrapperOf(stat3)); in initRecentApps() 163 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in initRecentApps()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | RecentAppsItemManagerTest.java | 107 final UsageStats stat3 = createUsageStats(MOCK_PACKAGE_NAME_3); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() local 110 stats.add(stat3); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 117 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceControllerTest.java | 143 final UsageStats stat3 = new UsageStats(); in display_showRecents() local 152 stat3.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 153 stat3.mPackageName = "pkg.class2"; in display_showRecents() 154 stats.add(stat3); in display_showRecents() 161 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in display_showRecents()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 4132 WifiLinkLayerStats stat3 = nextRandomStats(stat2); in testWifiLinkLayerUsageStats() local 4135 mWifiMetrics.incrementWifiLinkLayerUsageStats(TEST_IFACE_NAME, stat3); in testWifiLinkLayerUsageStats() 4139 assertWifiLinkLayerUsageHasDiff(stat1, stat3); in testWifiLinkLayerUsageStats() 4140 assertPerRadioStatsUsageHasDiff(stat1, stat3); in testWifiLinkLayerUsageStats() 4170 WifiLinkLayerStats stat3 = nextRandomStats(stat2); in testWifiLinkLayerUsageStatsChipReset() local 4171 WifiLinkLayerStats stat4 = nextRandomStats(stat3); in testWifiLinkLayerUsageStatsChipReset() 4174 mWifiMetrics.incrementWifiLinkLayerUsageStats(TEST_IFACE_NAME, stat3); in testWifiLinkLayerUsageStatsChipReset() 4179 assertWifiLinkLayerUsageHasDiff(stat3, stat4); in testWifiLinkLayerUsageStatsChipReset() 4180 assertPerRadioStatsUsageHasDiff(stat3, stat4); in testWifiLinkLayerUsageStatsChipReset()
|