/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/utility/ |
D | PortUtility.java | 49 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/ |
D | IAutoNotificationMockingHelper.java | 20 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/ |
D | MeasureTime.java | 32 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()
|
D | ResultUploader.java | 65 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/ |
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());
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | CompoundAssertionTest.kt | 49 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/ |
D | View.kt | 30 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/ |
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/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | INotificationHelper.java | 69 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
|
D | IGoogleCameraHelper2.java | 22 public void takeMultiplePhotos(int count, long takePhotoDelay); in takeMultiplePhotos() argument
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/ |
D | TestFolderWrapper.java | 36 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/ |
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 | 121 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/ |
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/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/ |
D | AutoNotificationMockingHelperImpl.java | 118 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/ |
D | UiBenchJankHelper.java | 148 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/ |
D | TransitionFilters.kt | 90 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/ |
D | BootTimeTest.java | 170 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/ |
D | ComponentSplashScreenMatcher.kt | 47 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/ |
D | ArtifactBuilder.kt | 117 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/ |
D | ContactDetailsHelperImpl.java | 142 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/ |
D | IFacebookAppHelper.java | 28 public void scrollNewsfeed(Direction direction, int count); in scrollNewsfeed() argument
|
/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/libraries/health/rules/src/android/platform/test/rule/ |
D | SamplerRule.java | 91 int count = 0; in startThread() 97 + (count++) in startThread()
|