Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java212 List<List<IRemoteTest>> shards; in splitTests() local
215 shards = shardList(fullList, shardCount); in splitTests()
217 shards = new ArrayList<>(); in splitTests()
233 shards = balancedDistrib(fullList, shardCount, numPerShard, needsCorrection); in splitTests()
236 topBottom(shards, shardCount); in splitTests()
237 return shards; in splitTests()
242 List<List<IRemoteTest>> shards = new ArrayList<>(); in balancedDistrib() local
252 shards.add(shardList); in balancedDistrib()
265 shards.add(new ArrayList<>(shardList)); in balancedDistrib()
269 shards.add(new ArrayList<>(shardList)); in balancedDistrib()
[all …]
DShardHelper.java338 Collection<IRemoteTest> shards = shardableTest.split(shardCount, testInfo); in shardTest() local
339 if (shards != null) { in shardTest()
340 shardableTests.addAll(shards); in shardTest()
/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/javatests/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java275 List<List<IRemoteTest>> shards = new ArrayList<>(); in splitTests() local
276 shards.add(new ArrayList<>(fakeModules)); in splitTests()
277 shards.add(new ArrayList<>(fakeModules)); in splitTests()
278 return shards; in splitTests()
345 List<List<IRemoteTest>> shards = in testMergeSuite_aggregate() local
348 for (List<IRemoteTest> shard : shards) { in testMergeSuite_aggregate()
566 List<IRemoteTest> shards = new ArrayList<IRemoteTest>(hintShard); in split() local
568 shards.add(new TestInterfaceClass()); in split()
570 return shards; in split()
689 var shards = StrictShardHelper.shardList(fullList, shardCount); in testShardList() local
[all …]
/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/test_framework/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java536 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split() local
538 shards.add(getTestShard(shardCountHint, index)); in split()
540 return shards; in split()
DAndroidJUnitTest.java693 Collection<IRemoteTest> shards = new ArrayList<>(shardCount); in split() local
695 shards.add(getTestShard(shardCount, index)); in split()
697 return shards; in split()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java219 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split() local
235 shards.add(shard); in split()
238 return shards; in split()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java218 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split() local
233 shards.add(shard); in split()
236 return shards; in split()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTestTest.java1076 Collection<IRemoteTest> shards = mSpyTest.split(shardCountHint, mTestInfo); in testRun_withSharding() local
1077 assertTrue(shards.size() == shardCountHint); in testRun_withSharding()
1090 for (IRemoteTest shard : shards) { in testRun_withSharding()
1109 Collection<IRemoteTest> shards = mSpyTest.split(shardCountHint, mTestInfo); in testRun_oneTest_twoShards() local
1110 assertTrue(shards.size() == shardCountHint); in testRun_oneTest_twoShards()
1120 for (IRemoteTest shard : shards) { in testRun_oneTest_twoShards()
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dbuild_event_stream.proto714 // Overall status of test, accumulated over all runs, shards, and attempts.
718 // E.g., if a target has 4 runs, 3 shards, each with 2 attempts,
727 // count across all shards for each run is used.
730 // Number of shards.