Searched refs:numIndexPoints (Results 1 – 3 of 3) sorted by relevance
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/ |
D | PrivateIndexCalculationsTest.java | 46 int numIndexPoints = 6; in testDoubleToIndex_maxValue_equalsMaxIndex() local 52 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_maxValue_equalsMaxIndex() 60 int numIndexPoints = 6; in testDoubleToIndex_minValue_equalsMinIndex() local 66 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_minValue_equalsMinIndex() 74 int numIndexPoints = 6; in testDoubleToIndex_middleValue_equalsInteriorIndex() local 80 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_middleValue_equalsInteriorIndex() 88 int numIndexPoints = 11; in testDoubleToIndex_distanceAboveLambda_returnsUpperIndex() local 96 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_distanceAboveLambda_returnsUpperIndex() 104 int numIndexPoints = 11; in testDoubleToIndex_distanceBelowLambda_returnsLowerIndex() local 112 value, minValue, maxValue, numIndexPoints, mSecureRandom)) in testDoubleToIndex_distanceBelowLambda_returnsLowerIndex()
|
D | PrivacyGeneratorStatisticalTest.java | 182 int numTrials, double value, double minValue, double maxValue, int numIndexPoints) { in doubleToIndexTest() argument 183 double intervalSize = (maxValue - minValue) / (double) (numIndexPoints - 1); in doubleToIndexTest() 198 numIndexPoints, in doubleToIndexTest()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/ |
D | PrivateIndexCalculations.java | 60 int numIndexPoints, in doubleToIndex() argument 62 double intervalSize = (maxValue - minValue) / (double) (numIndexPoints - 1); in doubleToIndex() 86 int numIndexPoints, in longToIndex() argument 89 (double) value, (double) minValue, (double) maxValue, numIndexPoints, secureRandom); in longToIndex()
|