Searched refs:us2ns (Results 1 – 4 of 4) sorted by relevance
67 static inline nsecs_t us2ns(nsecs_t v) { in us2ns() function87 return us2ns(v); in microseconds()
131 us2ns(samplingPeriodUs), 0, 0); in enableSensor()140 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor()141 us2ns(maxBatchReportLatencyUs), reservedFlags); in enableSensor()
249 static_cast<Sensor const*>(sensor), us2ns(usec)); in ASensorEventQueue_setEventRate()
659 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w; in android()