Searched refs:createFile (Results 1 – 7 of 7) sorted by relevance
55 createFile(fileSize); in onCreate()66 private void createFile(int size) throws IOException { in createFile() method in MainActivity
133 createFile(Environment.getExternalStoragePublicDirectory( in testAddCompletedDownload_publicDirs()135 createFile(Environment.getExternalStoragePublicDirectory( in testAddCompletedDownload_publicDirs()
145 public static void createFile(File file, int numBytes) throws IOException { in createFile() method in FileUtils
501 File file = createFile(filename); in dumpBitmap()509 private static File createFile(String filename) throws IOException { in createFile() method in PreferenceActivityFlowTest
527 final File file = createFile(mContext.getExternalFilesDir(null), "colors.txt"); in testAddCompletedDownload()547 final String path = createFile(Environment.getExternalStoragePublicDirectory( in testAddCompletedDownload_downloadDir()574 File file = createFile(mContext.getFilesDir(), "colors.txt"); in testAddCompletedDownload_invalidPaths()
286 protected static File createFile(File baseDir, String fileName) { in createFile() method in DownloadManagerTestBase
1399 private static File createFile(@NonNull File dir, @NonNull String filename) throws IOException { in createFile() method in Helper1415 final File file = createFile(dir, filename); in dumpBitmap()1442 return createFile(dir, filename); in createTestFile()