Home
last modified time | relevance | path

Searched refs:mBaseName (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java44 private final File mBaseName; field in AtomicFile
48 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 …]
/frameworks/base/core/java/android/util/
DAtomicFile.java46 private final File mBaseName; field in AtomicFile
54 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 …]
/frameworks/support/compat/java/android/support/v4/util/
DAtomicFile.java44 private final File mBaseName; field in AtomicFile
52 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 …]
/frameworks/opt/bitmap/src/com/android/bitmap/
DNamedThreadFactory.java25 private final String mBaseName; field in NamedThreadFactory
30 mBaseName = baseName; in NamedThreadFactory()
36 thread.setName(mBaseName + "-" + mCount.getAndIncrement()); in newThread()
/frameworks/base/tools/aapt/
DResource.cpp98 inline const String8& getBaseName() const { return mBaseName; } in getBaseName()
151 mBaseName = parseResourceName(leaf); in next()
152 if (mBaseName == "") { in next()
159 printf("file name=%s\n", mBaseName.string()); in next()
176 String8 mBaseName; member in ResourceDirIterator