Searched refs:cmdFile (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileWatcher.java | 47 public void notifyFileChanged(File cmdFile, List<String> extraArgs); in notifyFileChanged() argument 64 public CommandFile(File cmdFile) { in CommandFile() argument 65 if (cmdFile == null) { in CommandFile() 69 this.file = cmdFile; in CommandFile() 70 this.modTime = cmdFile.lastModified(); in CommandFile() 88 public CommandFile(File cmdFile, List<String> extraArgs, List<File> dependencies) { in CommandFile() argument 89 if (cmdFile == null) { in CommandFile() 93 this.file = cmdFile; in CommandFile() 94 this.modTime = cmdFile.lastModified(); in CommandFile() 135 void addCmdFile(File cmdFile, List<String> extraArgs, List<File> dependencies) { in addCmdFile() argument [all …]
|
D | CommandScheduler.java | 1619 File cmdFile = new File(cmdFilePath); in addCommandFile() local 1620 if (mReloadCmdfiles && getCommandFileWatcher().isFileWatched(cmdFile)) { in addCommandFile() 1625 removeCommandsFromFile(cmdFile); in addCommandFile() 1627 internalAddCommandFile(cmdFile, extraArgs); in addCommandFile() 1631 private void internalAddCommandFile(File cmdFile, List<String> extraArgs) in internalAddCommandFile() argument 1636 List<CommandLine> commands = parser.parseFile(cmdFile); in internalAddCommandFile() 1640 getCommandFileWatcher().addCmdFile(cmdFile, extraArgs, parser.getIncludedFiles()); in internalAddCommandFile() 1649 internalAddCommand(arrayCommand, cmdFile.getAbsolutePath()); in internalAddCommandFile() 1660 "Failed to read file " + cmdFile.getAbsolutePath(), in internalAddCommandFile() 2185 private synchronized void removeCommandsFromFile(File cmdFile) { in removeCommandsFromFile() argument [all …]
|
D | ICommandScheduler.java | 101 public void addCommandFile(String cmdFile, List<String> extraArgs) in addCommandFile() argument
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | CommandFileWatcherTest.java | 56 final File cmdFile = new ModFile("/a/path/too/far", 1, 2); in testImmediateChange() local 57 mWatcher.addCmdFile(cmdFile, EMPTY_ARGS, EMPTY_DEPENDENCIES); in testImmediateChange() 61 verify(mMockListener).notifyFileChanged(cmdFile, EMPTY_ARGS); in testImmediateChange() 67 final File cmdFile = new ModFile("/a/path/too/far", 1, 1, 1); in testNoChange() local 68 mWatcher.addCmdFile(cmdFile, EMPTY_ARGS, EMPTY_DEPENDENCIES); in testNoChange()
|
D | CommandSchedulerTest.java | 580 public List<CommandLine> parseFile(File cmdFile) { in testAddCommandFile() 620 public List<CommandLine> parseFile(File cmdFile) { in testAddCommandFile_reload() 665 public List<CommandLine> parseFile(File cmdFile) { in testAddCommandFile_twice()
|