Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableBaseTest.java293 ExecutableBaseTest shard = null; in getTestShard() local
295 shard = this.getClass().getDeclaredConstructor().newInstance(); in getTestShard()
296 OptionCopier.copyOptionsNoThrow(this, shard); in getTestShard()
297 shard.mBinaryPaths.clear(); in getTestShard()
298 shard.mTestCommands.clear(); in getTestShard()
301 shard.mBinaryPaths.add(binaryPath); in getTestShard()
304 shard.mTestCommands.put(testName, cmd); in getTestShard()
307 shard.mExcludeFilters.addAll(mExcludeFilters); in getTestShard()
308 shard.mIncludeFilters.addAll(mIncludeFilters); in getTestShard()
319 return shard; in getTestShard()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DAndroidJUnitTest.java549 AndroidJUnitTest shard; in getTestShard() local
552 shard = this.getClass().getDeclaredConstructor().newInstance(); in getTestShard()
560 OptionCopier.copyOptions(this, shard); in getTestShard()
564 shard.mShardIndex = shardIndex; in getTestShard()
565 shard.mTotalShards = shardCount; in getTestShard()
566 shard.mIsSharded = true; in getTestShard()
567 shard.setAbi(getAbi()); in getTestShard()
569 shard.mRuntimeHint = mRuntimeHint / shardCount; in getTestShard()
570 return shard; in getTestShard()
DGTestBase.java639 GTestBase shard = null; in getTestShard() local
641 shard = this.getClass().getDeclaredConstructor().newInstance(); in getTestShard()
642 OptionCopier.copyOptionsNoThrow(this, shard); in getTestShard()
643 shard.mShardIndex = shardIndex; in getTestShard()
644 shard.mShardCount = shardCount; in getTestShard()
645 shard.mIsSharded = true; in getTestShard()
647 shard.mRuntimeHint = mRuntimeHint / shardCount; in getTestShard()
648 shard.mAbi = mAbi; in getTestShard()
659 return shard; in getTestShard()
DInstalledInstrumentationsTest.java484 InstalledInstrumentationsTest shard = new InstalledInstrumentationsTest(); in getTestShard() local
486 OptionCopier.copyOptions(this, shard); in getTestShard()
490 shard.mShardIndex = shardIndex; in getTestShard()
491 shard.mTotalShards = shardCount; in getTestShard()
492 return shard; in getTestShard()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java201 GameQualificationHostsideController shard = new GameQualificationHostsideController(); in split() local
202 shard.mApks = apkInfo; in split()
203 shard.mApkDir = getApkDir(); in split()
204 shard.mApkInfoFileName = mApkInfoFileName; in split()
205 shard.mApkInfoFile = mApkInfoFile; in split()
207 shards.add(shard); in split()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java16 package com.android.tradefed.invoker.shard;
33 import com.android.tradefed.invoker.shard.token.ITokenProvider;
34 import com.android.tradefed.invoker.shard.token.ITokenRequest;
35 import com.android.tradefed.invoker.shard.token.TokenProperty;
36 import com.android.tradefed.invoker.shard.token.TokenProviderHelper;
DStrictShardHelper.java16 package com.android.tradefed.invoker.shard;
261 for (List<IRemoteTest> shard : allShards) { in topBottom()
264 for (IRemoteTest test : shard) { in topBottom()
DShardHelper.java16 package com.android.tradefed.invoker.shard;
32 import com.android.tradefed.invoker.shard.token.ITokenRequest;
DLastShardDetector.java16 package com.android.tradefed.invoker.shard;
DIShardHelper.java16 package com.android.tradefed.invoker.shard;
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java146 import com.android.tradefed.invoker.shard.ShardHelperTest;
147 import com.android.tradefed.invoker.shard.StrictShardHelperTest;
148 import com.android.tradefed.invoker.shard.TestsPoolPollerTest;
149 import com.android.tradefed.invoker.shard.token.TelephonyTokenProviderTest;
150 import com.android.tradefed.invoker.shard.token.TokenProviderHelperTest;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTokenTestClass.java16 package com.android.tradefed.invoker.shard;
20 import com.android.tradefed.invoker.shard.token.ITokenRequest;
21 import com.android.tradefed.invoker.shard.token.TokenProperty;
DTestsPoolPollerTest.java16 package com.android.tradefed.invoker.shard;
36 import com.android.tradefed.invoker.shard.token.ITokenRequest;
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostTestTest.java1723 IRemoteTest shard = list.get(i); in testRun_junit_suite_split_by_method() local
1724 assertTrue(HostTest.class.isInstance(shard)); in testRun_junit_suite_split_by_method()
1725 HostTest hostTest = (HostTest)shard; in testRun_junit_suite_split_by_method()
1815 IRemoteTest shard; in testGetTestShardable_wrapping_shardUnit_method() local
1816 shard = new ArrayList<>(mHostTest.split(numShards, mTestInfo)).get(i); in testGetTestShardable_wrapping_shardUnit_method()
1817 assertTrue(shard instanceof HostTest); in testGetTestShardable_wrapping_shardUnit_method()
1818 HostTest hostTest = (HostTest)shard; in testGetTestShardable_wrapping_shardUnit_method()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMainResultForwarder.java187 for (IInvocationContext shard : shardContexts) { in copyShardBuildInfoToMain()
188 for (String deviceName : shard.getDeviceConfigNames()) { in copyShardBuildInfoToMain()
189 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
DInvocationExecution.java43 import com.android.tradefed.invoker.shard.IShardHelper;
44 import com.android.tradefed.invoker.shard.TestsPoolPoller;
DTestInvocation.java54 import com.android.tradefed.invoker.shard.LastShardDetector;
55 import com.android.tradefed.invoker.shard.ShardHelper;
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java205 for (Entry<Integer, List<String>> shard : in invocationEnded()
207 mSummary.append(String.format("Shard %s used: %s\n", shard.getKey(), shard.getValue())); in invocationEnded()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java33 import com.android.tradefed.invoker.shard.IShardHelper;
34 import com.android.tradefed.invoker.shard.StrictShardHelper;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java34 import com.android.tradefed.invoker.shard.IShardHelper;
35 import com.android.tradefed.invoker.shard.ShardHelper;
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java44 import com.android.tradefed.invoker.shard.token.ITokenRequest;
45 import com.android.tradefed.invoker.shard.token.TokenProperty;
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/shard/token/
DTokenProperty.java16 package com.android.tradefed.invoker.shard.token;
DITokenProvider.java16 package com.android.tradefed.invoker.shard.token;
DITokenRequest.java16 package com.android.tradefed.invoker.shard.token;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/
DTokenProviderHelperTest.java16 package com.android.tradefed.invoker.shard.token;

12