Searched refs:timestamp (Results 1 - 10 of 10) sorted by relevance

/system/core/libutils/
H A DSystemClock.cpp66 * DEBUG_TIMESTAMP to 1 and call the timestamp routine from a single thread
72 static inline void checkTimeStamps(int64_t timestamp, argument
85 if (timestamp < prevTimestamp) {
94 timestamp, gettime_method_names[curMethod],
99 *prevTimestampPtr = timestamp;
103 #define checkTimeStamps(timestamp, prevTimestampPtr, prevMethodPtr, curMethod)
114 int64_t timestamp; local
133 timestamp = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
134 checkTimeStamps(timestamp, &prevTimestamp, &prevMethod, METHOD_IOCTL);
135 return timestamp;
[all...]
/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp32 class timestamp { class
52 timestamp(const char *buffer) function in class:timestamp
57 bool operator< (timestamp &T)
94 timestamp next(buffer);
/system/netd/server/
H A DNetlinkHandler.h43 const char *timestamp);
H A DNetlinkHandler.cpp115 const char *timestamp = evt->findParam("TIME_NS"); local
117 notifyInterfaceClassActivity(label, !strcmp("active", state), timestamp);
163 bool isActive, const char *timestamp) {
164 if (timestamp == NULL)
169 "IfaceClass %s %s %s", isActive ? "active" : "idle", name, timestamp);
162 notifyInterfaceClassActivity(const char *name, bool isActive, const char *timestamp) argument
/system/core/adf/libadfhwc/include/adfhwc/
H A Dadfhwc.h33 void (*vsync)(void *data, int disp, uint64_t timestamp);
/system/core/adb/
H A Dfile_sync_service.c183 unsigned int timestamp = 0; local
225 timestamp = ltohl(msg.data.size);
255 u.actime = timestamp;
256 u.modtime = timestamp;
H A Dfile_sync_client.c143 int sync_readtime(int fd, const char *path, unsigned int *timestamp, argument
165 *timestamp = ltohl(msg.stat.time);
186 static int sync_finish_readtime(int fd, unsigned int *timestamp, argument
197 *timestamp = ltohl(msg.stat.time);
719 unsigned int timestamp, mode, size; local
720 if(sync_finish_readtime(fd, &timestamp, &mode, &size))
724 if((S_ISREG(ci->mode & mode) && timestamp == ci->time) ||
725 (S_ISLNK(ci->mode & mode) && timestamp >= ci->time))
/system/core/include/system/
H A Dwindow.h364 * Special timestamp value to indicate that timestamps should be auto-generated
832 * native_window_set_buffers_timestamp(..., int64_t timestamp)
833 * All buffers queued after this call will be associated with the timestamp
834 * parameter specified. If the timestamp is set to NATIVE_WINDOW_TIMESTAMP_AUTO
836 * called. The timestamp is measured in nanoseconds, and is normally monotonically
837 * increasing. The timestamp should be unaffected by time-of-day adjustments,
843 int64_t timestamp)
846 timestamp);
841 native_window_set_buffers_timestamp( struct ANativeWindow* window, int64_t timestamp) argument
/system/core/healthd/
H A Dhealthd_mode_charger.cpp83 int64_t timestamp; member in struct:key_state
473 /* only record the down even timestamp, as the amount
476 charger->keys[code].timestamp = now;
482 int64_t duration = now - charger->keys[code].timestamp;
504 int64_t then = key->timestamp + timeout;
517 int64_t reboot_timeout = key->timestamp + POWER_ON_KEY_TIME;
/system/core/adf/libadfhwc/
H A Dadfhwc.cpp187 dev->event_cb->vsync(dev->event_cb_data, disp, vsync->timestamp);

Completed in 1036 milliseconds