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

12

/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/gatekeeper/
H A Dgatekeeper.cpp48 uint64_t timestamp = GetMillisecondsSinceBoot(); local
60 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return;
62 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) {
122 uint64_t timestamp = GetMillisecondsSinceBoot(); local
134 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return;
136 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) {
150 MintAuthToken(&auth_token_buffer, &auth_token_len, timestamp,
216 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id,
228 token->timestamp = htobe64(timestamp);
215 MintAuthToken(UniquePtr<uint8_t> *auth_token, uint32_t *length, uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, uint64_t challenge) argument
256 ThrottleRequest(uint32_t uid, uint64_t timestamp, failure_record_t *record, bool secure, GateKeeperMessage *response) argument
284 IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, failure_record_t *record, bool secure) argument
[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/bt/hci/src/
H A Dbtsnoop.c145 uint64_t timestamp = tv.tv_sec * 1000 * 1000LL; local
146 timestamp += tv.tv_usec;
147 timestamp += BTSNOOP_EPOCH_DELTA;
148 return timestamp;
220 uint64_t timestamp = btsnoop_timestamp(); local
221 uint32_t time_hi = timestamp >> 32;
222 uint32_t time_lo = timestamp & 0xFFFFFFFF;
/system/security/keystore/tests/
H A Dauth_token_table_test.cpp75 uint64_t timestamp = 0) {
81 token->timestamp = hton(timestamp);
281 // expired. An additional check of the secure timestamp (in the token) will be made by
304 // on timestamp (fourth arg to make_token).
309 EXPECT_EQ(1U, ntoh(found->timestamp));
320 EXPECT_EQ(3U, ntoh(found->timestamp));
322 EXPECT_EQ(4U, ntoh(found->timestamp));
338 EXPECT_EQ(5U, ntoh(found->timestamp));
341 EXPECT_EQ(6U, ntoh(found->timestamp));
[all...]
/system/gatekeeper/include/gatekeeper/
H A Dgatekeeper.h179 void MintAuthToken(UniquePtr<uint8_t> *auth_token, uint32_t *length, uint64_t timestamp,
191 * Sets the last_checked_timestamp to timestamp. Writes the updated record
196 bool IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp,
207 bool ThrottleRequest(uint32_t uid, uint64_t timestamp,
/system/media/alsa_utils/include/
H A Dalsa_device_proxy.h47 uint64_t *frames, struct timespec *timestamp);
/system/netd/server/
H A DNetlinkHandler.h44 const char *timestamp, const char *uid);
H A DNetlinkHandler.cpp120 const char *timestamp = evt->findParam("TIME_NS"); local
124 timestamp, uid);
171 const char *timestamp,
173 if (timestamp == NULL)
178 "IfaceClass active %s %s %s", name, timestamp, uid);
181 "IfaceClass %s %s %s", isActive ? "active" : "idle", name, timestamp);
169 notifyInterfaceClassActivity(const char *name, bool isActive, const char *timestamp, const char *uid) argument
/system/bt/btif/include/
H A Dbtif_media.h217 extern void btif_media_aa_writebuf(BT_HDR *pBuf, UINT32 timestamp, UINT16 seq_num);
229 UINT32 timestamp, UINT16 seq_num);
/system/core/adf/libadfhwc/include/adfhwc/
H A Dadfhwc.h33 void (*vsync)(void *data, int disp, uint64_t timestamp);
/system/bt/stack/btm/
H A Dbtm_dev.c102 p_dev_rec->timestamp = btm_cb.dev_rec_count++;
326 p_dev_rec->timestamp = btm_cb.dev_rec_count++;
577 if (p_dev_rec->timestamp < ot)
580 ot = p_dev_rec->timestamp;
594 if (p_dev_rec->timestamp < ot)
597 ot = p_dev_rec->timestamp;
/system/media/alsa_utils/
H A Dalsa_device_proxy.c166 uint64_t *frames, struct timespec *timestamp)
171 && pcm_get_htimestamp(proxy->pcm, &avail, timestamp) == 0) {
165 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
/system/keymaster/
H A Dkeymaster_enforcement_test.cpp55 return current_time_ > ntoh(token.timestamp) + timeout;
527 token.timestamp = 0;
550 token.timestamp = 0;
579 token.timestamp = 0;
603 token.timestamp = 0;
630 token.timestamp = 0;
659 token.timestamp = 0;
688 token.timestamp = 0;
711 token.timestamp = 0;
763 token.timestamp
[all...]
/system/core/adb/
H A Dfile_sync_service.cpp180 unsigned int timestamp = 0; local
222 timestamp = ltohl(msg.data.size);
252 u.actime = timestamp;
253 u.modtime = timestamp;
H A Dfile_sync_client.cpp141 int sync_readtime(int fd, const char *path, unsigned int *timestamp, argument
163 *timestamp = ltohl(msg.stat.time);
184 static int sync_finish_readtime(int fd, unsigned int *timestamp, argument
195 *timestamp = ltohl(msg.stat.time);
707 unsigned int timestamp, mode, size; local
708 if(sync_finish_readtime(fd, &timestamp, &mode, &size))
712 if((S_ISREG(ci->mode & mode) && timestamp == ci->time) ||
713 (S_ISLNK(ci->mode & mode) && timestamp >= ci->time))
H A Dadb.cpp89 char timestamp[PATH_MAX]; local
90 strftime(timestamp, sizeof(timestamp), "%Y-%m-%d-%H-%M-%S", &now);
92 std::string path = android::base::StringPrintf("/data/adb/adb-%s-%d", timestamp, getpid());
/system/core/include/system/
H A Dwindow.h381 * Special timestamp value to indicate that timestamps should be auto-generated
851 * native_window_set_buffers_timestamp(..., int64_t timestamp)
852 * All buffers queued after this call will be associated with the timestamp
853 * parameter specified. If the timestamp is set to NATIVE_WINDOW_TIMESTAMP_AUTO
855 * called. The timestamp is measured in nanoseconds, and is normally monotonically
856 * increasing. The timestamp should be unaffected by time-of-day adjustments,
862 int64_t timestamp)
865 timestamp);
860 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
472 /* only record the down even timestamp, as the amount
475 charger->keys[code].timestamp = now;
481 int64_t duration = now - charger->keys[code].timestamp;
503 int64_t then = key->timestamp + timeout;
515 int64_t reboot_timeout = key->timestamp + POWER_ON_KEY_TIME;
/system/core/adf/libadf/tests/
H A Dadf_test.cpp130 void readVsyncTimestamp(uint64_t &timestamp) {
140 timestamp = vsync_event->timestamp;
/system/core/gatekeeperd/tests/
H A Dgatekeeper_test.cpp90 ASSERT_NE(~((uint32_t) 0), auth_token->timestamp);
/system/security/keystore/
H A Dauth_token_table.cpp185 return ntoh(token_->timestamp);
/system/core/adf/libadfhwc/
H A Dadfhwc.cpp188 dev->event_cb->vsync(dev->event_cb_data, disp, vsync->timestamp);
/system/bt/stack/l2cap/
H A Dl2c_fcr.c1754 /* set timestamp at the end of tx I-frame to get acking delay */
2274 UINT32 timestamp, delay; local
2298 /* get timestamp from tx I-frame that receiver is acking */
2305 STREAM_TO_UINT32 (timestamp, p);
2306 delay = GKI_get_os_tick_count() - timestamp;
2329 timestamp = GKI_get_os_tick_count();
2330 if (timestamp - p_ccb->fcrb.throughput_start > 0 )
2331 p_ccb->fcrb.throughput[index] /= (timestamp - p_ccb->fcrb.throughput_start);
2333 p_ccb->fcrb.throughput_start = timestamp;
/system/bt/btif/src/
H A Dbtif_media_task.c227 UINT32 timestamp; member in struct:__anon674
1604 btif_media_cb.timestamp = 0;
2574 /* timestamp of the media packet header represent the TS of the first SBC frame
2575 i.e the timestamp before including this frame */
2576 *((UINT32 *) (p_buf + 1)) = btif_media_cb.timestamp;
2578 btif_media_cb.timestamp += p_buf->layer_specific * blocm_x_subband;

Completed in 707 milliseconds

12