/frameworks/base/tests/CoreTests/android/core/ |
D | Sha1Test.java | 57 StringBuffer hex = new StringBuffer(bytes.length * 2); in encodeHex() local 61 hex.append("0"); in encodeHex() 63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16)); in encodeHex() 66 return hex.toString(); in encodeHex()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 278 private static byte[] hexStr2Bin(String hex) { in hexStr2Bin() argument 279 int sz = hex.length()/2; in hexStr2Bin() 280 byte[] b = new byte[hex.length()/2]; in hexStr2Bin() 284 b[i] = (byte)Integer.parseInt(hex.substring(i*2, i*2+2), 16); in hexStr2Bin()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Log.java | 152 StringBuffer hex = new StringBuffer(bytes.length * 2); in encodeHex() local 157 hex.append("0"); in encodeHex() 159 hex.append(Integer.toString(byteIntValue, 16)); in encodeHex() 162 return hex.toString(); in encodeHex()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 202 out << "(integer) " << std::hex << value.data << std::dec; in print() 211 out << "(color) #" << std::hex << value.data << std::dec; in print() 214 out << "(unknown 0x" << std::hex << (int) value.dataType << ") 0x" in print() 215 << std::hex << value.data << std::dec; in print()
|
D | Debug.cpp | 94 std::cout << " id=" << std::hex << table->getPackageId() << std::dec; in printTable() 101 std::cout << " id=" << std::hex << type->typeId << std::dec; in printTable()
|
D | XmlFlattener_test.cpp | 151 << "type " << std::hex in attributeNameAndValueEquals() 153 << ". Expected reference (" << std::hex in attributeNameAndValueEquals()
|
D | ResourceTable.cpp | 207 << std::hex << type->typeId << std::dec in addResourceImpl() 306 << std::hex << type->typeId << std::dec in markPublicImpl()
|
D | Resource.h | 193 << std::hex << resId.id;
|
D | BinaryResourceParser.cpp | 349 << std::hex << packageHeader->id << std::dec in parsePackage() 351 << std::hex << mTable->getPackageId() << std::dec in parsePackage()
|
D | TableFlattener.cpp | 533 << std::hex << table.getPackageId() << std::dec in flatten()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDebuggingManager.java | 292 String hex = "0123456789ABCDEF"; in getFingerprints() local 316 sb.append(hex.charAt((digest[i] >> 4) & 0xf)); in getFingerprints() 317 sb.append(hex.charAt(digest[i] & 0xf)); in getFingerprints()
|
/frameworks/compile/mclinker/lib/LD/ |
D | Relocator.cpp | 65 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
|
/frameworks/base/libs/common_time/ |
D | common_time_server.cpp | 629 char hex[256]; in handlePacket() local 632 hexDumpToString(buf, static_cast<size_t>(recvBytes), hex, sizeof(hex)); in handlePacket() 636 recvBytes, srcEPStr, hex); in handlePacket()
|
/frameworks/rs/api/ |
D | Utilities.cpp | 131 stream << "0x" << std::hex << hash << "l"; in hashString()
|
/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 152 String hex = TextUtils.substring(content, start, selEnd); in onKeyDown() local 153 ch = Integer.parseInt(hex, 16); in onKeyDown()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 1023 String hex = stringPool.get(buffer, pos, 4); in readEscapeCharacter() local 1025 return (char) Integer.parseInt(hex, 16); in readEscapeCharacter()
|
/frameworks/av/services/audiopolicy/utilities/convert/ |
D | convert.h | 133 ss >> std::hex >> result;
|
/frameworks/base/docs/html/ |
D | legal.jd | 37 in marketing communications. Our standard color value for print is PMS 376C. Our online hex color is
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup2.cpp | 397 ss << std::hex << checksum; in compile()
|
D | rsCpuScript.cpp | 387 ss << std::hex << mBuildChecksum; in init()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 855 public boolean setWfdDeviceInfo(String hex) { in setWfdDeviceInfo() argument 856 return doBooleanCommand("WFD_SUBELEM_SET 0 " + hex); in setWfdDeviceInfo()
|
D | WifiStateMachine.java | 9697 private byte[] parseHex(String hex) { in parseHex() argument 9699 if (hex == null) { in parseHex() 9703 if (hex.length() % 2 != 0) { in parseHex() 9704 throw new NumberFormatException(hex + " is not a valid hex string"); in parseHex() 9707 byte[] result = new byte[(hex.length())/2 + 1]; in parseHex() 9708 result[0] = (byte) ((hex.length())/2); in parseHex() 9709 for (int i = 0, j = 1; i < hex.length(); i += 2, j++) { in parseHex() 9710 int val = parseHex(hex.charAt(i)) * 16 + parseHex(hex.charAt(i+1)); in parseHex()
|
/frameworks/native/libs/gui/tests/ |
D | CpuConsumer_test.cpp | 53 << ::std::hex << p.format << "]"; in operator <<()
|
/frameworks/base/docs/html/distribute/tools/promote/ |
D | brand.jd | 79 communications. The color value for print is PMS 376C and the online hex
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 139 // Add spaces between hex bytes for readability
|