Home
last modified time | relevance | path

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

1234

/cts/tests/tests/content/src/android/content/res/cts/
DPrimitiveTest.java41 + ": in resource 0x" + Integer.toHexString(resid), expected, value); in tryEnum()
58 + ": in resource 0x" + Integer.toHexString(resid), expected, value); in tryFlag()
75 + " from TypedValue: in resource 0x" + Integer.toHexString(resid), in tryBoolean()
78 + " from getBoolean(): in resource 0x" + Integer.toHexString(resid), in tryBoolean()
93 + ": in resource 0x" + Integer.toHexString(resid), in tryString()
109 + actual + "\" in resources 0x" + Integer.toHexString(resid), in checkString()
DPrivateAttributeTest.java54 + " (0x" + Integer.toHexString(currentAttr) + ")" in testNoAttributesAfterLastPublicAttribute()
57 + " (0x" + Integer.toHexString(sLastPublicAttr) + ")"); in testNoAttributesAfterLastPublicAttribute()
DArrayTest.java36 assertEquals("in resource 0x" + Integer.toHexString(resid) in checkEntry()
60 assertEquals("in resource 0x" + Integer.toHexString(resid) in checkIntArray()
DResourcesTest.java152 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText1()
155 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText1()
163 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText2()
166 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText2()
738 + actual + "\" in resources 0x" + Integer.toHexString(resid), in checkString()
767 assertEquals("in resource 0x" + Integer.toHexString(resid) in checkEntry()
796 + " from TypedValue: in resource 0x" + Integer.toHexString(resid), in tryBoolean()
799 + " from getBoolean(): in resource 0x" + Integer.toHexString(resid), in tryBoolean()
808 + ": in resource 0x" + Integer.toHexString(resid), in tryString()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DDatabaseStatementTest.java157 statement.bindString(1, Long.toHexString(i)); in testStatementStringBinding()
167 assertEquals(Long.toHexString(i), num); in testStatementStringBinding()
202 args[i] = Integer.toHexString(i); in testSimpleStringBinding()
212 assertEquals(Integer.toHexString(0), num); in testSimpleStringBinding()
215 assertEquals(Integer.toHexString(1), val); in testSimpleStringBinding()
227 statement.bindString(2, Long.toHexString(i)); in testStatementMultipleBindings()
240 assertEquals(Long.toHexString(i), str); in testStatementMultipleBindings()
261 mStatement.bindString(2, Long.toHexString(i)); in run()
275 assertEquals(Long.toHexString(i), str); in run()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DProtocolParamsReaderActivity.java51 sb.append("SAK: 0x" + Integer.toHexString(sak & 0xFF) + "\n"); in parseProtocolParameters()
71 sb.append(" TL: 0x" + Integer.toHexString(ats[0] & 0xFF) + "\n"); in parseProtocolParameters()
72 sb.append(" T0: 0x" + Integer.toHexString(ats[1] & 0xFF) + "\n"); in parseProtocolParameters()
111 sb.append(" TA: 0x" + Integer.toHexString(ats[atsIndex] & 0xff) + "\n"); in parseProtocolParameters()
132 sb.append(" TB: 0x" + Integer.toHexString(ats[3] & 0xFF) + "\n"); in parseProtocolParameters()
154 sb.append(" TC: 0x" + Integer.toHexString(ats[atsIndex] & 0xFF) + "\n"); in parseProtocolParameters()
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
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/graphics/src/android/graphics/cts/
DSystemPalette.java77 assertWithMessage("Color " + Integer.toHexString((palette[i - 1])) in testAllColorsBelongToSameFamily()
78 + " has different hue compared to " + Integer.toHexString(palette[i]) in testAllColorsBelongToSameFamily()
119 assertWithMessage("Color " + Integer.toHexString((palette[i])) in testColorsMatchExpectedLuminance()
147 assertWithMessage("Shade " + shades.first + " (#" + Integer.toHexString(background) in testContrastRatio()
149 + " (#" + Integer.toHexString(foreground) + ")").that(contrast) in testContrastRatio()
157 assertWithMessage("Shade " + shades.first + " (#" + Integer.toHexString(background) in testContrastRatio()
159 + " (#" + Integer.toHexString(foreground) + ")").that(contrast) in testContrastRatio()
186 Assert.assertEquals("Color = " + Integer.toHexString(observed) + ", " in assertColor()
187 + Integer.toHexString(expected) + " expected", expected, observed); in assertColor()
DVulkanFeaturesTest.java94 Log.d(TAG, feature.name + "=0x" + Integer.toHexString(feature.version)); in setup()
147 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + " is not" + in testVulkanHardwareFeatures()
167 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + in testVulkanHardwareFeatures()
169 " to best physical device version 0x" + Integer.toHexString(bestDeviceVersion), in testVulkanHardwareFeatures()
259 " version=0x" + Integer.toHexString(version)); in getBestDevice()
DVulkanDeqpLevelTest.java66 Log.d(TAG, feature.name + "=0x" + Integer.toHexString(feature.version)); in setup()
/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/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/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/text/src/android/text/cts/
DEmojiTest.java82 sb.append("[ID:0x" + Integer.toHexString(System.identityHashCode(bmp))); in describeBitmap()
121 String baseMessage = "Glyph for U+" + Integer.toHexString(sComparedCodePoints[i][0]) in testEmojiGlyph()
123 + Integer.toHexString(sComparedCodePoints[i][1]) + ". "; in testEmojiGlyph()
164 String baseMessage = "Glyph for U+" + Integer.toHexString(sComparedCodePoints[i][0]) in testEmojiGlyphWebView()
166 + Integer.toHexString(sComparedCodePoints[i][1]) + ". "; in testEmojiGlyphWebView()
/cts/tests/tests/permission3/PermissionPolicyApp25/src/android/permission3/cts/permissionpolicy/
DTestProtectionFlagsActivity.kt73 else -> Integer.toHexString(protection) in <lambda>()
103 unknownProtectionFlags, Integer.toHexString(unknownProtectionFlags) in <lambda>()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java108 assertEquals("NaN", toHexString(NaN)); in hexString()
109 assertEquals("Infinity", toHexString(POSITIVE_INFINITY)); in hexString()
110 assertEquals("-Infinity", toHexString(NEGATIVE_INFINITY)); in hexString()
111 assertEquals("0x0.0p0", toHexString(POSITIVE_ZERO)); in hexString()
112 assertEquals("-0x0.0p0", toHexString(NEGATIVE_ZERO)); in hexString()
113 assertEquals("0x1.0p0", toHexString(toHalf(1.0f))); in hexString()
114 assertEquals("-0x1.0p0", toHexString(toHalf(-1.0f))); in hexString()
115 assertEquals("0x1.0p1", toHexString(toHalf(2.0f))); in hexString()
116 assertEquals("0x1.0p8", toHexString(toHalf(256.0f))); in hexString()
117 assertEquals("0x1.0p-1", toHexString(toHalf(0.5f))); in hexString()
[all …]
/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.java46 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/keystore/src/android/keystore/cts/
DHexEncoding.java91 "Invalid hexadecimal digit at position : '" + c + "' (0x" + Integer.toHexString(c) + ")"); in getHexadecimalDigitValue()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DOrganizationInfoTest.java28 assertEquals("Default color returned: " + Integer.toHexString(defaultColor), in testDefaultOrganizationColor()

1234