Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 58) sorted by relevance

123

/system/extras/perfprofd/quipper/
Daddress_mapper.cc41 LOG(ERROR) << "Address mapping at " << std::hex << real_addr in MapWithID()
42 << " with size " << std::hex << size << " overflows."; in MapWithID()
138 LOG(ERROR) << "Could not find space to map addr=" << std::hex << real_addr in MapWithID()
139 << " with size " << std::hex << size; in MapWithID()
146 LOG(INFO) << " real_addr: " << std::hex << it->real_addr in DumpToLog()
147 << " mapped: " << std::hex << it->mapped_addr in DumpToLog()
148 << " id: " << std::hex << it->id in DumpToLog()
149 << " size: " << std::hex << it->size; in DumpToLog()
/system/tpm/trunks/
Dtrunks_ftdi_spi.cc180 LOG(ERROR) << "unknown did_vid: 0x" << std::hex << did_vid; in Init()
188 LOG(ERROR) << "invalid reset status: 0x" << std::hex << (unsigned)cmd; in Init()
195 LOG(ERROR) << "failed to claim locality, status: 0x" << std::hex in Init()
202 LOG(ERROR) << "unexpected TPM family value, status: 0x" << std::hex in Init()
228 LOG(ERROR) << "failed to get expected status " << std::hex in WaitForStatus()
319 LOG(ERROR) << "unexpected status 0x" << std::hex << status; in SendCommandAndWait()
330 LOG(ERROR) << "unexpected status 0x" << std::hex << status; in SendCommandAndWait()
Dresource_manager.cc247 VLOG(1) << "CLEANUP_SESSION: " << std::hex << flushed_handle; in CleanupFlushedHandle()
280 VLOG(1) << "RELOAD_SESSION: " << std::hex << session_handle; in EnsureSessionIsLoaded()
307 VLOG(1) << "EVICT_OBJECT: " << std::hex << info.tpm_handle; in EvictObjects()
321 VLOG(1) << "EVICT_SESSION: " << std::hex << session_to_evict; in EvictSession()
747 VLOG(1) << "RELOAD_OBJECT: " << std::hex << virtual_handle; in ProcessInputHandle()
749 VLOG(1) << "INPUT_HANDLE_REPLACE: " << std::hex << virtual_handle << " -> " in ProcessInputHandle()
750 << std::hex << handle_info.tpm_handle; in ProcessInputHandle()
763 VLOG(1) << "OUTPUT_HANDLE_NEW_SESSION: " << std::hex << handle; in ProcessOutputHandle()
778 VLOG(1) << "OUTPUT_HANDLE_NEW_VIRTUAL: " << std::hex << handle << " -> " in ProcessOutputHandle()
779 << std::hex << new_virtual_handle; in ProcessOutputHandle()
[all …]
Dtpm_state_impl.cc235 VLOG(1) << "TPM Property 0x" << std::hex << property.property in CacheTpmProperties()
261 VLOG(1) << "Algorithm Properties 0x" << std::hex << property.alg in CacheAlgorithmProperties()
/system/nfc/halimpl/bcm2079x/adaptation/
Dspdhelper.cpp47 static char hex[] = "0123456789ABCDEF"; in toHex() local
49 c[0] = hex[((b >> 4) & 0x0F)]; in toHex()
50 c[1] = hex[((b >> 0) & 0x0F)]; in toHex()
Dandroid_logmsg.cpp37 static inline void word2hex(const char* data, char** hex);
145 inline void word2hex(const char* data, char** hex) { in word2hex() argument
146 byte2hex(&data[1], hex); in word2hex()
147 byte2hex(&data[0], hex); in word2hex()
/system/core/adb/client/
Dusb_osx.cpp152 LOG(ERROR) << "Unable to create an interface plug-in (" << std::hex << kr << ")"; in AndroidInterfaceAdded()
163 LOG(ERROR) << "Couldn't query the interface (" << std::hex << result << ")"; in AndroidInterfaceAdded()
184 LOG(ERROR) << "Couldn't grab device from interface (" << std::hex << kr << ")"; in AndroidInterfaceAdded()
199 LOG(ERROR) << "Unable to create a device plug-in (" << std::hex << kr << ")"; in AndroidInterfaceAdded()
209 LOG(ERROR) << "Couldn't create a device interface (" << std::hex << result << ")"; in AndroidInterfaceAdded()
313 LOG(ERROR) << "Could not clear pipe stall both ends: " << std::hex << rc; in ClearPipeStallBothEnds()
333 LOG(ERROR) << "Could not open interface: " << std::hex << kr; in CheckInterface()
340 LOG(ERROR) << "Unable to get number of endpoints: " << std::hex << kr; in CheckInterface()
376 << std::hex << kr; in CheckInterface()
487 LOG(ERROR) << "usb_write failed with status: " << std::hex << result; in usb_write()
[all …]
/system/core/fs_mgr/
Dfs_mgr_avb.cpp110 static bool hex_to_bytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in hex_to_bytes() argument
113 if (hex.size() % 2 != 0) { in hex_to_bytes()
116 if (hex.size() / 2 > bytes_len) { in hex_to_bytes()
119 for (size_t i = 0, j = 0, n = hex.size(); i < n; i += 2, ++j) { in hex_to_bytes()
121 if (!nibble_value(hex[i], &high)) { in hex_to_bytes()
125 if (!nibble_value(hex[i + 1], &low)) { in hex_to_bytes()
137 std::string hex; in bytes_to_hex() local
140 hex.push_back(hex_digits[(bytes[i] & 0xF0) >> 4]); in bytes_to_hex()
141 hex.push_back(hex_digits[bytes[i] & 0x0F]); in bytes_to_hex()
143 return hex; in bytes_to_hex()
/system/core/sdcard/
Dfuse.cpp49 DLOG(INFO) << "ACQUIRE " << std::hex << node << std::dec in acquire_node_locked()
57 DLOG(INFO) << "RELEASE " << std::hex << node << std::dec in release_node_locked()
62 DLOG(INFO) << "DESTROY " << std::hex << node << std::dec << " (" << node->name << ")"; in release_node_locked()
73 LOG(ERROR) << std::hex << node << std::dec << " refcount=0"; in release_node_locked()
621 << " @ " << std::hex << hdr->nodeid in handle_forget()
643 << " fh=" << std::hex << req->fh << " @ " << hdr->nodeid << std::dec in handle_getattr()
666 DLOG(INFO) << "[" << handler->token << "] SETATTR fh=" << std::hex << req->fh in handle_setattr()
667 << " valid=" << std::hex << req->valid << " @ " << hdr->nodeid << std::dec in handle_setattr()
733 << " @ " << std::hex << hdr->nodeid in handle_mknod()
763 << " @ " << std::hex << hdr->nodeid in handle_mkdir()
[all …]
/system/extras/libfec/
Dfec_read.cpp34 char hex[bytes_per_line * 3 + 1]; in dump() local
45 memset(hex, 0, sizeof(hex)); in dump()
50 ptrdiff_t offset = &hex[m * 3] - hex; in dump()
51 snprintf(hex + offset, sizeof(hex) - offset, "%02x ", in dump()
60 strcpy(&hex[m * 3], " "); in dump()
64 warn(" %04zu %s %s", n, hex, prn); in dump()
/system/extras/ext4_utils/
Dext4_crypt.cpp73 static void policy_to_hex(const char* policy, char* hex) { in policy_to_hex() argument
75 hex[j++] = HEX_LOOKUP[(policy[i] & 0xF0) >> 4]; in policy_to_hex()
76 hex[j++] = HEX_LOOKUP[policy[i] & 0x0F]; in policy_to_hex()
78 hex[EXT4_KEY_DESCRIPTOR_SIZE_HEX - 1] = '\0'; in policy_to_hex()
/system/netd/server/
DNetlinkHandler.cpp129 const char *hex = evt->findParam("HEX"); in onEvent() local
130 notifyStrictCleartext(uid, hex); in onEvent()
227 void NetlinkHandler::notifyStrictCleartext(const char* uid, const char* hex) { in notifyStrictCleartext() argument
228 notify(ResponseCode::StrictCleartext, "%s %s", uid, hex); in notifyStrictCleartext()
DNetlinkHandler.h53 void notifyStrictCleartext(const char* uid, const char* hex);
/system/bt/vendor_libs/test_vendor_lib/src/
Dbt_address.cc74 ss << std::hex << std::setfill('0') << std::setw(2); in ToString()
77 ss << std::hex << std::setfill('0') << std::setw(2) << octet; in ToString()
/system/bt/btif/src/
Dbtif_sock_util.cc160 static inline void word2hex(const char* data, char** hex) { in word2hex() argument
161 byte2hex(&data[1], hex); in word2hex()
162 byte2hex(&data[0], hex); in word2hex()
/system/tpm/tpm_manager/server/
Dtpm_util.h23 LOG(severity) << "TPM error 0x" << std::hex << result << " (" \
/system/nfc/src/adaptation/
Dandroid_logmsg.cpp38 static inline void word2hex(const char* data, char** hex);
146 inline void word2hex(const char* data, char** hex) { in word2hex() argument
147 byte2hex(&data[1], hex); in word2hex()
148 byte2hex(&data[0], hex); in word2hex()
/system/connectivity/wificond/
Dlogging_utils.cpp34 ss << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(b); in GetMacString()
/system/vold/
DUtils.cpp374 status_t HexToStr(const std::string& hex, std::string& str) { in HexToStr() argument
378 for (size_t i = 0; i < hex.size(); i++) { in HexToStr()
380 switch (hex[i]) { in HexToStr()
415 status_t StrToHex(const std::string& str, std::string& hex) { in StrToHex() argument
416 hex.clear(); in StrToHex()
418 hex.push_back(kLookup[(str[i] & 0xF0) >> 4]); in StrToHex()
419 hex.push_back(kLookup[str[i] & 0x0F]); in StrToHex()
DUtils.h83 status_t HexToStr(const std::string& hex, std::string& str);
85 status_t StrToHex(const std::string& str, std::string& hex);
DExt4Crypt.cpp141 o << std::hex << std::setw(2) << std::setfill('0') << (int)i; in keyname()
616 static bool parse_hex(const char* hex, std::string* result) { in parse_hex() argument
617 if (strcmp("!", hex) == 0) { in parse_hex()
621 if (android::vold::HexToStr(hex, *result) != 0) { in parse_hex()
/system/core/libsysutils/src/
DNetlinkEvent.cpp287 char* hex = (char*) calloc(1, 5 + (len * 2)); in parseNfPacketMessage() local
288 strcpy(hex, "HEX="); in parseNfPacketMessage()
290 hex[4 + (i * 2)] = "0123456789abcdef"[(raw[i] >> 4) & 0xf]; in parseNfPacketMessage()
291 hex[5 + (i * 2)] = "0123456789abcdef"[raw[i] & 0xf]; in parseNfPacketMessage()
295 mParams[1] = hex; in parseNfPacketMessage()
/system/core/init/
Dutil.cpp320 std::string hex("0x"); in bytes_to_hex() local
322 android::base::StringAppendF(&hex, "%02x", bytes[i]); in bytes_to_hex()
323 return hex; in bytes_to_hex()
/system/bt/btcore/test/
Ddevice_class_test.cc35 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << m; in check_bitfield()
39 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << n; in check_bitfield()
/system/tpm/attestation/common/
Dcrypto_utility_impl_test.cc48 std::string HexDecode(const std::string hex) { in HexDecode() argument
50 CHECK(base::HexStringToBytes(hex, &output)); in HexDecode()

123