Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 656) sorted by relevance

12345678910>>...27

/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java37 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/
Dpath.cpp34 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/
DPathsCacheActivity.java50 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
DTextOnPathActivity.java45 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/
DFiles.cpp50 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/packages/SystemUI/src/com/android/systemui/util/io/
DFiles.java43 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/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java61 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/tools/aapt2/format/
DArchive.cpp56 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/
DSerialService.java42 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/libs/androidfw/
DAssetsProvider.cpp31 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java39 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/media/java/android/media/
DMediaScanner.java74 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()
DIMediaScannerService.aidl35 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); in requestScanFile()
45 void scanFile(String path, String mimeType); in scanFile()
/frameworks/base/tools/aapt/tests/
DMockDirectoryWalker.h24 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/
DDrmManagerClient.cpp42 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/
DFileHandleTest.cpp41 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/
DStatFs.java42 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/apex/appsearch/framework/java/external/android/app/appsearch/
DGenericDocument.java248 public Object getProperty(@NonNull String path) { in getProperty()
325 private static Object getRawPropertyFromRawDocument( in getRawPropertyFromRawDocument()
593 public String getPropertyString(@NonNull String path) { in getPropertyString()
612 public long getPropertyLong(@NonNull String path) { in getPropertyLong()
631 public double getPropertyDouble(@NonNull String path) { in getPropertyDouble()
650 public boolean getPropertyBoolean(@NonNull String path) { in getPropertyBoolean()
670 public byte[] getPropertyBytes(@NonNull String path) { in getPropertyBytes()
690 public GenericDocument getPropertyDocument(@NonNull String path) { in getPropertyDocument()
702 @NonNull String propertyType, @NonNull String path, int propertyLength) { in warnIfSinglePropertyTooLong()
729 public String[] getPropertyStringArray(@NonNull String path) { in getPropertyStringArray()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java79 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/base/core/java/android/os/incremental/
DIIncrementalService.aidl41 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/drm/java/android/drm/
DDrmManagerClient.java398 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/java/com/android/internal/os/
DProcStatsUtil.java58 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/native/cmds/installd/
Dunique_file.cpp30 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/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteAssetRepository.java32 RemoteInputStream openAsset(String path, int mode) throws IOException; in openAsset()
35 RemoteInputStream openNonAsset(int cookie, String path, int mode) throws IOException; in openNonAsset()
/frameworks/base/tools/aapt2/filter/
DFilter.h45 bool Keep(const std::string& path) override { in Keep()
62 bool Keep(const std::string& path) override { in Keep()

12345678910>>...27