/frameworks/native/cmds/installd/ |
D | restorable_file.cpp | 34 std::string GetTmpFilePath(const std::string& path) { in GetTmpFilePath() 38 std::string GetBackupFilePath(const std::string& path) { in GetBackupFilePath() 42 void UnlinkPossiblyNonExistingFile(const std::string& path) { in UnlinkPossiblyNonExistingFile() 51 bool FileExists(const std::string& path) { in FileExists() 63 RestorableFile::RestorableFile(int value, const std::string& path) : unique_file_(value, path) { in RestorableFile() 75 std::string path(unique_file_.path()); in reset() local 96 std::string path(unique_file_.path()); in CommitWorkFile() local 134 std::string path(unique_file_.path()); in ResetAndRemoveAllFiles() local 139 RestorableFile RestorableFile::CreateWritableFile(const std::string& path, int permissions) { in CreateWritableFile() 154 void RestorableFile::RemoveAllFiles(const std::string& path) { in RemoveAllFiles()
|
D | unique_file.cpp | 30 UniqueFile::UniqueFile(int value, std::string path) : UniqueFile(value, path, nullptr) {} in UniqueFile() 32 UniqueFile::UniqueFile(int value, std::string path, CleanUpFunction cleanup) in UniqueFile() 57 void UniqueFile::reset(int new_value, std::string path, CleanUpFunction new_cleanup) { in reset()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | PathPerfTest.java | 37 Path path = new Path(); in testReset() local 46 Path path = new Path(); in testAddReset() local 56 Path path = new Path(); in testRewind() local 65 Path path = new Path(); in testAddRewind() local 75 Path path = new Path(); in testIsEmpty() local 85 Path path = new Path(); in testIsConvex() local 95 Path path = new Path(); in testGetSetFillType() local 106 Path path = new Path(); in testIsRect() local
|
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
D | ExternalStorageProviderTest.java | 61 final String path = "abc/def/ghi"; in testGetPathFromDocId() local 63 assertEquals(getPathFromDocId(docId), path); in testGetPathFromDocId() local 66 assertEquals(getPathFromDocId(docId), path); in testGetPathFromDocId() local 72 assertEquals(getPathFromDocId(docId), path); in testGetPathFromDocId() local 76 assertEquals(getPathFromDocId(docId), path); in testGetPathFromDocId() local 80 assertEquals(getPathFromDocId(docId), path); in testGetPathFromDocId() local
|
/frameworks/base/services/incremental/ |
D | path.cpp | 34 namespace android::incremental::path { namespace 47 static void preparePathComponent(std::string_view& path, bool trimAll) { in preparePathComponent() 59 void details::append_next_path(std::string& target, std::string_view path) { in append_next_path() 87 bool isAbsolute(std::string_view path) { in isAbsolute() 91 std::string normalize(std::string_view path) { in normalize() 138 std::string_view basename(std::string_view path) { in basename() 156 std::string_view dirname(std::string_view path) { in dirname() 203 bool startsWith(std::string_view path, std::string_view prefix) { in startsWith()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathsCacheActivity.java | 50 Path path = new Path(); in makePath() local 55 private static void buildPath(Path path) { in buildPath() 63 Path path = new Path(); in makeLargePath() local 68 private static void buildLargePath(Path path) { in buildLargePath() 115 Path path = makePath(); in onDraw() local
|
D | TextOnPathActivity.java | 45 Path path = new Path(); in makePath() local 50 private static void buildPath(Path path) { in buildPath() 58 Path path = new Path(); in makeStraightPath() local 63 private static void buildStraightPath(Path path) { in buildStraightPath()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 50 FileType GetFileType(const std::string& path) { in GetFileType() 104 bool mkdirs(const std::string& path) { in mkdirs() 142 StringPiece GetStem(const StringPiece& path) { in GetStem() 153 StringPiece GetFilename(const StringPiece& path) { in GetFilename() 164 StringPiece GetExtension(const StringPiece& path) { in GetExtension() 174 bool IsHidden(const android::StringPiece& path) { in IsHidden() 211 std::optional<FileMap> MmapPath(const std::string& path, std::string* out_error) { in MmapPath() 244 bool AppendArgsFromFile(const StringPiece& path, std::vector<std::string>* out_arglist, in AppendArgsFromFile() 263 bool AppendSetArgsFromFile(const StringPiece& path, std::unordered_set<std::string>* out_argset, in AppendSetArgsFromFile() 347 std::optional<std::vector<std::string>> FindFiles(const android::StringPiece& path, in FindFiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/io/ |
D | Files.java | 43 public BufferedWriter newBufferedWriter(Path path, OpenOption... options) throws IOException { in newBufferedWriter() 48 public Stream<String> lines(Path path) throws IOException { in lines() 53 public <A extends BasicFileAttributes> A readAttributes( in readAttributes()
|
/frameworks/base/tools/aapt2/format/ |
D | Archive.cpp | 56 bool StartEntry(const StringPiece& path, uint32_t flags) override { in StartEntry() 94 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override { in WriteFile() 135 bool Open(const StringPiece& path) { in Open() 145 bool StartEntry(const StringPiece& path, uint32_t flags) override { in StartEntry() 185 bool WriteFile(const StringPiece& path, uint32_t flags, io::InputStream* in) override { in WriteFile() 260 const StringPiece& path) { in CreateDirectoryArchiveWriter() 270 const StringPiece& path) { in CreateZipFileArchiveWriter()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SerialService.java | 42 String path = mSerialPorts[i]; in getSerialPorts() local 53 public ParcelFileDescriptor openSerialPort(String path) { in openSerialPort() 62 private native ParcelFileDescriptor native_open(String path); in native_open()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SystemServerClassLoaderFactory.java | 42 /* package */ static PathClassLoader createClassLoader(String path, ClassLoader parent) { in createClassLoader() 63 String path, ClassLoader parent, boolean isTestOnly) { in getOrCreateClassLoader() 81 private static boolean allowClassLoaderCreation(String path, boolean isTestOnly) { in allowClassLoaderCreation()
|
D | ProcStatsUtil.java | 58 public static String readNullSeparatedFile(String path) { in readNullSeparatedFile() 83 public static String readSingleLineProcFile(String path) { in readSingleLineProcFile() 95 public static String readTerminatedProcFile(String path, byte terminator) { in readTerminatedProcFile()
|
/frameworks/base/libs/androidfw/ |
D | AssetsProvider.cpp | 31 std::unique_ptr<Asset> AssetsProvider::Open(const std::string& path, Asset::AccessMode mode, in Open() 36 std::unique_ptr<Asset> AssetsProvider::CreateAssetFromFile(const std::string& path) { in CreateAssetFromFile() 47 const char* path, in CreateAssetFromFd() 87 ZipAssetsProvider::ZipAssetsProvider(ZipArchiveHandle handle, PathOrDebugName&& path, in ZipAssetsProvider() 94 std::unique_ptr<ZipAssetsProvider> ZipAssetsProvider::Create(std::string path, in Create() 149 std::unique_ptr<Asset> ZipAssetsProvider::OpenInternal(const std::string& path, in OpenInternal() 289 DirectoryAssetsProvider::DirectoryAssetsProvider(std::string&& path, time_t last_mod_time) in DirectoryAssetsProvider() 292 std::unique_ptr<DirectoryAssetsProvider> DirectoryAssetsProvider::Create(std::string path) { in Create() 313 std::unique_ptr<Asset> DirectoryAssetsProvider::OpenInternal(const std::string& path, in OpenInternal() 368 std::unique_ptr<Asset> MultiAssetsProvider::OpenInternal(const std::string& path, in OpenInternal() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 74 FileEntry(long rowId, String path, long lastModified, int format) { in FileEntry() 122 public FileEntry beginFile(String path, String mimeType, long lastModified, in beginFile() 129 public void scanFile(String path, long lastModified, long fileSize, in scanFile() 136 public Uri doScanFile(String path, String mimeType, long lastModified, in doScanFile() 169 private int getFileTypeFromDrm(String path) { in getFileTypeFromDrm() 188 public Uri scanSingleFile(String path, String mimeType) { in scanSingleFile() 194 public static boolean isNoMediaPath(String path) { in isNoMediaPath() 200 FileEntry makeEntryFor(String path) { in makeEntryFor()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 39 private static InputStream open(String path) throws FileNotFoundException { in open() 54 public InputStream openAsset(String path, int mode) throws IOException { in openAsset() 59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { in openNonAsset()
|
/frameworks/base/tools/aapt/tests/ |
D | MockDirectoryWalker.h | 24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) in StringDirectoryWalker() argument 31 virtual bool openDir(String8 path) { in openDir() 36 virtual bool openDir(const char* path) { in openDir()
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { in getConstraints() 46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { in getMetadata() 50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) { in canHandle() 67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { in getOriginalMimeType() 71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) { in getDrmObjectType() 75 int DrmManagerClient::checkRightsStatus(const String8& path, int action) { in checkRightsStatus() 91 const String8& path, int action, const ActionDescription& description) { in validateAction() 95 status_t DrmManagerClient::removeRights(const String8& path) { in removeRights()
|
/frameworks/compile/mclinker/unittests/ |
D | FileHandleTest.cpp | 41 mcld::sys::fs::Path path(TOPDIR); in TEST_F() local 59 mcld::sys::fs::Path path(TOPDIR); in TEST_F() local 83 mcld::sys::fs::Path path(TOPDIR); in TEST_F() local
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 398 public ContentValues getConstraints(String path, int action) { in getConstraints() 413 public ContentValues getMetadata(String path) { in getMetadata() 500 public boolean canHandle(String path, String mimeType) { in canHandle() 587 public int getDrmObjectType(String path, String mimeType) { in getDrmObjectType() 608 String path = ""; in getDrmObjectType() local 625 public String getOriginalMimeType(String path) { in getOriginalMimeType() 674 public int checkRightsStatus(String path) { in checkRightsStatus() 701 public int checkRightsStatus(String path, int action) { in checkRightsStatus() 731 public int removeRights(String path) { in removeRights() 856 String path = null; in convertUriToPath() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerBaseTest.java | 84 public void onObbStateChange(String path, int state) { in onObbStateChange() 204 String path = mSm.getMountedObbPath(obbPath); in openFileOnMountedObb() local 391 protected void doValidateIntContents(String path, String filename, int start, int end) { in doValidateIntContents() 421 protected void doValidateTextContents(String path, String filename, String contents) { in doValidateTextContents() 456 protected void doValidateZeroLongFile(String path, String filename, long size, in doValidateZeroLongFile() 488 String path = null; in doWaitForPath() local 516 String path = null; in verifyObb1Contents() local 533 String path = null; in verifyObb2Contents() local 549 String path = null; in verifyObb3Contents() local
|
/frameworks/base/core/java/android/os/incremental/ |
D | IIncrementalService.aidl | 41 int openStorage(in @utf8InCpp String path); in openStorage() 42 int createStorage(in @utf8InCpp String path, in DataLoaderParamsParcel params, int createMode); in createStorage() 43 int createLinkedStorage(in @utf8InCpp String path, int otherStorageId, int createMode); in createLinkedStorage() 75 int makeDirectory(int storageId, in @utf8InCpp String path); in makeDirectory() 81 int makeDirectories(int storageId, in @utf8InCpp String path); in makeDirectories() 86 …int makeFile(int storageId, in @utf8InCpp String path, in IncrementalNewFileParams params, in @nul… in makeFile() 105 int unlink(int storageId, in @utf8InCpp String path); in unlink() 113 int isFileFullyLoaded(int storageId, in @utf8InCpp String path); in isFileFullyLoaded() 132 byte[] getMetadataByPath(int storageId, in @utf8InCpp String path); in getMetadataByPath()
|
/frameworks/base/core/java/android/os/ |
D | StatFs.java | 42 public StatFs(String path) { in StatFs() 49 private static StructStatVfs doStat(String path) { in doStat() 64 public void restat(String path) { in restat()
|
/frameworks/av/media/libmedia/ |
D | MediaScanner.cpp | 69 char * path = strtok(skipList, ","); in loadSkipList() local 82 const char *path, MediaScannerClient &client) { in processDirectory() 109 bool MediaScanner::shouldSkipDirectory(char *path) { in shouldSkipDirectory() 132 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) { in doProcessDirectory() 173 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, in doProcessDirectoryEntry()
|
/frameworks/base/tools/aapt2/filter/ |
D | Filter.h | 45 bool Keep(const std::string& path) override { in Keep() 62 bool Keep(const std::string& path) override { in Keep()
|