Home
last modified time | relevance | path

Searched refs:getInformationGain (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DTriggerSpecs.java145 public double getInformationGain(Source source, Flags flags) { in getInformationGain() method in TriggerSpecs
149 return mPrivacyParams.getInformationGain(); in getInformationGain()
514 mInformationGain = Combinatorics.getInformationGain(mNumStates, mFlipProbability); in PrivacyComputationParams()
539 private double getInformationGain() { in getInformationGain() method in TriggerSpecs.PrivacyComputationParams
DSource.java324 double getInformationGain(Flags flags, long numTriggerStates, double flipProbability) { in getInformationGain() method in Source
335 return Combinatorics.getInformationGain(numTriggerStates, flipProbability); in getInformationGain()
339 return getInformationGain(flags, getNumStates(flags), getFlipProbability(flags)) in isFlexLiteApiValueValid()
903 return mTriggerSpecs.getInformationGain(this, flags) <= getInformationGainThreshold(flags); in isFlexEventApiValueValid()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/
DSourceFixture.java204 triggerSpecs.getInformationGain(source, FakeFlagsFactory.getFlagsForTest()); in getValidTriggerSpecsCountBased()
221 triggerSpecs.getInformationGain(source, FakeFlagsFactory.getFlagsForTest()); in getValidTriggerSpecsCountBasedWithFewerState()
257 triggerSpecs.getInformationGain(source, FakeFlagsFactory.getFlagsForTest()); in getValidTriggerSpecsValueSum()
273 triggerSpecs.getInformationGain(source, FakeFlagsFactory.getFlagsForTest()); in getValidTriggerSpecsValueSumWithStartTime()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DCombinatoricsTest.java282 Combinatorics.getInformationGain( in testInformationGain()
DImpressionNoiseUtilTest.java443 triggerSpecs.getInformationGain(source, FakeFlagsFactory.getFlagsForTest()); in getValidTriggerSpecsForRandomOrderTest()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DTriggerSpecsTest.java242 testObject.getInformationGain(source, FakeFlagsFactory.getFlagsForTest()); in getPrivacyParamsForComputation_equal()
DSourceTest.java1730 testSource.getInformationGain( in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams()
1751 testSource.getInformationGain( in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams()
1768 testSource.getInformationGain( in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DCombinatorics.java276 public static double getInformationGain(long numOfStates, double flipProbability) { in getInformationGain() method in Combinatorics