/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | VersionedTfLauncher.java | 55 private VersionedTfLauncher(int shardCount, int shardIndex) { in VersionedTfLauncher() argument 58 mShardIndex = shardIndex; in VersionedTfLauncher() 118 public IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 119 IRemoteTest shard = new VersionedTfLauncher(shardCount, shardIndex); in getTestShard()
|
D | CodeCoverageTestBase.java | 210 for (int shardIndex = 0; shardIndex < numShards; shardIndex++) { in run() 212 TestRunResult result = runTest(target, shardIndex, numShards, coverageListener); in run() 223 for (TestDescription identifier : collectTests(target, shardIndex, numShards)) { in run() 338 InstrumentationTarget target, int shardIndex, int numShards) in collectTests() argument 342 IRemoteAndroidTestRunner runner = createTestRunner(target, shardIndex, numShards); in collectTests() 359 int shardIndex, int numShards) { in createTestRunner() argument 372 ret.addInstrumentationArg("shardIndex", Integer.toString(shardIndex)); in createTestRunner() 394 TestRunResult runTest(InstrumentationTarget target, int shardIndex, int numShards, in runTest() argument 396 return runTest(createTest(target, shardIndex, numShards), listener); in runTest() 462 InstrumentationTest createTest(InstrumentationTarget target, int shardIndex, int numShards) { in createTest() argument [all …]
|
D | IStrictShardableTest.java | 33 IRemoteTest getTestShard(int shardCount, int shardIndex); in getTestShard() argument
|
D | InstalledInstrumentationsTest.java | 231 void setShardIndex(int shardIndex) { in setShardIndex() argument 232 mShardIndex = shardIndex; in setShardIndex() 404 public IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 412 shard.mShardIndex = shardIndex; in getTestShard()
|
D | GTest.java | 248 void setShardIndex(int shardIndex) { in setShardIndex() argument 249 mShardIndex = shardIndex; in setShardIndex() 673 public IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 676 shard.mShardIndex = shardIndex; in getTestShard()
|
D | AndroidJUnitTest.java | 438 public IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 451 shard.mShardIndex = shardIndex; in getTestShard()
|
D | HostTest.java | 1029 public IRemoteTest getTestShard(int shardCount, int shardIndex) { in getTestShard() argument 1037 HostTest test = createTestShard(shardCount, shardIndex); in getTestShard() 1064 private HostTest createTestShard(int shardCount, int shardIndex) { in createTestShard() argument 1070 if (i % shardCount == shardIndex) { in createTestShard()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelper.java | 48 Integer shardIndex = config.getCommandOptions().getShardIndex(); in shardConfig() local 50 if (shardIndex == null) { in shardConfig() 54 throw new RuntimeException("shard-count is null while shard-index is " + shardIndex); in shardConfig() 60 updateConfigIfSharded(config, shardCount, shardIndex); in shardConfig() 70 splitList = splitTests(listAllTests, shardCount).get(shardIndex); in shardConfig() 79 private void updateConfigIfSharded(IConfiguration config, int shardCount, int shardIndex) { in updateConfigIfSharded() argument 86 if (shardIndex == 0) { in updateConfigIfSharded() 92 ((IStrictShardableTest) test).getTestShard(shardCount, shardIndex); in updateConfigIfSharded()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarder.java | 51 private int shardIndex = 0; field in ShardMasterResultForwarder 78 mOriginalContext.addSerialsFromShard(shardIndex, context.getSerials()); in invocationStarted() 80 shardIndex++; in invocationStarted()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | CodeCoverageTestBaseTest.java | 135 T get(String packageName, String runnerName, int shardIndex, int numShards); in get() argument 739 for (int shardIndex = 0; shardIndex < numShards; shardIndex++) { 742 mCoverageTest.collectTests(target, shardIndex, numShards); 743 assertThat(collectedTests).containsExactlyElementsIn(shards.get(shardIndex)); 784 int shardIndex = 3; 789 (FakeTestRunner) mCoverageTest.createTestRunner(target, shardIndex, numShards); 792 assertThat(runner.getArgs()).containsEntry("shardIndex", Integer.toString(shardIndex)); 832 int shardIndex = 3; 836 InstrumentationTest test = mCoverageTest.createTest(target, shardIndex, numShards); 840 .isEqualTo(Integer.toString(shardIndex)); [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | ICommandOptions.java | 150 public void setShardIndex(Integer shardIndex); in setShardIndex() argument
|
D | CommandOptions.java | 364 public void setShardIndex(Integer shardIndex) { in setShardIndex() argument 365 mShardIndex = shardIndex; in setShardIndex()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 882 int shardIndex = 5; in testInvoke_strictShardableTest_withShardIndex() local 888 mStubConfiguration.getCommandOptions().setShardIndex(shardIndex); in testInvoke_strictShardableTest_withShardIndex() 896 EasyMock.expect(test.getTestShard(shardCount, shardIndex)).andReturn(testShard); in testInvoke_strictShardableTest_withShardIndex() 914 int shardIndex = 0; in testInvoke_nonStrictShardableTest_withShardIndexZero() local 919 mStubConfiguration.getCommandOptions().setShardIndex(shardIndex); in testInvoke_nonStrictShardableTest_withShardIndexZero() 972 int shardIndex = 1; in testInvoke_nonStrictShardableTest_withShardIndexNonZero() local 981 mStubConfiguration.getCommandOptions().setShardIndex(shardIndex); in testInvoke_nonStrictShardableTest_withShardIndexNonZero()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteIntegrationTest.java | 649 private void helperTestShardIndex(int shardCount, int shardIndex) throws Exception { in helperTestShardIndex() argument 668 config.getCommandOptions().setShardIndex(shardIndex); in helperTestShardIndex()
|