/system/core/libutils/ |
H A D | SystemClock.cpp | 66 * 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 D | gatekeeper.cpp | 48 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 D | logcat_benchmark.cpp | 32 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 D | btsnoop.c | 145 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 D | auth_token_table_test.cpp | 75 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 D | gatekeeper.h | 179 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 D | alsa_device_proxy.h | 47 uint64_t *frames, struct timespec *timestamp);
|
/system/netd/server/ |
H A D | NetlinkHandler.h | 44 const char *timestamp, const char *uid);
|
H A D | NetlinkHandler.cpp | 120 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 D | btif_media.h | 217 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 D | adfhwc.h | 33 void (*vsync)(void *data, int disp, uint64_t timestamp);
|
/system/bt/stack/btm/ |
H A D | btm_dev.c | 102 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 D | alsa_device_proxy.c | 166 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 D | keymaster_enforcement_test.cpp | 55 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 D | file_sync_service.cpp | 180 unsigned int timestamp = 0; local 222 timestamp = ltohl(msg.data.size); 252 u.actime = timestamp; 253 u.modtime = timestamp;
|
H A D | file_sync_client.cpp | 141 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, ×tamp, &mode, &size)) 712 if((S_ISREG(ci->mode & mode) && timestamp == ci->time) || 713 (S_ISLNK(ci->mode & mode) && timestamp >= ci->time))
|
H A D | adb.cpp | 89 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 D | window.h | 381 * 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 D | healthd_mode_charger.cpp | 83 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 D | adf_test.cpp | 130 void readVsyncTimestamp(uint64_t ×tamp) { 140 timestamp = vsync_event->timestamp;
|
/system/core/gatekeeperd/tests/ |
H A D | gatekeeper_test.cpp | 90 ASSERT_NE(~((uint32_t) 0), auth_token->timestamp);
|
/system/security/keystore/ |
H A D | auth_token_table.cpp | 185 return ntoh(token_->timestamp);
|
/system/core/adf/libadfhwc/ |
H A D | adfhwc.cpp | 188 dev->event_cb->vsync(dev->event_cb_data, disp, vsync->timestamp);
|
/system/bt/stack/l2cap/ |
H A D | l2c_fcr.c | 1754 /* 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 D | btif_media_task.c | 227 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;
|