Searched refs:hex (Results 1 - 25 of 70) sorted by relevance

123

/system/tpm/tpm_manager/server/
H A Dtpm_util.h23 LOG(severity) << "TPM error 0x" << std::hex << result << " (" \
/system/netd/libnetdutils/
H A DNetfilter.cpp26 return os << std::hex << "nfgenmsg["
H A DNetlink.cpp63 return os << std::hex << "nlmsghdr["
70 return os << std::hex << "nlattr["
75 return os << std::hex << "sockaddr_nl["
H A DSlice.cpp55 return os << std::hex << "Slice[base: " << reinterpret_cast<void*>(slice.base())
/system/connectivity/wificond/
H A Dlogging_utils.cpp34 ss << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(b);
/system/nfc/halimpl/bcm2079x/adaptation/
H A Dspdhelper.cpp47 static char hex[] = "0123456789ABCDEF"; local
49 c[0] = hex[((b >> 4) & 0x0F)];
50 c[1] = hex[((b >> 0) & 0x0F)];
H A Dandroid_logmsg.cpp37 static inline void word2hex(const char* data, char** hex);
53 // Protocol decoder is not available, so decode NCI packet into hex numbers.
104 // write hex of data
125 // write hex of data
130 // write hex padding
145 inline void word2hex(const char* data, char** hex) { argument
146 byte2hex(&data[1], hex);
147 byte2hex(&data[0], hex);
162 // Decode a few Bluetooth HCI packets into hex numbers.
176 // Decode a few Bluetooth HCI packets into hex number
[all...]
/system/extras/perfprofd/quipper/
H A Daddress_mapper.cc41 LOG(ERROR) << "Address mapping at " << std::hex << real_addr
42 << " with size " << std::hex << size << " overflows.";
138 LOG(ERROR) << "Could not find space to map addr=" << std::hex << real_addr
139 << " with size " << std::hex << size;
146 LOG(INFO) << " real_addr: " << std::hex << it->real_addr
147 << " mapped: " << std::hex << it->mapped_addr
148 << " id: " << std::hex << it->id
149 << " size: " << std::hex << it->size;
/system/tpm/trunks/
H A Dtrunks_ftdi_spi.cc180 LOG(ERROR) << "unknown did_vid: 0x" << std::hex << did_vid;
188 LOG(ERROR) << "invalid reset status: 0x" << std::hex << (unsigned)cmd;
195 LOG(ERROR) << "failed to claim locality, status: 0x" << std::hex
202 LOG(ERROR) << "unexpected TPM family value, status: 0x" << std::hex
228 LOG(ERROR) << "failed to get expected status " << std::hex
319 LOG(ERROR) << "unexpected status 0x" << std::hex << status;
330 LOG(ERROR) << "unexpected status 0x" << std::hex << status;
H A Dresource_manager.cc247 VLOG(1) << "CLEANUP_SESSION: " << std::hex << flushed_handle;
280 VLOG(1) << "RELOAD_SESSION: " << std::hex << session_handle;
307 VLOG(1) << "EVICT_OBJECT: " << std::hex << info.tpm_handle;
321 VLOG(1) << "EVICT_SESSION: " << std::hex << session_to_evict;
747 VLOG(1) << "RELOAD_OBJECT: " << std::hex << virtual_handle;
749 VLOG(1) << "INPUT_HANDLE_REPLACE: " << std::hex << virtual_handle << " -> "
750 << std::hex << handle_info.tpm_handle;
763 VLOG(1) << "OUTPUT_HANDLE_NEW_SESSION: " << std::hex << handle;
778 VLOG(1) << "OUTPUT_HANDLE_NEW_VIRTUAL: " << std::hex << handle << " -> "
779 << std::hex << new_virtual_handl
[all...]
H A Dtpm_state_impl.cc235 VLOG(1) << "TPM Property 0x" << std::hex << property.property
261 VLOG(1) << "Algorithm Properties 0x" << std::hex << property.alg
/system/netd/server/
H A DNetlinkHandler.h53 void notifyStrictCleartext(const char* uid, const char* hex);
H A DNetlinkHandler.cpp129 const char *hex = evt->findParam("HEX"); local
130 notifyStrictCleartext(uid, hex);
227 void NetlinkHandler::notifyStrictCleartext(const char* uid, const char* hex) { argument
228 notify(ResponseCode::StrictCleartext, "%s %s", uid, hex);
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dbt_address.cc74 ss << std::hex << std::setfill('0') << std::setw(2);
77 ss << std::hex << std::setfill('0') << std::setw(2) << octet;
/system/core/fs_mgr/
H A Dfs_mgr_avb.cpp63 static bool hex_to_bytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { argument
66 if (hex.size() % 2 != 0) {
69 if (hex.size() / 2 > bytes_len) {
72 for (size_t i = 0, j = 0, n = hex.size(); i < n; i += 2, ++j) {
74 if (!nibble_value(hex[i], &high)) {
78 if (!nibble_value(hex[i + 1], &low)) {
90 std::string hex; local
93 hex.push_back(hex_digits[(bytes[i] & 0xF0) >> 4]);
94 hex.push_back(hex_digits[bytes[i] & 0x0F]);
96 return hex;
[all...]
/system/vold/
H A DUtils.h86 /* Converts hex string to raw bytes, ignoring [ :-] */
87 status_t HexToStr(const std::string& hex, std::string& str);
88 /* Converts raw bytes to hex string */
89 status_t StrToHex(const std::string& str, std::string& hex);
90 /* Converts raw key bytes to hex string */
91 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex);
92 /* Normalize given hex string into consistent format */
H A DUtils.cpp389 status_t HexToStr(const std::string& hex, std::string& str) { argument
393 for (size_t i = 0; i < hex.size(); i++) {
395 switch (hex[i]) {
430 status_t StrToHex(const std::string& str, std::string& hex) { argument
431 hex.clear();
433 hex.push_back(kLookup[(str[i] & 0xF0) >> 4]);
434 hex.push_back(kLookup[str[i] & 0x0F]);
439 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex) { argument
440 hex.clear();
442 hex
[all...]
/system/core/adb/client/
H A Dusb_osx.cpp159 LOG(ERROR) << "Unable to create an interface plug-in (" << std::hex << kr << ")";
170 LOG(ERROR) << "Couldn't query the interface (" << std::hex << result << ")";
191 LOG(ERROR) << "Couldn't grab device from interface (" << std::hex << kr << ")";
206 LOG(ERROR) << "Unable to create a device plug-in (" << std::hex << kr << ")";
216 LOG(ERROR) << "Couldn't create a device interface (" << std::hex << result << ")";
320 LOG(ERROR) << "Could not clear pipe stall both ends: " << std::hex << rc;
340 LOG(ERROR) << "Could not open interface: " << std::hex << kr;
347 LOG(ERROR) << "Unable to get number of endpoints: " << std::hex << kr;
383 << std::hex << kr;
491 LOG(ERROR) << "usb_write failed with status: " << std::hex << resul
[all...]
/system/extras/ext4_utils/
H A Dext4_crypt.cpp73 static void policy_to_hex(const char* policy, char* hex) { argument
75 hex[j++] = HEX_LOOKUP[(policy[i] & 0xF0) >> 4];
76 hex[j++] = HEX_LOOKUP[policy[i] & 0x0F];
78 hex[EXT4_KEY_DESCRIPTOR_SIZE_HEX - 1] = '\0';
/system/core/sdcard/
H A Dfuse.cpp49 DLOG(INFO) << "ACQUIRE " << std::hex << node << std::dec
57 DLOG(INFO) << "RELEASE " << std::hex << node << std::dec
62 DLOG(INFO) << "DESTROY " << std::hex << node << std::dec << " (" << node->name << ")";
73 LOG(ERROR) << std::hex << node << std::dec << " refcount=0";
621 << " @ " << std::hex << hdr->nodeid
643 << " fh=" << std::hex << req->fh << " @ " << hdr->nodeid << std::dec
666 DLOG(INFO) << "[" << handler->token << "] SETATTR fh=" << std::hex << req->fh
667 << " valid=" << std::hex << req->valid << " @ " << hdr->nodeid << std::dec
733 << " @ " << std::hex << hdr->nodeid
763 << " @ " << std::hex << hd
[all...]
/system/extras/libfec/
H A Dfec_read.cpp34 char hex[bytes_per_line * 3 + 1]; local
45 memset(hex, 0, sizeof(hex));
50 ptrdiff_t offset = &hex[m * 3] - hex;
51 snprintf(hex + offset, sizeof(hex) - offset, "%02x ",
60 strcpy(&hex[m * 3], " ");
64 warn(" %04zu %s %s", n, hex, prn);
/system/nfc/src/adaptation/
H A Dandroid_logmsg.cpp38 static inline void word2hex(const char* data, char** hex);
54 // Protocol decoder is not available, so decode NCI packet into hex numbers.
105 // write hex of data
126 // write hex of data
131 // write hex padding
146 inline void word2hex(const char* data, char** hex) { argument
147 byte2hex(&data[1], hex);
148 byte2hex(&data[0], hex);
163 // Decode a few Bluetooth HCI packets into hex numbers.
177 // Decode a few Bluetooth HCI packets into hex number
[all...]
/system/bt/btif/src/
H A Dbtif_sock_util.cc160 static inline void word2hex(const char* data, char** hex) { argument
161 byte2hex(&data[1], hex);
162 byte2hex(&data[0], hex);
193 // write hex of data
214 // write hex of data
219 // write hex padding
/system/bt/btcore/test/
H A Ddevice_class_test.cc35 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << m;
39 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << n;
/system/tpm/attestation/common/
H A Dcrypto_utility_impl_test.cc48 std::string HexDecode(const std::string hex) { argument
50 CHECK(base::HexStringToBytes(hex, &output));

Completed in 2809 milliseconds

123