Home
last modified time | relevance | path

Searched refs:localFile (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java49 public final File localFile; field in BaseInstallMultiple.DeviceFile
54 private DeviceFile(File localFile, File remoteFile, boolean addToInstallSession, in DeviceFile() argument
56 this.localFile = localFile; in DeviceFile()
66 static DeviceFile renameAndAddToSession(File localFile, File remoteFile) { in renameAndAddToSession() argument
67 return new DeviceFile(localFile, remoteFile, true, true); in renameAndAddToSession()
74 static DeviceFile renameAndPushOnly(File localFile, File remoteFile) { in renameAndPushOnly() argument
75 return new DeviceFile(localFile, remoteFile, false, true); in renameAndPushOnly()
127 T renameAndAddFile(String localFile, String remoteFile) throws FileNotFoundException { in renameAndAddFile() argument
129 mFilesToAdd.add(DeviceFile.renameAndAddToSession(buildHelper.getTestFile(localFile, mAbi), in renameAndAddFile()
140 T renameAndPushFile(String localFile, String remoteFile) throws FileNotFoundException { in renameAndPushFile() argument
[all …]
DPkgInstallSignatureVerificationTest.java2033 private String pushFileToRemote(File localFile) throws DeviceNotAvailableException { in pushFileToRemote() argument
2034 String remotePath = "/data/local/tmp/pkginstalltest-" + localFile.getName(); in pushFileToRemote()
2035 getDevice().pushFile(localFile, remotePath); in pushFileToRemote()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java288 File localFile; in testPlayContentUri() local
292 localFile = new File(externalFilesDir, "test_files/" + testFile); in testPlayContentUri()
293 localFile.mkdirs(); in testPlayContentUri()
296 localFile.toPath(), in testPlayContentUri()
303 mContext, /* authority= */ "com.android.media.player.cts.provider", localFile); in testPlayContentUri()
317 localFile.delete(); in testPlayContentUri()