Home
last modified time | relevance | path

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

12345

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DOobDataTest.java229 + toHexString(leData.getDeviceAddressWithType()) + "\n\t" in testToString()
230 + "Confirmation: " + toHexString(leData.getConfirmationHash()) + "\n\t" in testToString()
231 + "Randomizer: " + toHexString(leData.getRandomizerHash()) + "\n\t" in testToString()
232 + "Device Name: " + toHexString(leData.getDeviceName()) + "\n\t" in testToString()
233 + "OobData Length: " + toHexString(leData.getClassicLength()) + "\n\t" in testToString()
234 + "Class of Device: " + toHexString(leData.getClassOfDevice()) + "\n\t" in testToString()
235 + "LE Device Role: " + toHexString(leData.getLeDeviceRole()) + "\n\t" in testToString()
236 + "LE Temporary Key: " + toHexString(leData.getLeTemporaryKey()) + "\n\t" in testToString()
237 + "LE Appearance: " + toHexString(leData.getLeAppearance()) + "\n\t" in testToString()
238 + "LE Flags: " + toHexString(leData.getLeFlags()) + "\n\t"; in testToString()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUiccUtil.java63 + Integer.toHexString(cla) in toString()
65 + Integer.toHexString(ins) in toString()
67 + Integer.toHexString(p1) in toString()
69 + Integer.toHexString(p2) in toString()
71 + Integer.toHexString(p3) in toString()
DColorUtils.java47 s += " expected 0x" + Integer.toHexString(expected) in verifyColor()
48 + ", observed 0x" + Integer.toHexString(observed) in verifyColor()
78 return "Channel " + channelName + " mismatch: expected<0x" + Integer.toHexString(e) in verifyChannel()
79 + ">, observed: <0x" + Integer.toHexString(o) + ">"; in verifyChannel()
/cts/tests/tests/content/src/android/content/res/cts/
DPrimitiveTest.java56 + ": in resource 0x" + Integer.toHexString(resid), expected, value); in tryEnum()
74 + ": in resource 0x" + Integer.toHexString(resid), expected, value); in tryFlag()
92 + " from TypedValue: in resource 0x" + Integer.toHexString(resid), in tryBoolean()
95 + " from getBoolean(): in resource 0x" + Integer.toHexString(resid), in tryBoolean()
111 + ": in resource 0x" + Integer.toHexString(resid), in tryString()
128 + actual + "\" in resources 0x" + Integer.toHexString(resid), in checkString()
DPrivateAttributeTest.java66 + " (0x" + Integer.toHexString(currentAttr) + ")" in testNoAttributesAfterLastPublicAttribute()
69 + " (0x" + Integer.toHexString(sLastPublicAttr) + ")"); in testNoAttributesAfterLastPublicAttribute()
DArrayTest.java50 assertEquals("in resource 0x" + Integer.toHexString(resid) in checkEntry()
74 assertEquals("in resource 0x" + Integer.toHexString(resid) in checkIntArray()
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiMessage.java36 sb.append("0x" + Integer.toHexString(buffer[index] & 0x00FF)); in toString()
41 sb.append("] timestamp:" + Long.toHexString(timestamp)); in toString()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DDatabaseStatementTest.java171 statement.bindString(1, Long.toHexString(i)); in testStatementStringBinding()
181 assertEquals(Long.toHexString(i), num); in testStatementStringBinding()
216 args[i] = Integer.toHexString(i); in testSimpleStringBinding()
226 assertEquals(Integer.toHexString(0), num); in testSimpleStringBinding()
229 assertEquals(Integer.toHexString(1), val); in testSimpleStringBinding()
241 statement.bindString(2, Long.toHexString(i)); in testStatementMultipleBindings()
254 assertEquals(Long.toHexString(i), str); in testStatementMultipleBindings()
275 mStatement.bindString(2, Long.toHexString(i)); in run()
289 assertEquals(Long.toHexString(i), str); in run()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DExactComparer.java39 Log.d(TAG, "Expected color : " + Integer.toHexString(ideal[index]) + in verifySame()
40 " given color : " + Integer.toHexString(given[index])); in verifySame()
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/src/android/appsecurity/cts/keyrotationtest/utils/
DSignatureUtils.java44 return Optional.of(toHexString(messageDigest.digest())); in computeSha256Digest()
48 public static String toHexString(byte[] data) { in toHexString() method in SignatureUtils
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DPerPixelBitmapVerifier.java63 Log.d(TAG, "Expected : " + Integer.toHexString(getExpectedColor(x, y)) in verify()
64 + " received : " + Integer.toHexString(bitmap[index]) in verify()
DSamplePointVerifier.java56 Log.d(TAG, "Expected : " + Integer.toHexString(mExpectedColors[i]) + in verify()
58 Integer.toHexString(bitmap[index])); in verify()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/
DPerPixelBitmapVerifier.java63 Log.d(TAG, "Expected : " + Integer.toHexString(getExpectedColor(x, y)) in verify()
64 + " received : " + Integer.toHexString(bitmap[index]) in verify()
DSamplePointVerifier.java56 Log.d(TAG, "Expected : " + Integer.toHexString(mExpectedColors[i]) + in verify()
58 Integer.toHexString(bitmap[index])); in verify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DAudioUtils.java200 return maskString != null ? maskString : ("0x" + Integer.toHexString(channelMask)); in channelOutPositionMaskToString()
209 return maskString != null ? maskString : ("0x" + Integer.toHexString(channelMask)); in channelInPositionMaskToString()
217 return "0x" + Integer.toHexString(channelMask); in channelIndexMaskToString()
226 return encodingString != null ? encodingString : ("0x" + Integer.toHexString(encoding)); in encodingToString()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java91 sb.append("[ID:0x" + Integer.toHexString(System.identityHashCode(bmp))); in describeBitmap()
130 String baseMessage = "Glyph for U+" + Integer.toHexString(sComparedCodePoints[i][0]) in testEmojiGlyph()
132 + Integer.toHexString(sComparedCodePoints[i][1]) + ". "; in testEmojiGlyph()
173 String baseMessage = "Glyph for U+" + Integer.toHexString(sComparedCodePoints[i][0]) in testEmojiGlyphWebView()
175 + Integer.toHexString(sComparedCodePoints[i][1]) + ". "; in testEmojiGlyphWebView()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java38 import static android.util.Half.toHexString;
134 assertEquals("NaN", toHexString(NaN)); in hexString()
135 assertEquals("Infinity", toHexString(POSITIVE_INFINITY)); in hexString()
136 assertEquals("-Infinity", toHexString(NEGATIVE_INFINITY)); in hexString()
137 assertEquals("0x0.0p0", toHexString(POSITIVE_ZERO)); in hexString()
138 assertEquals("-0x0.0p0", toHexString(NEGATIVE_ZERO)); in hexString()
139 assertEquals("0x1.0p0", toHexString(toHalf(1.0f))); in hexString()
140 assertEquals("-0x1.0p0", toHexString(toHalf(-1.0f))); in hexString()
141 assertEquals("0x1.0p1", toHexString(toHalf(2.0f))); in hexString()
142 assertEquals("0x1.0p8", toHexString(toHalf(256.0f))); in hexString()
[all …]
/cts/tests/tests/time/src/android/app/time/cts/
DHexEncoding.java64 "Invalid hexadecimal digit at position : '" + c + "' (0x" + Integer.toHexString( in getHexadecimalDigitValue()
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamTagTest.java162 throw new Exception("checkFieldId(0x" + Long.toHexString(fieldId) in assertCheckFieldIdThrows()
163 + ", 0x" + Long.toHexString(expectedFlags) + ") did not throw."); in assertCheckFieldIdThrows()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DLogicalAddress.java48 return Integer.toHexString(this.address); in toString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DListsHelper.java68 sb.append("0x" + Integer.toHexString(list[index])); in textFormatHex()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java272 Log.d(TAG, feature.name + "=0x" + Integer.toHexString(feature.version)); in setup()
333 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + " is not" + in testVulkanHardwareFeatures()
353 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + in testVulkanHardwareFeatures()
355 " to best physical device version 0x" + Integer.toHexString(bestDeviceVersion), in testVulkanHardwareFeatures()
547 " version=0x" + Integer.toHexString(version)); in getBestDevice()
/cts/tests/tests/keystore/src/android/keystore/cts/
DHexEncoding.java91 "Invalid hexadecimal digit at position : '" + c + "' (0x" + Integer.toHexString(c) + ")"); in getHexadecimalDigitValue()
DECDSASignatureTest.java167 String rValueStr = HexDump.toHexString(rValue); in testECDSANonceReuse_Helper()
180 String otherSigStr = HexDump.toHexString(otherSig); in testECDSANonceReuse_Helper()
181 String currentSigStr = HexDump.toHexString(signature); in testECDSANonceReuse_Helper()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DOrganizationInfoTest.java28 assertEquals("Default color returned: " + Integer.toHexString(defaultColor), in testDefaultOrganizationColor()

12345