Searched refs:IModuleDef (Results 1 – 13 of 13) sorted by relevance
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
D | LinearPartition.java | 18 import com.android.compatibility.common.tradefed.testtype.IModuleDef; 37 public static List<List<IModuleDef>> split(List<IModuleDef> seq, int k) { in split() 38 ArrayList<List<IModuleDef>> result = new ArrayList<>(); in split() 41 ArrayList<IModuleDef> partition = new ArrayList<>(); in split() 50 for (IModuleDef value : seq) { in split() 51 ArrayList<IModuleDef> partition = new ArrayList<>(); in split() 62 ArrayList<IModuleDef> partition = new ArrayList<>(); in split() 73 ArrayList<IModuleDef> partition = new ArrayList<>(); in split() 87 private static int[][] buildPartitionTable(List<IModuleDef> seq, int k) { in buildPartitionTable()
|
D | UniqueModuleCountUtil.java | 18 import com.android.compatibility.common.tradefed.testtype.IModuleDef; 35 public static int countUniqueModules(List<IModuleDef> listModules) { in countUniqueModules() 37 for (IModuleDef subModule : listModules) { in countUniqueModules()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepo.java | 74 private Set<IModuleDef> mTokenModuleScheduled; 91 private List<IModuleDef> mTokenModules = new ArrayList<>(); 92 private List<IModuleDef> mNonTokenModules = new ArrayList<>(); 133 public List<IModuleDef> getNonTokenModules() { in getNonTokenModules() 141 public List<IModuleDef> getTokenModules() { in getTokenModules() 151 for (IModuleDef moduleDef : mNonTokenModules) { in getModuleIds() 154 for (IModuleDef moduleDef : mTokenModules) { in getModuleIds() 352 protected void addModuleDef(IModuleDef moduleDef) { in addModuleDef() 510 public LinkedList<IModuleDef> getModules(String serial, int shardIndex) { in getModules() 512 List<IModuleDef> modules = getShard(mNonTokenModules, shardIndex, mTotalShards); in getModules() [all …]
|
D | IModuleRepo.java | 54 LinkedList<IModuleDef> getModules(String serial, int shardIndex); in getModules() 64 List<IModuleDef> getNonTokenModules(); in getNonTokenModules() 69 List<IModuleDef> getTokenModules(); in getTokenModules()
|
D | IModuleDef.java | 39 public interface IModuleDef interface 40 extends Comparable<IModuleDef>,
|
D | CompatibilityTest.java | 375 LinkedList<IModuleDef> modules = initializeModuleRepo(); in run() 418 IModuleDef module = modules.get(i); in run() 458 IModuleDef module = modules.poll(); in run() 478 moduleContext.addInvocationAttribute(IModuleDef.MODULE_NAME, module.getName()); in run() 479 moduleContext.addInvocationAttribute(IModuleDef.MODULE_ABI, in run() 483 IModuleDef.MODULE_ID, in run() 542 protected LinkedList<IModuleDef> initializeModuleRepo() in initializeModuleRepo()
|
D | ModuleDef.java | 63 public class ModuleDef implements IModuleDef { 220 public int compareTo(IModuleDef moduleDef) { in compareTo()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepoTest.java | 202 List<IModuleDef> tokenModules = mRepo.getTokenModules(); in testInitialization() 223 List<IModuleDef> shard1 = mRepo.getModules(SERIAL1, 0); in testGetModulesSharded() 227 List<IModuleDef> shard2 = mRepo.getModules(SERIAL2, 1); in testGetModulesSharded() 245 List<IModuleDef> modules = mRepo.getModules(SERIAL1, 0); in testGetModules_onlyTokenModules() 267 List<IModuleDef> modules1 = mRepo.getModules(SERIAL1, 0); in testGetModules_TokenModules_multiDevices() 273 List<IModuleDef> modules2 = mRepo.getModules(SERIAL2, 1); in testGetModules_TokenModules_multiDevices() 291 List<IModuleDef> shard1 = mRepo.getModules(SERIAL1, 0); in testGetModulesSharded_uneven() 295 List<IModuleDef> shard2 = mRepo.getModules(SERIAL2, 1); in testGetModulesSharded_uneven() 299 List<IModuleDef> shard3 = mRepo.getModules(SERIAL3, 2); in testGetModulesSharded_uneven() 304 List<IModuleDef> shard4 = mRepo.getModules(SERIAL2, 3); in testGetModulesSharded_uneven() [all …]
|
D | ModuleDefTest.java | 52 IModuleDef def = new ModuleDef(NAME, abi, mockTest, new ArrayList<ITargetPreparer>(), in testAccessors() 62 IModuleDef def = new ModuleDef(NAME, abi, mockTest, in testModuleFinisher()
|
D | CompatibilityTestTest.java | 288 public LinkedList<IModuleDef> getModules(String serial, int shardIndex) { in testRun_noModules() 289 return new LinkedList<IModuleDef>(); in testRun_noModules()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | UniqueModuleCountUtilTest.java | 20 import com.android.compatibility.common.tradefed.testtype.IModuleDef; 39 List<IModuleDef> emptyList = new ArrayList<>(); in testCountEmptyList() 45 List<IModuleDef> list = new ArrayList<>(); in testCount_2uniquesModules() 55 List<IModuleDef> list = new ArrayList<>(); in testCount_2subModules() 65 List<IModuleDef> list = new ArrayList<>(); in testCount_mix()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ModuleListener.java | 18 import com.android.compatibility.common.tradefed.testtype.IModuleDef; 39 private IModuleDef mModule; 46 public ModuleListener(IModuleDef module, ITestInvocationListener listener) { in ModuleListener()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 23 import com.android.compatibility.common.tradefed.testtype.IModuleDef; 254 .getAttributes().get(IModuleDef.MODULE_NAME)); in testSingleModuleRun_checkMetadata() 256 .getAttributes().get(IModuleDef.MODULE_ABI)); in testSingleModuleRun_checkMetadata() 264 .getAttributes().get(IModuleDef.MODULE_NAME)); in testSingleModuleRun_checkMetadata() 266 .getAttributes().get(IModuleDef.MODULE_ABI)); in testSingleModuleRun_checkMetadata()
|