Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 23 of 23) sorted by relevance

/system/tools/mkbootimg/
Dunpack_bootimg.py95 product_name = cstr(unpack('16s', args.boot_img.read(16))[0].decode())
97 cmdline = cstr(unpack('512s', args.boot_img.read(512))[0].decode())
100 cmdline = cstr(unpack('1536s', args.boot_img.read(1536))[0].decode())
108 args.boot_img.read(1024))[0].decode())
183 cmdline = cstr(unpack('2048s', args.boot_img.read(2048))[0].decode())
189 product_name = cstr(unpack('16s', args.boot_img.read(16))[0].decode())
216 boot_magic = unpack('8s', args.boot_img.read(8))[0].decode()
/system/extras/verity/fec/tests/
Dfec.py48 def decode(image, fec, output): function
73 if decode(temp_cor.name, temp_fec.name, temp_out.name) != 0:
83 if decode(temp_cor.name, temp_fec.name, temp_out.name) == 0:
/system/bt/tools/scripts/
Dyapf_checker.py48 files = subprocess.check_output(full_git_command).decode('utf-8').splitlines()
65 logging.error(result.stdout.decode('utf-8').strip())
/system/bt/gd/security/cert/
Dcert_security.py158 …self._enqueue_hci_command(hci_packets.LinkKeyRequestNegativeReplyBuilder(dut_address.decode('utf8'…
164 dut_address.decode('utf8'), self._io_caps, self._oob_data, self._auth_reqs), True)
170 …ueue_hci_command(hci_packets.UserConfirmationRequestReplyBuilder(dut_address.decode('utf8')), True)
178 … hci_packets.UserConfirmationRequestNegativeReplyBuilder(dut_address.decode('utf8')), True)
/system/chre/platform/slpi/see/
Dsee_helper.cc441 .data_type.funcs.decode = decodeStringField, in decodeSnsSuidEvent()
443 .suid.funcs.decode = decodeSnsSuidEventSuid, in decodeSnsSuidEvent()
580 data->value.str.funcs.decode = decodeStringField; in decodeSnsStdAttrValue()
582 data->value.subtype.values.funcs.decode = decodeSnsStdAttrValue; in decodeSnsStdAttrValue()
632 data->attr.value.values.funcs.decode = decodeSnsStdAttrValue; in decodeSnsStrAttr()
690 data->event.attributes.funcs.decode = decodeSnsStrAttr; in decodeSnsStdAttrEvent()
926 .operation_mode.funcs.decode = decodeStringField, in decodeSnsStdSensorPhysicalConfigEvent()
970 .data.funcs.decode = decodeFloatData, in decodeSnsStdSensorEvent()
1038 .bias.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
1040 .scale_factor.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
[all …]
/system/core/libsysutils/src/
DNetlinkListener.cpp65 if (evt->decode(mBuffer, count, mFormat)) { in onDataAvailable()
DNetlinkEvent.cpp678 bool NetlinkEvent::decode(char *buffer, int size, int format) { in decode() function in NetlinkEvent
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py248 has_default_value=False, default_value=_b("").decode('utf-8'),
255 has_default_value=False, default_value=_b("").decode('utf-8'),
262 has_default_value=False, default_value=_b("").decode('utf-8'),
269 has_default_value=False, default_value=_b("").decode('utf-8'),
276 has_default_value=False, default_value=_b("").decode('utf-8'),
283 has_default_value=False, default_value=_b("").decode('utf-8'),
402 has_default_value=False, default_value=_b("").decode('utf-8'),
416 has_default_value=False, default_value=_b("").decode('utf-8'),
423 has_default_value=False, default_value=_b("").decode('utf-8'),
479 has_default_value=False, default_value=_b("").decode('utf-8'),
[all …]
Dcommon.py171 return base64.b64encode(digest).decode('utf-8')
/system/core/libsysutils/include/sysutils/
DNetlinkEvent.h50 bool decode(char *buffer, int size, int format = NetlinkListener::NETLINK_FORMAT_ASCII);
/system/bt/embdrv/sbc/decoder/
DAndroid.bp10 "srce/bitstream-decode.c",
/system/bt/embdrv/sbc/
DBUILD.gn22 "decoder/srce/bitstream-decode.c",
/system/extras/verity/fec/
Dmain.cpp214 static int decode(image& ctx, const std::vector<std::string>& inp_filenames, in decode() function
405 return decode(ctx, inp_filenames, fec_filename, out_filename); in main()
/system/bt/gd/hci/cert/
Dle_acl_manager_test.py162 assertThat(dut_address_from_complete).isEqualTo(self.dut_address.decode())
252 … self.dut_address.decode(), 1, [phy_scan_params]), False)
/system/bt/gd/cert/
Dpy_hci.py133 remote_addr.decode('utf-8'),
/system/core/adb/
Dtest_adb.py498 return [x.split("\t") for x in output.decode("utf8").strip().splitlines()[1:]]
643 return [x.split("\t") for x in output.decode("utf8").strip().splitlines()[1:]]
648 return [x.split("\t") for x in output.decode("utf8").strip().splitlines()[1:]]
Dtest_device.py459 remote_pid = sleep_proc.stdout.readline().strip().decode("utf8")
622 output = self.device.install(tf.name.decode("utf8"))
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py110 print(self.receive_response().decode())
/system/extras/verity/
DUtils.java135 return Base64.decode(base64_der); in pemToDer()
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java286 assertThat(base64Binary, is(Base64.getDecoder().decode("Z29vZ2xl"))); in testPredefinedTypes()
/system/core/libunwindstack/tests/
DDwarfOpTest.cpp53 TYPED_TEST_P(DwarfOpTest, decode) { in TYPED_TEST_P() argument
1574 REGISTER_TYPED_TEST_SUITE_P(DwarfOpTest, decode, eval, illegal_opcode, not_implemented, op_addr,
/system/media/camera/docs/
Dmetadata_helpers.py1484 return soup.decode()
/system/extras/simpleperf/scripts/
Dutils.py96 return bytes_value.decode('utf-8')