/system/core/crash_reporter/ |
H A D | kernel_log_collector.sh | 36 timestamp="$(echo $1 | cut -d " " -f 1)" 37 timestamp="$(date -d "${timestamp}" +%s)" || exit $? 38 echo "${timestamp}" 45 die "coule not get timestamp from: ${last_line}" 49 if ! timestamp=$(get_timestamp "${line}"); then 50 die "could not get timestamp from: ${line}" 52 if [ ${timestamp} -gt ${allowed_timestamp} ]; then
|
H A D | kernel_collector.cc | 47 // Kernel log timestamp regular expression. 99 // timestamp. Ignore the header. 431 float timestamp = 0; local 437 while (eip_re.FindAndConsume(&kernel_dump, ×tamp, crashing_function)) { 440 timestamp, 444 if (timestamp == 0) { 451 abs(static_cast<int>(stack_trace_timestamp - timestamp)) 472 float timestamp = 0; local 474 ×tamp, 478 timestamp, [all...] |
/system/core/libutils/ |
H A D | SystemClock.cpp | 65 * DEBUG_TIMESTAMP to 1 and call the timestamp routine from a single thread 71 static inline void checkTimeStamps(int64_t timestamp, argument 84 if (timestamp < prevTimestamp) { 93 timestamp, gettime_method_names[curMethod], 98 *prevTimestampPtr = timestamp; 102 #define checkTimeStamps(timestamp, prevTimestampPtr, prevMethodPtr, curMethod) 113 int64_t timestamp; local 132 timestamp = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec; 133 checkTimeStamps(timestamp, &prevTimestamp, &prevMethod, METHOD_IOCTL); 134 return timestamp; [all...] |
/system/webservd/webservd/ |
H A D | log_manager_unittest.cc | 34 void Log(const base::Time& timestamp, const std::string& entry) override { 48 // Adds a test log entry to the file corresponding to the give |timestamp|. 49 void LogEntry(const base::Time& timestamp) { argument 55 timestamp, reinterpret_cast<const sockaddr*>(&client_addr), "POST", 81 base::Time timestamp = base::Time::Now(); local 82 LogEntry(timestamp); 86 time_t time = timestamp.ToTimeT(); 100 base::Time timestamp = base::Time::FromTimeT(mktime(&date)); local 102 LogEntry(timestamp); 103 LogEntry(timestamp); 126 base::Time timestamp = base::Time::FromTimeT(mktime(&date)); local [all...] |
H A D | log_manager.h | 39 virtual void Log(const base::Time& timestamp, const std::string& entry) = 0; 48 static void OnRequestCompleted(const base::Time& timestamp,
|
H A D | log_manager.cc | 100 void Log(const base::Time& timestamp, const std::string& entry) override { 105 time_t time = timestamp.ToTimeT(); 182 void LogManager::OnRequestCompleted(const base::Time& timestamp, argument 193 time_t time = timestamp.ToTimeT(); 206 GetInstance()->logger_->Log(timestamp, log_entry);
|
/system/core/init/ |
H A D | compare-bootcharts.py | 93 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 D | gatekeeper.cpp | 50 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, 218 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, 230 token->timestamp = htobe64(timestamp); 217 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 278 ThrottleRequest(uint32_t uid, uint64_t timestamp, failure_record_t *record, bool secure, GateKeeperMessage *response) argument 306 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 | 146 uint64_t timestamp = tv.tv_sec * 1000 * 1000LL; local 147 timestamp += tv.tv_usec; 148 timestamp += BTSNOOP_EPOCH_DELTA; 149 return timestamp; 225 uint64_t timestamp = btsnoop_timestamp(); local 226 uint32_t time_hi = timestamp >> 32; 227 uint32_t time_lo = timestamp & 0xFFFFFFFF;
|
/system/core/adb/ |
H A D | adb_trace.cpp | 58 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 D | file_sync_client.cpp | 457 static bool sync_finish_stat(SyncConnection& sc, unsigned int* timestamp, argument 464 if (timestamp) *timestamp = msg.stat.time; 472 unsigned int* timestamp, unsigned int* mode, unsigned int* size) { 473 return sc.SendRequest(ID_STAT, path) && sync_finish_stat(sc, timestamp, mode, size); 684 unsigned int timestamp, mode, size; 685 if (!sync_finish_stat(sc, ×tamp, &mode, &size)) { 690 if ((S_ISREG(ci.mode & mode) && timestamp == ci.time) || 691 (S_ISLNK(ci.mode & mode) && timestamp >= ci.time)) { 471 sync_stat(SyncConnection& sc, const char* path, unsigned int* timestamp, unsigned int* mode, unsigned int* size) argument
|
H A D | file_sync_service.cpp | 152 unsigned int timestamp = 0; local 190 timestamp = msg.data.size; 213 u.actime = timestamp; 214 u.modtime = timestamp;
|
/system/update_engine/update_manager/ |
H A D | default_policy.h | 47 void set_last_check_allowed_time(base::Time timestamp) { argument 48 last_check_allowed_time_ = timestamp;
|
H A D | evaluation_context.h | 89 // 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 D | evaluation_context.cc | 131 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/security/keystore/tests/ |
H A D | auth_token_table_test.cpp | 70 uint64_t timestamp = 0) { 76 token->timestamp = hton(timestamp); 280 // expired. An additional check of the secure timestamp (in the token) will be made by 308 // on timestamp (fourth arg to make_token). 313 EXPECT_EQ(1U, ntoh(found->timestamp)); 324 EXPECT_EQ(3U, ntoh(found->timestamp)); 326 EXPECT_EQ(4U, ntoh(found->timestamp)); 343 EXPECT_EQ(5U, ntoh(found->timestamp)); 347 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 | 42 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 | 132 const char *timestamp = evt->findParam("TIME_NS"); local 136 timestamp, uid); 183 const char *timestamp, 185 if (timestamp == NULL) 190 "IfaceClass active %s %s %s", name, timestamp, uid); 193 "IfaceClass %s %s %s", isActive ? "active" : "idle", name, timestamp); 181 notifyInterfaceClassActivity(const char *name, bool isActive, const char *timestamp, const char *uid) argument
|
/system/bt/btif/include/ |
H A D | btif_media.h | 230 extern void btif_media_aa_writebuf(BT_HDR *pBuf, UINT32 timestamp, UINT16 seq_num); 242 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 | 80 /* "Bump" timestamp for existing record */ 81 p_dev_rec->timestamp = btm_cb.dev_rec_count++; 539 if (p_dev_rec->timestamp < ts_oldest) { 541 ts_oldest = p_dev_rec->timestamp; 545 if (p_dev_rec->timestamp < ts_oldest_paired) { 547 ts_oldest_paired = p_dev_rec->timestamp; 587 p_dev_rec->timestamp = btm_cb.dev_rec_count++;
|
/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...] |