OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rappor
(Results
1 - 12
of
12
) sorted by null
/external/rappor/
Android.mk
19
LOCAL_MODULE :=
rappor
-tests
21
LOCAL_STATIC_JAVA_LIBRARIES := hamcrest-library
rappor
guava junit
/frameworks/base/core/tests/privacytests/
Android.mk
11
LOCAL_STATIC_JAVA_LIBRARIES := junit
rappor
-tests android-support-test truth-prebuilt
/frameworks/base/core/java/android/privacy/internal/longitudinalreporting/
LongitudinalReportingEncoder.java
20
import android.privacy.internal.
rappor
.RapporConfig;
21
import android.privacy.internal.
rappor
.RapporEncoder;
55
// Suffix that will be added to
Rappor
's encoder id. There's a (relatively) small risk some
56
// other
Rappor
encoder may re-use the same encoder id.
91
* @param config
Rappor
parameters to encode input.
163
// Use
Rappor
to get PRR result.
Rappor
's P and Q are set to 0 and 1 so IRR will not be
165
// As
Rappor
has rapporF/2 chance returns 0, rapporF/2 chance returns 1, and 1-rapporF
167
// If p < 0.5, setting rapporF=2p and input=0 will make
Rappor
has p chance to return 1
169
// If p >= 0.5, setting rapporF=2(1-p) and input=1 will make
Rappor
has p chanc
[
all
...]
LongitudinalReportingConfig.java
20
import android.privacy.internal.
rappor
.RapporConfig;
/frameworks/base/core/java/android/privacy/internal/rappor/
RapporEncoder.java
17
package android.privacy.internal.
rappor
;
21
import com.google.android.
rappor
.Encoder;
32
* <a href="https://research.google.com/pubs/pub42852.html">
RAPPOR
</a>
58
//
Rappor
encoder
96
* @param config
Rappor
parameters to encode input.
108
* @param config
Rappor
parameters to encode input.
RapporConfig.java
17
package android.privacy.internal.
rappor
;
31
private static final String ALGORITHM_NAME = "
Rappor
";
45
* @param numBits Number of bits to be encoded in
Rappor
algorithm.
46
* @param probabilityF Probability F that used in
Rappor
algorithm. This will be
48
* @param probabilityP Probability P that used in
Rappor
algorithm.
49
* @param probabilityQ Probability Q that used in
Rappor
algorithm.
50
* @param numCohorts Number of cohorts that used in
Rappor
algorithm.
51
* @param numBloomHashes Number of bloom hashes that used in
Rappor
algorithm.
/frameworks/base/core/tests/privacytests/src/android/privacy/
RapporEncoderTest.java
23
import android.privacy.internal.
rappor
.RapporConfig;
24
import android.privacy.internal.
rappor
.RapporEncoder;
38
* Most of the tests are done in external/
rappor
/client/javatest/ already.
39
* Tests here are just make sure the {@link RapporEncoder} wrap
Rappor
correctly.
57
assertEquals("
Rappor
", encoder.getConfig().getAlgorithm());
/external/rappor/client/java/com/google/android/rappor/
HmacDrbg.java
1
package com.google.android.
rappor
;
Encoder.java
1
package com.google.android.
rappor
;
25
* Encodes reports using the
RAPPOR
differentially-private encoding algorithm.
27
* The
RAPPOR
algorithm is described at go/
rappor
and presented in detail at go/
rappor
-writeup.
48
* Maximum number of bits in the
RAPPOR
-encoded report.
55
* Maximum number of Bloom filter hashes used for
RAPPOR
-encoded strings.
80
* <p>The (userSecret, encoderId) pair identify a the logical memoization table used for
RAPPOR
's
90
* The
RAPPOR
"f" probability, on the range [0.0, 1.0].
95
* <p>Setting probabilityF to 0 disables the PRR phase of
RAPPOR
[
all
...]
/external/rappor/client/javatest/com/google/android/rappor/
EncoderTest.java
1
package com.google.android.
rappor
;
60
// Full
RAPPOR
[
all
...]
HmacDrbgTest.java
1
package com.google.android.
rappor
;
/frameworks/base/config/
boot-image-profile.txt
[
all
...]
Completed in 185 milliseconds