Searched refs:file (Results 1 – 11 of 11) sorted by relevance
54 File file = new File(ContextCompat.getDataDir(ApplicationProvider.getApplicationContext()), in testSetDataDirectorySuffix() local58 deleteDirectory(file); in testSetDataDirectorySuffix()61 if (file.exists()) { in testSetDataDirectorySuffix()70 assertTrue(file.exists()); in testSetDataDirectorySuffix()111 for (File file : allContents) { in deleteDirectory()112 deleteDirectory(file); in deleteDirectory()
126 public static @NonNull InputStream openFile(@NonNull File file) throws FileNotFoundException, in openFile() argument128 FileInputStream fis = new FileInputStream(file); in openFile()129 return handleSvgzStream(file.getPath(), fis); in openFile()162 public static @NonNull String getCanonicalDirPath(@NonNull File file) throws IOException { in getCanonicalDirPath() argument163 String canonicalPath = file.getCanonicalPath(); in getCanonicalDirPath()
260 public static void writeToFile(@NonNull File file, @NonNull String content) in writeToFile() argument262 file.getParentFile().mkdirs(); in writeToFile()263 try (FileOutputStream fos = new FileOutputStream(file)) { in writeToFile()281 for (File file : files) { in recursivelyDeleteFile()282 recursivelyDeleteFile(file); in recursivelyDeleteFile()
5 * you may not use this file except in compliance with the License.18 * This file was created using the `create_project.py` script located in the
4 # you may not use this file except in compliance with the License.
361 File file = AssetHelper.getCanonicalFileIfChild(mDirectory, path); in handle() local362 if (file != null) { in handle()363 InputStream is = AssetHelper.openFile(file); in handle()
21 Add this to your `build.gradle` file:43 please [file a
2 * This file was created using the `create_project.py` script located in the