Home
last modified time | relevance | path

Searched refs:mNewName (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/
DAtomicFile.java55 private final File mNewName; field in AtomicFile
86 mNewName = new File(baseName.getPath() + ".new"); in AtomicFile()
104 mNewName.delete(); in delete()
150 return new FileOutputStream(mNewName); in startWrite()
152 File parent = mNewName.getParentFile(); in startWrite()
154 throw new IOException("Failed to create directory for " + mNewName); in startWrite()
159 return new FileOutputStream(mNewName); in startWrite()
161 throw new IOException("Failed to create new file " + mNewName, e2); in startWrite()
184 rename(mNewName, mBaseName); in finishWrite()
207 if (!mNewName.delete()) { in failWrite()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DRenameClassAdapter.java33 private final String mNewName; field in RenameClassAdapter
45 mNewBase = mNewName = newName; in RenameClassAdapter()
51 pos = mNewName.indexOf('$'); in RenameClassAdapter()
53 mNewBase = mNewName.substring(0, pos); in RenameClassAdapter()
73 return mNewName; in renameInternalType()