/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | Scheduler.java | 72 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());
|
D | AuptTestRunner.java | 330 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/ |
D | INotificationHelper.java | 41 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/ |
D | UiBenchJankTestsHelper.java | 96 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/ |
D | JUnitXmlRunner.java | 60 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/ |
D | UiBenchJankTestsHelper.java | 120 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/ |
D | UiBenchJankHelper.java | 122 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()
|
D | IUiBenchJankHelper.java | 88 void scrollDownAndUp(int count); in scrollDownAndUp() argument
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 151 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/ |
D | TouchLatencyHelper.java | 83 int count = 0; in goBackHome() local 90 count++; in goBackHome() 91 } while (count < 5); in goBackHome()
|
/platform_testing/emu_test/ |
D | run_android_bridge_test.cmd | 42 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/ |
D | SettingsJankTests.java | 89 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/ |
D | SysAppTestHelper.java | 133 int count = 0; in goBackHome() local 140 count++; in goBackHome() 141 } while (count < 5); in goBackHome()
|
D | WatchFaceHelper.java | 160 int count = 0; in removeAllButOneWatchFace() local 165 } while (isOnlyOneWatchFaceInFavorites() && count++ < 5); in removeAllButOneWatchFace()
|
/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/ |
D | UsbHelper.java | 205 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/ |
D | SettingsHelper.java | 146 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/ |
D | CpuUsageHelper.java | 255 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/ |
D | SfStatsCollectionHelper.java | 231 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/ |
D | NotificationInlineReplyTests.java | 117 int count = 10; in testInlineReplyNotification() local 118 while (--count > 0) { in testInlineReplyNotification()
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTestHelper.java | 171 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/ |
D | ApiDemoJankTests.java | 117 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/ |
D | IterateTestBase.java | 102 testRuns.stream().allMatch(l -> l.stream().distinct().count() == 1); in testSequentialOrderRespected()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | StatsdListener.java | 136 mTestIterations.computeIfPresent(description.getDisplayName(), (name, count) -> count + 1); in onTestStart()
|