Home
last modified time | relevance | path

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

12

/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/utility/
DPortUtility.java49 int count = 0; in nextAvailablePort() local
51 while (count < MAX_ATTEMPTS) { in nextAvailablePort()
52 count++; in nextAvailablePort()
54 String.format("Attempting to find open port. Number of attempts: %d", count)); in nextAvailablePort()
57 LOGGER.finest(String.format("Found open port (%d) after %d tries", port, count)); in nextAvailablePort()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoNotificationMockingHelper.java20 public default void postNotifications(int count) { in postNotifications() argument
34 public default void postNotifications(int count, String pkg) { in postNotifications() argument
49 public default void postNotifications(int count, String pkg, boolean interrupting) { in postNotifications() argument
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DMeasureTime.java32 public static double[] measure(int count, MeasureRun run) throws Exception { in measure() argument
33 double[] result = new double[count]; in measure()
35 for (int i = 0; i < count; i++) { in measure()
DResultUploader.java65 int count; in getBytes() local
66 while ((count = input.read(buffer)) > 0) { in getBytes()
67 gzipOutput.write(buffer, 0, count); in getBytes()
/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());
/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/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DINotificationHelper.java64 default void postNotifications(int count) { in postNotifications() argument
110 default void postBubbleNotification(String senderName, int count) { in postBubbleNotification() argument
145 default void postNotifications(int count, String pkg) { in postNotifications() argument
160 default void postNotifications(int count, String pkg, boolean interrupting) { in postNotifications() argument
DIGoogleCameraHelper2.java22 public void takeMultiplePhotos(int count, long takePhotoDelay); in takeMultiplePhotos() argument
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java83 public void postNotifications(int count) { in postNotifications() argument
84 postNotifications(count, null); in postNotifications()
93 public void postNotifications(int count, String pkg) { in postNotifications() argument
94 postNotifications(count, pkg, false /* interrupting */); in postNotifications()
99 public void postNotifications(int count, String pkg, boolean interrupting) { in postNotifications() argument
113 for (int i = initialCount; i < initialCount + count; i++) { in postNotifications()
/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.java132 for (int count = 0; count < flingCount; count++) { in flingUpDown()
147 for (int count = 0; count < swipeCount; count++) { in swipeRightLeft()
290 public void scrollDownAndUp(int count) { in scrollDownAndUp() argument
291 for (int i = 0; i < count; i++) { in scrollDownAndUp()
294 for (int i = 0; i < count; i++) { in scrollDownAndUp()
DIUiBenchJankHelper.java90 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/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DContactDetailsHelperImpl.java112 int count = 5; in closeDetailsPage() local
113 while (count > 0 in closeDetailsPage()
124 count--; in closeDetailsPage()
/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/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DIFacebookAppHelper.java28 public void scrollNewsfeed(Direction direction, int count); in scrollNewsfeed() argument
/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()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java156 int count = 0; in scrollThroughSettings() local
157 while (count <= numberOfFlings && settingsList.fling(Direction.DOWN)) { in scrollThroughSettings()
158 count++; in scrollThroughSettings()
204 int count = 0; in loadAllSettings() local
205 while (!settingsDashboard.isScrollable() && count <= 2) { in loadAllSettings()
209 count++; in loadAllSettings()
220 int count = 5; in clickSetting() local
221 while (count > 0 && mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT) == null) { in clickSetting()
223 count--; in clickSetting()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java209 int count = 0; in getCores() local
215 ++count; in getCores()
218 mCpuCores = count; in getCores()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java184 int count; in readInputStreamFully() local
186 while ((count = is.read(buffer)) != -1) { in readInputStreamFully()
187 os.write(buffer, 0, count); in readInputStreamFully()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DStatsdStatsHelperTest.java71 testReport.atomStats[i].count = fieldValue++; in populateAtomStatsTestData()
221 testReport.detectedLogLoss[i].count = fieldValue++; in populateDetectedLogLossStatsTestData()
233 testReport.queueOverflow.count = fieldValue++; in populateEventQueueOverflowStatsTestData()
274 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigAlertStats() argument
275 for (long i = 0; i < count; i++) { in verifyConfigAlertStats()
287 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigMatcherStats() argument
288 for (long i = 0; i < count; i++) { in verifyConfigMatcherStats()
300 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigConditionStats() argument
301 for (long i = 0; i < count; i++) { in verifyConfigConditionStats()
313 Map<String, Long> result, String metricKeyPrefix, long count) { in verifyConfigMetricStats() argument
[all …]
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DStreamObserverOutputStreamFactoryTests.java51 public void request(int count) {} in createNewCaptureChunkStreamObserverOutputStream_returnsNonNullInstance()

12