Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 35) 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/native/cmds/dumpstate/
Dutils.cpp1258 struct hex { in dump_emmc_ecsd() struct
1261 static const size_t EXT_CSD_REV = 192 * sizeof(hex); in dump_emmc_ecsd()
1262 static const size_t EXT_PRE_EOL_INFO = 267 * sizeof(hex); in dump_emmc_ecsd()
1263 static const size_t EXT_DEVICE_LIFE_TIME_EST_TYP_A = 268 * sizeof(hex); in dump_emmc_ecsd()
1264 static const size_t EXT_DEVICE_LIFE_TIME_EST_TYP_B = 269 * sizeof(hex); in dump_emmc_ecsd()
1273 if (buffer.length() < (EXT_CSD_REV + sizeof(hex))) { in dump_emmc_ecsd()
1279 std::string sub = buffer.substr(EXT_CSD_REV, sizeof(hex)); in dump_emmc_ecsd()
1299 if (buffer.length() < (EXT_PRE_EOL_INFO + sizeof(hex))) { in dump_emmc_ecsd()
1305 sub = buffer.substr(EXT_PRE_EOL_INFO, sizeof(hex)); in dump_emmc_ecsd()
1326 lifetime += sizeof(hex)) { in dump_emmc_ecsd()
[all …]
/frameworks/base/tools/aapt2/diff/
DDiff.cpp240 strStream << "0x" << std::hex << entryB->id.value(); in emitResourceTypeDiff()
246 strStream << "0x " << std::hex << entryA->id.value(); in emitResourceTypeDiff()
305 strStream << "0x" << std::hex << typeB->id.value(); in emitResourcePackageDiff()
311 strStream << "0x " << std::hex << typeA->id.value(); in emitResourcePackageDiff()
353 strStream << "0x" << std::hex << pkgB->id.value(); in emitResourceTableDiff()
359 strStream << "0x" << std::hex << pkgA->id.value(); in emitResourceTableDiff()
/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/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/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()
DResourceTable.cpp371 << std::hex << (int) package->id.value() << std::dec); in addResourceImpl()
385 << std::hex << (int) type->id.value() << std::dec); in addResourceImpl()
468 << std::hex << (int) package->id.value() << std::dec); in setSymbolStateImpl()
482 << std::hex << (int) type->id.value() << std::dec); in setSymbolStateImpl()
DResourceValues.cpp280 *out << "(integer) 0x" << std::hex << value.data << std::dec; in print()
289 *out << "(color) #" << std::hex << value.data << std::dec; in print()
292 *out << "(unknown 0x" << std::hex << (int) value.dataType << ") 0x" in print()
293 << std::hex << value.data << std::dec; in print()
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/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.jd86 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()

12