Lines Matching refs:fileName
108 String fileName = getIntent().getStringExtra(FILE_NAME); in onResume() local
116 if (TextUtils.isEmpty(fileName) || in onResume()
117 isFileExists(fileName) || in onResume()
133 createFileWithRandomDataAndFinishActivity(fileName, mFileStorage, in onResume()
146 String fileName = fileNameEditText.getText().toString(); in onCreateFileButtonClick() local
149 if (TextUtils.isEmpty(fileName) || isFileExists(fileName)) { in onCreateFileButtonClick()
174 createFileWithRandomDataAndFinishActivity(fileName, mFileStorage, String.valueOf(fileSize)); in onCreateFileButtonClick()
222 private void createFileWithRandomDataAndFinishActivity(String fileName, FileStorage storage, in createFileWithRandomDataAndFinishActivity() argument
231 file = getInternalFile(fileName); in createFileWithRandomDataAndFinishActivity()
238 file = new File(externalAppDir, fileName); in createFileWithRandomDataAndFinishActivity()
242 file = new File(getNoBackupFilesDir(), fileName); in createFileWithRandomDataAndFinishActivity()
288 private boolean isFileExists(String fileName) { in isFileExists() argument
289 File file = getInternalFile(fileName); in isFileExists()
332 private File getInternalFile(String fileName) { in getInternalFile() argument
334 return new File(internalAppDir, fileName); in getInternalFile()