Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java57 List<IRemoteTest> listAllTests = getAllTests(config, shardCount, context); in shardConfig() local
59 normalizeDistribution(listAllTests, shardCount); in shardConfig()
63 splitList = listAllTests; in shardConfig()
65 splitList = splitTests(listAllTests, shardCount).get(shardIndex); in shardConfig()
205 private void normalizeDistribution(List<IRemoteTest> listAllTests, int shardCount) { in normalizeDistribution() argument
209 for (int j = 0; j < listAllTests.size(); j = j + distance) { in normalizeDistribution()
211 IRemoteTest push = listAllTests.remove(j); in normalizeDistribution()
212 listAllTests.add(push); in normalizeDistribution()