/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableBaseTest.java | 293 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/ |
D | AndroidJUnitTest.java | 549 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()
|
D | GTestBase.java | 639 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()
|
D | InstalledInstrumentationsTest.java | 484 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/ |
D | GameQualificationHostsideController.java | 201 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/ |
D | TestsPoolPoller.java | 16 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;
|
D | StrictShardHelper.java | 16 package com.android.tradefed.invoker.shard; 261 for (List<IRemoteTest> shard : allShards) { in topBottom() 264 for (IRemoteTest test : shard) { in topBottom()
|
D | ShardHelper.java | 16 package com.android.tradefed.invoker.shard; 32 import com.android.tradefed.invoker.shard.token.ITokenRequest;
|
D | LastShardDetector.java | 16 package com.android.tradefed.invoker.shard;
|
D | IShardHelper.java | 16 package com.android.tradefed.invoker.shard;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/ |
D | UnitTests.java | 146 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/ |
D | TokenTestClass.java | 16 package com.android.tradefed.invoker.shard; 20 import com.android.tradefed.invoker.shard.token.ITokenRequest; 21 import com.android.tradefed.invoker.shard.token.TokenProperty;
|
D | TestsPoolPollerTest.java | 16 package com.android.tradefed.invoker.shard; 36 import com.android.tradefed.invoker.shard.token.ITokenRequest;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostTestTest.java | 1723 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/ |
D | ShardMainResultForwarder.java | 187 for (IInvocationContext shard : shardContexts) { in copyShardBuildInfoToMain() 188 for (String deviceName : shard.getDeviceConfigNames()) { in copyShardBuildInfoToMain() 189 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain()
|
D | InvocationExecution.java | 43 import com.android.tradefed.invoker.shard.IShardHelper; 44 import com.android.tradefed.invoker.shard.TestsPoolPoller;
|
D | TestInvocation.java | 54 import com.android.tradefed.invoker.shard.LastShardDetector; 55 import com.android.tradefed.invoker.shard.ShardHelper;
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 205 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/ |
D | GlobalConfiguration.java | 33 import com.android.tradefed.invoker.shard.IShardHelper; 34 import com.android.tradefed.invoker.shard.StrictShardHelper;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 34 import com.android.tradefed.invoker.shard.IShardHelper; 35 import com.android.tradefed.invoker.shard.ShardHelper;
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 44 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/ |
D | TokenProperty.java | 16 package com.android.tradefed.invoker.shard.token;
|
D | ITokenProvider.java | 16 package com.android.tradefed.invoker.shard.token;
|
D | ITokenRequest.java | 16 package com.android.tradefed.invoker.shard.token;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/ |
D | TokenProviderHelperTest.java | 16 package com.android.tradefed.invoker.shard.token;
|