/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/ |
D | UiBenchActivityTransitionsAnimationMicrobenchmark.java | 38 sHelper.get().openActivityTransition(); in openApp() 44 sHelper.get().clickImage("ducky"); in testActivityTransitionsAnimation() 45 sHelper.get().clickImage("woot"); in testActivityTransitionsAnimation() 46 sHelper.get().clickImage("ball"); in testActivityTransitionsAnimation() 47 sHelper.get().clickImage("block"); in testActivityTransitionsAnimation() 48 sHelper.get().clickImage("jellies"); in testActivityTransitionsAnimation() 49 sHelper.get().clickImage("mug"); in testActivityTransitionsAnimation() 50 sHelper.get().clickImage("pencil"); in testActivityTransitionsAnimation() 51 sHelper.get().clickImage("scissors"); in testActivityTransitionsAnimation() 56 sHelper.get().exit(); in closeApp()
|
D | UiBenchInflatingHanListViewFlingMicrobenchmark.java | 38 sHelper.get().openInflatingHanListView(); in openApp() 43 sHelper.get().flingUpDown(2); in testInflatingHanListViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchDialogListFlingMicrobenchmark.java | 38 sHelper.get().openDialogList(); in openApp() 43 sHelper.get().flingUpDown(1); in testDialogListFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchWebViewFlingMicrobenchmark.java | 38 sHelper.get().openScrollableWebView(); in openApp() 43 sHelper.get().flingUpDown(1); in testWebViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchInflatingEmojiListViewFlingMicrobenchmark.java | 38 sHelper.get().openInflatingEmojiListView(); in openApp() 43 sHelper.get().flingUpDown(2); in testInflatingEmojiListViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchOpenNavigationDrawerMicrobenchmark.java | 38 sHelper.get().openNavigationDrawerActivity(); in openApp() 43 sHelper.get().swipeRightLeft(4); in testOpenNavigationDrawer() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchLayoutCacheLowHitrateFlingMicrobenchmark.java | 38 sHelper.get().openLayoutCacheLowHitrate(); in openApp() 43 sHelper.get().flingUpDown(3); in testLayoutCacheLowHitrateFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchBrowseFastLaneScrollMicrobenchmark.java | 38 sHelper.get().openLeanbackActivity(true, true, "leanback.BrowseActivity", "Row"); in openApp() 44 sHelper.get().scrollDownAndUp(3); in testBrowseFastLaneScroll() 49 sHelper.get().exit(); in closeApp()
|
D | UiBenchClippedListViewMicrobenchmark.java | 38 sHelper.get().openClippedListView(); in openApp() 43 sHelper.get().swipeRightLeft(4); in testClippedListView() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchFadingEdgeListViewFlingMicrobenchmark.java | 38 sHelper.get().openFadingEdgeListView(); in openApp() 43 sHelper.get().flingUpDown(2); in testFadingEdgeListViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchOpenNotificationShadeMicrobenchmark.java | 38 sHelper.get().openNotificationShade(); in openApp() 43 sHelper.get().flingDownUp(2); in testOpenNotificationShade() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchInflatingLongStringListViewFlingMicrobenchmark.java | 38 sHelper.get().openInflatingLongStringListView(); in openApp() 43 sHelper.get().flingUpDown(2); in testInflatingLongStringListViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchSlowBindRecyclerViewFlingMicrobenchmark.java | 38 sHelper.get().openSlowBindRecyclerView(); in openApp() 43 sHelper.get().flingUpDown(2); in testSlowBindRecyclerViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchShadowGridListFlingMicrobenchmark.java | 38 sHelper.get().openRenderingList(); in openApp() 44 sHelper.get().flingUpDown(1); in testShadowGridListFling() 49 sHelper.get().exit(); in closeApp()
|
D | UiBenchSlowNestedRecyclerViewInitialFlingMicrobenchmark.java | 38 sHelper.get().openSlowNestedRecyclerView(); in openApp() 44 sHelper.get().slowSingleFlingDown(); in testSlowNestedRecyclerViewInitialFling() 49 sHelper.get().exit(); in closeApp()
|
D | UiBenchSlowNestedRecyclerViewFlingMicrobenchmark.java | 38 sHelper.get().openSlowNestedRecyclerView(); in openApp() 43 sHelper.get().flingUpDown(2); in testSlowNestedRecyclerViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchBrowseContentScrollMicrobenchmark.java | 38 sHelper.get().openLeanbackActivity(true, false, "leanback.BrowseActivity", "Row"); in openApp() 43 sHelper.get().scrollDownAndUp(3); in testBrowseContentScroll() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchTrivialRecyclerListViewFlingMicrobenchmark.java | 38 sHelper.get().openTrivialRecyclerView(); in openApp() 43 sHelper.get().flingUpDown(2); in testTrivialRecyclerListViewFling() 48 sHelper.get().exit(); in closeApp()
|
D | UiBenchBrowseFastLaneScrollNoBitmapUploadMicrobenchmark.java | 38 sHelper.get().openLeanbackActivity(false, true, "leanback.BrowseActivity", "Row"); in openApp() 43 sHelper.get().scrollDownAndUp(3); in testBrowseFastLaneScrollNoBitmapUpload() 48 sHelper.get().exit(); in closeApp()
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | SfStatsCollectionHelperTest.java | 149 metrics.get( in testCollect_valuesMatch() 156 metrics.get( in testCollect_valuesMatch() 163 metrics.get( in testCollect_valuesMatch() 170 metrics.get( in testCollect_valuesMatch() 177 metrics.get( in testCollect_valuesMatch() 184 metrics.get( in testCollect_valuesMatch() 191 metrics.get( in testCollect_valuesMatch() 198 metrics.get( in testCollect_valuesMatch() 205 metrics.get( in testCollect_valuesMatch() 212 metrics.get( in testCollect_valuesMatch() [all …]
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | CrashHelperTest.java | 100 assertEquals(0, crashMap.get(TOTAL_CRASHES_KEY).intValue()); in testEmptyCrashMetric() 101 assertEquals(0, crashMap.get(TOTAL_NATIVE_CRASHES_KEY).intValue()); in testEmptyCrashMetric() 102 assertEquals(0, crashMap.get(TOTAL_ANRS_KEY).intValue()); in testEmptyCrashMetric() 118 assertEquals(1, crashMap.get(TOTAL_CRASHES_KEY).intValue()); in testCrashMetric() 119 assertEquals(0, crashMap.get(TOTAL_NATIVE_CRASHES_KEY).intValue()); in testCrashMetric() 120 assertEquals(1, crashMap.get(CRASH_PKG_KEY).intValue()); in testCrashMetric() 121 assertEquals(0, crashMap.get(TOTAL_ANRS_KEY).intValue()); in testCrashMetric() 137 assertEquals(0, crashMap.get(TOTAL_CRASHES_KEY).intValue()); in testNativeCrashMetric() 138 assertEquals(1, crashMap.get(TOTAL_NATIVE_CRASHES_KEY).intValue()); in testNativeCrashMetric() 139 assertEquals(1, crashMap.get(NATIVE_CRASH_PKG_KEY).intValue()); in testNativeCrashMetric() [all …]
|
D | AppStartupHelperTest.java | 116 mHelper.get().open(); in testSingleColdLaunchMetric() 123 assertEquals(1, appLaunchMetrics.get(coldLaunchMetricKey).toString().split(",").length); in testSingleColdLaunchMetric() 124 assertEquals(1, Integer.parseInt(appLaunchMetrics.get(coldLaunchCountPkgKey).toString())); in testSingleColdLaunchMetric() 125 assertEquals(1, Integer.parseInt(appLaunchMetrics.get(COLD_LAUNCH_TOTAL_COUNT_KEY_TEMPLATE) in testSingleColdLaunchMetric() 134 appLaunchMetrics.get(coldLaunchTransitionMetricKey).toString().split(",").length); in testSingleColdLaunchMetric() 143 appLaunchMetrics.get(coldLaunchProcessMetricKey).toString().split(",").length); in testSingleColdLaunchMetric() 145 Integer.parseInt(appLaunchMetrics.get(coldLaunchProcessCountPkgKey).toString())); in testSingleColdLaunchMetric() 148 Integer.parseInt(appLaunchMetrics.get( in testSingleColdLaunchMetric() 152 mHelper.get().exit(); in testSingleColdLaunchMetric() 161 mHelper.get().open(); in testMultipleColdLaunchMetric() [all …]
|
D | CpuUsageHelperTest.java | 83 mHelper.get().open(); in testCpuUsageMetrics() 88 mHelper.get().exit(); in testCpuUsageMetrics() 108 mHelper.get().open(); in testCpuUsageMetricsKey() 151 mHelper.get().exit(); in testCpuUsageMetricsKey() 163 mHelper.get().open(); in testCpuDisabledPerPkgPerFreq() 169 mHelper.get().exit(); in testCpuDisabledPerPkgPerFreq() 183 mHelper.get().open(); in testCpuUsageOnlyPerPkg() 190 mHelper.get().exit(); in testCpuUsageOnlyPerPkg() 204 mHelper.get().open(); in testCpuUsageOnlyPerFreq() 211 mHelper.get().exit(); in testCpuUsageOnlyPerFreq() [all …]
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | FreeMemHelperTest.java | 55 assertTrue(freeMemMetrics.get(FreeMemHelper.MEM_AVAILABLE_CACHE_PROC_DIRTY) > 0); in testGetMetrics() 56 assertTrue(freeMemMetrics.get(FreeMemHelper.PROC_MEMINFO_MEM_AVAILABLE) > 0); in testGetMetrics() 57 assertTrue(freeMemMetrics.get(FreeMemHelper.PROC_MEMINFO_MEM_FREE) > 0); in testGetMetrics() 58 assertTrue(freeMemMetrics.get(FreeMemHelper.DUMPSYS_CACHED_PROC_MEMORY) > 0); in testGetMetrics()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperAccessor.java | 48 public T get() { in get() method in HelperAccessor 55 .get(mInterfaceClass); in get() 61 .get(mInterfaceClass, mPrefix); in get()
|