Home
last modified time | relevance | path

Searched refs:tempFileDir (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java117 File tempFileDir = getEmbmsTempFileDir(context); in getUriForFile() local
118 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() local
160 tempFileDir = getEmbmsTempFileDir(context).getCanonicalFile(); in getFileForUri()
161 file = new File(tempFileDir, relPath).getCanonicalFile(); in getFileForUri()
166 if (!file.getPath().startsWith(tempFileDir.getPath())) { in getFileForUri()
DMbmsDownloadReceiver.java344 File tempFileDir = MbmsUtils.getEmbmsTempFileDirForService(context, serviceId); in generateFreshTempFiles() local
345 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() argument
375 File tempFile = new File(tempFileDir, fileName); in generateSingleTempFile()
418 File tempFileDir = MbmsUtils.getEmbmsTempFileDirForService(context, serviceId); in cleanupTempFiles() local
421 File[] filesToDelete = tempFileDir.listFiles(new FileFilter() { in cleanupTempFiles()