Home
last modified time | relevance | path

Searched refs:encodeBits (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/core/tests/privacytests/src/android/privacy/
H A DRapporEncoderTest.java97 assertEquals(expectedPrrValue, toLong(encoder1.encodeBits(toBytes(inputValue)))); in testRapporEncoder_IRRWithPRR()
112 toLong(encoder2.encodeBits(toBytes(expectedPrrValue)))); in testRapporEncoder_IRRWithPRR()
125 assertEquals(expectedPrrAndIrrValue, toLong(encoder3.encodeBits(toBytes(inputValue)))); in testRapporEncoder_IRRWithPRR()
146 assertEquals(prrValue, toLong(encoder1.encodeBits(toBytes(inputValue)))); in testRapporEncoder_ensureSecureEncoderIsSecure()
162 encoder2.encodeBits(toBytes(prrValue)))); in testRapporEncoder_ensureSecureEncoderIsSecure()
181 encoder3.encodeBits(toBytes(inputValue)))); in testRapporEncoder_ensureSecureEncoderIsSecure()
/aosp12/frameworks/base/core/java/android/privacy/internal/rappor/
H A DRapporEncoder.java126 public byte[] encodeBits(byte[] bits) { in encodeBits() method in RapporEncoder
127 return mEncoder.encodeBits(bits); in encodeBits()
/aosp12/frameworks/base/core/java/android/privacy/
H A DDifferentialPrivacyEncoder.java62 byte[] encodeBits(byte[] original); in encodeBits() method
/aosp12/frameworks/base/core/java/android/privacy/internal/longitudinalreporting/
H A DLongitudinalReportingEncoder.java143 public byte[] encodeBits(byte[] bits) { in encodeBits() method in LongitudinalReportingEncoder