Home
last modified time | relevance | path

Searched refs:remotePath (Results 1 – 12 of 12) sorted by relevance

/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java119 final String remotePath = "/data/local/tmp/" + name; in run() local
120 if (!device.pushFile(file, remotePath)) { in run()
128 cmd.append(' ').append(remotePath); in run()
150 final String remotePath = "/data/local/tmp/" + name; in run() local
153 cmd.append(' ').append(remotePath); in run()
/cts/hostsidetests/media/src/android/media/cts/
DMediaExtractorHostSideTest.java124 String remotePath = "/data/local/tmp/" + configFile.getName(); in uploadConfig() local
126 getDevice().deleteFile(remotePath); in uploadConfig()
127 assertThat(getDevice().pushFile(configFile, remotePath)).isTrue(); in uploadConfig()
130 "cat " + remotePath + " | cmd stats config update " + CONFIG_ID); in uploadConfig()
131 getDevice().deleteFile(remotePath); in uploadConfig()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java290 final String remotePath = "/data/local/tmp/" + remoteName; in runNonIncrementalForResult() local
291 if (manageRemoteFile && !device.pushFile(localFile, remotePath)) { in runNonIncrementalForResult()
303 cmd.append(' ').append(remotePath); in runNonIncrementalForResult()
367 final String remotePath = "/data/local/tmp/" + remoteName; in runIncrementalForResult() local
368 if (manageRemoteFile && !device.pushFile(localFile, remotePath)) { in runIncrementalForResult()
376 cmd.append(' ').append(remotePath); in runIncrementalForResult()
405 final String remotePath = "/data/local/tmp/" + remoteName; in cleanupDeviceFiles() local
406 device.deleteFile(remotePath); in cleanupDeviceFiles()
DPkgInstallSignatureVerificationTest.java2032 String remotePath = "/data/local/tmp/pkginstalltest-" + localFile.getName(); in pushFileToRemote() local
2033 getDevice().pushFile(localFile, remotePath); in pushFileToRemote()
2034 return remotePath; in pushFileToRemote()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DAtomMetricTester.java88 String remotePath = "/data/local/tmp/" + configFile.getName(); in uploadConfig() local
89 mDevice.pushFile(configFile, remotePath); in uploadConfig()
90 mDevice.executeShellCommand(String.format(UPDATE_CONFIG_CMD, remotePath, CONFIG_ID)); in uploadConfig()
91 mDevice.executeShellCommand("rm " + remotePath); in uploadConfig()
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/
DMediaParserHostSideTest.java255 String remotePath = "/data/local/tmp/" + configFile.getName(); in uploadConfig() local
257 getDevice().deleteFile(remotePath); in uploadConfig()
258 assertThat(getDevice().pushFile(configFile, remotePath)).isTrue(); in uploadConfig()
261 "cat " + remotePath + " | cmd stats config update " + CONFIG_ID); in uploadConfig()
262 getDevice().deleteFile(remotePath); in uploadConfig()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java156 final String remotePath = "/data/local/tmp/" + i + "_" + apk.getName(); in run() local
157 if (!device.pushFile(apk, remotePath)) { in run()
165 cmd.append(' ').append(remotePath); in run()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java156 final String remotePath = "/data/local/tmp/" + i + "_" + apk.getName(); in run() local
157 if (!device.pushFile(apk, remotePath)) { in run()
165 cmd.append(' ').append(remotePath); in run()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java277 String remotePath = "/data/local/tmp/" + configFile.getName(); in uploadConfig() local
278 device.pushFile(configFile, remotePath); in uploadConfig()
282 String.join(" ", "cat", remotePath, "|", UPDATE_CONFIG_CMD, SHELL_UID_STRING, in uploadConfig()
286 device.executeShellCommand("rm " + remotePath); in uploadConfig()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java279 String remotePath = "/data/local/tmp/" + configFile.getName(); in createAndUploadStatsdConfig() local
280 device.pushFile(configFile, remotePath); in createAndUploadStatsdConfig()
281 device.executeShellCommand(String.format(UPDATE_CONFIG_CMD, remotePath, configId)); in createAndUploadStatsdConfig()
282 device.executeShellCommand("rm " + remotePath); in createAndUploadStatsdConfig()
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/
DStrictJavaPackagesTest.java1115 private static void compareBinary(String localPath, String remotePath) { in compareBinary() argument
1118 byte[] remoteBytes = Files.readAllBytes(Path.of(remotePath)); in compareBinary()
1120 CLog.d(LOG_TAG + ": length mismatch between local and remote " + remotePath); in compareBinary()
1124 CLog.d(LOG_TAG + ": comparing " + localBytes.length + " bytes from " + remotePath); in compareBinary()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DUtils.java214 public void pushFromResource(String resource, String remotePath) throws Exception { in pushFromResource() argument
217 assertThat(mTestInfo.getDevice().pushFile(tempFile, remotePath)).isTrue(); in pushFromResource()