Searched refs:localFile (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | BaseInstallMultiple.java | 49 public final File localFile; field in BaseInstallMultiple.DeviceFile 53 private DeviceFile(File localFile, File remoteFile, boolean addToInstallSession) { in DeviceFile() argument 54 this.localFile = localFile; in DeviceFile() 63 static DeviceFile renameAndAddToSession(File localFile, File remoteFile) { in renameAndAddToSession() argument 64 return new DeviceFile(localFile, remoteFile, true); in renameAndAddToSession() 71 static DeviceFile renameAndPushOnly(File localFile, File remoteFile) { in renameAndPushOnly() argument 72 return new DeviceFile(localFile, remoteFile, false); in renameAndPushOnly() 107 T renameAndAddFile(String localFile, String remoteFile) throws FileNotFoundException { in renameAndAddFile() argument 109 mFilesToAdd.add(DeviceFile.renameAndAddToSession(buildHelper.getTestFile(localFile, mAbi), in renameAndAddFile() 120 T renameAndPushFile(String localFile, String remoteFile) throws FileNotFoundException { in renameAndPushFile() argument [all …]
|
D | PkgInstallSignatureVerificationTest.java | 1578 private String pushFileToRemote(File localFile) throws DeviceNotAvailableException { in pushFileToRemote() argument 1579 String remotePath = "/data/local/tmp/pkginstalltest-" + localFile.getName(); in pushFileToRemote() 1580 getDevice().pushFile(localFile, remotePath); in pushFileToRemote()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | PocPusher.java | 137 File localFile = buildHelper.getTestFile(testFile); in pushFile() local 138 device.pushFile(localFile, remoteFile); in pushFile()
|
/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/ |
D | TzDataCheckTest.java | 943 File localFile = mTestRootDir.createSubPath("temp.file").hostFile(); in assertDeviceDirContainsDistro() local 947 assertTrue("Could not pull file " + remoteVersionFile + " to " + localFile, in assertDeviceDirContainsDistro() 948 getDevice().pullFile(remoteVersionFile, localFile)); in assertDeviceDirContainsDistro() 950 byte[] bytes = Files.readAllBytes(localFile.toPath()); in assertDeviceDirContainsDistro() 954 localFile.delete(); in assertDeviceDirContainsDistro()
|