Searched defs:timestamp (Results 1 - 25 of 33) sorted by relevance

12

/system/update_engine/update_manager/
H A Ddefault_policy.h47 void set_last_check_allowed_time(base::Time timestamp) { argument
48 last_check_allowed_time_ = timestamp;
H A Devaluation_context.cc131 bool EvaluationContext::IsWallclockTimeGreaterThan(Time timestamp) { argument
132 return IsTimeGreaterThanHelper(timestamp, evaluation_start_wallclock_,
136 bool EvaluationContext::IsMonotonicTimeGreaterThan(Time timestamp) { argument
137 return IsTimeGreaterThanHelper(timestamp, evaluation_start_monotonic_,
/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp35 class timestamp { class
54 explicit timestamp(const char* buffer) { function in class:timestamp
58 bool operator<(timestamp& T) {
92 timestamp next(buffer);
/system/core/adb/
H A Dadb_trace.cpp58 char timestamp[PATH_MAX]; local
59 strftime(timestamp, sizeof(timestamp), "%Y-%m-%d-%H-%M-%S", &now);
61 return android::base::StringPrintf("/data/adb/adb-%s-%d", timestamp,
H A Dfile_sync_service.cpp204 unsigned int timestamp = 0; local
242 timestamp = msg.data.size;
270 u.actime = timestamp;
271 u.modtime = timestamp;
/system/media/alsa_utils/
H A Dalsa_device_proxy.c208 uint64_t *frames, struct timespec *timestamp)
213 && pcm_get_htimestamp(proxy->pcm, &avail, timestamp) == 0) {
207 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
/system/bt/hci/src/
H A Dbtsnoop.cc224 uint64_t timestamp; member in struct:__anon737
266 header.timestamp = htonll(timestamp_us + BTSNOOP_EPOCH_DELTA);
H A Dhci_layer.cc69 std::chrono::time_point<std::chrono::steady_clock> timestamp; member in struct:__anon740
394 wait_entry->timestamp = std::chrono::steady_clock::now();
458 std::chrono::steady_clock::now() - wait_entry->timestamp)
/system/bt/stack/test/
H A Dstack_a2dp_test.cc620 uint32_t timestamp; local
625 timestamp = 0xFFFFFFFF;
626 EXPECT_TRUE(A2DP_GetPacketTimestamp(codec_info_sbc, a2dp_data, &timestamp));
627 EXPECT_EQ(timestamp, static_cast<uint32_t>(0x12345678));
631 timestamp = 0xFFFFFFFF;
632 EXPECT_TRUE(A2DP_GetPacketTimestamp(codec_info_aac, a2dp_data, &timestamp));
633 EXPECT_EQ(timestamp, static_cast<uint32_t>(0x12345678));
637 timestamp = 0xFFFFFFFF;
639 A2DP_GetPacketTimestamp(codec_info_non_a2dp, a2dp_data, &timestamp));
/system/core/liblog/
H A Dlocal_logger.c99 log_time timestamp; member in struct:LogBufferElement
311 element->timestamp.tv_sec = ts->tv_sec;
312 element->timestamp.tv_nsec = ts->tv_nsec;
411 log_msg->entry_v3.sec = element->timestamp.tv_sec;
412 log_msg->entry_v3.nsec = element->timestamp.tv_nsec;
/system/extras/simpleperf/
H A Devent_selection_set.h178 uint64_t timestamp; member in struct:EventSelectionSet::RecordBufferHead
H A Dinplace_sampler_lib.cpp75 bool CheckThreadNameChange(uint64_t timestamp);
76 bool CheckMapChange(uint64_t timestamp);
204 uint64_t timestamp = GetSystemClock(); local
205 if (!CheckMapChange(timestamp)) {
208 if (!CheckThreadNameChange(timestamp)) {
217 bool SampleManager::CheckThreadNameChange(uint64_t timestamp) { argument
245 MoveToBinaryFormat(timestamp, p);
263 bool SampleManager::CheckMapChange(uint64_t timestamp) { argument
283 MoveToBinaryFormat(timestamp, p);
/system/gatekeeper/
H A Dgatekeeper.cpp50 uint64_t timestamp = GetMillisecondsSinceBoot(); local
62 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return;
64 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) {
124 uint64_t timestamp = GetMillisecondsSinceBoot(); local
136 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return;
138 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) {
152 MintAuthToken(&auth_token_buffer, &auth_token_len, timestamp,
224 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id,
236 token->timestamp = htobe64(timestamp);
223 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
284 ThrottleRequest(uint32_t uid, uint64_t timestamp, failure_record_t *record, bool secure, GateKeeperMessage *response) argument
312 IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, failure_record_t *record, bool secure) argument
[all...]
/system/netd/server/
H A DNetlinkHandler.cpp135 const char *timestamp = evt->findParam("TIME_NS"); local
139 timestamp, uid);
186 const char *timestamp,
188 if (timestamp == NULL)
193 "IfaceClass active %s %s %s", name, timestamp, uid);
196 "IfaceClass %s %s %s", isActive ? "active" : "idle", name, timestamp);
184 notifyInterfaceClassActivity(const char *name, bool isActive, const char *timestamp, const char *uid) argument
/system/bt/stack/a2dp/
H A Da2dp_aac_encoder.cc83 uint32_t timestamp; // Timestamp for the A2DP frames member in struct:__anon801
135 a2dp_aac_encoder_cb.timestamp = 0;
157 a2dp_aac_encoder_cb.timestamp = 0;
626 * first frame, i.e the timestamp before including this frame.
628 *((uint32_t*)(p_buf + 1)) = a2dp_aac_encoder_cb.timestamp;
630 a2dp_aac_encoder_cb.timestamp +=
H A Da2dp_vendor_aptx_encoder.cc94 uint32_t timestamp; // Timestamp for the A2DP frames member in struct:__anon812
184 a2dp_aptx_encoder_cb.timestamp = 0;
217 a2dp_aptx_encoder_cb.timestamp = 0;
429 // Update the RTP timestamp
430 *((uint32_t*)(p_buf + 1)) = a2dp_aptx_encoder_cb.timestamp;
435 a2dp_aptx_encoder_cb.timestamp += rtp_timestamp;
H A Da2dp_vendor_aptx_hd_encoder.cc94 uint32_t timestamp; // Timestamp for the A2DP frames member in struct:__anon816
185 a2dp_aptx_hd_encoder_cb.timestamp = 0;
219 a2dp_aptx_hd_encoder_cb.timestamp = 0;
415 // Update the RTP timestamp
416 *((uint32_t*)(p_buf + 1)) = a2dp_aptx_hd_encoder_cb.timestamp;
422 a2dp_aptx_hd_encoder_cb.timestamp += rtp_timestamp;
H A Da2dp_sbc_encoder.cc105 uint32_t timestamp; /* Timestamp for the A2DP frames */ member in struct:__anon807
152 a2dp_sbc_encoder_cb.timestamp = 0;
169 a2dp_sbc_encoder_cb.timestamp = 0;
575 * first SBC frame, i.e the timestamp before including this frame.
577 *((uint32_t*)(p_buf + 1)) = a2dp_sbc_encoder_cb.timestamp;
579 a2dp_sbc_encoder_cb.timestamp += p_buf->layer_specific * blocm_x_subband;
H A Da2dp_vendor_ldac_encoder.cc149 uint32_t timestamp; // Timestamp for the A2DP frames member in struct:__anon821
291 a2dp_ldac_encoder_cb.timestamp = 0;
318 a2dp_ldac_encoder_cb.timestamp = 0;
677 * first frame, i.e the timestamp before including this frame.
679 *((uint32_t*)(p_buf + 1)) = a2dp_ldac_encoder_cb.timestamp;
681 a2dp_ldac_encoder_cb.timestamp += p_buf->layer_specific * ldac_frame_size;
/system/bt/stack/l2cap/
H A Dl2c_fcr.cc353 * end for a timestamp at the end of an I-frame.
1773 /* set timestamp at the end of tx I-frame to get acking delay */
2363 uint32_t timestamp, delay; local
2396 /* get timestamp from tx I-frame that receiver is acking */
2402 STREAM_TO_UINT32(timestamp, p);
2403 delay = time_get_os_boottime_ms() - timestamp;
2424 timestamp = time_get_os_boottime_ms();
2425 if (timestamp - p_ccb->fcrb.throughput_start > 0)
2427 (timestamp - p_ccb->fcrb.throughput_start);
2429 p_ccb->fcrb.throughput_start = timestamp;
[all...]
/system/chre/chre_api/include/chre_api/chre/
H A Dgnss.h248 //! Pseudorange rate at the timestamp in meters per second (uncorrected)
314 //! UTC timestamp for location fix in milliseconds since January 1, 1970
315 uint64_t timestamp; member in struct:chreGnssLocationEvent
/system/core/adf/libadf/include/video/
H A Dadf.h71 __aligned_u64 timestamp; member in struct:adf_vsync_event
/system/core/adf/libadf/original-kernel-headers/video/
H A Dadf.h91 * @timestamp: time of vsync event, in nanoseconds
95 __aligned_u64 timestamp; member in struct:adf_vsync_event
/system/core/base/
H A Dlogging.cpp199 char timestamp[32]; local
200 strftime(timestamp, sizeof(timestamp), "%m-%d %H:%M:%S", &now);
207 severity_char, timestamp, getpid(), GetThreadId(), file, line, message);
/system/core/healthd/
H A Dhealthd_mode_charger.cpp92 int64_t timestamp; member in struct:key_state
585 /* only record the down even timestamp, as the amount
588 charger->keys[code].timestamp = now;
594 int64_t duration = now - charger->keys[code].timestamp;
616 int64_t then = key->timestamp + timeout;
628 int64_t reboot_timeout = key->timestamp + POWER_ON_KEY_TIME;

Completed in 4655 milliseconds

12