Home | History | Annotate | Download | only in media

Lines Matching refs:time

22 #include <time.h>
48 LOCATION_SERVER_LASTKERNELOK, // timestamp of server the prior time kernel timestamp OK.
49 LOCATION_KERNEL_LASTKERNELOK, // timestamp of kernel the prior time kernel timestamp OK.
71 // If this value is -1, then both time and position are invalid.
72 // If this value is 0, then the time is not valid but the position is valid.
76 // timestamp was taken. This may vary due to suspend time
91 memset(mPosition, 0, sizeof(mPosition)); // actually not necessary if time is -1
101 // it will be filled with the location where the time was obtained.
103 int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const {
104 if (position == nullptr || time == nullptr
114 *time = mTimeNs[i] + mTimebaseOffset[timebase];
128 int64_t position, time;
129 if (getBestTimestamp(&position, &time, TIMEBASE_MONOTONIC, location) == OK) {
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
145 << mPosition[i] << " time: " << mTimeNs[i] << "\n";