Lines Matching refs:name

145     private String renamedFileName(String name) {  in renamedFileName()  argument
146 return mFilePrefix + name; in renamedFileName()
150 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
152 final String internalName = renamedFileName(name); in openOrCreateDatabase()
153 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
154 mDatabaseNames.add(name); in openOrCreateDatabase()
161 public SQLiteDatabase openOrCreateDatabase(String name, in openOrCreateDatabase() argument
163 final String internalName = renamedFileName(name); in openOrCreateDatabase()
164 if (!mDatabaseNames.contains(name)) { in openOrCreateDatabase()
165 mDatabaseNames.add(name); in openOrCreateDatabase()
172 public boolean deleteDatabase(String name) { in deleteDatabase() argument
173 if (mDatabaseNames.contains(name)) { in deleteDatabase()
174 mDatabaseNames.remove(name); in deleteDatabase()
175 return mFileContext.deleteDatabase(renamedFileName(name)); in deleteDatabase()
182 public File getDatabasePath(String name) { in getDatabasePath() argument
183 return mFileContext.getDatabasePath(renamedFileName(name)); in getDatabasePath()
192 public FileInputStream openFileInput(String name) in openFileInput() argument
194 final String internalName = renamedFileName(name); in openFileInput()
195 if (mFileNames.contains(name)) { in openFileInput()
203 public FileOutputStream openFileOutput(String name, int mode) in openFileOutput() argument
205 mFileNames.add(name); in openFileOutput()
206 return mFileContext.openFileOutput(renamedFileName(name), mode); in openFileOutput()
210 public File getFileStreamPath(String name) { in getFileStreamPath() argument
211 return mFileContext.getFileStreamPath(renamedFileName(name)); in getFileStreamPath()
215 public boolean deleteFile(String name) { in deleteFile() argument
216 if (mFileNames.contains(name)) { in deleteFile()
217 mFileNames.remove(name); in deleteFile()
218 return mFileContext.deleteFile(renamedFileName(name)); in deleteFile()