Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java144 List<List<IRemoteTest>> shards = new ArrayList<>(); in splitTests() local
159 shards = balancedDistrib(fullList, shardCount, numPerShard, needsCorrection); in splitTests()
161 topBottom(shards, shardCount); in splitTests()
162 return shards; in splitTests()
167 List<List<IRemoteTest>> shards = new ArrayList<>(); in balancedDistrib() local
177 shards.add(shardList); in balancedDistrib()
190 shards.add(new ArrayList<>(shardList)); in balancedDistrib()
194 shards.add(new ArrayList<>(shardList)); in balancedDistrib()
201 shards.get(i).add(correctionList.get(i)); in balancedDistrib()
206 return shards; in balancedDistrib()
DShardHelper.java303 Collection<IRemoteTest> shards = null; in shardTest() local
305 shards = shardableTest.split(shardCount, testInfo); in shardTest()
306 if (shards != null) { in shardTest()
307 shardableTests.addAll(shards); in shardTest()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1284 List<IRemoteTest> shards = new ArrayList<>(); in testInvoke_shardableTest_legacy() local
1287 shards.add(shard1); in testInvoke_shardableTest_legacy()
1288 shards.add(shard2); in testInvoke_shardableTest_legacy()
1289 EasyMock.expect(test.split(EasyMock.isNull(), EasyMock.anyObject())).andReturn(shards); in testInvoke_shardableTest_legacy()
1349 List<IRemoteTest> shards = new ArrayList<>(); in testInvoke_shardableTest_autoRetry() local
1352 shards.add(shard1); in testInvoke_shardableTest_autoRetry()
1353 shards.add(shard2); in testInvoke_shardableTest_autoRetry()
1354 EasyMock.expect(test.split(EasyMock.isNull(), EasyMock.anyObject())).andReturn(shards); in testInvoke_shardableTest_autoRetry()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DStubTest.java112 List<IRemoteTest> shards = new ArrayList<IRemoteTest>(mNumShards); in split() local
114 shards.add(new StubTest()); in split()
118 return shards; in split()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java474 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split() local
476 shards.add(getTestShard(shardCountHint, index)); in split()
478 return shards; in split()
DAndroidJUnitTest.java539 Collection<IRemoteTest> shards = new ArrayList<>(shardCount); in split() local
541 shards.add(getTestShard(shardCount, index)); in split()
543 return shards; in split()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java192 List<IRemoteTest> shards = new ArrayList<>(); in split() local
207 shards.add(shard); in split()
209 return shards; in split()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java369 List<IRemoteTest> shards = new ArrayList<IRemoteTest>(hintShard); in split() local
371 shards.add(new TestInterfaceClass()); in split()
373 return shards; in split()