Home
last modified time | relevance | path

Searched full:iterations (Results 1 – 25 of 65) sorted by relevance

123

/platform_testing/tests/automotive/mobly_tests/perfromance/
Dpairing_test.py22 ITERATIONS_PARAM_NAME = 'iterations'
31 self.iterations = DEFAULT_ITERATIONS
34 self.iterations = self.user_params[ITERATIONS_PARAM_NAME]
37 …f'Setup {self.__class__.__name__} with {ITERATIONS_PARAM_NAME} = {self.iterations} and iteration d…
42 for i in range(1, self.iterations + 1):
51 success_rate = pairing_success_count / self.iterations
Dbt_performance_10_iterations.yaml10 iterations: 10
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DScheduler.java44 * @param iterations the number of times to loop through every test case.
46 public static Scheduler sequential(Long iterations) {
47 return new Sequential(iterations);
53 * @param iterations the number of times to loop through every test case.
56 public static Scheduler shuffled(Random random, Long iterations) {
57 return new Shuffled(random, iterations);
66 Sequential(Long iterations) {
67 mIterations = iterations;
91 Shuffled(Random random, Long iterations) {
93 mIterations = iterations;
DAuptTestCase.java109 int iterations = 0; in navigateToHome() local
112 && iterations < STEPS_BACK) { in navigateToHome()
115 iterations++; in navigateToHome()
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DIterate.java25 String iterations = args.get(getOptionName()); in getIterationsArgument() local
27 return Integer.parseInt(iterations); in getIterationsArgument()
30 String.format("Failed to parse iterations option: %s", iterations), e); in getIterationsArgument()
DIterateBase.java28 protected static final String ITERATIONS_OPTION_NAME = "iterations";
49 int iterations = getIterationsArgument(args); in apply() local
53 return Collections.nCopies(iterations, input) in apply()
59 .map(u -> Collections.nCopies(iterations, u)) in apply()
68 /** Returns the number of iterations to run from {@code args}. */
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java87 * Tests that iterations are respected for microbenchmark tests.
92 args.putString("iterations", "10"); in testIterationCount()
127 * Test iterations number are added to the test name with default suffix.
136 args.putString("iterations", "2"); in testMultipleIterationsWithRename()
137 args.putString("rename-iterations", "true"); in testMultipleIterationsWithRename()
165 * Test iterations number are added to the test name with custom suffix.
174 args.putString("iterations", "2"); in testMultipleIterationsWithDifferentSuffix()
175 args.putString("rename-iterations", "true"); in testMultipleIterationsWithDifferentSuffix()
212 args.putString("iterations", "1"); in testMultipleIterationsWithoutRename()
213 args.putString("rename-iterations", "false"); in testMultipleIterationsWithoutRename()
[all …]
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DTotalPssHelper.java49 // Minimum number of iterations needed before deciding on the memory usage.
51 // Maximum number of iterations needed waiting for memory usage to be stabilized.
53 // Sleep time in between the iterations.
62 // Minimum iterations should be atleast 3 to check for the in setUp()
78 Log.w(TAG, "Need atleast 3 iterations to check memory usage stabilization."); in getMetrics()
127 * Time to sleep in between the iterations.
208 * @param sleepTime in between the iterations.
215 * @param threshold for difference in memory usage between two successive iterations in kb
/platform_testing/libraries/health/runners/longevity/
DREADME.md40 `adb shell am instrument -w -r -e iterations 50 -e quitter true
46 `adb shell am instrument -w -r -e iterations 10 -e shuffle true -e suite-timeout_msec 1800000
52 `adb shell am instrument -w -r -e iterations 100 -e min-battery 0.05
64 * `iterations <int>` - the number of times to repeat the suite.
71 * `rename-iterations <bool>` - rename each iteration by appending the iteration number to the
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DHeapDumpListenerTest.java54 /** Test heapdump collection enabled for all iterations*/
67 /** Test heapdump collection force disable for all iterations.*/
80 /** Test heapdump collection disabled for all iterations by default.*/
92 /** Test heapdump collection enabled only for the 2nd and 3rd iterations.*/
109 /** Test heapdump collection enabled only for the 2nd and 3rd iterations.*/
129 /** Test heapdump collection enabled only for the 2nd iterations during multiple tests.*/
147 /** Test heapdump collection enabled for all the iterations and overrides the
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTestBase.java39 protected static final String ITERATIONS_OPTION_NAME = "iterations";
161 public ArgumentsBuilder setIteration(Integer iterations) { in setIteration() argument
162 mIterations = iterations; in setIteration()
166 public ArgumentsBuilder setAlternateIteration(Integer iterations) { in setAlternateIteration() argument
167 mAlternateIterations = iterations; in setAlternateIteration()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevitySuiteTest.java107 /** Test that the runner does not report iterations when the option is not set. */
141 /** Test that the runner reports iterations when the option is set. */
171 // Check the runners and their corresponding iterations. in testReportingIteration_set()
184 // TODO: Access the iterations option name directly. in testAdditionalRunners()
185 args.putString("iterations", String.valueOf(2)); in testAdditionalRunners()
214 // Check the runners and their corresponding iterations. in testAdditionalRunners()
275 /** Sample test class with multiple iterations of the same test. */
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DHeapDumpListener.java100 String iterations = args.getString(ENABLE_ITERATION_IDS); in setupAdditionalArgs() local
101 if (iterations == null || iterations.isEmpty()) { in setupAdditionalArgs()
105 String[] iterationArray = iterations.split(ITERATION_SEPARATOR); in setupAdditionalArgs()
DScreenshotOnFailureCollector.java59 // Tracks the test iterations to ensure that each failure gets unique filenames.
60 // Key: test description; value: number of iterations.
104 mTestIterations.computeIfPresent(testName, (name, iterations) -> iterations + 1); in onTestStart()
DScreenRecordCollector.java68 // Tracks the test iterations to ensure that each failure gets unique filenames.
69 // Key: test description; value: number of iterations.
169 /** Updates the number of iterations performed for a given test {@link Description}. */
172 mTestIterations.computeIfPresent(testName, (name, iterations) -> iterations + 1); in amendIterations()
DGcaEventLogCollector.java85 // Map to keep track of test iterations for multiple test iterations.
129 // Keep track of test iterations. in onTestStart()
DLogcatCollector.java70 // Map to keep track of test iterations for multiple test iterations.
100 // Keep track of test iterations. in onTestStart()
/platform_testing/libraries/health/runners/microbenchmark/src/android/platform/test/microbenchmark/
DMicrobenchmark.java64 * <p>One iteration represents a single pass of a test method. The number of iterations and how
65 * those iterations get renamed are configurable with options listed at the top of the source code.
94 public static final String RENAME_ITERATION_OPTION = "rename-iterations";
101 // Don't start new iterations if the battery falls below this value (if set).
103 // Don't start new iterations if the battery already fell more than this value (if set).
199 methodIterator.setOptionName("method-iterations"); in methodInvoker()
283 * Rename the child class name to add iterations if the renaming iteration option is enabled.
341 * the number of iterations for a particular method description, and (2) run {@code
353 // Update the number of iterations this method has been run. in runChild()
/platform_testing/tests/microbenchmarks/uibench/configs/
Duibench-dialoglist.xml44 <option name="instrumentation-arg" key="iterations" value="2" />
46 <option name="instrumentation-arg" key="rename-iterations" value="true" />
Duibench-invalidate.xml44 <option name="instrumentation-arg" key="iterations" value="2" />
46 <option name="instrumentation-arg" key="rename-iterations" value="true" />
Duibench-all.xml49 <option name="instrumentation-arg" key="iterations" value="2" />
51 <option name="instrumentation-arg" key="rename-iterations" value="true" />
/platform_testing/tests/bettertogether/quickstart/performance_test/
Desim_transfer_stress_test.py78 logging.info('performance test iterations: %s',
186 """Summarizes test results of all iterations."""
209 '0 test iterations': self.performance_test_iterations,
Dnearby_share_stress_test.py104 logging.info('performance test iterations: %s',
200 """Summarizes test results of all iterations."""
226 '0 test iterations': self.performance_test_iterations,
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java143 public void navigateDownAndUpCurrentScreen(int iterations) { in navigateDownAndUpCurrentScreen() argument
145 for (int i = 0; i < iterations; i++) { in navigateDownAndUpCurrentScreen()
149 for (int i = 0; i < iterations; i++) { in navigateDownAndUpCurrentScreen()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DBaselineProfileRule.java70 1, // Iterations are supported by most Runners already. in apply()
71 1, // Iterations are supported by most Runners already. in apply()

123