Home
last modified time | relevance | path

Searched refs:DumpCmd (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DSandboxConfigurationFactory.java21 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd;
93 public IConfiguration createConfigurationFromArgs(String[] arrayArgs, DumpCmd command) in createConfigurationFromArgs()
148 DumpCmd.NON_VERSIONED_CONFIG, in createConfigurationFromArgs()
216 private DumpCmd mCommand;
218 RunSandboxConfigurationFactory(DumpCmd command) { in RunSandboxConfigurationFactory()
229 if (mCommand.equals(DumpCmd.RUN_CONFIG) || mCommand.equals(DumpCmd.TEST_MODE)) { in createConfigurationDef()
246 if (mCommand.equals(DumpCmd.RUN_CONFIG) || mCommand.equals(DumpCmd.TEST_MODE)) { in createConfigurationDef()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java56 public enum DumpCmd { enum in SandboxConfigDump
111 DumpCmd cmd = DumpCmd.valueOf(argList.remove(0)); in parse()
116 if (DumpCmd.RUN_CONFIG.equals(cmd) in parse()
126 if (DumpCmd.RUN_CONFIG.equals(cmd) || DumpCmd.TEST_MODE.equals(cmd)) { in parse()
167 if (DumpCmd.TEST_MODE.equals(cmd)) { in parse()
175 if (DumpCmd.NON_VERSIONED_CONFIG.equals(cmd)) { in parse()
182 } else if (DumpCmd.STRICT_TEST.equals(cmd)) { in parse()
DSandboxConfigUtil.java26 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd;
50 String classpath, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion()
72 DumpCmd dump, in dumpConfigForVersion()
160 File rootDir, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion()
DTradefedSandbox.java51 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd;
469 DumpCmd mode = DumpCmd.RUN_CONFIG; in prepareConfiguration()
471 mode = DumpCmd.TEST_MODE; in prepareConfiguration()
663 DumpCmd.STRICT_TEST, in extractTestTemplate()
/tools/tradefederation/core/javatests/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java24 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd;
74 DumpCmd.FULL_XML, in testDumpVersion()
94 mTmpRootDir, mMockRunUtil, new String[] {"empty"}, DumpCmd.FULL_XML, null); in testDumpVersion_failed()
107 "", mMockRunUtil, new String[] {"empty"}, DumpCmd.FULL_XML, null, true); in testDumpVersion_badClasspath()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java29 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd;
87 Mockito.eq(DumpCmd.NON_VERSIONED_CONFIG.toString()), in expectDumpCmd()
176 IConfiguration config = mFactory.createConfigurationFromArgs(args, DumpCmd.RUN_CONFIG); in testCreateConfiguration_runConfig()