/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.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/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/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/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 181 uint64_t *frames, struct timespec *timestamp) 186 && pcm_get_htimestamp(proxy->pcm, &avail, timestamp) == 0) { 180 proxy_get_presentation_position(const alsa_device_proxy * proxy, uint64_t *frames, struct timespec *timestamp) argument
|
/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.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/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_service.cpp | 152 unsigned int timestamp = 0; local 190 timestamp = msg.data.size; 213 u.actime = timestamp; 214 u.modtime = 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
|
/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; 222 uint64_t timestamp = btsnoop_timestamp(); local 223 uint32_t time_hi = timestamp >> 32; 224 uint32_t time_lo = timestamp & 0xFFFFFFFF;
|
/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/netd/server/ |
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/core/crash_reporter/ |
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...] |
H A D | crash_collector.cc | 134 time_t timestamp, 137 localtime_r(×tamp, &tm); 133 FormatDumpBasename(const std::string &exec_name, time_t timestamp, pid_t pid) argument
|
/system/bt/stack/l2cap/ |
H A D | l2c_fcr.c | 337 * end for a timestamp at the end of an I-frame. 1811 /* set timestamp at the end of tx I-frame to get acking delay */ 2434 UINT32 timestamp, delay; local 2464 /* get timestamp from tx I-frame that receiver is acking */ 2471 STREAM_TO_UINT32(timestamp, p); 2472 delay = time_get_os_boottime_ms() - timestamp; 2494 timestamp = time_get_os_boottime_ms(); 2495 if (timestamp - p_ccb->fcrb.throughput_start > 0) 2496 p_ccb->fcrb.throughput[index] /= (timestamp - p_ccb->fcrb.throughput_start); 2498 p_ccb->fcrb.throughput_start = timestamp; [all...] |
/system/bt/bta/av/ |
H A D | bta_av_aact.c | 2227 UINT32 timestamp; local 2247 /* use q_info.a2d data, read the timestamp */ 2248 timestamp = *(UINT32 *)(p_buf + 1); 2255 ×tamp); 2260 *(UINT32 *)(p_buf + 1) = timestamp; 2285 AVDT_WriteReqOpt(p_scb->avdt_handle, p_buf, timestamp, m_pt, opt);
|
H A D | bta_av_int.h | 448 UINT32 timestamp; member in struct:__anon61
|
/system/connectivity/shill/ |
H A D | service_unittest.cc | 1716 Timestamp timestamp; local 1717 EXPECT_CALL(time_, GetNow()).Times(7).WillRepeatedly((Return(timestamp))); 1729 Timestamp timestamp; local 1730 EXPECT_CALL(time_, GetNow()).Times(5).WillRepeatedly((Return(timestamp))); 1738 Timestamp timestamp; local 1739 EXPECT_CALL(time_, GetNow()).Times(5).WillRepeatedly((Return(timestamp)));
|
/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/include/system/ |
H A D | window.h | 385 * Special timestamp value to indicate that timestamps should be auto-generated 855 * native_window_set_buffers_timestamp(..., int64_t timestamp) 856 * All buffers queued after this call will be associated with the timestamp 857 * parameter specified. If the timestamp is set to NATIVE_WINDOW_TIMESTAMP_AUTO 859 * called. The timestamp is measured in nanoseconds, and is normally monotonically 860 * increasing. The timestamp should be unaffected by time-of-day adjustments, 866 int64_t timestamp) 869 timestamp); 864 native_window_set_buffers_timestamp( struct ANativeWindow* window, int64_t timestamp) argument
|
/system/update_engine/ |
H A D | omaha_request_action_unittest.cc | 1721 int64_t timestamp = 0; local 1722 ASSERT_TRUE(fake_prefs_.GetInt64(kPrefsUpdateFirstSeenAt, ×tamp)); 1723 ASSERT_GT(timestamp, 0); 1749 // Set the timestamp to a very old value such that it exceeds the 1769 // Make sure the timestamp t1 is unchanged showing that it was reused. 1770 int64_t timestamp = 0; local 1771 ASSERT_TRUE(fake_prefs_.GetInt64(kPrefsUpdateFirstSeenAt, ×tamp)); 1772 ASSERT_TRUE(timestamp == t1.ToInternalValue());
|
H A D | payload_state.cc | 1070 const Time& timestamp, 1074 update_duration_uptime_timestamp_ = timestamp; 1356 // Set timestamp, if it hasn't been set already 1069 SetUpdateDurationUptimeExtended(const TimeDelta& value, const Time& timestamp, bool use_logging) argument
|
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 165 /* logs timestamp with microsec precision 829 uint64_t *frames, struct timespec *timestamp) 834 if (stream == NULL || frames == NULL || timestamp == NULL) 842 clock_gettime(CLOCK_MONOTONIC, timestamp); // could also be associated with out_write(). 828 out_get_presentation_position(const struct audio_stream_out *stream, uint64_t *frames, struct timespec *timestamp) argument
|
/system/bt/btif/src/ |
H A D | btif_dm.c | 188 struct timespec timestamp; member in struct:__anon645 3469 clock_gettime(CLOCK_REALTIME, &event->timestamp); 3497 uint64_t ts = event->timestamp.tv_sec * 1000 + 3498 event->timestamp.tv_nsec / 1000000; 3517 struct tm *tstamp = localtime(&event->timestamp.tv_sec); 3520 event->timestamp.tv_nsec / 1000000);
|