/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 197 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 (!whitelist->IsAllowed(file_path)) { in CreateFromFd() 275 fail_fn(android::base::StringPrintf("Not whitelisted (%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/lldb/tests/harness/ |
D | util_log.py | 34 file_path=None, file_mode='a'): argument 82 if file_path is None: 85 handler_default = logging.FileHandler(file_path, file_mode)
|
/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 | 40 std::string ShortenFileName(const android::StringPiece& file_path, int output_length) { in ShortenFileName() argument 41 std::size_t hash_num = std::hash<android::StringPiece>{}(file_path); in ShortenFileName()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_service.cpp | 210 std::string file_path = base::GetProperty(property_name, ""); in OnGetConfigurationData() local 211 if (file_path.empty()) { in OnGetConfigurationData() 216 if (!base::ReadFileToString(file_path, &data)) { in OnGetConfigurationData()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 391 def parse_unicode_datafile(file_path, reverse=False): argument 396 with open(file_path) as datafile: 427 def parse_emoji_variants(file_path): argument 430 with open(file_path) as datafile:
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.h | 125 const std::string &file_path);
|
D | Optimize.cpp | 285 const std::string &file_path) { in WriteShortenedPathsMap() argument 290 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 | 304 std::unique_ptr<xml::XmlResource> LoadedApk::LoadXml(const std::string& file_path, in LoadXml() argument 306 io::IFile* file = apk_->FindFile(file_path); in LoadXml()
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.cpp | 2122 auto file_path = it->Next()->GetSource().path; in Dump() local 2125 size_t pos = file_path.find("lib/"); in Dump() 2127 file_path = file_path.substr(pos + 4); in Dump() 2128 pos = file_path.find('/'); in Dump() 2130 file_path = file_path.substr(0, pos); in Dump() 2133 architectures.insert(file_path); in Dump()
|
/frameworks/rs/tests/lldb/tests/ |
D | run_test.py | 299 file_path=args.log_file_path,
|
/frameworks/rs/tests/lldb/ |
D | run_tests.py | 230 file_path=self.log_file_path
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 244 static bool IsFileEmpty(const std::string& file_path) { in IsFileEmpty() argument 245 std::ifstream file(file_path, std::ios::binary | std::ios::ate); in IsFileEmpty() 247 MYLOGE("Cannot open file: %s\n", file_path.c_str()); in IsFileEmpty()
|