Home
last modified time | relevance | path

Searched refs:mBasePath (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java54 private final File mBasePath; field in FileRotator
99 mBasePath = Preconditions.checkNotNull(basePath); in FileRotator()
105 mBasePath.mkdirs(); in FileRotator()
108 for (String name : mBasePath.list()) { in FileRotator()
114 final File backupFile = new File(mBasePath, name); in FileRotator()
116 mBasePath, name.substring(0, name.length() - SUFFIX_BACKUP.length())); in FileRotator()
124 final File noBackupFile = new File(mBasePath, name); in FileRotator()
126 mBasePath, name.substring(0, name.length() - SUFFIX_NO_BACKUP.length())); in FileRotator()
140 for (String name : mBasePath.list()) { in deleteAll()
143 new File(mBasePath, name).delete(); in deleteAll()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java56 private File mBasePath; field in FileRotatorTest
69 mBasePath = getContext().getFilesDir(); in setUp()
70 IoUtils.deleteContents(mBasePath); in setUp()
75 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty()
77 mBasePath, ANOTHER_PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty()
93 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testCombine()
114 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testRotate()
146 mBasePath, PREFIX, MINUTE_IN_MILLIS, DAY_IN_MILLIS); in testDelete()
176 mBasePath, PREFIX, MINUTE_IN_MILLIS, DAY_IN_MILLIS); in testThrowRestoresBackup()
209 mBasePath, PREFIX, SECOND_IN_MILLIS, SECOND_IN_MILLIS); in testOtherFilesAndMalformed()
[all …]
/frameworks/base/tools/aapt/
DDirectoryWalker.h45 String8 mBasePath; variable
58 mBasePath = path; in openDir()
60 dir = opendir(mBasePath.string() ); in openDir()
80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name); in nextEntry()
/frameworks/base/tools/aapt/tests/
DMockDirectoryWalker.h25 : mPos(0), mBasePath(path), mData(data) { in StringDirectoryWalker()
34 return path == mBasePath; in openDir()
80 String8 mBasePath; variable