Home
last modified time | relevance | path

Searched refs:encoder3 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/privacytests/src/android/privacy/
DLongitudinalReportingEncoderTest.java119 final LongitudinalReportingEncoder encoder3 in testLongitudinalReportingEncoder_basicIRRTest() local
123 assertEquals(1, encoder3.encodeBoolean(false)[0]); in testLongitudinalReportingEncoder_basicIRRTest()
126 assertEquals(0, encoder3.encodeBoolean(true)[0]); in testLongitudinalReportingEncoder_basicIRRTest()
213 final LongitudinalReportingEncoder encoder3 in testLongitudinalReportingEncoder_basicPRRTest() local
216 assertEquals(1, encoder3.encodeBoolean(false)[0]); in testLongitudinalReportingEncoder_basicPRRTest()
217 assertEquals(1, encoder3.encodeBoolean(false)[0]); in testLongitudinalReportingEncoder_basicPRRTest()
218 assertEquals(1, encoder3.encodeBoolean(false)[0]); in testLongitudinalReportingEncoder_basicPRRTest()
219 assertEquals(1, encoder3.encodeBoolean(false)[0]); in testLongitudinalReportingEncoder_basicPRRTest()
220 assertEquals(1, encoder3.encodeBoolean(false)[0]); in testLongitudinalReportingEncoder_basicPRRTest()
221 assertEquals(1, encoder3.encodeBoolean(true)[0]); in testLongitudinalReportingEncoder_basicPRRTest()
[all …]
DRapporEncoderTest.java123 final RapporEncoder encoder3 = RapporEncoder.createInsecureEncoderForTest(config3); in testRapporEncoder_IRRWithPRR() local
125 assertEquals(expectedPrrAndIrrValue, toLong(encoder3.encodeBits(toBytes(inputValue)))); in testRapporEncoder_IRRWithPRR()
178 final RapporEncoder encoder3 = RapporEncoder.createEncoder(config3, in testRapporEncoder_ensureSecureEncoderIsSecure() local
181 encoder3.encodeBits(toBytes(inputValue)))); in testRapporEncoder_ensureSecureEncoderIsSecure()