Home
last modified time | relevance | path

Searched refs:shard (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DAndroidJUnitTest.java439 AndroidJUnitTest shard; in getTestShard() local
442 shard = this.getClass().newInstance(); in getTestShard()
447 OptionCopier.copyOptions(this, shard); in getTestShard()
451 shard.mShardIndex = shardIndex; in getTestShard()
452 shard.mTotalShards = shardCount; in getTestShard()
453 shard.mIsSharded = true; in getTestShard()
454 shard.setAbi(getAbi()); in getTestShard()
456 shard.mRuntimeHint = mRuntimeHint / shardCount; in getTestShard()
457 return shard; in getTestShard()
DVersionedTfLauncher.java119 IRemoteTest shard = new VersionedTfLauncher(shardCount, shardIndex); in getTestShard() local
121 OptionCopier.copyOptions(this, shard); in getTestShard()
126 return shard; in getTestShard()
DInstalledInstrumentationsTest.java405 InstalledInstrumentationsTest shard = new InstalledInstrumentationsTest(); in getTestShard() local
407 OptionCopier.copyOptions(this, shard); in getTestShard()
411 shard.mShards = 0; in getTestShard()
412 shard.mShardIndex = shardIndex; in getTestShard()
413 shard.mTotalShards = shardCount; in getTestShard()
414 return shard; in getTestShard()
DGTest.java674 GTest shard = new GTest(); in getTestShard() local
675 OptionCopier.copyOptionsNoThrow(this, shard); in getTestShard()
676 shard.mShardIndex = shardIndex; in getTestShard()
677 shard.mShardCount = shardCount; in getTestShard()
678 shard.mIsSharded = true; in getTestShard()
680 shard.mRuntimeHint = mRuntimeHint / shardCount; in getTestShard()
681 return shard; in getTestShard()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java404 XmlDefsTest shard = new XmlDefsTest(); in split() local
405 shard.mTests = new LinkedList<InstrumentationTest>(); in split()
406 shardQueue.add(shard); in split()
410 XmlDefsTest shard = (XmlDefsTest)shardQueue.poll(); in split() local
411 shard.mTests.add(test); in split()
412 shardQueue.add(shard); in split()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMasterResultForwarder.java184 for (IInvocationContext shard : shardContexts) { in copyShardBuildInfoToMain()
185 for (String deviceName : shard.getDeviceConfigNames()) { in copyShardBuildInfoToMain()
186 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
DInvocationExecution.java36 import com.android.tradefed.invoker.shard.IShardHelper;
DTestInvocation.java33 import com.android.tradefed.invoker.shard.ShardBuildCloner;
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DIShardHelper.java16 package com.android.tradefed.invoker.shard;
DShardBuildCloner.java16 package com.android.tradefed.invoker.shard;
DStrictShardHelper.java16 package com.android.tradefed.invoker.shard;
280 for (List<IRemoteTest> shard : allShards) { in topBottom()
283 for (IRemoteTest test : shard) { in topBottom()
DShardHelper.java16 package com.android.tradefed.invoker.shard;
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java185 for (Entry<Integer, List<String>> shard : in invocationEnded()
187 mSummary.append(String.format("Shard %s used: %s\n", shard.getKey(), shard.getValue())); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIGlobalConfiguration.java26 import com.android.tradefed.invoker.shard.IShardHelper;
DGlobalConfiguration.java30 import com.android.tradefed.invoker.shard.IShardHelper;
31 import com.android.tradefed.invoker.shard.StrictShardHelper;
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostTestTest.java1366 IRemoteTest shard = list.get(i); in testRun_junit_suite_split_by_method() local
1367 assertTrue(HostTest.class.isInstance(shard)); in testRun_junit_suite_split_by_method()
1368 HostTest hostTest = (HostTest)shard; in testRun_junit_suite_split_by_method()
1487 IRemoteTest shard = mHostTest.getTestShard(numShards, i); in testGetTestStrictShardable_shardUnit_method() local
1488 assertTrue(shard instanceof HostTest); in testGetTestStrictShardable_shardUnit_method()
1489 HostTest hostTest = (HostTest)shard; in testGetTestStrictShardable_shardUnit_method()
1551 IRemoteTest shard = mHostTest.getTestShard(numShards, i); in testGetTestStrictShardable_tooManyShards_shardUnit_method() local
1552 assertTrue(shard instanceof HostTest); in testGetTestStrictShardable_tooManyShards_shardUnit_method()
1553 HostTest hostTest = (HostTest)shard; in testGetTestStrictShardable_tooManyShards_shardUnit_method()
1654 IRemoteTest shard; in testGetTestShardable_wrapping_shardUnit_method() local
[all …]
DCodeCoverageTestBaseTest.java730 for (List<TestDescription> shard : shards) {
731 doReturn(shard)
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleMergerTest.java20 import com.android.tradefed.invoker.shard.StrictShardHelperTest.SplitITestSuite;
DITestSuiteIntegrationTest.java38 import com.android.tradefed.invoker.shard.StrictShardHelper;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java30 import com.android.tradefed.invoker.shard.IShardHelper;
31 import com.android.tradefed.invoker.shard.ShardHelper;
DTestInvocationTest.java54 import com.android.tradefed.invoker.shard.IShardHelper;
55 import com.android.tradefed.invoker.shard.ShardHelper;
56 import com.android.tradefed.invoker.shard.StrictShardHelper;
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java95 import com.android.tradefed.invoker.shard.ShardHelperTest;
96 import com.android.tradefed.invoker.shard.StrictShardHelperTest;
97 import com.android.tradefed.invoker.shard.TestsPoolPollerTest;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java16 package com.android.tradefed.invoker.shard;
DShardHelperTest.java16 package com.android.tradefed.invoker.shard;