Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 27) sorted by relevance

12

/system/tools/mkbootimg/
Dmkbootimg.py68 BOOT_MAGIC = 'ANDROID!'.encode()
81 args.output.write(pack('1536s', args.cmdline.encode()))
86 BOOT_MAGIC = 'VNDRBOOT'.encode()
96 args.vendor_boot.write(pack('2048s', args.vendor_cmdline.encode()))
98 args.vendor_boot.write(pack('16s', args.board.encode())) # asciiz product name
109 BOOT_MAGIC = 'ANDROID!'.encode()
131 args.output.write(pack('16s', args.board.encode())) # asciiz product name
132 args.output.write(pack('512s', args.cmdline[:512].encode()))
147 args.output.write(pack('1024s', args.cmdline[512:].encode()))
/system/extras/verity/fec/tests/
Dfec.py44 def encode(image, fec, roots): function
70 encode(image, temp_fec.name, roots)
/system/core/adb/
Dtest_adb.py118 "connected to {}".format(serial).encode("utf8"))
355 "of commands\r\n").encode("utf8"))
400 "error: device '{}' not found".format(serial).encode("utf8"))
406 command = "host:emulator:{}".format(port).encode("utf8")
445 "already connected to {}".format(serial).encode("utf8"))
479 "disconnected {}".format(serial).encode("utf8"))
487 "error: device '{}' not found".format(serial).encode("utf8"))
506 "connected to {}".format(device_name).encode("utf8"))
661 self.assertEqual(output.strip(), "connected to {}".format(serial).encode("utf8"))
664 .format(mdns_instance).encode("utf8")))
Dtest_device.py266 self.assertEqual(data, server.makefile().read().encode("utf8"))
482 characters = [c.encode("utf8") for c in string.ascii_letters + string.digits]
1506 encoded = string.encode("utf8")
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py77 self._socket.sendall(data.encode())
128 name.encode()
130 arg.encode()
Dsimple_link_layer_socket.py135 name.encode('utf-8')
137 arg.encode('utf-8')
Dsend_simple_commands.py152 name.encode('utf-8')
154 arg.encode('utf-8')
/system/bt/tools/scripts/
Dbtsnoop_live.py191 conn_str.encode('ascii', 'ignore'), config_str.encode('ascii', 'ignore'), byref(success))
/system/bt/gd/neighbor/cert/
Dpy_neighbor.py83 … address=remote_address.encode('utf8'), page_scan_repetition_mode=1, clock_offset=0x6855))
Dneighbor_test.py41 self.cert_name += b'@' + self.cert_address.encode('utf8')
/system/extras/verity/fec/
Dmain.cpp172 static int encode(image& ctx, const std::vector<std::string>& inp_filenames, in encode() function
403 return encode(ctx, inp_filenames, fec_filename); in main()
/system/update_engine/scripts/update_payload/
Dchecker_unittest.py818 op.data_sha256_hash = hashlib.sha256(fake_data.encode('utf-8')).digest()
819 payload.ReadDataBlob.return_value = fake_data.encode('utf-8')
824 fake_data.replace(' ', '-').encode('utf-8')).digest()
825 payload.ReadDataBlob.return_value = fake_data.encode('utf-8')
Dupdate_metadata_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
/system/security/identity/
DWritableCredential.cpp145 return array.encode().size(); in calcExpectedProofOfProvisioningSize()
DCredentialData.cpp132 vector<uint8_t> credentialData = map.encode(); in saveToDisk()
/system/media/camera/docs/
Dmetadata_parser_xml.py356 file(output_name, "w").write(tpl_data.encode('utf-8'))
/system/bt/gd/l2cap/classic/cert/
Dpts_l2cap_test.py44 self.pts_address = common_pb2.BluetoothAddress(address=str.encode(pts_address))
/system/extras/simpleperf/scripts/
Dprofile_pb2.py5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
Dutils.py89 return str_value.encode('utf-8')
/system/chre/platform/slpi/see/
Dsee_helper.cc219 .data_type.funcs.encode = copyPayload, in encodeSnsSuidReq()
388 req->request.payload.funcs.encode = copyPayload; in prepSnsClientReq()
/system/update_engine/
Dupdate_metadata.proto105 // to use extents to encode the block lists (this is effectively
/system/update_engine/update_engine/
Dupdate_metadata.proto105 // to use extents to encode the block lists (this is effectively
/system/media/audio_utils/
DDoxyfile.orig1226 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
DDoxyfile.bak1226 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
/system/chre/chre_api/doc/
DDoxyfile1270 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)

12