/frameworks/base/core/java/com/android/internal/util/ |
D | HexDump.java | 37 result.append(toHexString(offset)); in dumpHexString() 58 result.append(toHexString(i)); in dumpHexString() 95 public static String toHexString(byte b) in toHexString() method in HexDump 97 return toHexString(toByteArray(b)); in toHexString() 100 public static String toHexString(byte[] array) in toHexString() method in HexDump 102 return toHexString(array, 0, array.length, true); in toHexString() 105 public static String toHexString(byte[] array, boolean upperCase) in toHexString() method in HexDump 107 return toHexString(array, 0, array.length, upperCase); in toHexString() 110 public static String toHexString(byte[] array, int offset, int length) in toHexString() method in HexDump 112 return toHexString(array, offset, length, true); in toHexString() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistSettingsTests.java | 71 assertEquals(HARD_CODED_SECRET_KEY, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsing() 73 assertEquals(HARD_CODED_SECRET_KEY, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsing() 80 final String tmpKey1 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_parsingWithoutKey() 84 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsingWithoutKey() 87 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsingWithoutKey() 93 final String tmpKey1 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_noExistingXml() 97 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_noExistingXml() 100 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_noExistingXml() 104 final String tmpKey2 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_noExistingXml()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | BitwiseStreamsTest.java | 45 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testOne() 59 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testTwo() 73 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testThree() 90 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testFour() 131 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testSix()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | TestedScreen.java | 41 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate() 48 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate() 54 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate() 70 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onResume() 87 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onStop() 103 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); 120 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in queueIdle()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UriPermission.java | 105 + Integer.toHexString(oldModeFlags) + " to 0x" in updateModeFlags() 106 + Integer.toHexString(modeFlags) + " via calling UID " in updateModeFlags() 159 + Integer.toHexString(modeFlags) + ", but only 0x" in takePersistableModes() 160 + Integer.toHexString(persistableModeFlags) + " are allowed"); in takePersistableModes() 313 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 327 pw.print("mode=0x" + Integer.toHexString(modeFlags)); in dump() 328 pw.print(" owned=0x" + Integer.toHexString(ownedModeFlags)); in dump() 329 pw.print(" global=0x" + Integer.toHexString(globalModeFlags)); in dump() 330 pw.print(" persistable=0x" + Integer.toHexString(persistableModeFlags)); in dump() 331 pw.print(" persisted=0x" + Integer.toHexString(persistedModeFlags)); in dump()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbBinaryParser.java | 36 Log.i(TAG, "l: " + length + " t: " + Integer.toHexString(type) + " " in dumpDescriptor() 40 sb.append("0x" + Integer.toHexString(stream.getByte() & 0xFF) + " "); in dumpDescriptor() 47 + " t:0x" + Integer.toHexString(type) + " " in dumpDescriptor() 50 builder.append("0x" + Integer.toHexString(stream.getByte() & 0xFF) + " "); in dumpDescriptor()
|
D | UsbDescriptorParser.java | 194 + Integer.toHexString(type)); in allocDescriptor() 315 + " t:0x" + Integer.toHexString(descriptor.getType())); in getInterfaceDescriptorsForClass() 338 + " t:0x" + Integer.toHexString(descriptor.getType())); in getACInterfaceDescriptors() 365 Log.d(TAG, " type:0x" + Integer.toHexString(type)); in hasInput() 376 + " t:0x" + Integer.toHexString(descriptor.getType())); in hasInput() 403 Log.d(TAG, " type:0x" + Integer.toHexString(type)); in hasOutput() 414 + " t:0x" + Integer.toHexString(descriptor.getType())); in hasOutput() 444 + " t:0x" + Integer.toHexString(descriptor.getType())); in hasMic() 470 + " t:0x" + Integer.toHexString(descriptor.getType())); in hasSpeaker() 519 + " t:0x" + Integer.toHexString(descriptor.getType())); in hasMIDIInterface() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | EmojiTest.java | 77 assertTrue(Integer.toHexString(c) + " should be emoji", Emoji.isEmoji(c)); in testIsNewEmoji_Emoji5() 79 assertEquals(Integer.toHexString(c) + " should have neutral directionality", in testIsNewEmoji_Emoji5() 83 assertEquals(Integer.toHexString(c) + " shoud be OTHER_NEUTRAL for ICU Bidi", in testIsNewEmoji_Emoji5() 114 assertTrue(Integer.toHexString(c) + " should be emoji modifier base", in testisEmojiModifierBase()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseStatementTest.java | 156 statement.bindString(1, Long.toHexString(i)); in testStatementStringBinding() 166 assertEquals(Long.toHexString(i), num); in testStatementStringBinding() 201 args[i] = Integer.toHexString(i); in testSimpleStringBinding() 211 assertEquals(Integer.toHexString(0), num); in testSimpleStringBinding() 214 assertEquals(Integer.toHexString(1), val); in testSimpleStringBinding() 226 statement.bindString(2, Long.toHexString(i)); in testStatementMultipleBindings() 239 assertEquals(Long.toHexString(i), str); in testStatementMultipleBindings() 260 mStatement.bindString(2, Long.toHexString(i)); in run() 274 assertEquals(Long.toHexString(i), str); in run()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 108 Rlog.v(TAG, "No translation needed for " + Integer.toHexString(c)); in translateIfNeeded() 140 Rlog.v(TAG, Integer.toHexString(c) + " (" + c + ")" + " translated to " in translateIfNeeded() 141 + Integer.toHexString(translation) + " (" + (char) translation + ")"); in translateIfNeeded() 146 Rlog.w(TAG, "No translation found for " + Integer.toHexString(c) in translateIfNeeded() 214 Rlog.d(TAG, "Loading mapping " + Integer.toHexString(from) in load7BitTranslationTableFromXml() 215 .toUpperCase() + " -> " + Integer.toHexString(to) in load7BitTranslationTableFromXml()
|
/frameworks/base/core/java/android/content/pm/ |
D | FeatureInfo.java | 94 + Integer.toHexString(System.identityHashCode(this)) in toString() 95 + " " + name + " v=" + version + " fl=0x" + Integer.toHexString(flags) + "}"; in toString() 98 + Integer.toHexString(System.identityHashCode(this)) in toString() 100 + " fl=0x" + Integer.toHexString(flags) + "}"; in toString()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 348 + Integer.toHexString(id)); in getText() 376 + Integer.toHexString(id)); in getFont() 564 throw new NotFoundException("Text array resource ID #0x" + Integer.toHexString(id)); in getTextArray() 585 throw new NotFoundException("String array resource ID #0x" + Integer.toHexString(id)); in getStringArray() 605 throw new NotFoundException("Int array resource ID #0x" + Integer.toHexString(id)); in getIntArray() 626 throw new NotFoundException("Array resource ID #0x" + Integer.toHexString(id)); in obtainTypedArray() 661 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) in getDimension() 662 + " type #0x" + Integer.toHexString(value.type) + " is not valid"); in getDimension() 696 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) in getDimensionPixelOffset() 697 + " type #0x" + Integer.toHexString(value.type) + " is not valid"); in getDimensionPixelOffset() [all …]
|
D | ResourcesImpl.java | 216 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValue() 225 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValueForDensity() 255 + Integer.toHexString(resid)); in getResourceName() 263 + Integer.toHexString(resid)); in getResourcePackageName() 271 + Integer.toHexString(resid)); in getResourceTypeName() 279 + Integer.toHexString(resid)); in getResourceEntryName() 294 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) in getQuantityText() 318 + "resource ID #0x" + Integer.toHexString(id), e); in openRawResourceFd() 332 + " from drawable resource ID #0x" + Integer.toHexString(id)); in openRawResource() 623 + Integer.toHexString(id) + " " + name); in loadDrawable() [all …]
|
D | TypedArray.java | 193 throw new RuntimeException("getText of bad type: 0x" + Integer.toHexString(type)); in getText() 231 throw new RuntimeException("getString of bad type: 0x" + Integer.toHexString(type)); in getString() 307 + Integer.toHexString(type)); in getNonConfigurationString() 348 throw new RuntimeException("getBoolean of bad type: 0x" + Integer.toHexString(type)); in getBoolean() 387 throw new RuntimeException("getInt of bad type: 0x" + Integer.toHexString(type)); in getInt() 429 throw new RuntimeException("getFloat of bad type: 0x" + Integer.toHexString(type)); in getFloat() 482 + " to color: type=0x" + Integer.toHexString(type)); in getColor() 592 + " to integer: type=0x" + Integer.toHexString(type)); in getInteger() 639 + " to dimension: type=0x" + Integer.toHexString(type)); in getDimension() 687 + " to dimension: type=0x" + Integer.toHexString(type)); in getDimensionPixelOffset() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 128 … Rlog.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) + in decode() 160 "length < 0x80 length=" + Integer.toHexString(length) + in decode() 171 "two byte length < 0x100 length=" + Integer.toHexString(length) + in decode() 183 "three byte length < 0x10000 length=0x" + Integer.toHexString(length) + in decode()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 141 Integer.toHexString(id)); in loadAnimation() 146 Integer.toHexString(id)); in loadAnimation() 221 Integer.toHexString(id)); in loadLayoutAnimation() 226 Integer.toHexString(id)); in loadLayoutAnimation() 343 Integer.toHexString(id)); in loadInterpolator() 348 Integer.toHexString(id)); in loadInterpolator() 373 Integer.toHexString(id)); in loadInterpolator() 378 Integer.toHexString(id)); in loadInterpolator()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 498 return "0x" + Integer.toHexString(data); in coerceToString() 504 return "#" + Integer.toHexString(data); in coerceToString() 525 sb.append("TypedValue{t=0x").append(Integer.toHexString(type)); in toString() 526 sb.append("/d=0x").append(Integer.toHexString(data)); in toString() 534 sb.append(" r=0x").append(Integer.toHexString(resourceId)); in toString()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | NanoAppStateManager.java | 127 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId) in addNanoAppInstance() 128 + ", version=0x" + Integer.toHexString(nanoAppVersion)); in addNanoAppInstance() 186 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId) in handleQueryAppEntry() 187 + ", version=0x" + Integer.toHexString(nanoAppVersion)); in handleQueryAppEntry()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | HexDumpTest.java | 23 assertEquals("abcdef", HexDump.toHexString( in testBytesToHexString() 25 assertEquals("ABCDEF", HexDump.toHexString( in testBytesToHexString()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityNodeInfoTest.java | 59 + Long.toHexString(brokenStandardAction.mSerializationFlag) in testStandardActions_serializationFlagIsValid() 74 + Long.toHexString(brokenStandardAction.mSerializationFlag) in testStandardActions_serializationFlagIsValid() 76 + Integer.toHexString(brokenStandardAction.getId()) in testStandardActions_serializationFlagIsValid() 88 fail("Id 0x" + Integer.toHexString(id) in testStandardActions_idsAreUnique()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 63 .append(" type:").append(Integer.toHexString(mState.mType)) in eventToString() 117 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString() 124 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString() 131 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecordCache.java | 146 Integer.toHexString(efid).toUpperCase()); in updateAdnByIndex() 153 Integer.toHexString(efid).toUpperCase()); in updateAdnByIndex() 186 Integer.toHexString(efid).toUpperCase()); in updateAdnBySearch() 200 Integer.toHexString(efid).toUpperCase()); in updateAdnBySearch() 234 Integer.toHexString(efid).toUpperCase()); in updateAdnBySearch() 297 Integer.toHexString(efid).toUpperCase()); in requestLoadAllAdnLike()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
D | UsbStrings.java | 225 : "Unknown Terminal Type 0x" + Integer.toHexString(terminalType); in getTerminalName() 247 : "Unknown Format Type 0x" + Integer.toHexString(format); in getFormatName() 272 : "Unknown Descriptor [0x" + Integer.toHexString(iDescriptorID) in getDescriptorName() 284 : "Unknown subtype [0x" + Integer.toHexString(iSubType) in getACControlInterfaceName() 296 : "Unknown Subtype [0x" + Integer.toHexString(iSubType) + ":" in getACStreamingInterfaceName() 308 : "Unknown Class ID [0x" + Integer.toHexString(iClassID) + ":" in getClassName() 320 : "Unknown Audio Subclass [0x" + Integer.toHexString(iSubclassID) + ":" in getAudioSubclassName() 331 : "Unknown Format (encoding) ID [0x" + Integer.toHexString(formatID) + ":" in getAudioFormatName()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 201 logOrThrow("key=0x" + Integer.toHexString(key) in getValue() 235 logOrThrow("id=0x" + Integer.toHexString(id) + " idx=" + idx in getValueForId() 236 + " key=0x" + Integer.toHexString(key) + " index=" + index in getValueForId() 277 + " key=0x" + Integer.toHexString(key) in setValue() 287 logOrThrow("key=0x" + Integer.toHexString(key) in setValue() 462 sb.append(Integer.toHexString((key >> ID_SHIFT) & ID_MASK)); in dumpInternalState() 464 sb.append(Integer.toHexString((key >> ARRAY_SHIFT) & ARRAY_MASK)); in dumpInternalState() 466 sb.append(Integer.toHexString((key >> INDEX_SHIFT) & INDEX_MASK)); in dumpInternalState()
|
/frameworks/base/tests/net/java/android/net/dhcp/ |
D | DhcpPacketTest.java | 487 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes() 535 fail("bad packet: " + HexDump.toHexString(packet)); in testRandomPackets() 631 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 640 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 648 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 657 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 666 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 765 assertEquals("BCF5AC000000", HexDump.toHexString(offerPacket.getClientMac())); in testBug2136() 799 assertEquals("9CD917000000", HexDump.toHexString(offerPacket.getClientMac())); in testUdpServerAnySourcePort() 865 assertEquals("FC3D93000000", HexDump.toHexString(offerPacket.getClientMac())); in testMultipleRouters()
|