/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/services/incremental/ |
D | path.cpp | 34 namespace android::incremental::path { namespace 47 static void preparePathComponent(std::string_view& path, bool trimFront) { in preparePathComponent() 58 void details::append_next_path(std::string& target, std::string_view path) { in append_next_path() 86 bool isAbsolute(std::string_view path) { in isAbsolute() 90 std::string normalize(std::string_view path) { in normalize() 137 std::string_view basename(std::string_view path) { in basename() 155 std::string_view dirname(std::string_view path) { in dirname() 200 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/core/java/android/os/incremental/ |
D | IIncrementalService.aidl | 38 int openStorage(in @utf8InCpp String path); in openStorage() 39 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() 60 int makeDirectory(int storageId, in @utf8InCpp String path); in makeDirectory() 66 int makeDirectories(int storageId, in @utf8InCpp String path); in makeDirectories() 71 int makeFile(int storageId, in @utf8InCpp String path, in IncrementalNewFileParams params); in makeFile() 90 int unlink(int storageId, in @utf8InCpp String path); in unlink() 95 boolean isFileRangeLoaded(int storageId, in @utf8InCpp String path, long start, long end); in isFileRangeLoaded() 100 byte[] getMetadataByPath(int storageId, in @utf8InCpp String path); in getMetadataByPath()
|
D | IncrementalManager.java | 112 public IncrementalStorage createStorage(@NonNull String path, in createStorage() 146 public IncrementalStorage openStorage(@NonNull String path) { in openStorage() 168 public IncrementalStorage createStorage(@NonNull String path, in createStorage() 269 public void closeStorage(@NonNull String path) { in closeStorage() 302 public static boolean isIncrementalPath(@NonNull String path) { in isIncrementalPath() 310 public static @Nullable byte[] unsafeGetFileSignature(@NonNull String path) { in unsafeGetFileSignature() 316 private static native boolean nativeIsIncrementalPath(@NonNull String path); in nativeIsIncrementalPath() 317 private static native byte[] nativeUnsafeGetFileSignature(@NonNull String path); in nativeUnsafeGetFileSignature()
|
D | IncrementalStorage.java | 138 public void makeDirectory(@NonNull String path) throws IOException { in makeDirectory() 155 public void makeDirectories(@NonNull String path) throws IOException { in makeDirectories() 174 public void makeFile(@NonNull String path, long size, @Nullable UUID id, in makeFile() 245 public void unlink(@NonNull String path) throws IOException { in unlink() 312 public boolean isFileFullyLoaded(@NonNull String path) { in isFileFullyLoaded() 324 public boolean isFileRangeLoaded(@NonNull String path, long start, long end) { in isFileRangeLoaded() 340 public byte[] getFileMetadata(@NonNull String path) { in getFileMetadata()
|
/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 Maybe<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 Maybe<std::vector<std::string>> FindFiles(const android::StringPiece& path, IDiagnostics* diag, in FindFiles()
|
/frameworks/base/libs/androidfw/ |
D | ApkAssets.cpp | 45 std::string path, in ApkAssets() 59 static std::unique_ptr<const AssetsProvider> Create(const std::string& path) { in Create() 148 const std::string& path, Asset::AccessMode mode, bool* file_exists) const override { in OpenInternal() argument 213 explicit ZipAssetsProvider(std::string path, in ZipAssetsProvider() 234 static std::unique_ptr<const AssetsProvider> Create(const std::string& path) { in Create() 252 const std::string& path, Asset::AccessMode /* mode */, bool* file_exists) const override { in OpenInternal() argument 266 explicit DirectoryAssetsProvider(std::string path) : path_(std::move(path)) { } in DirectoryAssetsProvider() 316 const std::string& path, Asset::AccessMode mode, bool* file_exists) const override { in OpenInternal() argument 335 const std::string& path, const package_property_t flags, in Load() 358 const std::string& path, const package_property_t flags, in LoadTable() [all …]
|
/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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/io/ |
D | Files.java | 42 public BufferedWriter newBufferedWriter(Path path, OpenOption... options) throws IOException { in newBufferedWriter() 47 public Stream<String> lines(Path path) throws IOException { in lines() 52 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 52 public ParcelFileDescriptor openSerialPort(String path) { in openSerialPort() 62 private native ParcelFileDescriptor native_open(String path); in native_open()
|
/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()
|
D | IMediaScannerService.aidl | 35 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); in requestScanFile() 45 void scanFile(String path, String mimeType); in scanFile()
|
/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/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/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/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 | 79 public void onObbStateChange(String path, int state) { in onObbStateChange() 161 String path = mSm.getMountedObbPath(obbPath); in openFileOnMountedObb() local 350 protected void doValidateIntContents(String path, String filename, int start, int end) { in doValidateIntContents() 380 protected void doValidateTextContents(String path, String filename, String contents) { in doValidateTextContents() 415 protected void doValidateZeroLongFile(String path, String filename, long size, in doValidateZeroLongFile() 447 String path = null; in doWaitForPath() local 475 String path = null; in verifyObb1Contents() local 492 String path = null; in verifyObb2Contents() local 508 String path = null; in verifyObb3Contents() local
|
/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()
|
/frameworks/base/core/java/com/android/internal/os/ |
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/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()
|