Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DIShardableTest.java54 public default Collection<IRemoteTest> split(int shardCountHint) { in split() argument
68 public default Collection<IRemoteTest> split(Integer shardCountHint, TestInformation testInfo) { in split() argument
69 if (shardCountHint == null) { in split()
72 return split(shardCountHint); in split()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java534 public Collection<IRemoteTest> split(int shardCountHint) { in split() argument
535 if (shardCountHint > 1) { in split()
536 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split()
537 for (int index = 0; index < shardCountHint; index++) { in split()
538 shards.add(getTestShard(shardCountHint, index)); in split()
DGTestBase.java714 public Collection<IRemoteTest> split(int shardCountHint) { in split() argument
715 if (shardCountHint <= 1 || mIsSharded) { in split()
723 for (int i = 0; i < shardCountHint; i++) { in split()
724 tests.add(getTestShard(shardCountHint, i)); in split()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java190 public Collection<IRemoteTest> split(int shardCountHint) { in split() argument
193 for(int i = 0; i < shardCountHint; i++) { in split()
198 for(int j = i; j < mApks.size(); j += shardCountHint) { in split()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java211 public Collection<IRemoteTest> split(int shardCountHint) { in split() argument
212 if (physical || shardCountHint <= 1) { in split()
219 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split()
223 for (int i = 0; i < shardCountHint; i++) { in split()
234 shard.totalShards = shardCountHint; in split()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java213 public Collection<IRemoteTest> split(int shardCountHint) { in split() argument
214 if (shardCountHint <= 1) { in split()
218 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split()
221 for (int i = 0; i < shardCountHint; i++) { in split()
232 shard.totalShards = shardCountHint; in split()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTestTest.java1075 int shardCountHint = 2; in testRun_withSharding() local
1076 Collection<IRemoteTest> shards = mSpyTest.split(shardCountHint, mTestInfo); in testRun_withSharding()
1077 assertTrue(shards.size() == shardCountHint); in testRun_withSharding()
1108 int shardCountHint = 2; in testRun_oneTest_twoShards() local
1109 Collection<IRemoteTest> shards = mSpyTest.split(shardCountHint, mTestInfo); in testRun_oneTest_twoShards()
1110 assertTrue(shards.size() == shardCountHint); in testRun_oneTest_twoShards()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestSuiteStub.java190 public Collection<IRemoteTest> split(int shardCountHint) { in split() argument
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java1288 public Collection<IRemoteTest> split(Integer shardCountHint, TestInformation testInfo) { in split() argument
1289 if (shardCountHint == null || shardCountHint <= 1 || mIsSharded) { in split()
1317 shardCountHint, in split()