/packages/modules/Bluetooth/tools/rootcanal/scripts/ |
D | link_layer_socket.py | 111 print('Rx: type_byte ' + hex(header[4])) 112 …print('Rx: from ' + hex(header[5]) + ':' + hex(header[6]) + ':' + hex(header[7]) + ':' + hex(heade… 113 ':' + hex(header[9]) + ':' + hex(header[10])) 114 …print('Rx: to ' + hex(header[11]) + ':' + hex(header[12]) + ':' + hex(header[13]) + ':' + hex(head… 115 ':' + hex(header[15]) + ':' + hex(header[16]))
|
/packages/modules/Uwb/service/java/com/android/server/uwb/util/ |
D | DataTypeConversionUtil.java | 37 public static byte[] hexStringToByteArray(String hex) { in hexStringToByteArray() argument 39 hex = hex.replaceAll("\\s", ""); in hexStringToByteArray() 41 int len = hex.length(); in hexStringToByteArray() 44 hex = String.format("0%s", hex); in hexStringToByteArray() 50 (byte) ((Character.digit(hex.charAt(i), 16) << 4) in hexStringToByteArray() 51 | Character.digit(hex.charAt(i + 1), 16)); in hexStringToByteArray() 72 char[] hex = new char[(endIndex - startIndex) * 2]; in byteArrayToHexString() local 76 hex[i * 2] = HEX_ARRAY[v >> 4]; in byteArrayToHexString() 77 hex[i * 2 + 1] = HEX_ARRAY[v & 0x0F]; in byteArrayToHexString() 79 return new String(hex); in byteArrayToHexString()
|
/packages/modules/Virtualization/authfs/src/fsverity/ |
D | editor.rs | 376 hex::decode("3d248ca542a24fc62d1c43b916eae5016878e2533c88238480b26128a1f1af95")? in test_verified_writer_no_write() 389 hex::decode("cd0875ca59c7d37e962c5e8f5acd3770750ac80225e2df652ce5672fd34500af")? in test_verified_writer_from_zero() 398 hex::decode("2901b849fda2d91e3929524561c4a47e77bb64734319759507b2029f18b9cc52")? in test_verified_writer_from_zero() 407 hex::decode("7545409b556071554d18973a29b96409588c7cda4edd00d5586b27a11e1a523b")? in test_verified_writer_from_zero() 420 hex::decode("a23fc5130d3d7b3323fc4b4a5e79d5d3e9ddf3a3f5872639e867713512c6702f")? in test_verified_writer_unaligned() 429 hex::decode("d16d4c1c186d757e646f76208b21254f50d7f07ea07b1505ff48b2a6f603f989")? in test_verified_writer_unaligned() 442 hex::decode("4df2aefd8c2a9101d1d8770dca3ede418232eabce766bb8e020395eae2e97103")? in test_verified_writer_with_hole() 451 hex::decode("47d5da26f6934484e260630a69eb2eebb21b48f69bc8fbf8486d1694b7dba94f")? in test_verified_writer_with_hole() 460 hex::decode("8bd118821fb4aff26bb4b51d485cc481a093c68131b7f4f112e9546198449752")? in test_verified_writer_with_hole() 473 hex::decode("4c433d8640c888b629dc673d318cbb8d93b1eebcc784d9353e07f09f0dcfe707")? in test_verified_writer_various_writes() [all …]
|
D | builder.rs | 162 hex::decode("3d248ca542a24fc62d1c43b916eae5016878e2533c88238480b26128a1f1af95")?, in merkle_tree_empty_file() 172 hex::decode("cd0875ca59c7d37e962c5e8f5acd3770750ac80225e2df652ce5672fd34500af")?, in merkle_tree_file_size_less_than_or_equal_to_4k() 183 hex::decode("2901b849fda2d91e3929524561c4a47e77bb64734319759507b2029f18b9cc52")?, in merkle_tree_more_sizes() 188 hex::decode("2a476d58eb80394052a3a783111e1458ac3ecf68a7878183fed86ca0ff47ec0d")?, in merkle_tree_more_sizes() 194 hex::decode("26b7c190a34e19f420808ee7ec233b09fa6c34543b5a9d2950530114c205d14f")?, in merkle_tree_more_sizes() 200 hex::decode("316835d9be1c95b5cd55d07ae7965d651689efad186e26cbf680e40b683a3262")?, in merkle_tree_more_sizes() 218 hex::decode("7d3c0d2e1dc54230b20ed875f5f3a4bd3f9873df601936b3ca8127d4db3548f3")?, in merkle_tree_non_sequential()
|
/packages/modules/AdServices/adservices/scripts/ |
D | generate_adservices_public_xml.py | 127 added_element.set('id', hex(i_min)) 140 map_start=hex(0x7f017fff)) 144 map_start=hex(0x7f027fff)) 147 map_start=hex(0x7f037fff)) 150 map_start=hex(0x7f047fff)) 153 map_start=hex(0x7f057fff)) 156 map_start=hex(0x7f067fff)) 159 map_start=hex(0x7f077fff)) 162 map_start=hex(0x7f087fff))
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | VideoCapture.cpp | 62 LOG(INFO) << " All Caps: " << std::hex << std::setw(8) << caps.capabilities; in open() 63 LOG(INFO) << " Dev Caps: " << std::hex << caps.device_caps; in open() 73 << std::hex << std::setw(8) << formatDescriptions.pixelformat << " " in open() 74 << std::hex << formatDescriptions.flags; in open() 97 << ((char*)&format.fmt.pix.pixelformat)[3] << "(" << std::hex << std::setw(8) in open() 112 LOG(INFO) << "Current output format: " << "fmt=0x" << std::hex in open() 178 LOG(INFO) << " flags : " << std::hex << mBufferInfos[i].flags; in startStream() 311 PLOG(ERROR) << "Failed to program a parameter value " << "id = " << std::hex << control.id; in setParameter() 320 PLOG(ERROR) << "Failed to read a parameter value" << " fd = " << std::hex << mDeviceFd in getParameter()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | VideoCapture.cpp | 62 LOG(DEBUG) << " All Caps: " << std::hex << std::setw(8) << caps.capabilities; in open() 63 LOG(DEBUG) << " Dev Caps: " << std::hex << caps.device_caps; in open() 73 << std::hex << std::setw(8) << formatDescriptions.pixelformat << " " in open() 74 << std::hex << formatDescriptions.flags; in open() 97 << ((char*)&format.fmt.pix.pixelformat)[3] << "(" << std::hex << std::setw(8) in open() 112 LOG(INFO) << "Current output format: " << "fmt=0x" << std::hex in open() 178 LOG(DEBUG) << " flags : " << std::hex << mBufferInfos[i].flags; in startStream() 311 PLOG(ERROR) << "Failed to program a parameter value " << "id = " << std::hex << control.id; in setParameter() 320 PLOG(ERROR) << "Failed to read a parameter value" << " fd = " << std::hex << mDeviceFd in getParameter()
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | MsrpUtils.java | 54 String hex = ""; in generateRandomId() local 56 hex = hex + String.format("%02x", b); in generateRandomId() 58 return hex; in generateRandomId()
|
/packages/modules/adb/client/ |
D | usb_osx.cpp | 170 LOG(ERROR) << "Unable to create an interface plug-in (" << std::hex << kr << ")"; in AndroidInterfaceAdded() 181 LOG(ERROR) << "Couldn't query the interface (" << std::hex << result << ")"; in AndroidInterfaceAdded() 201 LOG(ERROR) << "Couldn't grab device from interface (" << std::hex << kr << ")"; in AndroidInterfaceAdded() 216 LOG(ERROR) << "Unable to create a device plug-in (" << std::hex << kr << ")"; in AndroidInterfaceAdded() 226 LOG(ERROR) << "Couldn't create a device interface (" << std::hex << result << ")"; in AndroidInterfaceAdded() 347 LOG(ERROR) << "Could not clear pipe stall both ends: " << std::hex << rc; in ClearPipeStallBothEnds() 366 LOG(ERROR) << "Could not open interface: " << std::hex << kr; in CheckInterface() 373 LOG(ERROR) << "Unable to get number of endpoints: " << std::hex << kr; in CheckInterface() 429 << std::hex << kr; in CheckInterface() 553 LOG(ERROR) << "usb_write failed with status: " << std::hex << result; in usb_write() [all …]
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/ |
D | Hex.java | 69 public static byte[] stringToBytes(String hex) throws IllegalArgumentException { in stringToBytes() argument 70 int length = hex.length(); in stringToBytes() 78 out[i / 2] = (byte) Integer.parseInt(hex.substring(i, i + 2), 16); in stringToBytes()
|
D | ArrayUtils.java | 95 public static byte[] stringToBytes(String hex) throws IllegalArgumentException { in stringToBytes() argument 96 int length = hex.length(); in stringToBytes() 104 out[i / 2] = (byte) Integer.parseInt(hex.substring(i, i + 2), 16); in stringToBytes()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | SpecialCharSequenceMgr.java | 376 String hex = deviceId.length() == 15 ? deviceId.substring(0, 14) : deviceId; in addDeviceIdRow() local 380 if (hex.length() == 14 && showDecimal) { in addDeviceIdRow() 381 ((TextView) row.findViewById(R.id.deviceid_hex)).setText(hex); in addDeviceIdRow() 382 ((TextView) row.findViewById(R.id.deviceid_dec)).setText(getDecimalFromHex(hex)); in addDeviceIdRow() 401 generateBarcode(hex, barcode.getWidth(), barcode.getHeight()); in addDeviceIdRow() 412 private static String getDecimalFromHex(String hex) { in getDecimalFromHex() argument 413 final String part1 = hex.substring(0, 8); in getDecimalFromHex() 414 final String part2 = hex.substring(8); in getDecimalFromHex() 453 private static Bitmap generateBarcode(String hex, int width, int height) { in generateBarcode() argument 455 String data = Uri.encode(hex); in generateBarcode()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifierTest.java | 230 private byte[] hexToBytes(String hex) { in hexToBytes() argument 231 byte[] output = new byte[hex.length() / 2]; in hexToBytes() 232 for (int i = 0, j = 0; i + 1 < hex.length(); i += 2, j++) { in hexToBytes() 233 output[j] = (byte) (charToByte(hex.charAt(i)) << 4 | charToByte(hex.charAt(i + 1))); in hexToBytes()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | Log.java | 129 StringBuffer hex = new StringBuffer(bytes.length * 2); in encodeHex() local 134 hex.append("0"); in encodeHex() 136 hex.append(Integer.toString(byteIntValue, 16)); in encodeHex() 139 return hex.toString(); in encodeHex()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | Netlink.cpp | 63 return os << std::hex << "nlmsghdr[" in operator <<() 70 return os << std::hex << "nlattr[" in operator <<() 75 return os << std::hex << "sockaddr_nl[" in operator <<()
|
/packages/modules/Bluetooth/system/gd/common/ |
D | strings.h | 55 …tmp << "0x" << std::internal << std::hex << std::setfill('0') << std::setw(sizeof(T) * 2) << (unsi… in ToHexString() 66 …tmp << "0x" << std::internal << std::hex << std::setfill('0') << std::setw(sizeof(signed long) * 2) 74 …tmp << "0x" << std::internal << std::hex << std::setfill('0') << std::setw(sizeof(unsigned int) * … 87 ss << std::hex << std::setw(2) << std::setfill('0') << +(*it); in ToHexString()
|
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/ |
D | fixed_channel_impl.h | 70 ss << "Device " << device_ << " Cid 0x" << std::hex << cid_; in ToString() 76 ss << "Device " << device_.ToStringForLogging() << " Cid 0x" << std::hex << cid_; in ToStringForLogging() 82 ss << "Device " << device_.ToRedactedStringForLogging() << " Cid 0x" << std::hex << cid_; in ToRedactedStringForLogging()
|
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 271 LOG(DEBUG) << " Calling SSL_connect with mark 0x" << std::hex << mMark; in sslConnect() 273 LOG(INFO) << " SSL_connect returned " << ret << " with mark 0x" << std::hex << mMark; in sslConnect() 283 PLOG(WARNING) << "SSL_connect read error " << err << ", mark 0x" << std::hex in sslConnect() 292 PLOG(WARNING) << "SSL_connect write error " << err << ", mark 0x" << std::hex in sslConnect() 298 PLOG(WARNING) << "SSL_connect ssl error =" << ssl_err << ", mark 0x" << std::hex in sslConnect() 316 LOG(DEBUG) << " Calling SSL_connect with mark 0x" << std::hex << mMark; in sslConnectV2() 318 LOG(INFO) << " SSL_connect returned " << ret << " with mark 0x" << std::hex << mMark; in sslConnectV2() 336 PLOG(WARNING) << "SSL_connect ssl error =" << ssl_err << ", mark 0x" << std::hex in sslConnectV2()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 270 private static byte[] hexStr2Bin(String hex) { in hexStr2Bin() argument 271 int sz = hex.length()/2; in hexStr2Bin() 272 byte[] b = new byte[hex.length()/2]; in hexStr2Bin() 276 b[i] = (byte)Integer.parseInt(hex.substring(i*2, i*2+2), 16); in hexStr2Bin()
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | v4.rs | 327 assert_eq!("", hex::encode(hi.salt.as_ref())); in parse_idsig_file() 330 hex::encode(hi.raw_root_hash.as_ref()) in parse_idsig_file() 336 hex::encode(si.apk_digest.as_ref()) in parse_idsig_file() 338 assert_eq!("", hex::encode(si.additional_data.as_ref())); in parse_idsig_file() 342 hex::encode(si.signature.as_ref()) in parse_idsig_file()
|
/packages/services/Car/service/jni/evs/ |
D | StreamHandler.cpp | 294 LOG(DEBUG) << "Camera parameter 0x" << std::hex << event.payload[0] << " is set to 0x" in notify() 295 << std::hex << event.payload[1]; in notify() 303 LOG(INFO) << "Event 0x" << std::hex << static_cast<int32_t>(event.aType) in notify() 308 LOG(ERROR) << "Unknown event id 0x" << std::hex << static_cast<int32_t>(event.aType); in notify()
|
/packages/modules/Bluetooth/system/internal_include/ |
D | bt_trace.h | 40 tmp << std::showbase << std::internal << std::hex << std::setfill('0') in loghex() 52 tmp << std::internal << std::hex << std::setfill('0') in loghex()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | sco_pkt_status.h | 94 oss << std::hex << std::setw(2) << std::setfill('0') << +(byte); in data_to_hex_string() 99 if (i % 8) oss << std::hex << std::setw(2) << std::setfill('0') << +(byte); in data_to_hex_string()
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.h | 63 ss << "Device " << device_.ToStringForLogging() << " Cid 0x" << std::hex << cid_; in ToStringForLogging() 69 ss << "Device " << device_.ToRedactedStringForLogging() << " Cid 0x" << std::hex << cid_; in ToRedactedStringForLogging()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcRoutingTableParseTest.java | 251 char[] hex = hexStr.toCharArray(); in hexStrToByteArray() local 255 int high = Character.digit(hex[i * 2], 16); in hexStrToByteArray() 256 int low = Character.digit(hex[i * 2 + 1], 16); in hexStrToByteArray()
|