Searched refs:encode (Results 1 – 25 of 27) sorted by relevance
12
/system/tools/mkbootimg/ |
D | mkbootimg.py | 68 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/ |
D | fec.py | 44 def encode(image, fec, roots): function 70 encode(image, temp_fec.name, roots)
|
/system/core/adb/ |
D | test_adb.py | 118 "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")))
|
D | test_device.py | 266 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/ |
D | test_channel.py | 77 self._socket.sendall(data.encode()) 128 name.encode() 130 arg.encode()
|
D | simple_link_layer_socket.py | 135 name.encode('utf-8') 137 arg.encode('utf-8')
|
D | send_simple_commands.py | 152 name.encode('utf-8') 154 arg.encode('utf-8')
|
/system/bt/tools/scripts/ |
D | btsnoop_live.py | 191 conn_str.encode('ascii', 'ignore'), config_str.encode('ascii', 'ignore'), byref(success))
|
/system/bt/gd/neighbor/cert/ |
D | py_neighbor.py | 83 … address=remote_address.encode('utf8'), page_scan_repetition_mode=1, clock_offset=0x6855))
|
D | neighbor_test.py | 41 self.cert_name += b'@' + self.cert_address.encode('utf8')
|
/system/extras/verity/fec/ |
D | main.cpp | 172 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/ |
D | checker_unittest.py | 818 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')
|
D | update_metadata_pb2.py | 6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
/system/security/identity/ |
D | WritableCredential.cpp | 145 return array.encode().size(); in calcExpectedProofOfProvisioningSize()
|
D | CredentialData.cpp | 132 vector<uint8_t> credentialData = map.encode(); in saveToDisk()
|
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 356 file(output_name, "w").write(tpl_data.encode('utf-8'))
|
/system/bt/gd/l2cap/classic/cert/ |
D | pts_l2cap_test.py | 44 self.pts_address = common_pb2.BluetoothAddress(address=str.encode(pts_address))
|
/system/extras/simpleperf/scripts/ |
D | profile_pb2.py | 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
D | utils.py | 89 return str_value.encode('utf-8')
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 219 .data_type.funcs.encode = copyPayload, in encodeSnsSuidReq() 388 req->request.payload.funcs.encode = copyPayload; in prepSnsClientReq()
|
/system/update_engine/ |
D | update_metadata.proto | 105 // to use extents to encode the block lists (this is effectively
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 105 // to use extents to encode the block lists (this is effectively
|
/system/media/audio_utils/ |
D | Doxyfile.orig | 1226 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
|
D | Doxyfile.bak | 1226 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
|
/system/chre/chre_api/doc/ |
D | Doxyfile | 1270 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
|
12