Searched refs:tempDirectory (Results 1 – 3 of 3) sorted by relevance
26 private static File tempDirectory = null; field in TempDirectory29 tempDirectory = context.getCacheDir(); in setTempDirectory()33 if (tempDirectory == null) { in getTempDirectory()38 return tempDirectory; in getTempDirectory()
86 File tempDirectory = null; in createTemporaryOutputPath() local88 tempDirectory = new File( in createTemporaryOutputPath()94 if (!tempDirectory.mkdirs()) { in createTemporaryOutputPath()97 File tempFile = new File(tempDirectory, title + ".jpg"); in createTemporaryOutputPath()
948 File tempDirectory; in onDownloadDataBtnClick() local950 tempDirectory = Files.createTempDirectory(mActivity.getFilesDir().toPath(), in onDownloadDataBtnClick()957 boolean status = runCommand(tempDirectory, "curl", "-O", "-L", in onDownloadDataBtnClick()959 Path filePath = Paths.get(tempDirectory.getAbsolutePath(), "yts_server.zip"); in onDownloadDataBtnClick()971 tempDirectory.delete(); in onDownloadDataBtnClick()