Searched refs:requestedPeriod (Results 1 – 2 of 2) sorted by relevance
508 private static int findBestRegularBucketIndex(int requestedPeriod, int maxNumBuckets) { in findBestRegularBucketIndex() argument513 int diff = Math.abs(PREDEFINED_BUCKET_PERIODS[i] - requestedPeriod); in findBestRegularBucketIndex()520 Slog.wtf(TAG, "Could not find best bucket for period " + requestedPeriod + " in " in findBestRegularBucketIndex()
839 private static int computeExpectedPeriod(int requestedPeriod) { in computeExpectedPeriod() argument843 int diff = Math.abs(bucketPeriod - requestedPeriod); in computeExpectedPeriod()853 private static int computeExpectedPeriod(int requestedPeriod, in computeExpectedPeriod() argument859 int diff = Math.abs(bucketPeriod - requestedPeriod); in computeExpectedPeriod()