/frameworks/base/core/java/com/android/internal/util/ |
D | HexDump.java | 41 result.append(toHexString(offset)); in dumpHexString() 62 result.append(toHexString(i)); in dumpHexString() 99 public static String toHexString(byte b) in toHexString() method in HexDump 101 return toHexString(toByteArray(b)); in toHexString() 105 public static String toHexString(byte[] array) in toHexString() method in HexDump 107 return toHexString(array, 0, array.length, true); in toHexString() 111 public static String toHexString(byte[] array, boolean upperCase) in toHexString() method in HexDump 113 return toHexString(array, 0, array.length, upperCase); in toHexString() 117 public static String toHexString(byte[] array, int offset, int length) in toHexString() method in HexDump 119 return toHexString(array, offset, length, true); in toHexString() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistSettingsTests.java | 72 assertEquals(HARD_CODED_SECRET_KEY, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsing() 74 assertEquals(HARD_CODED_SECRET_KEY, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsing() 81 final String tmpKey1 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_parsingWithoutKey() 85 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsingWithoutKey() 88 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_parsingWithoutKey() 94 final String tmpKey1 = HexDump.toHexString(settings.getPrivacySecretKey()); in testWatchlistSettings_noExistingXml() 98 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_noExistingXml() 101 assertEquals(tmpKey1, HexDump.toHexString(settings.getPrivacySecretKey())); in testWatchlistSettings_noExistingXml() 105 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/core/java/android/util/proto/ |
D | ProtoInputStream.java | 240 + Integer.toHexString(mPackedEnd) in nextField() 613 + Integer.toHexString(getOffset() + i) in readVarint() 718 + Integer.toHexString(mEnd) in readRawBytes() 816 + Integer.toHexString(mOffset) in skip() 910 + ") does not match current field number (0x" + Integer.toHexString( in assertFieldNumber() 912 + ") at offset 0x" + Integer.toHexString(getOffset()) in assertFieldNumber() 928 + " at offset 0x" + Integer.toHexString(getOffset()) in assertWireType() 939 "Attempting to read already read field at offset 0x" + Integer.toHexString( in assertFreshData() 950 sb.append("\nmFieldNumber : 0x" + Integer.toHexString(mFieldNumber)); in dumpDebugData() 951 sb.append("\nmWireType : 0x" + Integer.toHexString(mWireType)); in dumpDebugData() [all …]
|
D | ProtoUtils.java | 84 sb.append("Offset : 0x" + Integer.toHexString(proto.getOffset())); in currentFieldToString() 85 sb.append("\nField Number : 0x" + Integer.toHexString(proto.getFieldNumber())); in currentFieldToString() 92 sb.append("\nField Value : 0x" + Long.toHexString(proto.readLong(fieldConstant))); in currentFieldToString() 98 sb.append("\nField Value : 0x" + Long.toHexString(proto.readLong(fieldConstant))); in currentFieldToString() 116 sb.append("\nField Value : 0x" + Integer.toHexString(proto.readInt(fieldConstant))); in currentFieldToString()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermission.java | 104 + Integer.toHexString(oldModeFlags) + " to 0x" in updateModeFlags() 105 + Integer.toHexString(modeFlags) + " via calling UID " in updateModeFlags() 158 + Integer.toHexString(modeFlags) + ", but only 0x" in takePersistableModes() 159 + Integer.toHexString(persistableModeFlags) + " are allowed"); in takePersistableModes() 312 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 326 pw.print("mode=0x" + Integer.toHexString(modeFlags)); in dump() 327 pw.print(" owned=0x" + Integer.toHexString(ownedModeFlags)); in dump() 328 pw.print(" global=0x" + Integer.toHexString(globalModeFlags)); in dump() 329 pw.print(" persistable=0x" + Integer.toHexString(persistableModeFlags)); in dump() 330 pw.print(" persisted=0x" + Integer.toHexString(persistedModeFlags)); in dump()
|
/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() 29 assertEquals("(null)", HexDump.toHexString(null)); in testNullArray()
|
/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/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/core/tests/coretests/src/android/text/ |
D | EmojiTest.java | 96 assertTrue(Integer.toHexString(c) + " should be emoji", Emoji.isEmoji(c)); in testIsNewEmoji_Emoji() 98 assertEquals(Integer.toHexString(c) + " should have neutral directionality", in testIsNewEmoji_Emoji() 102 assertEquals(Integer.toHexString(c) + " shoud be OTHER_NEUTRAL for ICU Bidi", in testIsNewEmoji_Emoji() 133 assertTrue(Integer.toHexString(c) + " should be emoji modifier base", in testisEmojiModifierBase()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 98 Rlog.v(TAG, "No translation needed for " + Integer.toHexString(c)); in translateIfNeeded() 132 Rlog.v(TAG, Integer.toHexString(c) + " (" + c + ")" + " translated to " in translateIfNeeded() 133 + Integer.toHexString(translation) + " (" + (char) translation + ")"); in translateIfNeeded() 138 Rlog.w(TAG, "No translation found for " + Integer.toHexString(c) in translateIfNeeded() 208 Rlog.d(TAG, "Loading mapping " + Integer.toHexString(from) in load7BitTranslationTableFromXml() 209 .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 | 367 + Integer.toHexString(id)); in getText() 395 + Integer.toHexString(id)); in getFont() 583 throw new NotFoundException("Text array resource ID #0x" + Integer.toHexString(id)); in getTextArray() 604 throw new NotFoundException("String array resource ID #0x" + Integer.toHexString(id)); in getStringArray() 624 throw new NotFoundException("Int array resource ID #0x" + Integer.toHexString(id)); in getIntArray() 645 throw new NotFoundException("Array resource ID #0x" + Integer.toHexString(id)); in obtainTypedArray() 679 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) in getDimension() 680 + " type #0x" + Integer.toHexString(value.type) + " is not valid"); in getDimension() 714 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) in getDimensionPixelOffset() 715 + " type #0x" + Integer.toHexString(value.type) + " is not valid"); in getDimensionPixelOffset() [all …]
|
D | ResourcesImpl.java | 237 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValue() 246 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValueForDensity() 276 + Integer.toHexString(resid)); in getResourceName() 284 + Integer.toHexString(resid)); in getResourcePackageName() 292 + Integer.toHexString(resid)); in getResourceTypeName() 300 + Integer.toHexString(resid)); in getResourceEntryName() 322 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) in getQuantityText() 346 + "resource ID #0x" + Integer.toHexString(id), e); in openRawResourceFd() 360 + " from drawable resource ID #0x" + Integer.toHexString(id)); in openRawResource() 651 + Integer.toHexString(id) + " " + name); in loadDrawable() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 133 … Rlog.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) + in decode() 165 "length < 0x80 length=" + Integer.toHexString(length) + in decode() 176 "two byte length < 0x100 length=" + Integer.toHexString(length) + in decode() 188 "three byte length < 0x10000 length=0x" + Integer.toHexString(length) + in decode()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 64 .append(" type:").append(Integer.toHexString(mState.mType)) in eventToString() 191 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString() 198 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString() 205 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString() 221 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString() 241 .append(" flags:0x").append(Integer.toHexString(mVal2)) in eventToString()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 516 return "0x" + Integer.toHexString(data); in coerceToString() 522 return "#" + Integer.toHexString(data); in coerceToString() 543 sb.append("TypedValue{t=0x").append(Integer.toHexString(type)); in toString() 544 sb.append("/d=0x").append(Integer.toHexString(data)); in toString() 552 sb.append(" r=0x").append(Integer.toHexString(resourceId)); in toString()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | NanoAppStateManager.java | 131 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId) in addNanoAppInstance() 132 + ", version=0x" + Integer.toHexString(nanoAppVersion)); in addNanoAppInstance() 190 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId) in handleQueryAppEntry() 191 + ", version=0x" + Integer.toHexString(nanoAppVersion)); in handleQueryAppEntry()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 142 Integer.toHexString(id)); in loadAnimation() 147 Integer.toHexString(id)); in loadAnimation() 223 Integer.toHexString(id)); in loadLayoutAnimation() 228 Integer.toHexString(id)); in loadLayoutAnimation() 345 Integer.toHexString(id)); in loadInterpolator() 350 Integer.toHexString(id)); in loadInterpolator() 375 Integer.toHexString(id)); in loadInterpolator() 380 Integer.toHexString(id)); in loadInterpolator()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 199 logOrThrow("key=0x" + Integer.toHexString(key) in getValue() 233 logOrThrow("id=0x" + Integer.toHexString(id) + " idx=" + idx in getValueForId() 234 + " key=0x" + Integer.toHexString(key) + " index=" + index in getValueForId() 275 + " key=0x" + Integer.toHexString(key) in setValue() 285 logOrThrow("key=0x" + Integer.toHexString(key) in setValue() 460 sb.append(Integer.toHexString((key >> ID_SHIFT) & ID_MASK)); in dumpInternalState() 462 sb.append(Integer.toHexString((key >> ARRAY_SHIFT) & ARRAY_MASK)); in dumpInternalState() 464 sb.append(Integer.toHexString((key >> INDEX_SHIFT) & INDEX_MASK)); in dumpInternalState()
|
/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/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityNodeInfoTest.java | 70 + Long.toHexString(brokenStandardAction.mSerializationFlag) in testStandardActions_serializationFlagIsValid() 85 + Long.toHexString(brokenStandardAction.mSerializationFlag) in testStandardActions_serializationFlagIsValid() 87 + Integer.toHexString(brokenStandardAction.getId()) in testStandardActions_serializationFlagIsValid() 99 fail("Id 0x" + Integer.toHexString(id) in testStandardActions_idsAreUnique()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecordCache.java | 156 Integer.toHexString(efid).toUpperCase()); in updateAdnByIndex() 163 Integer.toHexString(efid).toUpperCase()); in updateAdnByIndex() 196 Integer.toHexString(efid).toUpperCase()); in updateAdnBySearch() 210 Integer.toHexString(efid).toUpperCase()); in updateAdnBySearch() 244 Integer.toHexString(efid).toUpperCase()); in updateAdnBySearch() 307 Integer.toHexString(efid).toUpperCase()); in requestLoadAllAdnLike()
|