Searched refs:binIndex (Results 1 – 2 of 2) sorted by relevance
37 int32_t binIndex = durationMs / mBinSizeMs; in add() local39 if (binIndex < 0) { in add()40 binIndex = 0; in add()41 } else if (binIndex >= mBinCount) { in add()42 binIndex = mBinCount-1; in add()45 mBins[binIndex]++; in add()
49 final int binIndex = mBinOptions.getBinForSample(sample); in logSample() local51 StatsExpressLog.EXPRESS_HISTOGRAM_SAMPLE_REPORTED, hash, /*count*/ 1, binIndex); in logSample()63 final int binIndex = mBinOptions.getBinForSample(sample); in logSampleWithUid() local68 binIndex, in logSampleWithUid()