Home
last modified time | relevance | path

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

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DScheduler.java72 private int count = 0;
75 return count < (cases.size() * mIterations);
79 return cases.get(count++ % cases.size());
146 private int count = 0;
149 return count < (cases.size() * mIterations);
153 return cases.get((a * (count++) + b) % cases.size());
DAuptTestRunner.java330 Long count = mDumpheapCount.get(proc);
331 if (count == null) {
332 count = 0L;
339 if (pss > mDumpheapThreshold && count < mMaxDumpheaps &&
342 mDumpheapCount.put(proc, count + 1);
348 long count = mDumpheapCount.get(proc);
350 String filename = String.format("dumpheap-%s-%d", proc, count);
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DINotificationHelper.java41 default public void postNotifications(int count) { in postNotifications() argument
55 public default void postNotifications(int count, String pkg) { in postNotifications() argument
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java96 int count = 0; in goBackHome() local
97 while (homeScreen == null && count < 5) { in goBackHome()
100 count ++; in goBackHome()
110 int count = 0; in openTextInList() local
113 while (component == null && count < 5) { in openTextInList()
117 count ++; in openTextInList()
119 while (component == null && count < 10) { in openTextInList()
123 count ++; in openTextInList()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java60 private static AtestRunListener getAtestRunListener(int count) { in getAtestRunListener() argument
66 return new AtestRunListener(suiteName, outputFile, count); in getAtestRunListener()
109 int count = 0; in calcTestCount() local
114 count++; in calcTestCount()
118 return count; in calcTestCount()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java120 for (int count = 0; count < flingCount; count++) { in flingUpDown()
136 for (int count = 0; count < swipeCount; count++) { in swipeRightLeft()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java122 for (int count = 0; count < flingCount; count++) { in flingUpDown()
133 for (int count = 0; count < swipeCount; count++) { in swipeRightLeft()
275 public void scrollDownAndUp(int count) { in scrollDownAndUp() argument
276 for (int i = 0; i < count; i++) { in scrollDownAndUp()
279 for (int i = 0; i < count; i++) { in scrollDownAndUp()
DIUiBenchJankHelper.java88 void scrollDownAndUp(int count); in scrollDownAndUp() argument
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java151 for (int count = 0; count < mLaunchCount; count++) { in testAppLaunchPerformance()
209 fileName = String.format("%s-%d-%d", activityName, count, processId); in testAppLaunchPerformance()
212 count, processId); in testAppLaunchPerformance()
282 for (int count = 0; count < customList.length; count++) { in getActivityList()
283 if (mActivityList.contains(customList[count])) { in getActivityList()
284 finalActivityList.add(customList[count]); in getActivityList()
287 customList[count], mTargetPackageName)); in getActivityList()
/platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/
DTouchLatencyHelper.java83 int count = 0; in goBackHome() local
90 count++; in goBackHome()
91 } while (count < 5); in goBackHome()
/platform_testing/emu_test/
Drun_android_bridge_test.cmd42 set count=0 variable
46 set /a count+=1
51 if %count% equ 90 goto cmdKill
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java89 int count = 0; in flingSettingsToStart() local
90 while (!list.isScrollable() && count <= 5) { in flingSettingsToStart()
93 count++; in flingSettingsToStart()
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSysAppTestHelper.java133 int count = 0; in goBackHome() local
140 count++; in goBackHome()
141 } while (count < 5); in goBackHome()
DWatchFaceHelper.java160 int count = 0; in removeAllButOneWatchFace() local
165 } while (isOnlyOneWatchFaceInFavorites() && count++ < 5); in removeAllButOneWatchFace()
/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DUsbHelper.java205 private final int count; field in UsbHelper.DeviceList
209 this.count = checkResult(mUsb.libusb_get_device_list(checkNotNull(mContext), list)); in DeviceList()
216 Pointer[] devices = list.getPointerArray(0, count); in iterator()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java146 int count = 0; in scrollThroughSettings() local
147 while (count <= numberOfFlings && settingsList.fling(Direction.DOWN)) { in scrollThroughSettings()
148 count++; in scrollThroughSettings()
194 int count = 0; in loadAllSettings() local
195 while (!settingsDashboard.isScrollable() && count <= 2) { in loadAllSettings()
199 count++; in loadAllSettings()
210 int count = 5; in clickSetting() local
211 while (count > 0 && mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT) == null) { in clickSetting()
213 count--; in clickSetting()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java255 int count = 0; in getCores() local
261 ++count; in getCores()
264 mCpuCores = count; in getCores()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java231 long count = internalMap.values().stream().mapToLong(v -> v).sum(); in mean() local
232 if (count <= 0) { in mean()
241 return (double) numerator / count; in mean()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationInlineReplyTests.java117 int count = 10; in testInlineReplyNotification() local
118 while (--count > 0) { in testInlineReplyNotification()
/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.java117 int count = 0; in navigateToHome() local
118 while (homeScreen == null && count <= 10) { in navigateToHome()
121 count++; in navigateToHome()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java102 testRuns.stream().allMatch(l -> l.stream().distinct().count() == 1); in testSequentialOrderRespected()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java136 mTestIterations.computeIfPresent(description.getDisplayName(), (name, count) -> count + 1); in onTestStart()