Lines Matching refs:ns
2546 int64_t ns = 0; local
2553 ns = mBatchTimeouts[i];
2554 timeout = (ns < timeout) ? ns : timeout;
3415 int MPLSensor::setDelay(int32_t handle, int64_t ns) argument
3441 if (ns < 0)
3445 "setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f / ns);
3448 if (ns < 5000000LL) {
3449 ns = 5000000LL;
3454 mDelays[what] = ns;
3455 … LOGV_IF(ENG_VERBOSE, "storing mDelays[%d] = %lld, previousDelay = %lld", what, ns, previousDelay);
3460 mStepCountPollTime = ns;
3461 LOGV_IF(ENG_VERBOSE, "step count rate =%lld ns", ns);
3468 LOGV_IF(ENG_VERBOSE, "Step Detect, SMD, SO rate=%lld ns", ns);
3485 if (i != what && (mEnabled & (1 << i)) && ns > mDelays[i]) {
3503 (((mEnabled & (1 << Gyro)) && ns > mDelays[Gyro]) ||
3504 ((mEnabled & (1 << RawGyro)) && ns > mDelays[RawGyro]) ||
3506 ns > mDelays[Accelerometer])) &&
3528 if (i != what && (mEnabled & (1 << i)) && ns > mDelays[i]) {
3578 int64_t ns = mDelays[i]; local
3579 wanted = wanted < ns ? wanted : ns;
5980 int64_t wanted = 1000000000LL, ns = 0; local
5984 ns = mBatchDelays[i];
5986 … "HAL:batch - requested sensor=0x%01x, batch delay=%lld", mEnabled & (1 << i), ns);
5988 wanted = (ns < wanted) ? ns : wanted;
6792 int64_t ns = mBatchDelays[i]; local
6793 wanted = wanted < ns ? wanted : ns;
6901 int64_t ns = mDelays[i]; local
6903 if ((wanted == ns) && (i != Pressure)) {
6909 wanted = wanted < ns ? wanted : ns;