Searched refs:mBaseName (Results 1 – 4 of 4) sorted by relevance
46 private final File mBaseName; field in AtomicFile54 mBaseName = baseName; in AtomicFile()63 return mBaseName; in getBaseFile()70 mBaseName.delete(); in delete()90 if (mBaseName.exists()) { in startWrite()92 if (!mBaseName.renameTo(mBackupName)) { in startWrite()93 Log.w("AtomicFile", "Couldn't rename file " + mBaseName in startWrite()97 mBaseName.delete(); in startWrite()102 str = new FileOutputStream(mBaseName); in startWrite()104 File parent = mBaseName.getParentFile(); in startWrite()[all …]
44 private final File mBaseName; field in AtomicFile48 mBaseName = baseName; in AtomicFile()53 return mBaseName; in getBaseFile()58 if (mBaseName.exists()) { in startWrite()60 if (!mBaseName.renameTo(mBackupName)) { in startWrite()61 Log.w("AtomicFile", "Couldn't rename file " + mBaseName in startWrite()65 mBaseName.delete(); in startWrite()70 str = new FileOutputStream(mBaseName); in startWrite()72 File parent = mBaseName.getParentFile(); in startWrite()74 throw new IOException("Couldn't create directory " + mBaseName); in startWrite()[all …]
44 private final File mBaseName; field in AtomicFile52 mBaseName = baseName; in AtomicFile()61 return mBaseName; in getBaseFile()68 mBaseName.delete(); in delete()88 if (mBaseName.exists()) { in startWrite()90 if (!mBaseName.renameTo(mBackupName)) { in startWrite()91 Log.w("AtomicFile", "Couldn't rename file " + mBaseName in startWrite()95 mBaseName.delete(); in startWrite()100 str = new FileOutputStream(mBaseName); in startWrite()102 File parent = mBaseName.getParentFile(); in startWrite()[all …]
88 inline const String8& getBaseName() const { return mBaseName; } in getBaseName()139 mBaseName = parseResourceName(leaf); in next()140 if (mBaseName == "") { in next()146 NOISY(printf("file name=%s\n", mBaseName.string())); in next()162 String8 mBaseName; member in ResourceDirIterator