Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/com/android/internal/util/
H A 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()
141 for (String name : mBasePath.list()) { in deleteAll()
144 new File(mBasePath, name).delete(); in deleteAll()
156 for (String name : mBasePath.list()) { in dumpAll()
220 for (String name : mBasePath.list()) { in rewriteAll()
289 for (String name : mBasePath.list()) { in readMatching()
310 for (String name : mBasePath.list()) { in getActiveName()
[all …]
/aosp12/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A 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()
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()
282 mBasePath, PREFIX, DAY_IN_MILLIS, YEAR_IN_MILLIS); in testClockRollingBackwards()
331 mBasePath, PREFIX, HOUR_IN_MILLIS, DAY_IN_MILLIS); in testFuzz()
352 Log.d(TAG, Arrays.toString(mBasePath.list())); in testFuzz()
[all …]
/aosp12/frameworks/base/tools/aapt/
H A 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()
/aosp12/frameworks/base/tools/aapt/tests/
H A DMockDirectoryWalker.h25 : mPos(0), mBasePath(path), mData(data) { in StringDirectoryWalker()
34 return path == mBasePath; in openDir()
80 String8 mBasePath; variable