/frameworks/base/tools/aapt2/tools/ |
D | fix_resources.py | 17 for file_path in enumerate_files(res_path): 18 eligible_consumers = filter(lambda c: c.matches(file_path), consumers) 20 print "checking {0} ...".format(file_path) 22 original_contents = read_contents(file_path) 25 contents = c.consume(file_path, contents) 27 write_contents(file_path, contents) 40 def read_contents(file_path): argument 42 with open(file_path) as fin: 45 def write_contents(file_path, contents): argument 49 dirname, basename = os.path.split(file_path) [all …]
|
D | extract_unicode_properties.py | 93 for file_path in sys.argv[1:]: 94 with open(file_path) as f:
|
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 187 const std::string file_path; member in FileDescriptorInfo 199 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 266 std::string file_path; in CreateFromFd() local 268 if (!android::base::Readlink(fd_path, &file_path)) { in CreateFromFd() 274 if (!allowlist->IsAllowed(file_path)) { in CreateFromFd() 275 fail_fn(android::base::StringPrintf("Not allowlisted (%d): %s", fd, file_path.c_str())); in CreateFromFd() 285 file_path.c_str(), in CreateFromFd() 305 file_path.c_str(), in CreateFromFd() 318 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd() 337 if (IsArtMemfd(file_path)) { in ReopenOrDetach() [all …]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MediaStoreSaver.java | 41 String file_path = folder_path + "/" + folderName; in savePNG() local 42 File dir = new File(file_path); in savePNG()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 42 String file_path = folder_path + "/" + folderName; in save() local 43 File dir = new File(file_path); in save()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 42 String file_path = folder_path + "/" + folderName; in save() local 43 File dir = new File(file_path); in save()
|
/frameworks/base/tools/aapt2/tools/consumers/ |
D | positional_arguments.py | 13 def matches(self, file_path): argument 14 dirname, basename = os.path.split(file_path)
|
D | duplicates.py | 9 def matches(self, file_path): argument 10 dirname, basename = os.path.split(file_path)
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourcePathShortener.cpp | 41 std::string ShortenFileName(const android::StringPiece& file_path, int output_length) { in ShortenFileName() argument 42 std::size_t hash_num = std::hash<android::StringPiece>{}(file_path); in ShortenFileName()
|
/frameworks/base/tests/ApkVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 62 explicit ScopedF2fsFilePinning(const char* file_path) { in ScopedF2fsFilePinning() argument 63 fd_.reset(TEMP_FAILURE_RETRY(open(file_path, O_WRONLY | O_CLOEXEC, 0))); in ScopedF2fsFilePinning()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.h | 123 const std::string &file_path);
|
D | Optimize.cpp | 291 const std::string &file_path) { in WriteShortenedPathsMap() argument 296 return WriteStringToFile(ss.str(), file_path); in WriteShortenedPathsMap()
|
/frameworks/base/tools/aapt2/ |
D | LoadedApk.h | 114 std::unique_ptr<xml::XmlResource> LoadXml(const std::string& file_path, IDiagnostics* diag) const;
|
D | LoadedApk.cpp | 310 std::unique_ptr<xml::XmlResource> LoadedApk::LoadXml(const std::string& file_path, in LoadXml() argument 312 io::IFile* file = apk_->FindFile(file_path); in LoadXml()
|
/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 61 std::string file_path = file::BuildPath({path, file}); in VerifyDirectory() local 63 std::ifstream stream(file_path); in VerifyDirectory()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 486 def parse_unicode_datafile(file_path, reverse=False): argument 491 with open(file_path) as datafile: 522 def parse_emoji_variants(file_path): argument 525 with open(file_path) as datafile:
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.h | 106 std::string Build(const std::string& file_path);
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.cpp | 2327 auto file_path = it->Next()->GetSource().path; in Dump() local 2330 size_t pos = file_path.find("lib/"); in Dump() 2332 file_path = file_path.substr(pos + 4); in Dump() 2333 pos = file_path.find('/'); in Dump() 2335 file_path = file_path.substr(0, pos); in Dump() 2338 architectures.insert(file_path); in Dump()
|