Home
last modified time | relevance | path

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

1234

/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/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.java155 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText1()
158 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText1()
166 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText2()
169 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), in checkGetText2()
687 + actual + "\" in resources 0x" + Integer.toHexString(resid), in checkString()
716 assertEquals("in resource 0x" + Integer.toHexString(resid) in checkEntry()
745 + " from TypedValue: in resource 0x" + Integer.toHexString(resid), in tryBoolean()
748 + " from getBoolean(): in resource 0x" + Integer.toHexString(resid), in tryBoolean()
757 + ": in resource 0x" + Integer.toHexString(resid), in tryString()
/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/common/device-side/util/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/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/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/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/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java94 Log.d(TAG, feature.name + "=0x" + Integer.toHexString(feature.version)); in setup()
146 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + " is not" + in testVulkanHardwareFeatures()
166 " version 0x" + Integer.toHexString(mVulkanHardwareVersion.version) + in testVulkanHardwareFeatures()
168 " to best physical device version 0x" + Integer.toHexString(bestDeviceVersion), in testVulkanHardwareFeatures()
238 " version=0x" + Integer.toHexString(version)); in getBestDevice()
/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/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/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/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/
DPermissionPolicyTest25.java116 flagsToString += flagsToString.isEmpty() ? Integer.toHexString(protectionLevel) in protectionFlagsToString()
117 : "|" + Integer.toHexString(protectionLevel); in protectionFlagsToString()
/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/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java18 import static java.lang.Integer.toHexString;
284 .append(toHexString(propId)) in setBooleanPropertyHelper()
286 .append(toHexString(areaId)) in setBooleanPropertyHelper()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DLogicalAddress.java52 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()
/cts/tests/tests/media/src/android/media/cts/
DResourceManagerTestActivityBase.java180 Log.d(TAG, "CodecException 0x" + Integer.toHexString(e.getErrorCode())); in allocateCodecs()
210 Log.d(TAG, "useCodecs got CodecException 0x" + Integer.toHexString(e.getErrorCode())); in doUseCodecs()

1234