Home
last modified time | relevance | path

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

12

/frameworks/base/tests/CoreTests/android/core/
DSha1Test.java57 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/tools/aapt2/compile/
DIdAssigner_test.cpp83 << " has non-unique ID " << std::hex << (int) package->id.value() << std::dec; in verifyIds()
98 << std::hex << (int) type->id.value() << std::dec; in verifyIds()
115 << std::hex << (int) entry->id.value() << std::dec; in verifyIds()
DIdAssigner.cpp52 << std::hex << (int) type->id.value() in consume()
71 << std::hex << (int) entry->id.value() in consume()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java278 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/minikin/tests/
DFontCollectionTest.cpp51 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
54 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
DFontFamilyTest.cpp343 << "Glyph for U+" << std::hex << codepoint << " U+" << i; in expectVSGlyphs()
346 << "Glyph for U+" << std::hex << codepoint << " U+" << i; in expectVSGlyphs()
/frameworks/base/telecomm/java/android/telecom/
DLog.java206 StringBuffer hex = new StringBuffer(bytes.length * 2); in encodeHex() local
211 hex.append("0"); in encodeHex()
213 hex.append(Integer.toString(byteIntValue, 16)); in encodeHex()
216 return hex.toString(); in encodeHex()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp88 << std::hex << (int) expectedDataType << " but got data type " in exists()
95 << std::hex << expectedData << " but got data " in exists()
102 << std::hex << expectedSpecFlags << " but got specFlags " in exists()
/frameworks/base/tools/aapt2/
DDebug.cpp125 std::cout << " id=" << std::hex << (int) package->id.value() << std::dec; in printTable()
132 std::cout << " id=" << std::hex << (int) type->id.value() << std::dec; in printTable()
239 std::cerr << std::hex << std::setfill('0') << std::setw(2) << (uint32_t) d[i] << " "; in dumpHex()
DResourceValues.cpp231 *out << "(integer) " << std::hex << value.data << std::dec; in print()
240 *out << "(color) #" << std::hex << value.data << std::dec; in print()
243 *out << "(unknown 0x" << std::hex << (int) value.dataType << ") 0x" in print()
244 << std::hex << value.data << std::dec; in print()
DResourceTable.cpp360 << std::hex << (int) package->id.value() << std::dec); in addResourceImpl()
374 << std::hex << (int) type->id.value() << std::dec); in addResourceImpl()
457 << std::hex << (int) package->id.value() << std::dec); in setSymbolStateImpl()
471 << std::hex << (int) type->id.value() << std::dec); in setSymbolStateImpl()
DResource.h237 << std::hex << resId.id;
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java293 String hex = "0123456789ABCDEF"; in getFingerprints() local
317 sb.append(hex.charAt((digest[i] >> 4) & 0xf)); in getFingerprints()
318 sb.append(hex.charAt(digest[i] & 0xf)); in getFingerprints()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java323 String hex = mWifiSsid.getHexString(); in getSSID() local
324 return (hex != null) ? hex : WifiSsid.NONE; in getSSID()
/frameworks/compile/mclinker/lib/LD/
DRelocator.cpp65 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
/frameworks/rs/api/
DUtilities.cpp131 stream << "0x" << std::hex << hash << "l"; in hashString()
/frameworks/base/libs/common_time/
Dcommon_time_server.cpp629 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/base/core/java/android/text/method/
DQwertyKeyListener.java152 String hex = TextUtils.substring(content, start, selEnd); in onKeyDown() local
153 ch = Integer.parseInt(hex, 16); in onKeyDown()
/frameworks/base/core/java/android/util/
DJsonReader.java1023 String hex = stringPool.get(buffer, pos, 4); in readEscapeCharacter() local
1025 return (char) Integer.parseInt(hex, 16); in readEscapeCharacter()
/frameworks/native/cmds/dumpstate/
Dutils.cpp1253 struct hex { in dump_emmc_ecsd() struct
1283 if (bytes_read < (ssize_t)(EXT_CSD_REV * sizeof(struct hex))) { in dump_emmc_ecsd()
1305 if (bytes_read < (ssize_t)(EXT_PRE_EOL_INFO * sizeof(struct hex))) { in dump_emmc_ecsd()
1341 if (bytes_read < (ssize_t)(lifetime * sizeof(struct hex))) { in dump_emmc_ecsd()
/frameworks/av/services/audiopolicy/utilities/convert/
Dconvert.h133 ss >> std::hex >> result;
/frameworks/base/tools/aapt2/link/
DLink.cpp649 << " has ID " << std::hex in verifyNoIdsSet()
659 << " has ID " << std::hex in verifyNoIdsSet()
1125 << "' with package ID " << std::hex in run()
/frameworks/base/docs/html/distribute/tools/promote/
Dbrand.jd85 communications. The color value for print is PMS 376C and the online hex
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp169 << "<td>" << std::hex << symbol.value << std::dec << "</td>" in addAttributeFormatDoc()
/frameworks/base/docs/html/
Dlegal.jd37 in marketing communications. Our standard color value for print is PMS 376C. Our online hex color is

12