Home
last modified time | relevance | path

Searched refs:getShardCount (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java131 if (config.getCommandOptions().getShardCount() != null in runTests()
133 if (config.getCommandOptions().getShardCount() > 1) { in runTests()
138 for (int i = 2; i < config.getCommandOptions().getShardCount() + 1; i++) { in runTests()
148 for (int i = 2; i < config.getCommandOptions().getShardCount() + 1; i++) { in runTests()
DInvocationExecution.java562 if (config.getCommandOptions().getShardCount() != null) { in updateInvocationContext()
564 "shard_count", config.getCommandOptions().getShardCount().toString()); in updateInvocationContext()
609 if (config.getCommandOptions().getShardCount() != null) { in updateBuild()
611 "shard_count", config.getCommandOptions().getShardCount().toString()); in updateBuild()
DTestInvocation.java176 config.getCommandOptions().getShardCount()); in logStartInvocation()
700 Integer shardCount = config.getCommandOptions().getShardCount(); in invoke()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestBaseTest.java177 assertEquals(2, gTestBase.getShardCount()); in testGTestFilters_positiveAndSharding()
182 assertEquals(0, gTestBase.getShardCount()); in testGTestFilters_positiveAndSharding()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostGTest.java93 if (getShardCount() > 0) { in executeHostGTestCommand()
100 runUtil.setEnvVariable("GTEST_TOTAL_SHARDS", Integer.toString(getShardCount())); in executeHostGTestCommand()
DGTest.java216 if (getShardCount() > 0) { in getGTestCmdLine()
223 sb.append(String.format("GTEST_TOTAL_SHARDS=%s ", getShardCount())); in getGTestCmdLine()
DGTestBase.java233 public int getShardCount() { in getShardCount() method in GTestBase
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java1284 if (options.getShardCount() != null && options.getShardCount() < 1) { in validateOptions()
1288 && (options.getShardCount() == null || options.getShardIndex() < 0 in validateOptions()
1289 || options.getShardIndex() >= options.getShardCount())) { in validateOptions()
1293 if (options.getShardCount() != null && options.getShardIndex() == null) { in validateOptions()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandOptions.java138 public Integer getShardCount(); in getShardCount() method
DCommandOptions.java391 public Integer getShardCount() { in getShardCount() method in CommandOptions
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java579 public Integer getShardCount() {return -1;} in testValidateOptionsShardException()
621 public Integer getShardCount() { in testValidateOptionsShardIndexAboveShardCount()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java46 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
DShardHelper.java91 Integer shardCount = config.getCommandOptions().getShardCount(); in shardConfig()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java130 .setShardCount(mConfiguration.getCommandOptions().getShardCount()); in run()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java169 if (config.getCommandOptions().getShardCount() != null in prepareEnvironment()