Home
last modified time | relevance | path

Searched refs:count (Results 1 – 14 of 14) sorted by relevance

/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java90 int count = 0; in goBackHome() local
91 while (homeScreen == null && count < 5) { in goBackHome()
94 count ++; in goBackHome()
104 int count = 0; in openTextInList() local
107 while (component == null && count < 5) { in openTextInList()
111 count ++; in openTextInList()
113 while (component == null && count < 10) { in openTextInList()
117 count ++; in openTextInList()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java107 for (int count = 0; count < mLaunchCount; count++) { in testAppLaunchPerformance()
135 String fileName = String.format("%s-%d-%d", activityName, count, processId); in testAppLaunchPerformance()
201 for (int count = 0; count < customList.length; count++) { in getActivityList()
202 if (mActivityList.contains(customList[count])) { in getActivityList()
203 finalActivityList.add(customList[count]); in getActivityList()
206 customList[count], mTargetPackageName)); in getActivityList()
/platform_testing/libraries/play-movies-app-helper/src/android/platform/test/helpers/
DPlayMoviesHelperImpl.java93 int count = 0; in dismissInitialDialogs() local
94 while (mDevice.hasObject(nextButton) && count < 10) { in dismissInitialDialogs()
97 count += 1; in dismissInitialDialogs()
100 count = 0; in dismissInitialDialogs()
101 while (mDevice.hasObject(gotIt) && count < 3) { in dismissInitialDialogs()
107 count += 1; in dismissInitialDialogs()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java86 for (int count = 0; count < flingCount; count++) { in flingUpDown()
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DAccessibilitySettingsTests.java222 int count = 0; in findItemOnScreen() local
225 while (settingsPanel.fling(Direction.UP) && count < 3) { in findItemOnScreen()
226 count++; in findItemOnScreen()
228 count = 0; in findItemOnScreen()
230 while(count < 3 && setting == null) { in findItemOnScreen()
235 count++; in findItemOnScreen()
DLocationSettingsTests.java67 int count = 0; in testLoadingLocationSettings() local
69 while(count < 6 && locationTitle == null) { in testLoadingLocationSettings()
74 count++; in testLoadingLocationSettings()
/platform_testing/libraries/settings-app-helper/src/android/platform/test/helpers/
DSettingsHelperImpl.java88 int count = 0; in scrollThroughSettings() local
89 while (count <= numberOfFlings && settingsList.fling(Direction.DOWN)) { in scrollThroughSettings()
90 count++; in scrollThroughSettings()
126 int count = 0; in loadAllSettings() local
127 while (!settingsDashboard.isScrollable() && count <= 2) { in loadAllSettings()
131 count++; in loadAllSettings()
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java86 int count = 0; in goToSettingsRow() local
87 while (count <= 5 && !(mDevice.hasObject(By.res(LEANBACK_LAUNCHER, "label") in goToSettingsRow()
90 count++; in goToSettingsRow()
/platform_testing/tests/androidbvt/apps/src/com/android/androidbvt/
DMediaCaptureTests.java126 int count = 0; in getValidFileCountFromFilesystem() local
130 count++; in getValidFileCountFromFilesystem()
133 return count; in getValidFileCountFromFilesystem()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java85 int count = 0; in flingSettingsToStart() local
86 while (!list.isScrollable() && count <= 5) { in flingSettingsToStart()
89 count++; in flingSettingsToStart()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestCase.java459 Long count = mDumpheapCount.get(proc); in recordDumpheap() local
460 if (count == null) { in recordDumpheap()
461 count = 0L; in recordDumpheap()
468 if (pss > mDumpheapThreshold && count < mMaxDumpheaps && in recordDumpheap()
471 mDumpheapCount.put(proc, count + 1); in recordDumpheap()
482 Long count = mDumpheapCount.get(proc); in recordDumpheap() local
483 if (count == null) { in recordDumpheap()
484 count = 0L; in recordDumpheap()
486 String filename = String.format("dumpheap-%s-%d", proc, count); in recordDumpheap()
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSysAppTestHelper.java145 int count = 0; in goBackHome() local
146 while (homeScreen == null && count < 5) { in goBackHome()
149 count ++; in goBackHome()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java171 public void populateContentInDLApp(int count) { in populateContentInDLApp() argument
173 if (totalDownloaded >= count) { in populateContentInDLApp()
178 for (int i = 0; i < (count - totalDownloaded); ++i) { in populateContentInDLApp()
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/
DApiDemoJankTests.java115 int count = 0; in navigateToHome() local
116 while (homeScreen == null && count <= 10) { in navigateToHome()
119 count++; in navigateToHome()