Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 142) sorted by relevance

123456

/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchActivityTransitionsAnimationMicrobenchmark.java38 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()
DUiBenchInflatingHanListViewFlingMicrobenchmark.java38 sHelper.get().openInflatingHanListView(); in openApp()
43 sHelper.get().flingUpDown(2); in testInflatingHanListViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchDialogListFlingMicrobenchmark.java38 sHelper.get().openDialogList(); in openApp()
43 sHelper.get().flingUpDown(1); in testDialogListFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchWebViewFlingMicrobenchmark.java38 sHelper.get().openScrollableWebView(); in openApp()
43 sHelper.get().flingUpDown(1); in testWebViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchInflatingEmojiListViewFlingMicrobenchmark.java38 sHelper.get().openInflatingEmojiListView(); in openApp()
43 sHelper.get().flingUpDown(2); in testInflatingEmojiListViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchOpenNavigationDrawerMicrobenchmark.java38 sHelper.get().openNavigationDrawerActivity(); in openApp()
43 sHelper.get().swipeRightLeft(4); in testOpenNavigationDrawer()
48 sHelper.get().exit(); in closeApp()
DUiBenchLayoutCacheLowHitrateFlingMicrobenchmark.java38 sHelper.get().openLayoutCacheLowHitrate(); in openApp()
43 sHelper.get().flingUpDown(3); in testLayoutCacheLowHitrateFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchBrowseFastLaneScrollMicrobenchmark.java38 sHelper.get().openLeanbackActivity(true, true, "leanback.BrowseActivity", "Row"); in openApp()
44 sHelper.get().scrollDownAndUp(3); in testBrowseFastLaneScroll()
49 sHelper.get().exit(); in closeApp()
DUiBenchClippedListViewMicrobenchmark.java38 sHelper.get().openClippedListView(); in openApp()
43 sHelper.get().swipeRightLeft(4); in testClippedListView()
48 sHelper.get().exit(); in closeApp()
DUiBenchFadingEdgeListViewFlingMicrobenchmark.java38 sHelper.get().openFadingEdgeListView(); in openApp()
43 sHelper.get().flingUpDown(2); in testFadingEdgeListViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchOpenNotificationShadeMicrobenchmark.java38 sHelper.get().openNotificationShade(); in openApp()
43 sHelper.get().flingDownUp(2); in testOpenNotificationShade()
48 sHelper.get().exit(); in closeApp()
DUiBenchInflatingLongStringListViewFlingMicrobenchmark.java38 sHelper.get().openInflatingLongStringListView(); in openApp()
43 sHelper.get().flingUpDown(2); in testInflatingLongStringListViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchSlowBindRecyclerViewFlingMicrobenchmark.java38 sHelper.get().openSlowBindRecyclerView(); in openApp()
43 sHelper.get().flingUpDown(2); in testSlowBindRecyclerViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchShadowGridListFlingMicrobenchmark.java38 sHelper.get().openRenderingList(); in openApp()
44 sHelper.get().flingUpDown(1); in testShadowGridListFling()
49 sHelper.get().exit(); in closeApp()
DUiBenchSlowNestedRecyclerViewInitialFlingMicrobenchmark.java38 sHelper.get().openSlowNestedRecyclerView(); in openApp()
44 sHelper.get().slowSingleFlingDown(); in testSlowNestedRecyclerViewInitialFling()
49 sHelper.get().exit(); in closeApp()
DUiBenchSlowNestedRecyclerViewFlingMicrobenchmark.java38 sHelper.get().openSlowNestedRecyclerView(); in openApp()
43 sHelper.get().flingUpDown(2); in testSlowNestedRecyclerViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchBrowseContentScrollMicrobenchmark.java38 sHelper.get().openLeanbackActivity(true, false, "leanback.BrowseActivity", "Row"); in openApp()
43 sHelper.get().scrollDownAndUp(3); in testBrowseContentScroll()
48 sHelper.get().exit(); in closeApp()
DUiBenchTrivialRecyclerListViewFlingMicrobenchmark.java38 sHelper.get().openTrivialRecyclerView(); in openApp()
43 sHelper.get().flingUpDown(2); in testTrivialRecyclerListViewFling()
48 sHelper.get().exit(); in closeApp()
DUiBenchBrowseFastLaneScrollNoBitmapUploadMicrobenchmark.java38 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/
DSfStatsCollectionHelperTest.java149 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/
DCrashHelperTest.java100 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 …]
DAppStartupHelperTest.java116 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 …]
DCpuUsageHelperTest.java83 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/
DFreeMemHelperTest.java55 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/
DHelperAccessor.java48 public T get() { in get() method in HelperAccessor
55 .get(mInterfaceClass); in get()
61 .get(mInterfaceClass, mPrefix); in get()

123456