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

123

/system/core/init/
H A Dcompare-bootcharts.py93 timestamp = int(lines[0]);
98 jiffy_record['1st_timestamp'] = timestamp
101 jiffy_record['2nd_timestamp'] = timestamp
102 value = 200 / (timestamp -
130 process['last_tick'] = timestamp
/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/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/chre/apps/audio_world/
H A Daudio_world.cc105 Milliseconds timestamp = Milliseconds(Nanoseconds(event->timestamp)); local
107 gFirstAudioEventTimestamp = timestamp;
110 Milliseconds adjustedTimestamp = timestamp - gFirstAudioEventTimestamp;
/system/core/adb/
H A Dadb_trace.cpp62 char timestamp[PATH_MAX]; local
63 strftime(timestamp, sizeof(timestamp), "%Y-%m-%d-%H-%M-%S", &now);
65 return android::base::StringPrintf("/data/adb/adb-%s-%d", timestamp,
/system/chre/apps/chqts/src/general_test/
H A Dtimer_set_test.cc71 void TimerSetTest::Stage::processEvent(uint64_t timestamp, TimerSetTest *test) { argument
78 if (timestamp < expectedTime) {
82 if (timestamp > (expectedTime + kOneSecond)) {
159 uint64_t timestamp = chreGetTime(); local
176 stage->processEvent(timestamp, this);
H A Dtimer_set_test.h48 void processEvent(uint64_t timestamp, TimerSetTest *test);
/system/security/keystore/tests/
H A Dauth_token_table_test.cpp66 uint64_t timestamp = 0) {
72 token.timestamp = timestamp;
294 // expired. An additional check of the secure timestamp (in the token) will be made by
322 // on timestamp (fourth arg to make_token).
328 EXPECT_EQ(1U, found->timestamp);
340 EXPECT_EQ(3U, found->timestamp);
343 EXPECT_EQ(4U, found->timestamp);
360 EXPECT_EQ(5U, found->timestamp);
364 EXPECT_EQ(6U, found->timestamp);
[all...]
/system/extras/simpleperf/
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/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/chre/chre_api/include/chre_api/chre/
H A Daudio.h232 * The base timestamp for this buffer of audio data, from the same time base
234 * timestamps for each audio sample. This timestamp corresponds to the first
240 uint64_t timestamp; member in struct:chreAudioDataEvent
/system/media/alsa_utils/include/
H A Dalsa_device_proxy.h42 uint64_t *frames, struct timespec *timestamp);
/system/netd/server/
H A DNetlinkHandler.h47 const char *timestamp, const char *uid);
H A DNetlinkHandler.cpp169 const char *timestamp = evt->findParam("TIME_NS"); local
173 timestamp, uid);
220 const char *timestamp,
222 if (timestamp == NULL)
227 "IfaceClass active %s %s %s", name, timestamp, uid);
230 "IfaceClass %s %s %s", isActive ? "active" : "idle", name, timestamp);
218 notifyInterfaceClassActivity(const char *name, bool isActive, const char *timestamp, const char *uid) argument
/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.h89 // Returns whether the evaluation time has surpassed |timestamp|, on either
92 bool IsWallclockTimeGreaterThan(base::Time timestamp);
93 bool IsMonotonicTimeGreaterThan(base::Time timestamp);
148 // Returns a monotonic clock timestamp at which |timeout| will have elapsed
198 // The timestamp in the ClockInterface::GetMonotonicTime() scale at which the
H A Devaluation_context.cc132 bool EvaluationContext::IsWallclockTimeGreaterThan(Time timestamp) { argument
133 return IsTimeGreaterThanHelper(timestamp, evaluation_start_wallclock_,
137 bool EvaluationContext::IsMonotonicTimeGreaterThan(Time timestamp) { argument
138 return IsTimeGreaterThanHelper(timestamp, evaluation_start_monotonic_,
/system/bt/btif/src/
H A Dbtif_a2dp_control.cc43 struct timespec timestamp = {}; member in struct:__anon538
294 uint32_t seconds = delay_report_stats.timestamp.tv_sec;
298 uint32_t nsec = delay_report_stats.timestamp.tv_nsec;
427 clock_gettime(CLOCK_MONOTONIC, &delay_report_stats.timestamp);
439 delay_report_stats.timestamp = {};
/system/nfc/src/adaptation/
H A Ddebug_nfcsnoop.cc120 uint64_t timestamp = static_cast<uint64_t>(tv.tv_sec) * USEC_PER_SEC + local
126 nfcsnoop_cb(p, NCI_DATA_HDR_SIZE, is_received, timestamp);
128 nfcsnoop_cb(p, p[2] + NCI_MSG_HDR_SIZE, is_received, timestamp);
/system/bt/stack/btm/
H A Dbtm_dev.cc81 /* "Bump" timestamp for existing record */
82 p_dev_rec->timestamp = btm_cb.dev_rec_count++;
481 if (p_dev_rec->timestamp < ts_oldest) {
483 ts_oldest = p_dev_rec->timestamp;
487 if (p_dev_rec->timestamp < ts_oldest_paired) {
489 ts_oldest_paired = p_dev_rec->timestamp;
527 p_dev_rec->timestamp = btm_cb.dev_rec_count++;
/system/security/keystore/
H A Dauth_token_table.h85 * Update the last_off_body_ timestamp so that tokens which remain authorized only so long as
118 uint64_t ts = token_.timestamp;
119 uint64_t other_ts = entry->token_.timestamp;
122 // tokens contain fixed timestamp (due to the a stuck secure RTC on them)
/system/core/adf/libadfhwc/include/adfhwc/
H A Dadfhwc.h34 void (*vsync)(void *data, int disp, uint64_t timestamp);
/system/security/keystore/include/keystore/
H A Dkeystore_hidl_support.h91 sizeof(token.timestamp) + kHmacSize ==
103 pos = copy_bytes_to_iterator(token.timestamp, pos);
123 sizeof(token.timestamp) + kHmacSize ==
135 pos = copy_bytes_from_iterator(&token.timestamp, pos);
/system/keymaster/ng/include/
H A Dkeystore_hidl_support.h109 sizeof(token.timestamp) + 32 /* HMAC size */
121 pos = copy_bytes_to_iterator(token.timestamp, pos);
/system/bt/stack/a2dp/
H A Da2dp_vendor_aptx_encoder.cc94 uint32_t timestamp; // Timestamp for the A2DP frames member in struct:__anon905
184 a2dp_aptx_encoder_cb.timestamp = 0;
217 a2dp_aptx_encoder_cb.timestamp = 0;
434 // Update the RTP timestamp
435 *((uint32_t*)(p_buf + 1)) = a2dp_aptx_encoder_cb.timestamp;
440 a2dp_aptx_encoder_cb.timestamp += rtp_timestamp;

Completed in 436 milliseconds

123