Searched refs:us2ns (Results 1 – 6 of 6) 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()
480 swap.dequeueDuration = us2ns(durationUs); in draw()483 swap.queueDuration = us2ns(durationUs); in draw()
249 static_cast<Sensor const*>(sensor), us2ns(usec)); in ASensorEventQueue_setEventRate()
190 static const nsecs_t kMaxWakeupLatency = us2ns(1500); in threadLoop()
457 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w; in android()