/frameworks/base/tools/aapt2/tools/ |
H A 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): 41 """Reads the contents of file_path without decoding.""" 42 with open(file_path) as fin: 45 def write_contents(file_path, content [all...] |
H A D | extract_unicode_properties.py | 93 for file_path in sys.argv[1:]: 94 with open(file_path) as f:
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Dump.cpp | 49 bool TryDumpFile(IAaptContext* context, const std::string& file_path) { argument 53 std::unique_ptr<io::ZipFileCollection> zip = io::ZipFileCollection::Create(file_path, &err); 59 context->GetDiagnostics()->Error(DiagMessage(file_path) 66 context->GetDiagnostics()->Error(DiagMessage(file_path) << "invalid resources.arsc.flat"); 70 table = DeserializeTableFromPb(pb_table, Source(file_path), context->GetDiagnostics()); 81 context->GetDiagnostics()->Error(DiagMessage(file_path) 87 BinaryResourceParser parser(context, table.get(), Source(file_path), data->data(), 97 Maybe<android::FileMap> file = file::MmapPath(file_path, &err); 99 context->GetDiagnostics()->Error(DiagMessage(file_path) << err); 108 table = DeserializeTableFromPb(pb_table, Source(file_path), contex [all...] |
/frameworks/rs/tests/lldb/tests/harness/ |
H A D | util_log.py | 34 file_path=None, file_mode='a'): 48 file_path: String, path to the text file in which to store the logs. 56 ValueError: If the argument "file_path" has not been provided when 82 if file_path is None: 83 raise ValueError('Missing mandatory argument "file_path"') 85 handler_default = logging.FileHandler(file_path, file_mode)
|
/frameworks/base/core/jni/ |
H A D | fd_utils.h | 85 const std::string file_path; member in class:FileDescriptorInfo 95 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
|
H A D | fd_utils.cpp | 164 std::string file_path; local 166 if (!android::base::Readlink(fd_path, &file_path)) { 170 if (!whitelist->IsAllowed(file_path)) { 171 LOG(ERROR) << "Not whitelisted : " << file_path; 211 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); 232 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags)); 235 PLOG(ERROR) << "Failed open(" << file_path << ", " << open_flags << ")"; 278 FileDescriptorInfo::FileDescriptorInfo(struct stat stat, const std::string& file_path, argument 283 file_path(file_path), [all...] |
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MediaStoreSaver.java | 42 String file_path = folder_path + "/" + folderName; 43 File dir = new File(file_path);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | MediaStoreSaver.java | 41 String file_path = folder_path + "/" + folderName; 42 File dir = new File(file_path);
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MediaStoreSaver.java | 42 String file_path = folder_path + "/" + folderName; 43 File dir = new File(file_path);
|
/frameworks/base/tools/aapt2/tools/consumers/ |
H A D | positional_arguments.py | 13 def matches(self, file_path): 14 dirname, basename = os.path.split(file_path)
|
H A D | duplicates.py | 9 def matches(self, file_path): 10 dirname, basename = os.path.split(file_path)
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_service.cpp | 208 std::string file_path = base::GetProperty(property_name, ""); local 209 if (file_path.empty()) { 214 if (!base::ReadFileToString(file_path, &data)) {
|
/frameworks/base/tools/fonts/ |
H A D | fontchain_lint.py | 354 def parse_unicode_datafile(file_path, reverse=False): 359 with open(file_path) as datafile: 390 def parse_emoji_variants(file_path): 393 with open(file_path) as datafile:
|
/frameworks/rs/tests/lldb/tests/ |
H A D | run_test.py | 299 file_path=args.log_file_path,
|
/frameworks/rs/tests/lldb/ |
H A D | run_tests.py | 230 file_path=self.log_file_path
|