/system/tpm/tpm_manager/server/ |
H A D | tpm_util.h | 23 LOG(severity) << "TPM error 0x" << std::hex << result << " (" \
|
/system/keymaster/tests/ |
H A D | ckdf_test.cpp | 73 template <class Blob> Blob hex2span(const char* hex) { argument 74 string bytes = hex2str(hex); 79 KeymasterKeyBlob hex2key(const char* hex) { argument 80 return hex2span<KeymasterKeyBlob>(hex); 83 KeymasterBlob hex2blob(const char* hex) { argument 84 return hex2span<KeymasterBlob>(hex);
|
/system/netd/libnetdutils/ |
H A D | Netfilter.cpp | 26 return os << std::hex << "nfgenmsg["
|
H A D | Netlink.cpp | 63 return os << std::hex << "nlmsghdr[" 70 return os << std::hex << "nlattr[" 75 return os << std::hex << "sockaddr_nl["
|
H A D | Slice.cpp | 55 return os << std::hex << "Slice[base: " << reinterpret_cast<void*>(slice.base())
|
/system/connectivity/wificond/ |
H A D | logging_utils.cpp | 34 ss << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(b);
|
/system/tpm/trunks/ |
H A D | trunks_ftdi_spi.cc | 180 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 D | resource_manager.cc | 247 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 D | tpm_state_impl.cc | 235 VLOG(1) << "TPM Property 0x" << std::hex << property.property 261 VLOG(1) << "Algorithm Properties 0x" << std::hex << property.alg
|
/system/netd/server/ |
H A D | NetlinkHandler.h | 53 void notifyStrictCleartext(const char* uid, const char* hex);
|
H A D | NetlinkHandler.cpp | 163 const char *hex = evt->findParam("HEX"); local 164 notifyStrictCleartext(uid, hex); 261 void NetlinkHandler::notifyStrictCleartext(const char* uid, const char* hex) { argument 262 notify(ResponseCode::StrictCleartext, "%s %s", uid, hex);
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | bt_address.cc | 74 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 D | fs_mgr_avb.cpp | 63 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 D | Utils.h | 84 /* Converts hex string to raw bytes, ignoring [ :-] */ 85 status_t HexToStr(const std::string& hex, std::string& str); 86 /* Converts raw bytes to hex string */ 87 status_t StrToHex(const std::string& str, std::string& hex); 88 /* Converts raw key bytes to hex string */ 89 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex); 90 /* Normalize given hex string into consistent format */
|
H A D | Utils.cpp | 411 status_t HexToStr(const std::string& hex, std::string& str) { argument 415 for (size_t i = 0; i < hex.size(); i++) { 417 switch (hex[i]) { 452 status_t StrToHex(const std::string& str, std::string& hex) { argument 453 hex.clear(); 455 hex.push_back(kLookup[(str[i] & 0xF0) >> 4]); 456 hex.push_back(kLookup[str[i] & 0x0F]); 461 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex) { argument 462 hex.clear(); 464 hex [all...] |
H A D | KeyUtil.cpp | 102 o << std::hex << std::setw(2) << std::setfill('0') << (int)i;
|
/system/core/adb/client/ |
H A D | usb_osx.cpp | 159 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 << ")"; 321 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; 388 << std::hex << kr; 503 LOG(ERROR) << "usb_write failed with status: " << std::hex << resul [all...] |
/system/extras/ext4_utils/ |
H A D | ext4_crypt.cpp | 100 static void policy_to_hex(const char* policy, char* hex) { argument 102 hex[j++] = HEX_LOOKUP[(policy[i] & 0xF0) >> 4]; 103 hex[j++] = HEX_LOOKUP[policy[i] & 0x0F]; 105 hex[EXT4_KEY_DESCRIPTOR_SIZE_HEX - 1] = '\0';
|
/system/extras/libfec/ |
H A D | fec_read.cpp | 34 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/bt/packet/tests/base/ |
H A D | packet_test_common.h | 27 tmp << "0x" << std::internal << std::hex << std::setfill('0')
|
/system/bt/btcore/test/ |
H A D | device_class_test.cc | 35 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 D | crypto_utility_impl_test.cc | 48 std::string HexDecode(const std::string hex) { argument 50 CHECK(base::HexStringToBytes(hex, &output));
|
/system/update_engine/ |
H A D | common_service.cc | 80 << "flags=0x" << std::hex << flags << " " 99 << "flags=0x" << std::hex << flags << " "
|
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 304 char* hex = (char*) calloc(1, 5 + (len * 2)); local 305 strcpy(hex, "HEX="); 307 hex[4 + (i * 2)] = "0123456789abcdef"[(raw[i] >> 4) & 0xf]; 308 hex[5 + (i * 2)] = "0123456789abcdef"[raw[i] & 0xf]; 312 mParams[1] = hex;
|
/system/core/init/ |
H A D | util.cpp | 276 * Writes hex_len hex characters (1/2 byte) to hex from bytes. 279 std::string hex("0x"); 281 android::base::StringAppendF(&hex, "%02x", bytes[i]); 282 return hex;
|