Lines Matching refs:ns
2494 int64_t ns = 0; local
2501 ns = mBatchTimeouts[i];
2502 timeout = (ns < timeout) ? ns : timeout;
3154 int MPLSensor::setDelay(int32_t handle, int64_t ns) argument
3180 if (ns < 0)
3184 "setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f / ns);
3187 if (ns < 5000000LL) {
3188 ns = 5000000LL;
3193 mDelays[what] = ns;
3194 … LOGV_IF(ENG_VERBOSE, "storing mDelays[%d] = %lld, previousDelay = %lld", what, ns, previousDelay);
3199 mStepCountPollTime = ns;
3200 LOGV_IF(ENG_VERBOSE, "step count rate =%lld ns", ns);
3207 LOGV_IF(ENG_VERBOSE, "Step Detect, SMD, SO rate=%lld ns", ns);
3224 if (i != what && (mEnabled & (1 << i)) && ns > mDelays[i]) {
3242 (((mEnabled & (1 << Gyro)) && ns > mDelays[Gyro]) ||
3243 ((mEnabled & (1 << RawGyro)) && ns > mDelays[RawGyro]) ||
3245 ns > mDelays[Accelerometer])) &&
3267 if (i != what && (mEnabled & (1 << i)) && ns > mDelays[i]) {
3317 int64_t ns = mDelays[i]; local
3318 wanted = wanted < ns ? wanted : ns;
5670 int64_t wanted = 1000000000LL, ns = 0; local
5674 ns = mBatchDelays[i];
5676 … "HAL:batch - requested sensor=0x%01x, batch delay=%lld", mEnabled & (1 << i), ns);
5678 wanted = (ns < wanted) ? ns : wanted;
6386 int64_t ns = mBatchDelays[i]; local
6387 wanted = wanted < ns ? wanted : ns;
6457 int64_t ns = mDelays[i]; local
6459 if ((wanted == ns) && (i != Pressure)) {
6465 wanted = wanted < ns ? wanted : ns;