Searched refs:DumpCmd (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactory.java | 21 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd; 93 public IConfiguration createConfigurationFromArgs(String[] arrayArgs, DumpCmd command) in createConfigurationFromArgs() 126 DumpCmd.NON_VERSIONED_CONFIG, in createConfigurationFromArgs() 192 private DumpCmd mCommand; 194 RunSandboxConfigurationFactory(DumpCmd command) { in RunSandboxConfigurationFactory() 205 if (mCommand.equals(DumpCmd.RUN_CONFIG) || mCommand.equals(DumpCmd.TEST_MODE)) { in createConfigurationDef() 222 if (mCommand.equals(DumpCmd.RUN_CONFIG) || mCommand.equals(DumpCmd.TEST_MODE)) { in createConfigurationDef()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxConfigDump.java | 48 public enum DumpCmd { enum in SandboxConfigDump 80 DumpCmd cmd = DumpCmd.valueOf(argList.remove(0)); in parse() 87 if (DumpCmd.RUN_CONFIG.equals(cmd) || DumpCmd.TEST_MODE.equals(cmd)) { in parse() 114 if (DumpCmd.TEST_MODE.equals(cmd)) { in parse() 122 if (DumpCmd.NON_VERSIONED_CONFIG.equals(cmd)) { in parse()
|
D | SandboxConfigUtil.java | 22 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd; 57 String classpath, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion() 120 File rootDir, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion()
|
D | TradefedSandbox.java | 38 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd; 314 DumpCmd mode = DumpCmd.RUN_CONFIG; in prepareConfiguration() 316 mode = DumpCmd.TEST_MODE; in prepareConfiguration()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | SandboxConfigDumpTest.java | 22 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd; 57 new String[] {DumpCmd.FULL_XML.toString(), mOutputFile.getAbsolutePath(), "empty"}; in testParseCommandLine() 77 DumpCmd.NON_VERSIONED_CONFIG.toString(), mOutputFile.getAbsolutePath(), "empty" in testParseCommandLine_filtered() 98 DumpCmd.RUN_CONFIG.toString(), mOutputFile.getAbsolutePath(), "empty" in testParseCommandLine_run()
|
D | SandboxConfigUtilTest.java | 24 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); in testDumpVersion_badClasspath()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactoryTest.java | 27 import com.android.tradefed.sandbox.SandboxConfigDump.DumpCmd; 83 eq(DumpCmd.NON_VERSIONED_CONFIG.toString()), in expectDumpCmd() 170 IConfiguration config = mFactory.createConfigurationFromArgs(args, DumpCmd.RUN_CONFIG); in testCreateConfiguration_runConfig()
|