Home
last modified time | relevance | path

Searched refs:toHexString (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/frameworks/base/core/java/com/android/internal/util/
DHexDump.java37 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/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java45 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/
DTestedScreen.java41 + 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/
DUriPermission.java103 + Integer.toHexString(oldModeFlags) + " to 0x" in updateModeFlags()
104 + Integer.toHexString(modeFlags), in updateModeFlags()
156 + Integer.toHexString(modeFlags) + ", but only 0x" in takePersistableModes()
157 + Integer.toHexString(persistableModeFlags) + " are allowed"); in takePersistableModes()
310 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString()
324 pw.print("mode=0x" + Integer.toHexString(modeFlags)); in dump()
325 pw.print(" owned=0x" + Integer.toHexString(ownedModeFlags)); in dump()
326 pw.print(" global=0x" + Integer.toHexString(globalModeFlags)); in dump()
327 pw.print(" persistable=0x" + Integer.toHexString(persistableModeFlags)); in dump()
328 pw.print(" persisted=0x" + Integer.toHexString(persistedModeFlags)); in dump()
DConnectionRecord.java44 + " flags=0x" + Integer.toHexString(flags)); in dump()
64 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString()
118 sb.append(Integer.toHexString(System.identityHashCode(conn.asBinder()))); in toString()
DReceiverList.java87 pw.print(Integer.toHexString(System.identityHashCode(bf))); in dump()
99 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString()
109 sb.append(Integer.toHexString(System.identityHashCode(receiver.asBinder()))); in toString()
/frameworks/base/core/java/android/content/pm/
DFeatureInfo.java93 + Integer.toHexString(System.identityHashCode(this)) in toString()
94 + " " + name + " v=" + version + " fl=0x" + Integer.toHexString(flags) + "}"; in toString()
97 + Integer.toHexString(System.identityHashCode(this)) in toString()
99 + " fl=0x" + Integer.toHexString(flags) + "}"; in toString()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStatementTest.java156 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/
DSms7BitEncodingTranslator.java108 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/res/
DResources.java339 + Integer.toHexString(id)); in getText()
367 + Integer.toHexString(id)); in getFont()
555 throw new NotFoundException("Text array resource ID #0x" + Integer.toHexString(id)); in getTextArray()
576 throw new NotFoundException("String array resource ID #0x" + Integer.toHexString(id)); in getStringArray()
596 throw new NotFoundException("Int array resource ID #0x" + Integer.toHexString(id)); in getIntArray()
617 throw new NotFoundException("Array resource ID #0x" + Integer.toHexString(id)); in obtainTypedArray()
652 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) in getDimension()
653 + " type #0x" + Integer.toHexString(value.type) + " is not valid"); in getDimension()
687 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id) in getDimensionPixelOffset()
688 + " type #0x" + Integer.toHexString(value.type) + " is not valid"); in getDimensionPixelOffset()
[all …]
DResourcesImpl.java195 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValue()
204 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValueForDensity()
234 + Integer.toHexString(resid)); in getResourceName()
242 + Integer.toHexString(resid)); in getResourcePackageName()
250 + Integer.toHexString(resid)); in getResourceTypeName()
258 + Integer.toHexString(resid)); in getResourceEntryName()
273 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) in getQuantityText()
297 + "resource ID #0x" + Integer.toHexString(id), e); in openRawResourceFd()
311 + " from drawable resource ID #0x" + Integer.toHexString(id)); in openRawResource()
649 + " with resource ID #0x" + Integer.toHexString(id), e); in loadDrawable()
[all …]
DTypedArray.java184 throw new RuntimeException("getText of bad type: 0x" + Integer.toHexString(type)); in getText()
222 throw new RuntimeException("getString of bad type: 0x" + Integer.toHexString(type)); in getString()
299 + Integer.toHexString(type)); in getNonConfigurationString()
340 throw new RuntimeException("getBoolean of bad type: 0x" + Integer.toHexString(type)); in getBoolean()
379 throw new RuntimeException("getInt of bad type: 0x" + Integer.toHexString(type)); in getInt()
421 throw new RuntimeException("getFloat of bad type: 0x" + Integer.toHexString(type)); in getFloat()
474 + " to color: type=0x" + Integer.toHexString(type)); in getColor()
584 + " to integer: type=0x" + Integer.toHexString(type)); in getInteger()
632 + " to dimension: type=0x" + Integer.toHexString(type)); in getDimension()
681 + " to dimension: type=0x" + Integer.toHexString(type)); in getDimensionPixelOffset()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java128 … 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/
DAnimationUtils.java111 Integer.toHexString(id)); in loadAnimation()
116 Integer.toHexString(id)); in loadAnimation()
189 Integer.toHexString(id)); in loadLayoutAnimation()
194 Integer.toHexString(id)); in loadLayoutAnimation()
311 Integer.toHexString(id)); in loadInterpolator()
316 Integer.toHexString(id)); in loadInterpolator()
341 Integer.toHexString(id)); in loadInterpolator()
346 Integer.toHexString(id)); in loadInterpolator()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DHexDumpTest.java23 assertEquals("abcdef", HexDump.toHexString( in testBytesToHexString()
25 assertEquals("ABCDEF", HexDump.toHexString( in testBytesToHexString()
/frameworks/base/core/java/android/util/
DTypedValue.java498 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecordCache.java146 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()
DIccIoResult.java183 return "IccIoResult sw1:0x" + Integer.toHexString(sw1) + " sw2:0x" in toString()
184 + Integer.toHexString(sw2) + ((!success()) ? " Error: " + getErrorString() : ""); in toString()
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java200 logOrThrow("key=0x" + Integer.toHexString(key) in getValue()
234 logOrThrow("id=0x" + Integer.toHexString(id) + " idx=" + idx in getValueForId()
235 + " key=0x" + Integer.toHexString(key) + " index=" + index in getValueForId()
276 + " key=0x" + Integer.toHexString(key) in setValue()
286 logOrThrow("key=0x" + Integer.toHexString(key) in setValue()
461 sb.append(Integer.toHexString((key >> ID_SHIFT) & ID_MASK)); in dumpInternalState()
463 sb.append(Integer.toHexString((key >> ARRAY_SHIFT) & ARRAY_MASK)); in dumpInternalState()
465 sb.append(Integer.toHexString((key >> INDEX_SHIFT) & INDEX_MASK)); in dumpInternalState()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java236 + Integer.toHexString(flags).toUpperCase()); in setCallbackFlags()
287 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); in setRouteFlags()
291 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); in setRouteFlags()
336 Integer.toHexString(mRouteFlags)); in build()
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java473 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
521 fail("bad packet: " + HexDump.toHexString(packet)); in testRandomPackets()
617 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
626 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
634 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
643 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
652 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
751 assertEquals("BCF5AC000000", HexDump.toHexString(offerPacket.getClientMac())); in testBug2136()
785 assertEquals("9CD917000000", HexDump.toHexString(offerPacket.getClientMac())); in testUdpServerAnySourcePort()
851 assertEquals("FC3D93000000", HexDump.toHexString(offerPacket.getClientMac())); in testMultipleRouters()
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DWakeUpController.java36 Log.i(LOG_TAG, "Created instance: 0x" + Integer.toHexString(this.hashCode())); in WakeUpController()
51 Log.i(LOG_TAG, "Create wakelock: 0x" + Integer.toHexString(mWakeLock.hashCode())); in getWakeLock()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java48 public static String toHexString(byte[] keyData) { in toHexString() method in SystemKeyStore
67 return toHexString(generateNewKey(numBits, algName, keyName)); in generateNewKeyHexString()
113 return toHexString(retrieveKey(keyName)); in retrieveKeyHexString()
/frameworks/base/telephony/java/android/telephony/
DNeighboringCellInfo.java265 sb.append(Integer.toHexString(mPsc)) in toString()
268 sb.append(Integer.toHexString(mLac)) in toString()
269 .append(Integer.toHexString(mCid)) in toString()
/frameworks/base/core/java/android/app/backup/
DBackupDataOutput.java113 throw new IOException("result=0x" + Integer.toHexString(result)); in writeEntityHeader()
129 throw new IOException("result=0x" + Integer.toHexString(result)); in writeEntityData()

12345678910>>...15