Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsStreamWriter.java44 private final File mDirectory; field in TsStreamWriter
52 mDirectory = null; in TsStreamWriter()
59 mDirectory = new File(mDirectoryPath); in TsStreamWriter()
60 if (!mDirectory.exists()) { in TsStreamWriter()
61 boolean madeDir = mDirectory.mkdir(); in TsStreamWriter()
151 if (mDirectory == null || !mDirectory.isDirectory()) { in deleteOutdatedFiles()
159 for (File file : mDirectory.listFiles()) { in deleteOutdatedFiles()
177 if (mDirectory == null) { in generateInstanceId()
200 if (mDirectory == null || !mDirectory.isDirectory()) { in getExistingIds()
205 for (File file : mDirectory.listFiles()) { in getExistingIds()
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryDirectory.java40 private Path mDirectory; field in TemporaryDirectory
64 mDirectory = Files.createDirectory(directory); in TemporaryDirectory()
73 mDirectory = Files.createTempDirectory(prefix); in TemporaryDirectory()
78 Files.walkFileTree(mDirectory, DELETE); in close()
82 return mDirectory.toFile(); in getDirectory()
85 public Path getPath() { return mDirectory; } in getPath()
88 return new TemporaryDirectory(mDirectory.resolve(name)); in getSubdirectory()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java42 dstFileInfo.mDirectory = getSaveDirectory(contentResolver, uri); in getDstMp4FileInfo()
43 if ((dstFileInfo.mDirectory == null) || !dstFileInfo.mDirectory.canWrite()) { in getDstMp4FileInfo()
44 dstFileInfo.mDirectory = new File(Environment.getExternalStorageDirectory(), in getDstMp4FileInfo()
48 dstFileInfo.mFolderName = dstFileInfo.mDirectory.getName(); in getDstMp4FileInfo()
53 dstFileInfo.mFile = new File(dstFileInfo.mDirectory, dstFileInfo.mFileName + ".mp4"); in getDstMp4FileInfo()
DSaveVideoFileInfo.java25 public File mDirectory = null; field in SaveVideoFileInfo
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoader.java41 private File mDirectory; field in FetchDownloadsLoader
50 mDirectory = directory; in FetchDownloadsLoader()
59 return collectFiles(mDirectory); in loadInBackground()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainStateStorage.java42 private final File mDirectory; field in KeyChainStateStorage
45 mDirectory = directory; in KeyChainStateStorage()
108 File file = new File(mDirectory, "credential-management-app.xml"); in getCredentialManagementFile()
/packages/services/Car/procfs-inspector/server/
Ddirectory.cpp24 mDirectory.reset(opendir(path)); in Directory()
58 if (auto dir = mDirectory.get()) { in next()
Ddirectory.h64 std::unique_ptr<DIR, Deleter> mDirectory; variable