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/core/adb/
Dtest_adb.py116 "connected to {}".format(serial).encode("utf8"))
353 "of commands\r\n").encode("utf8"))
398 "error: device '{}' not found".format(serial).encode("utf8"))
404 command = "host:emulator:{}".format(port).encode("utf8")
443 "already connected to {}".format(serial).encode("utf8"))
477 "disconnected {}".format(serial).encode("utf8"))
485 "error: device '{}' not found".format(serial).encode("utf8"))
504 "connected to {}".format(device_name).encode("utf8"))
Dtest_device.py264 self.assertEqual(data, server.makefile().read().encode("utf8"))
480 characters = [c.encode("utf8") for c in string.ascii_letters + string.digits]
1424 encoded = string.encode("utf8")
/system/extras/verity/fec/tests/
Dfec.py44 def encode(image, fec, roots): function
70 encode(image, temp_fec.name, roots)
/system/bt/vendor_libs/test_vendor_lib/scripts/
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')
Dtest_channel.py129 name.encode('utf-8')
131 arg.encode('utf-8')
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor_manager.cc131 .values = {.funcs = {.encode = encodeFunc}, in makeDatapoint()
391 .funcs = {.encode = encodeThreeAxisSensorDatapoints}, in makeSensorThreeAxisData()
411 .funcs = {.encode = encodeFloatSensorDatapoints}, in makeSensorFloatData()
431 .funcs = {.encode = encodeProximitySensorDatapoints}, in makeSensorProximityData()
/system/bt/tools/scripts/
Dbtsnoop_live.py192 conn_str.encode('ascii', 'ignore'), config_str.encode(
/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/
Dcommon.py176 return digest.encode('base64').strip()
Dupdate_metadata_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc219 testResult.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in makeTestResultProtoMessage()
/system/bt/gd/neighbor/cert/
Dneighbor_test.py177 cert_address = address.encode('utf8')
/system/security/identity/
DWritableCredential.cpp145 return array.encode().size(); in calcExpectedProofOfProvisioningSize()
DCredentialData.cpp132 vector<uint8_t> credentialData = map.encode(); in saveToDisk()
/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/bt/gd/l2cap/classic/cert/
Dpts_l2cap_test.py49 address=str.encode(pts_address))
/system/chre/platform/slpi/see/
Dsee_helper.cc221 .data_type.funcs.encode = copyPayload, in encodeSnsSuidReq()
389 req->request.payload.funcs.encode = copyPayload; in prepSnsClientReq()
/system/update_engine/update_engine/
Dupdate_metadata.proto105 // to use extents to encode the block lists (this is effectively
/system/update_engine/
Dupdate_metadata.proto105 // to use extents to encode the block lists (this is effectively
/system/media/audio_utils/
DDoxyfile.bak1226 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
DDoxyfile.orig1226 # 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