Home
last modified time | relevance | path

Searched refs:cborEncodeInt (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java160 .putEntry(mdlNs, "Height", idsNoAuth, Util.cborEncodeInt(180)) in createCredentialWithChallengeAndAcpId()
161 .putEntry(mdlNs, "Neg Item", idsNoAuth, Util.cborEncodeInt(-42)) in createCredentialWithChallengeAndAcpId()
162 .putEntry(mdlNs, "Int Two Bytes", idsNoAuth, Util.cborEncodeInt(0x101)) in createCredentialWithChallengeAndAcpId()
163 .putEntry(mdlNs, "Int Four Bytes", idsNoAuth, Util.cborEncodeInt(0x10001)) in createCredentialWithChallengeAndAcpId()
165 Util.cborEncodeInt(0x100000001L)) in createCredentialWithChallengeAndAcpId()
DUtilUnitTests.java251 assertEquals(42, Util.cborDecodeInt(Util.cborEncodeInt(42))); in cborEncodeDecode()
252 assertEquals(123456, Util.cborDecodeInt(Util.cborEncodeInt(123456))); in cborEncodeDecode()
DUtil.java751 static byte[] cborEncodeInt(long value) { in cborEncodeInt() method in Util