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.java53 private File mBasePath; field in FileRotatorTest
66 mBasePath = getContext().getFilesDir(); in setUp()
67 FsUtil.deleteContents(mBasePath); in setUp()
72 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty()
74 mBasePath, ANOTHER_PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty()
90 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testCombine()
111 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testRotate()
143 mBasePath, PREFIX, MINUTE_IN_MILLIS, DAY_IN_MILLIS); in testDelete()
173 mBasePath, PREFIX, MINUTE_IN_MILLIS, DAY_IN_MILLIS); in testThrowRestoresBackup()
206 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