/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 | 78 final String path = "abc/def/ghi"; in test_getPathFromDocId() local 80 assertEquals(getPathFromDocId(docId), path); in test_getPathFromDocId() local 83 assertEquals(getPathFromDocId(docId), path); in test_getPathFromDocId() local 89 assertEquals(getPathFromDocId(docId), path); in test_getPathFromDocId() local 93 assertEquals(getPathFromDocId(docId), path); in test_getPathFromDocId() local 97 assertEquals(getPathFromDocId(docId), path); in test_getPathFromDocId() local 148 private static String buildDocId(@NonNull String path) { in buildDocId() 153 private static String buildDocId(@NonNull String root, @NonNull String path) { in buildDocId()
|
/frameworks/base/libs/androidfw/tests/ |
D | ApkParsing_test.cpp | 29 const char* path = "lib/arm64-v8a/library.so"; in TEST() local 36 const char* path = "lib/arm64-v8a/library.so"; in TEST() local 42 const char* path = "lib/armeabi-v7a/library.so"; in TEST() local 49 const char* path = "lib/arm64-v8a/random.so"; in TEST() local 55 const char* path = "lib/arm64-v8a/library.txt"; in TEST() local 61 const char* path = "lib/arm64-v8a/lib#.so"; in TEST() local 67 const char* path = "lib/arm64-v8a/anything/library.so"; in TEST() local 73 const char* path = "lib/library.so"; in TEST() local 79 const char* path = "assets/libhello.so"; in TEST() 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/graphics/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(StringPiece path) { in GetStem() 153 StringPiece GetFilename(StringPiece path) { in GetFilename() 164 StringPiece GetExtension(StringPiece path) { in GetExtension() 174 bool IsHidden(android::StringPiece path) { in IsHidden() 211 std::optional<FileMap> MmapPath(const std::string& path, std::string* out_error) { in MmapPath() 244 bool AppendArgsFromFile(StringPiece path, std::vector<std::string>* out_arglist, in AppendArgsFromFile() 266 bool AppendSetArgsFromFile(StringPiece path, std::unordered_set<std::string>* out_argset, in AppendSetArgsFromFile() 352 std::optional<std::vector<std::string>> FindFiles(android::StringPiece path, in FindFiles()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | BrailleDisplayConnection.java | 140 byte[] getDeviceReportDescriptor(@NonNull Path path); in getDeviceReportDescriptor() 142 String getUniqueId(@NonNull Path path); in getUniqueId() 145 int getDeviceBusType(@NonNull Path path); in getDeviceBusType() 147 String getName(@NonNull Path path); in getName() 487 private <T> T readFromFileDescriptor(Path path, Function<Integer, T> readFn) { in getDefaultNativeScanner() 496 public byte[] getDeviceReportDescriptor(@NonNull Path path) { in getDefaultNativeScanner() 508 public String getUniqueId(@NonNull Path path) { in getDefaultNativeScanner() 514 public int getDeviceBusType(@NonNull Path path) { in getDefaultNativeScanner() 521 public String getName(@NonNull Path path) { in getDefaultNativeScanner()
|
/frameworks/base/tools/aapt2/format/ |
D | Archive.cpp | 56 bool StartEntry(StringPiece path, uint32_t flags) override { in StartEntry() 94 bool WriteFile(StringPiece path, uint32_t flags, android::InputStream* in) override { in WriteFile() 135 bool Open(StringPiece path) { in Open() 145 bool StartEntry(StringPiece path, uint32_t flags) override { in StartEntry() 185 bool WriteFile(StringPiece path, uint32_t flags, android::InputStream* in) override { in WriteFile() 260 StringPiece path) { in CreateDirectoryArchiveWriter() 270 StringPiece path) { in CreateZipFileArchiveWriter()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcStatsUtil.java | 59 public static String readNullSeparatedFile(String path) { in readNullSeparatedFile() 84 public static String readSingleLineProcFile(String path) { in readSingleLineProcFile() 96 public static String readTerminatedProcFile(String path, byte terminator) { in readTerminatedProcFile() 107 private static String readTerminatedProcFileInternal(String path, byte terminator) { in readTerminatedProcFileInternal()
|
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()
|
/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() 88 ZipAssetsProvider::ZipAssetsProvider(ZipArchiveHandle handle, PathOrDebugName&& path, in ZipAssetsProvider() 95 std::unique_ptr<ZipAssetsProvider> ZipAssetsProvider::Create(std::string path, in Create() 156 std::unique_ptr<Asset> ZipAssetsProvider::OpenInternal(const std::string& path, in OpenInternal() 298 DirectoryAssetsProvider::DirectoryAssetsProvider(std::string&& path, time_t last_mod_time) in DirectoryAssetsProvider() 301 std::unique_ptr<DirectoryAssetsProvider> DirectoryAssetsProvider::Create(std::string path) { in Create() 323 std::unique_ptr<Asset> DirectoryAssetsProvider::OpenInternal(const std::string& path, in OpenInternal() 379 std::unique_ptr<Asset> MultiAssetsProvider::OpenInternal(const std::string& path, in OpenInternal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayShapeTest.java | 50 final Path path = displayShape.getPath(); in testGetPath() local 98 final Path path = displayShape.getPath(); in testRotate_90() local 111 final Path path = displayShape.getPath(); in testRotate_270() local 124 final Path path = displayShape.getPath(); in testOffset() local 136 final Path path = displayShape.getPath(); in testPhysicalPixelDisplaySizeRatio() local
|
/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/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/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/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/layoutlib/bridge/bridge_client/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/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, int mode, in IncrementalNewFileParams param… 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/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/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/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/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()
|