Searched refs:NUMBER_EQUAL_THRESHOLD (Results 1 – 4 of 4) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/ |
D | CombinatoricsTest.java | 254 assertEquals(testCase[1], result, PrivacyParams.NUMBER_EQUAL_THRESHOLD); in testFlipProbability() 287 assertEquals(testCase[1], result, PrivacyParams.NUMBER_EQUAL_THRESHOLD); in testInformationGain() 318 assertEquals(testCase[3], result, PrivacyParams.NUMBER_EQUAL_THRESHOLD); in testGetMaxInformationGainWithAttributionScope()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | PrivacyParams.java | 109 public static final double NUMBER_EQUAL_THRESHOLD = 0.0000001D; field in PrivacyParams
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/ |
D | Combinatorics.java | 264 if (DoubleMath.fuzzyEquals(x, 0.0d, PrivacyParams.NUMBER_EQUAL_THRESHOLD) in getBinaryEntropy() 265 || DoubleMath.fuzzyEquals(x, 1.0d, PrivacyParams.NUMBER_EQUAL_THRESHOLD)) { in getBinaryEntropy()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | SourceTest.java | 1735 .isWithin(PrivacyParams.NUMBER_EQUAL_THRESHOLD) in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams() 1756 .isWithin(PrivacyParams.NUMBER_EQUAL_THRESHOLD) in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams() 1773 .isWithin(PrivacyParams.NUMBER_EQUAL_THRESHOLD) in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue()
|