Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java367 int shardIndex = 0; in splitModules() local
373 splittedModules.get(shardIndex).add(module); in splitModules()
375 shardTimes[shardIndex] += module.second; in splitModules()
376 shardIndex += increment; in splitModules()
378 if (shardIndex == shards) { in splitModules()
380 shardIndex = shards - 1; in splitModules()
382 if (shardIndex == -1) { in splitModules()
384 shardIndex = 0; in splitModules()
387 shardIndex = 0; in splitModules()
392 shardIndex, TimeUtil.formatElapsedTime(shardTimes[shardIndex]))); in splitModules()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DIModuleRepo.java43 void initialize(int shards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument
54 LinkedList<IModuleDef> getModules(String serial, int shardIndex); in getModules() argument
DModuleRepo.java172 public void initialize(int totalShards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument
184 mShardIndex = shardIndex; in initialize()
510 public LinkedList<IModuleDef> getModules(String serial, int shardIndex) { in getModules() argument
512 List<IModuleDef> modules = getShard(mNonTokenModules, shardIndex, mTotalShards); in getModules()
563 protected List<IModuleDef> getShard(List<IModuleDef> fullList, int shardIndex, int totalShard) { in getShard() argument
568 if (shardIndex >= res.size()) { in getShard()
572 return res.get(shardIndex); in getShard()
DCompatibilityTest.java322 public CompatibilityTest(int totalShards, IModuleRepo moduleRepo, Integer shardIndex) { in CompatibilityTest() argument
329 mShardIndex = shardIndex; in CompatibilityTest()
844 private IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument
845 CompatibilityTest test = new CompatibilityTest(shardCount, mModuleRepo, shardIndex); in getTestShard()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTestTest.java288 public LinkedList<IModuleDef> getModules(String serial, int shardIndex) { in testRun_noModules()