Searched refs:tempFileDir (Results 1 – 2 of 2) sorted by relevance
117 File tempFileDir = getEmbmsTempFileDir(context); in getUriForFile() local118 if (!MbmsUtils.isContainedIn(tempFileDir, file)) { in getUriForFile()120 "file directory, which is " + tempFileDir); in getUriForFile()126 tempFileDirPath = tempFileDir.getCanonicalPath(); in getUriForFile()129 "Could not get canonical path for temp file root dir " + tempFileDir); in getUriForFile()157 File tempFileDir; in getFileForUri() local160 tempFileDir = getEmbmsTempFileDir(context).getCanonicalFile(); in getFileForUri()161 file = new File(tempFileDir, relPath).getCanonicalFile(); in getFileForUri()166 if (!file.getPath().startsWith(tempFileDir.getPath())) { in getFileForUri()
344 File tempFileDir = MbmsUtils.getEmbmsTempFileDirForService(context, serviceId); in generateFreshTempFiles() local345 if (!tempFileDir.exists()) { in generateFreshTempFiles()346 tempFileDir.mkdirs(); in generateFreshTempFiles()353 File tempFile = generateSingleTempFile(tempFileDir); in generateFreshTempFiles()370 private static File generateSingleTempFile(File tempFileDir) { in generateSingleTempFile() argument375 File tempFile = new File(tempFileDir, fileName); in generateSingleTempFile()418 File tempFileDir = MbmsUtils.getEmbmsTempFileDirForService(context, serviceId); in cleanupTempFiles() local421 File[] filesToDelete = tempFileDir.listFiles(new FileFilter() { in cleanupTempFiles()