Lines Matching refs:rand
1471 rects[i] += (int32_t)(((float)rand() / RAND_MAX) * 6 - 3); in collectStatisticsMetadata()
1476 scores[i] += (int32_t)(((float)rand() / RAND_MAX) * 10 - 5); in collectStatisticsMetadata()
1515 features[i] += (int32_t)(((float)rand() / RAND_MAX) * 4 - 2); in collectStatisticsMetadata()
1832 mAfScanDuration = ((double)rand() / RAND_MAX) * in processAfTrigger()
1899 bool startScan = ((double)rand() / RAND_MAX) < kContinuousAfStartRate; in maybeStartAfScan()
1902 mAfScanDuration = ((double)rand() / RAND_MAX) * in maybeStartAfScan()
1924 bool success = ((double)rand() / RAND_MAX) < kAfSuccessRate; in updateAfScan()
1978 mAeScanDuration = ((double)rand() / RAND_MAX) * in processPrecaptureTrigger()
2002 bool startScan = ((double)rand() / RAND_MAX) < kAeScanStartRate; in maybeStartAeScan()
2004 mAeScanDuration = ((double)rand() / RAND_MAX) * in maybeStartAeScan()
2036 ((double)rand() / RAND_MAX) * 2 * kExposureJump - in updateAeScan()