Home
last modified time | relevance | path

Searched refs:extraArgs (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileWatcher.java47 public void notifyFileChanged(File cmdFile, List<String> extraArgs); in notifyFileChanged() argument
56 public final List<String> extraArgs; field in CommandFileWatcher.CommandFile
70 this.extraArgs = Collections.emptyList(); in CommandFile()
86 public CommandFile(File cmdFile, List<String> extraArgs, List<File> dependencies) { in CommandFile() argument
92 if (extraArgs == null) { in CommandFile()
93 this.extraArgs = Collections.emptyList(); in CommandFile()
95 this.extraArgs = extraArgs; in CommandFile()
131 void addCmdFile(File cmdFile, List<String> extraArgs, List<File> dependencies) { in addCmdFile() argument
132 CommandFile f = new CommandFile(cmdFile, extraArgs, dependencies); in addCmdFile()
174 mListener.notifyFileChanged(cmd.file, cmd.extraArgs); in checkForUpdates()
[all …]
DICommandScheduler.java87 public void addCommandFile(String cmdFile, List<String> extraArgs) in addCommandFile() argument
DConsole.java389 void runCmdfile(String cmdfileName, List<String> extraArgs) { in runCmdfile() argument
391 mScheduler.addCommandFile(cmdfileName, extraArgs); in runCmdfile()
716 List<String> extraArgs = flatArgs.subList(1, flatArgs.size()); in addDefaultCommands()
718 extraArgs.toString())); in addDefaultCommands()
719 runCmdfile(file, extraArgs); in addDefaultCommands()
/tools/tradefederation/core/src/com/android/tradefed/device/
DStubDevice.java228 public void installPackage(String packageFilePath, boolean reinstall, String... extraArgs) in installPackage() argument
239 String... extraArgs) in installPackage() argument
253 String... extraArgs) in installPackage() argument
262 public void installPackages(List<File> apkFilePaths, boolean reinstall, List<String> extraArgs, in installPackages() argument
272 String... extraArgs) throws InstallException { in installRemotePackage() argument
279 String remoteFilePath, boolean reinstall, InstallReceiver receiver, String... extraArgs) in installRemotePackage() argument
293 String... extraArgs) in installRemotePackage() argument
DITestDevice.java100 public String installPackage(File packageFile, boolean reinstall, String... extraArgs) in installPackage() argument
119 String... extraArgs) throws DeviceNotAvailableException; in installPackage() argument
134 String... extraArgs) throws DeviceNotAvailableException; in installPackageForUser() argument
153 boolean grantPermissions, int userId, String... extraArgs) in installPackageForUser() argument
DTestDevice.java126 final File packageFile, final boolean reinstall, final List<String> extraArgs) in internalInstallPackage() argument
144 extraArgs.toArray(new String[] {})); in internalInstallPackage()
180 final String... extraArgs) throws DeviceNotAvailableException { in installPackage() argument
182 List<String> args = new ArrayList<>(Arrays.asList(extraArgs)); in installPackage()
195 String... extraArgs) throws DeviceNotAvailableException { in installPackage() argument
197 List<String> args = new ArrayList<>(Arrays.asList(extraArgs)); in installPackage()
209 String... extraArgs) throws DeviceNotAvailableException { in installPackageForUser() argument
211 List<String> args = new ArrayList<>(Arrays.asList(extraArgs)); in installPackageForUser()
226 boolean grantPermissions, int userId, String... extraArgs) in installPackageForUser() argument
229 List<String> args = new ArrayList<>(Arrays.asList(extraArgs)); in installPackageForUser()
[all …]
DNativeDevice.java848 final String... extraArgs) throws DeviceNotAvailableException { in installPackage() argument
857 String... extraArgs) throws DeviceNotAvailableException { in installPackage() argument
866 String... extraArgs) throws DeviceNotAvailableException { in installPackageForUser() argument
875 boolean grantPermissions, int userId, String... extraArgs) in installPackageForUser() argument
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DAddCommandFileOp.java35 AddCommandFileOp(String commandFile, List<String> extraArgs) { in AddCommandFileOp() argument
37 mExtraArgs = extraArgs; in AddCommandFileOp()
DIRemoteClient.java72 void sendAddCommandFile(String commandFile, List<String> extraArgs) throws RemoteException; in sendAddCommandFile() argument
DRemoteClient.java164 public void sendAddCommandFile(String commandFile, List<String> extraArgs) in sendAddCommandFile() argument
166 sendOperation(new AddCommandFileOp(commandFile, extraArgs)); in sendAddCommandFile()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerOTATestUtils.java242 public void installFile(final File localFile, final boolean replace, String... extraArgs) in installFile() argument
244 String result = mDevice.installPackage(localFile, replace, extraArgs); in installFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java115 List<String> extraArgs = Arrays.asList("foo", "bar"); in testAddCommandFile() local
116 mMockScheduler.addCommandFile(EasyMock.eq(cmdFile), EasyMock.eq(extraArgs)); in testAddCommandFile()
124 mRemoteClient.sendAddCommandFile(cmdFile, extraArgs); in testAddCommandFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java591 List<String> extraArgs = Arrays.asList("--bar"); in testAddCommandFile() local
605 mScheduler.addCommandFile("mycmd.txt", extraArgs); in testAddCommandFile()
621 List<String> extraArgs = Arrays.asList("--bar"); in testAddCommandFile_reload() local
651 mScheduler.addCommandFile("mycmd.txt", extraArgs); in testAddCommandFile_reload()
660 mScheduler.notifyFileChanged(new File("mycmd.txt"), extraArgs); in testAddCommandFile_reload()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java3637 File packageFile, boolean reinstall, String... extraArgs) in testPostInvocationWifiTearDown()