/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
IStrictShardableTest.java | 29 * @param shardCount the number of total shards 30 * @param shardIndex the index of a test shard to return. The value is in range [0, shardCount). 33 IRemoteTest getTestShard(int shardCount, int shardIndex);
|
VersionedTfLauncher.java | 55 private VersionedTfLauncher(int shardCount, int shardIndex) { 57 mShardCount = shardCount; 118 public IRemoteTest getTestShard(int shardCount, int shardIndex) { 119 IRemoteTest shard = new VersionedTfLauncher(shardCount, shardIndex);
|
AndroidJUnitTest.java | 416 public Collection<IRemoteTest> split(int shardCount) { 421 shardCount = Math.min(shardCount, mMaxShard); 423 if (!mIsSharded && shardCount > 1) { 425 Collection<IRemoteTest> shards = new ArrayList<>(shardCount); 426 for (int index = 0; index < shardCount; index++) { 427 shards.add(getTestShard(shardCount, index)); 438 public IRemoteTest getTestShard(int shardCount, int shardIndex) { 452 shard.mTotalShards = shardCount; 456 shard.mRuntimeHint = mRuntimeHint / shardCount; [all...] |
HostTest.java | [all...] |
GTest.java | 264 void setShardCount(int shardCount) { 265 mShardCount = shardCount; 673 public IRemoteTest getTestShard(int shardCount, int shardIndex) { 677 shard.mShardCount = shardCount; 680 shard.mRuntimeHint = mRuntimeHint / shardCount;
|
InstalledInstrumentationsTest.java | 404 public IRemoteTest getTestShard(int shardCount, int shardIndex) { 413 shard.mTotalShards = shardCount;
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
StrictShardHelper.java | 47 Integer shardCount = config.getCommandOptions().getShardCount(); 53 if (shardCount == null) { 60 updateConfigIfSharded(config, shardCount, shardIndex); 62 List<IRemoteTest> listAllTests = getAllTests(config, shardCount, context); 64 normalizeDistribution(listAllTests, shardCount); 66 if (shardCount == 1) { 70 splitList = splitTests(listAllTests, shardCount).get(shardIndex); 79 private void updateConfigIfSharded(IConfiguration config, int shardCount, int shardIndex) { 92 ((IStrictShardableTest) test).getTestShard(shardCount, shardIndex); 102 * @param shardCount the shard count hint to be provided to some tests [all...] |
ShardHelper.java | 84 Integer shardCount = config.getCommandOptions().getShardCount(); 86 isSharded |= shardTest(shardableTests, test, shardCount, context); 96 if (shardCount != null) { 97 expectedShard = Math.min(shardCount, shardableTests.size()); 104 // When shardCount is available only create 1 poller per shard 105 // TODO: consider aggregating both case by picking a predefined shardCount if not 107 if (shardCount != null) { 111 int maxShard = Math.min(shardCount, shardableTests.size()); 201 * @param shardCount attempted number of shard, can be null. 208 Integer shardCount, [all...] |
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
ModuleSplitter.java | 61 * @param shardCount a shard count hint to help with sharding. 66 int shardCount, 71 shardCount *= 2; 82 shardCount, 92 int shardCount, 120 Collection<IRemoteTest> shardedTests = ((IShardableTest) test).split(shardCount); 125 for (int i = 0; i < shardCount; i++) {
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
TestStubShardable.java | 31 public IRemoteTest getTestShard(int shardCount, int shardIndex) {
|
ShardableTestStub.java | 83 public IRemoteTest getTestShard(int shardCount, int shardIndex) {
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
ICommandOptions.java | 140 public void setShardCount(Integer shardCount);
|
CommandOptions.java | 348 public void setShardCount(Integer shardCount) { 349 mShardCount = shardCount;
|
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
CompatibilityTestMultiDevice.java | 97 public IRemoteTest getTestShard(int shardCount, int shardIndex) { 99 new CompatibilityTestMultiDevice(shardCount, getModuleRepo(), shardIndex);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
FileSystemLogSaverTest.java | 258 final int shardCount = 5; 265 new ArrayList<ITestInvocationListener>(), shardCount); 266 for (int i = 0; i < shardCount; i++) { 269 for (int i = 0; i < shardCount; i++) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
StrictShardHelperTest.java | 404 int shardCount = 20; 405 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); 432 int shardCount = 6; 433 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); 446 int shardCount = 6; 447 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount);
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
CompatibilityTest.java | [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
TestInvocationTest.java | [all...] |
/external/deqp/android/cts/runner/src/com/drawelements/deqp/runner/ |
DeqpTestRunner.java | [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
ITestSuiteIntegrationTest.java | 649 private void helperTestShardIndex(int shardCount, int shardIndex) throws Exception { 667 config.getCommandOptions().setShardCount(shardCount); [all...] |
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-kinesis/1.11.18/ |
aws-java-sdk-kinesis-1.11.18.jar | |
/test/framework/harnesses/cts-tradefed/ |
tradefed-cts-prebuilt.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/2.2.0/ |
builder-2.2.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/2.2.0-alpha1/ |
builder-2.2.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/2.2.0-alpha3/ |
builder-2.2.0-alpha3.jar | |