/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteTestFilter.java | 53 Integer shardIndex = null; in createFrom() local 67 shardIndex = Integer.parseInt(parts[index].substring("shard_".length())); in createFrom() 71 shardIndex = Integer.parseInt(parts[index]); in createFrom() 88 return new SuiteTestFilter(shardIndex, abi, name, test); in createFrom() 109 public SuiteTestFilter(Integer shardIndex, String abi, String name, String test) { in SuiteTestFilter() argument 110 mShardIndex = shardIndex; in SuiteTestFilter()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | DynamicShardHelper.java | 59 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig() local 68 if (shardIndex == null) { in shardConfig() 72 if (shardIndex != null && shardCount == null) { in shardConfig() 74 "shard-count is null while shard-index is " + shardIndex, in shardConfig()
|
D | ParentShardReplicate.java | 51 Integer shardIndex = config.getCommandOptions().getShardIndex(); in replicatedSetup() local 53 if (shardCount == null || shardIndex != null) { in replicatedSetup()
|
D | StrictShardHelper.java | 64 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig() local 67 if (shardIndex == null) { in shardConfig() 71 throw new RuntimeException("shard-count is null while shard-index is " + shardIndex); in shardConfig() 92 .get(shardIndex); in shardConfig() 96 CLog.i("Reordering the test modules list for index: %s", shardIndex); in shardConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarder.java | 95 Integer shardIndex = null; in invocationStarted() local 97 shardIndex = context.getConfigurationDescriptor().getShardIndex(); in invocationStarted() 100 if (shardIndex != null) { in invocationStarted() 101 index = shardIndex; in invocationStarted()
|
D | TestInvocation.java | 1324 Integer shardIndex = config.getCommandOptions().getShardIndex(); in invoke() local 1330 if (shardCount != null && shardIndex != null) { in invoke()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommand.java | 92 Integer shardIndex) { in ClusterCommand() argument 99 mShardIndex = shardIndex; in ClusterCommand()
|
D | ClusterCommandLauncher.java | 376 final Integer shardIndex = mConfiguration.getCommandOptions().getShardIndex(); in buildJavaCommandArgs() local 381 if (shardIndex != null) { in buildJavaCommandArgs() 383 cmdArgs.add(Integer.toString(shardIndex)); in buildJavaCommandArgs()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstalledInstrumentationsTest.java | 332 void setShardIndex(int shardIndex) { in setShardIndex() argument 333 mShardIndex = shardIndex; in setShardIndex() 545 private IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 552 shard.mShardIndex = shardIndex; in getTestShard()
|
D | GTestBase.java | 311 public void setShardIndex(int shardIndex) { in setShardIndex() argument 312 mShardIndex = shardIndex; in setShardIndex() 769 private IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 774 shard.mShardIndex = shardIndex; in getTestShard()
|
D | AndroidJUnitTest.java | 702 private IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 718 shard.mShardIndex = shardIndex; in getTestShard()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/ |
D | PtsBotTest.java | 207 private int shardIndex = 0; field in PtsBotTest 233 shard.shardIndex = i; in split() 315 int startIndex = shardIndex * chunkSize; in run() 317 (totalShards == 1 || shardIndex == totalShards - 1) in run() 319 : (shardIndex + 1) * chunkSize; in run()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 146 private int shardIndex = 0; field in MoblyBinaryHostTest 231 shard.shardIndex = i; in split() 460 if (shardIndex >= totalTests) { in runSingleParFile() 463 int startIndex = shardIndex * chunkSize; in runSingleParFile() 464 int endIndex = Math.min((shardIndex + 1) * chunkSize, totalTests); in runSingleParFile()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | ICommandOptions.java | 151 public void setShardIndex(Integer shardIndex); in setShardIndex() argument
|
D | CommandOptions.java | 537 public void setShardIndex(Integer shardIndex) { in setShardIndex() argument 538 mShardIndex = shardIndex; in setShardIndex()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | ShardMainResultForwarderTest.java | 63 private InvocationContext createContext(int shardIndex) { in createContext() argument 66 main.getConfigurationDescriptor().setShardIndex(shardIndex); in createContext()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ITestSuiteIntegrationTest.java | 700 private void helperTestShardIndex(int shardCount, int shardIndex) throws Exception { in helperTestShardIndex() argument 701 helperTestShardIndex(shardCount, shardIndex, false); in helperTestShardIndex() 704 private void helperTestShardIndex(int shardCount, int shardIndex, boolean useEvenModuleSharding) in helperTestShardIndex() argument 724 config.getCommandOptions().setShardIndex(shardIndex); in helperTestShardIndex()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/ |
D | StrictShardHelperTest.java | 296 private List<IRemoteTest> testShard(int shardIndex) throws Exception { in testShard() argument 297 return testShard(shardIndex, false); in testShard() 300 private List<IRemoteTest> testShard(int shardIndex, boolean useEvenModuleSharding) in testShard() argument 314 setter.setOptionValue("shard-index", Integer.toString(shardIndex)); in testShard()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTestTest.java | 1119 int shardIndex = 0; in testRun_oneTest_twoShards() local 1127 if (shardIndex == 0) { in testRun_oneTest_twoShards() 1132 shardIndex++; in testRun_oneTest_twoShards()
|
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 1062 int numDevices, Integer shardCount, Integer shardIndex) { 1072 shardIndex);
|