Home
last modified time | relevance | path

Searched refs:shardIndex (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteTestFilter.java53 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/
DDynamicShardHelper.java59 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()
DParentShardReplicate.java51 Integer shardIndex = config.getCommandOptions().getShardIndex(); in replicatedSetup() local
53 if (shardCount == null || shardIndex != null) { in replicatedSetup()
DStrictShardHelper.java64 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/
DShardMainResultForwarder.java95 Integer shardIndex = null; in invocationStarted() local
97 shardIndex = context.getConfigurationDescriptor().getShardIndex(); in invocationStarted()
100 if (shardIndex != null) { in invocationStarted()
101 index = shardIndex; in invocationStarted()
DTestInvocation.java1324 Integer shardIndex = config.getCommandOptions().getShardIndex(); in invoke() local
1330 if (shardCount != null && shardIndex != null) { in invoke()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommand.java92 Integer shardIndex) { in ClusterCommand() argument
99 mShardIndex = shardIndex; in ClusterCommand()
DClusterCommandLauncher.java376 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/
DInstalledInstrumentationsTest.java332 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()
DGTestBase.java311 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()
DAndroidJUnitTest.java702 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/
DPtsBotTest.java207 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/
DMoblyBinaryHostTest.java146 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/
DICommandOptions.java151 public void setShardIndex(Integer shardIndex); in setShardIndex() argument
DCommandOptions.java537 public void setShardIndex(Integer shardIndex) { in setShardIndex() argument
538 mShardIndex = shardIndex; in setShardIndex()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DShardMainResultForwarderTest.java63 private InvocationContext createContext(int shardIndex) { in createContext() argument
66 main.getConfigurationDescriptor().setShardIndex(shardIndex); in createContext()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java700 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/
DStrictShardHelperTest.java296 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/
DMoblyBinaryHostTestTest.java1119 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/
DClusterCommandSchedulerTest.java1062 int numDevices, Integer shardCount, Integer shardIndex) {
1072 shardIndex);