Home
last modified time | relevance | path

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

1234

/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/libraries/flicker/test/src/android/tools/flicker/assertions/
DCompoundAssertionTest.kt49 var count = 0 in executes() variable
50 val assertion = CompoundAssertion<String>({ count++ }, NAME, optional = false) in executes()
52 Assert.assertEquals(1, count) in executes()
53 assertion.add({ count++ }, NAME, optional = false) in executes()
55 Assert.assertEquals(3, count) in executes()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DView.kt30 var count = childCount in getChildCountRecursively() variable
32 getChildAt(i)?.let { count += it.getChildCountRecursively() } in getChildCountRecursively()
34 count in getChildCountRecursively()
/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/app-helpers/interfaces/handheld/src/android/platform/helpers/
DINotificationHelper.java69 default void postNotifications(int count) { in postNotifications() argument
117 default void postGroupNotifications(int count, @Nullable String pkg, @NonNull String summary) { in postGroupNotifications() argument
149 default void postBubbleNotification(String senderName, int count) { in postBubbleNotification() argument
164 default void postBubbleNotification(String senderName, int count, int id) { in postBubbleNotification() argument
246 default void postNotifications(int count, String pkg) { in postNotifications() argument
261 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/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DTestFolderWrapper.java36 final int count = files == null ? 0 : files.length; in listMembers() local
37 IAbstractResource[] afiles = new IAbstractResource[count]; in listMembers()
40 for (int i = 0 ; i < count ; i++) { in listMembers()
/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.java121 for (int count = 0; count < flingCount; count++) { in flingUpDown()
137 for (int count = 0; count < swipeCount; count++) { in swipeRightLeft()
/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/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java118 public void postNotifications(int count) { in postNotifications() argument
119 postNotifications(count, null); in postNotifications()
128 public void postNotifications(int count, String pkg) { in postNotifications() argument
129 postNotifications(count, pkg, false /* interrupting */); in postNotifications()
134 public void postNotifications(int count, String pkg, boolean interrupting) { in postNotifications() argument
148 for (int i = initialCount; i < initialCount + count; i++) { in postNotifications()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java148 for (int count = 0; count < flingCount; count++) { in flingUpDown()
163 for (int count = 0; count < swipeCount; count++) { in swipeRightLeft()
306 public void scrollDownAndUp(int count) { in scrollDownAndUp() argument
307 for (int i = 0; i < count; i++) { in scrollDownAndUp()
310 for (int i = 0; i < count; i++) { in scrollDownAndUp()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DTransitionFilters.kt90 transition.changes.count { in <lambda>()
93 transition.changes.count { in <lambda>()
97 (openingAppLayers.count() == 1 || openingAppLayers.count() == 5) && in <lambda>()
98 (closingAppLayers.count() == 1 || closingAppLayers.count() == 5) in <lambda>()
110 (openingAppLayers.count() == 1 || openingAppLayers.count() == 5) && in <lambda>()
111 transition.changes.count { in <lambda>()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/
DBootTimeTest.java170 for (int count = 0; count < mBootCount; count++) { in testSuccessiveBoots()
171 testSuccessiveBoot(count); in testSuccessiveBoots()
185 for (int count = 0; count < mBootCount; count++) { in testSuccessiveBootsDismissPin()
186 testSuccessiveBoot(count); in testSuccessiveBootsDismissPin()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentSplashScreenMatcher.kt47 var count = 0 in layerMatchesAnyOf() variable
48 while (!hasActivityRecord && ancestor != null && count++ < 5) { in layerMatchesAnyOf()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DArtifactBuilder.kt117 var count: Int = it.read(data, 0, BUFFER_SIZE) in <lambda>() variable
118 while (count != -1) { in <lambda>()
119 zipOutputStream.write(data, 0, count) in <lambda>()
120 count = it.read(data, 0, BUFFER_SIZE) in <lambda>()
/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DContactDetailsHelperImpl.java142 int count = 5; in closeDetailsPage() local
143 while (count > 0 in closeDetailsPage()
151 count--; in closeDetailsPage()
/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/libraries/health/rules/src/android/platform/test/rule/
DSamplerRule.java91 int count = 0; in startThread()
97 + (count++) in startThread()

1234