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.java55 private final File mBasePath; field in FileRotator
100 mBasePath = Objects.requireNonNull(basePath); in FileRotator()
106 mBasePath.mkdirs(); in FileRotator()
109 for (String name : mBasePath.list()) { in FileRotator()
115 final File backupFile = new File(mBasePath, name); in FileRotator()
117 mBasePath, name.substring(0, name.length() - SUFFIX_BACKUP.length())); in FileRotator()
125 final File noBackupFile = new File(mBasePath, name); in FileRotator()
127 mBasePath, name.substring(0, name.length() - SUFFIX_NO_BACKUP.length())); in FileRotator()
141 for (String name : mBasePath.list()) { in deleteAll()
144 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