Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 33) sorted by relevance

12

/tools/carrier_settings/python/
Dupdate_carrier_data.py153 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 …]
Dupdate_apn.py89 with open(path, 'r', encoding='utf-8') as f:
240 with open(FLAGS.apn_file, 'r', encoding='utf-8') as apnfile:
255 with open(FLAGS.out_file, 'w', encoding='utf-8') as apnout:
/tools/test/connectivity/acts/framework/tests/
Dacts_utils_test.py466 encoding='utf-8'),
468 encoding='utf-8')
477 encoding='utf-8'),
479 encoding='utf-8')
488 encoding='utf-8'),
490 encoding='utf-8')
500 encoding='utf-8'),
502 encoding='utf-8')
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py55 self._stdout_str = self._raw_stdout.decode(encoding=self._encoding,
64 self._stderr_str = self._raw_stderr.decode(encoding=self._encoding,
76 encoding='utf-8'): argument
94 self._encoding = encoding
156 encoding=io_encoding,
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt178 --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to
182 produced by encoding the password using the console's
183 character encoding. apksigner by default tries to decrypt
188 and may need to be provided with --pass-encoding when a
189 non-ASCII password is used. --pass-encoding may also need
258 The --pass-encoding parameter is not needed if apksigner is being run on
260 $ apksigner sign --ks release.jks --pass-encoding ibm437 app.apk
264 $ apksigner sign --ks release.jks --pass-encoding utf-8 app.apk
DPasswordRetriever.java234 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()
Dhelp_lineage.txt99 --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to
103 produced by encoding the password using the console's
104 character encoding. apksigner by default tries to decrypt
109 and may need to be provided with --pass-encoding when a
110 non-ASCII password is used. --pass-encoding may also need
Dhelp_rotate.txt102 --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to
106 produced by encoding the password using the console's
107 character encoding. apksigner by default tries to decrypt
112 and may need to be provided with --pass-encoding when a
113 non-ASCII password is used. --pass-encoding may also need
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/
Dapollo_log_decoder.py64 _, encoding, message = logline.split("|", 2)
66 if encoding in decoders.keys():
67 message = decoders[encoding](message)
/tools/platform-compat/build/
Dprocess_compat_config.py94 self.tree.write(filename, encoding='utf-8', xml_declaration=True)
98 self.strip_config_for_device().write(filename, encoding='utf-8', xml_declaration=True)
/tools/asuite/aidegen/lib/
Dcommon_util.py616 with open(file_path, encoding='utf8') as infile:
633 with open(path, encoding=encode_type) as template:
/tools/test/connectivity/acts/framework/acts/controllers/
Dnative.py64 str(response, encoding="utf8").rstrip().replace("\x00", ""))
Dbluetooth_pts_device.py733 encoding='utf-8',
740 reparsed.toprettyxml(indent=" ", encoding="utf-8").decode())
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/facade/
DWlanFacadeTest.py68 encoding='us-ascii')
/tools/asuite/
Dasuite_run_unittests.py88 encoding='utf-8').splitlines()
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssSimInventoryTest.py33 with open(netpolicy_path, "r", encoding="utf-8") as file:
/tools/asuite/atest-py2/
Datest_completion.sh31 print("\n".join(pickle.load(cache, encoding="utf-8")))
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Drpc_connection.py92 result = json.loads(str(resp, encoding='utf8'))
Drpc_client.py304 result = json.loads(str(response, encoding='utf8'))
/tools/asuite/atest/
Datest_completion.sh48 print("\n".join(pickle.load(cache, encoding="utf-8")))
/tools/treble/split/
Dxml_diff.py69 return ET.tostring(e).decode(encoding='UTF-8').strip()
/tools/test/connectivity/acts/framework/acts/
Drecords.py55 with io.open(self._path, 'a', encoding='utf-8') as f:
/tools/external_updater/
Dnotifier.py110 encoding='ascii')
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcontest.py415 encoding='utf-8',
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py230 encoding=io_encoding)

12