Searched refs:FileUtil (Results 1 – 10 of 10) sorted by relevance
23 import com.android.tradefed.util.FileUtil;39 String configStr = FileUtil.readStringFromFile(configFile); in getConfig()
27 import com.android.messaging.util.FileUtil;112 if (FileUtil.isInPrivateDir(documentUri)) { in prepareDocumentForAttachment()
22 import com.android.camera.util.FileUtil;134 if (!FileUtil.deleteDirectoryRecursively(sessionDir)) { in cleanUpExpiredSessions()
30 import com.android.camera.util.FileUtil;361 jpegDataTemp = FileUtil.readFileToByteArray(mTempOutputFile.getFile()); in finish()414 jpegDataTemp = FileUtil.readFileToByteArray(path); in updatePreview()
35 public class FileUtil { class132 return FileUtil.isSameOrSubDirectory(Environment.getDataDirectory(), file); in isInPrivateDir()
249 final Uri targetUri = Uri.fromFile(FileUtil.getNewFile(outputDir, contentType)); in persistContent()
26 import com.android.tradefed.util.FileUtil;153 File tmpFile = FileUtil.createTempFile("test", ".txt"); in testMicrodroidBoots()
26 import com.android.tradefed.util.FileUtil;132 FileUtil.recursiveDelete(mTempDir); in deleteTempDir()
39 import com.android.messaging.util.FileUtil;243 if (FileUtil.isInPrivateDir(uri)) { in addSharedPartToDraft()
26 public class FileUtil { class