/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileWatcher.java | 47 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 …]
|
D | ICommandScheduler.java | 87 public void addCommandFile(String cmdFile, List<String> extraArgs) in addCommandFile() argument
|
D | Console.java | 389 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/ |
D | StubDevice.java | 228 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
|
D | ITestDevice.java | 100 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
|
D | TestDevice.java | 126 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 …]
|
D | NativeDevice.java | 848 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/ |
D | AddCommandFileOp.java | 35 AddCommandFileOp(String commandFile, List<String> extraArgs) { in AddCommandFileOp() argument 37 mExtraArgs = extraArgs; in AddCommandFileOp()
|
D | IRemoteClient.java | 72 void sendAddCommandFile(String commandFile, List<String> extraArgs) throws RemoteException; in sendAddCommandFile() argument
|
D | RemoteClient.java | 164 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/ |
D | PackageManagerOTATestUtils.java | 242 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/ |
D | RemoteManagerFuncTest.java | 115 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/ |
D | CommandSchedulerTest.java | 591 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/ |
D | TestDeviceTest.java | 3637 File packageFile, boolean reinstall, String... extraArgs) in testPostInvocationWifiTearDown()
|