/tools/repohooks/tools/ |
D | android_test_mapping_format_unittest.py | 201 with open(self.test_mapping_file, 'w', encoding='utf-8') as file: 203 with open(self.test_mapping_file, 'r', encoding='utf-8') as file: 208 with open(self.test_mapping_file, 'w', encoding='utf-8') as file: 210 with open(self.test_mapping_file, 'r', encoding='utf-8') as file: 217 with open(self.test_mapping_file, 'w', encoding='utf-8') as file: 219 with open(self.test_mapping_file, 'r', encoding='utf-8') as file: 227 with open(self.test_mapping_file, 'w', encoding='utf-8') as file: 229 with open(self.test_mapping_file, 'r', encoding='utf-8') as file: 237 with open(self.test_mapping_file, 'w', encoding='utf-8') as file: 239 with open(self.test_mapping_file, 'r', encoding='utf-8') as file: [all …]
|
/tools/carrier_settings/python/ |
D | update_carrier_data.py | 153 with open(path, 'r', encoding='utf-8') as f: 171 with open(path, 'r', encoding='utf-8') as f: 204 with open(carrier_file, 'r', encoding='utf-8') as f: 218 with open(carrier_file, 'w', encoding='utf-8') as f: 233 with open(carrier_file, 'r', encoding='utf-8') as f: 253 with open(carrier_file, 'w', encoding='utf-8') as f: 270 with open(carrier_list_file, 'r', encoding='utf-8') as f: 283 with open(carrier_list_file, 'w', encoding='utf-8') as f: 312 with open(others_textpb, 'r', encoding='utf-8') as others_textpb_file: 341 with open(others_textpb, 'w', encoding='utf-8') as others_textpb_file: [all …]
|
D | update_apn.py | 95 with open(path, 'r', encoding='utf-8') as f: 339 with open(FLAGS.apn_file, 'r', encoding='utf-8') as apnfile: 342 with open(FLAGS.aosp_carrier_list, 'r', encoding='utf-8', newline='\n') as f: 362 with open(FLAGS.out_file, 'w', encoding='utf-8') as apnout:
|
/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | job.py | 57 self._stdout_str = self._raw_stdout.decode(encoding=self._encoding, 66 self._stderr_str = self._raw_stderr.decode(encoding=self._encoding, 78 encoding='utf-8'): argument 96 self._encoding = encoding 157 encoding=io_encoding,
|
/tools/external_updater/ |
D | notifier.py | 70 with open(owner_file, 'r', encoding='utf-8') as f: 109 encoding='ascii') 165 with open(RESULT_FILE_PATH, 'r', encoding='utf-8') as f: 169 with open(args.history, 'r', encoding='utf-8') as f: 176 with open(args.history, 'w', encoding='utf-8') as f:
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/ |
D | apollo_log_decoder.py | 64 _, encoding, message = logline.split("|", 2) 66 if encoding in decoders.keys(): 67 message = decoders[encoding](message)
|
/tools/asuite/atest/integration_tests/ |
D | bazel_mode_test.py | 239 src_file_path.write_text(test_src.src_body, encoding='utf8') 252 encoding='utf8', 267 src_file_path.write_text(test_src, encoding='utf8') 280 encoding='utf8', 294 src_file_path.write_text(reporter_src.src_body, encoding='utf8') 306 encoding='utf8',
|
D | snapshot_unittest.py | 115 encoding='utf-8', 137 encoding='utf-8', 161 encoding='utf-8', 188 encoding='utf-8', 306 file_path.write_text('test2', encoding='utf-8')
|
D | snapshot.py | 155 encoding='utf-8', 164 encoding='utf-8', 195 with open(self._get_env_file_path(name), 'w', encoding='utf-8') as f: 275 with self._get_cache_path().open('w', encoding='utf-8') as f: 281 with self._get_cache_path().open('r', encoding='utf-8') as f:
|
/tools/acloud/internal/lib/ |
D | oxygen_client_test.py | 54 encoding='utf-8') 66 encoding='utf-8')
|
D | oxygen_client.py | 60 cmd, stderr=subprocess.STDOUT, encoding='utf-8') 76 ], stderr=subprocess.STDOUT, encoding='utf-8')
|
D | cvd_utils_test.py | 114 encoding="utf-8") 128 encoding="utf-8") 417 with open(ref_cnt_path, "r", encoding="utf-8") as ref_cnt_file: 425 with open(ref_cnt_path, "r", encoding="utf-8") as ref_cnt_file: 431 with open(ref_cnt_path, "r", encoding="utf-8") as ref_cnt_file: 465 with open(timestamp_path, "r", encoding="utf-8") as timestamp_file: 490 with open(timestamp_path, "r", encoding="utf-8") as timestamp_file: 520 with open(args_path, "r", encoding="utf-8") as args_file:
|
/tools/security/fuzzing/llm/xmlreader_fuzzer/ |
D | XmlRead_Fd_Fuzzer.cpp | 36 std::string encoding = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local 40 xmlDocPtr doc = xmlCtxtReadFd(ctxt, fd, URL.c_str(), encoding.c_str(), options); in LLVMFuzzerTestOneInput()
|
D | XmlRead_Memory_Fuzzer.cpp | 50 std::string encoding = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local 54 …xmlDocPtr doc = xmlCtxtReadMemory(ctxt, buffer.data(), bufferSize, URL.c_str(), encoding.c_str(), … in LLVMFuzzerTestOneInput()
|
D | xml_fuzzer.dict | 9 xml_header=<?xml version="1.0" encoding="UTF-8"?>
|
/tools/test/connectivity/acts_tests/tests/google/ble/performance/ |
D | BleRangeTest.py | 139 df.to_csv(filepath, encoding='utf-8') 143 df.to_csv(filepath, encoding='utf-8') 206 df.to_csv(filepath, encoding='utf-8') 212 df.to_csv(filepath, encoding='utf-8') 249 df.to_csv(csv_path, encoding='utf-8', index=False) 260 ble_df.to_csv(filepath, encoding='utf-8')
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | PasswordRetriever.java | 234 for (Charset encoding : additionalEncodings) { in addPasswords() 238 char[] encodedPwd = castBytesToChars(encodePassword(pwd, encoding)); in addPasswords() 286 private static char[] decodePassword(byte[] pwdBytes, Charset encoding) throws IOException { in decodePassword() argument 288 encoding.newDecoder() in decodePassword()
|
D | help_lineage.txt | 23 in the SigningCertificateLineage; prints the PEM encoding of each signing 103 --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 107 produced by encoding the password using the console's 108 character encoding. apksigner by default tries to decrypt 113 and may need to be provided with --pass-encoding when a 114 non-ASCII password is used. --pass-encoding may also need
|
D | help_sign.txt | 220 --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 224 produced by encoding the password using the console's 225 character encoding. apksigner by default tries to decrypt 230 and may need to be provided with --pass-encoding when a 231 non-ASCII password is used. --pass-encoding may also need 300 The --pass-encoding parameter is not needed if apksigner is being run on 302 $ apksigner sign --ks release.jks --pass-encoding ibm437 app.apk 306 $ apksigner sign --ks release.jks --pass-encoding utf-8 app.apk
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 83 with open(tmp_file, 'w', encoding='utf-8') as tmp_jdk_xml: 91 with open(tmp_file, 'w', encoding='utf-8') as tmp_jdk_xml: 99 with open(tmp_file, 'w', encoding='utf-8') as tmp_jdk_xml: 138 with open(tmp_file, 'w', encoding='utf-8') as tmp_jdk_xml:
|
/tools/asuite/aidegen/lib/ |
D | common_util.py | 584 with open(json_path, 'w', encoding='utf-8') as json_file: 598 with open(json_path, 'r', encoding='utf-8') as jfile: 613 with open(file_path, 'r', encoding='utf8') as infile: 630 with open(path, 'r', encoding=encode_type) as template: 644 with open(path, 'w', encoding='utf-8') as target:
|
/tools/tradefederation/core/tools/ |
D | content_uploader.py | 275 with open(log_file, 'a', encoding='utf8') as outfile: 282 encoding='utf-8', 340 with open(output_path, 'w', encoding='utf8') as writer: 345 with open(output_path, 'w', encoding='utf8') as writer:
|
/tools/platform-compat/build/ |
D | process_compat_config.py | 95 self.tree.write(filename, encoding='utf-8', xml_declaration=True) 99 self.strip_config_for_device().write(filename, encoding='utf-8', xml_declaration=True)
|
/tools/asuite/atest/ |
D | atest_utils.py | 398 with open(error_log_file, encoding='utf-8') as f: 764 with open(save_file, 'w+', encoding='utf-8') as _file: 858 return pickle.load(config_dictionary_file, encoding='utf-8') 1086 with open(jsonfile, 'r', encoding='utf-8') as cache: 1112 return version_file_path.read_text(encoding='utf-8') 1122 return open(version_file, encoding='utf-8').read() 1631 with open(timestamp_file, 'w', encoding='utf-8') as _file: 1728 with open(full_path, 'r', encoding='utf-8') as cache: 1840 with open(build_file, 'r', encoding='utf-8') as cache: 1926 with open(result_html, 'w', encoding='utf-8') as cache: [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_utils_test.py | 421 encoding='utf-8'), 430 encoding='utf-8'), 439 encoding='utf-8'), 449 encoding='utf-8'),
|