/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelper.java | 212 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 …]
|
D | ShardHelper.java | 338 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/ |
D | StubTest.java | 112 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/ |
D | StrictShardHelperTest.java | 275 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/ |
D | GameQualificationHostsideController.java | 192 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/ |
D | InstalledInstrumentationsTest.java | 536 Collection<IRemoteTest> shards = new ArrayList<>(shardCountHint); in split() local 538 shards.add(getTestShard(shardCountHint, index)); in split() 540 return shards; in split()
|
D | AndroidJUnitTest.java | 693 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/ |
D | PtsBotTest.java | 219 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/ |
D | MoblyBinaryHostTest.java | 218 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/ |
D | MoblyBinaryHostTestTest.java | 1076 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/ |
D | build_event_stream.proto | 714 // 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.
|