Home
last modified time | relevance | path

Searched refs:mRootDir (Results 1 – 8 of 8) sorted by relevance

/aosp12/system/libvintf/
H A DFileSystem.cpp76 mRootDir = rootdir; in FileSystemUnderPath()
77 if (!mRootDir.empty() && mRootDir.back() != '/') { in FileSystemUnderPath()
78 mRootDir.push_back('/'); in FileSystemUnderPath()
84 return mImpl.fetch(mRootDir + path, fetched, error); in fetch()
89 return mImpl.listFiles(mRootDir + path, out, error); in listFiles()
93 return mRootDir; in getRootDir()
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java55 private File mRootDir; field in FileCache
90 mRootDir = Utils.checkNotNull(rootDir); in FileCache()
103 Utils.assertTrue(file.getParentFile().equals(mRootDir)); in store()
147 file.id, downloadUrl, new File(mRootDir, file.filename)); in lookup()
190 return File.createTempFile(FILE_PREFIX, FILE_POSTFIX, mRootDir); in createFile()
196 if (!mRootDir.isDirectory()) { in initialize()
197 mRootDir.mkdirs(); in initialize()
198 if (!mRootDir.isDirectory()) { in initialize()
199 throw new RuntimeException("cannot create: " + mRootDir.getAbsolutePath()); in initialize()
236 if (new File(mRootDir, path).delete()) { in freeSomeSpaceIfNeed()
[all …]
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryDatabaseTest.java58 File mRootDir; field in NotificationHistoryDatabaseTest
250 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
254 when(af2.getBaseFile()).thenReturn(new File(mRootDir, "af2")); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
271 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveNotificationRunnable()
294 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveNotificationRunnable_noChanges()
317 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveConversationRunnable()
340 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveConversationRunnable_noChanges()
363 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveChannelRunnable()
386 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveChannelRunnable_noChanges()
426 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af" + i)); in testRemoveFilePathFromHistory_hasMatch()
[all …]
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/
H A DAbstractProtoDiskReadWriter.java59 private final File mRootDir; field in AbstractProtoDiskReadWriter
83 mRootDir = rootDir; in AbstractProtoDiskReadWriter()
129 File[] files = mRootDir.listFiles( in read()
226 return new File(mRootDir, fileName); in getFile()
H A DEventHistoryImpl.java59 private final File mRootDir; field in EventHistoryImpl
82 mRootDir = rootDir; in EventHistoryImpl()
83 File eventsDir = new File(mRootDir, EVENTS_DIR); in EventHistoryImpl()
86 File indexesDir = new File(mRootDir, INDEXES_DIR); in EventHistoryImpl()
194 FileUtils.deleteContentsAndDir(mRootDir); in onDestroy()
/aosp12/system/libhwbinder/include/hwbinder/
H A DProcessState.h120 String8 mRootDir; variable
/aosp12/system/libvintf/include/vintf/
H A DFileSystem.h87 std::string mRootDir;
/aosp12/frameworks/base/services/incremental/test/
H A DIncrementalServiceTest.cpp763 mRootDir.path); in SetUp()
865 TemporaryDir mRootDir; member in android::os::incremental::IncrementalServiceTest
1757 return arg.starts_with(mRootDir.path) && in TEST_F()
1777 return arg.starts_with(mRootDir.path) && in TEST_F()