Searched refs:stat3 (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppStatsMixinTest.java | 118 final UsageStats stat3 = new UsageStats(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() local 127 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 128 stat3.mPackageName = "pkg.class3"; in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 129 stats.add(stat3); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 135 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 153 final UsageStats stat3 = new UsageStats(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() local 162 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 163 stat3.mPackageName = "pkg.class3"; in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 164 stats.add(stat3); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 171 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp()
|
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(stat3); in initRecentApps() 163 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in initRecentApps()
|
/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/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 3916 WifiLinkLayerStats stat3 = nextRandomStats(stat2); in testWifiLinkLayerUsageStats() local 3919 mWifiMetrics.incrementWifiLinkLayerUsageStats(TEST_IFACE_NAME, stat3); in testWifiLinkLayerUsageStats() 3923 assertWifiLinkLayerUsageHasDiff(stat1, stat3); in testWifiLinkLayerUsageStats() 3924 assertPerRadioStatsUsageHasDiff(stat1, stat3); in testWifiLinkLayerUsageStats() 3954 WifiLinkLayerStats stat3 = nextRandomStats(stat2); in testWifiLinkLayerUsageStatsChipReset() local 3955 WifiLinkLayerStats stat4 = nextRandomStats(stat3); in testWifiLinkLayerUsageStatsChipReset() 3958 mWifiMetrics.incrementWifiLinkLayerUsageStats(TEST_IFACE_NAME, stat3); in testWifiLinkLayerUsageStatsChipReset() 3963 assertWifiLinkLayerUsageHasDiff(stat3, stat4); in testWifiLinkLayerUsageStatsChipReset() 3964 assertPerRadioStatsUsageHasDiff(stat3, stat4); in testWifiLinkLayerUsageStatsChipReset()
|