/system/update_engine/update_manager/ |
H A D | fake_update_manager.h | 29 explicit FakeUpdateManager(chromeos_update_engine::ClockInterface* clock) argument 30 : UpdateManager(clock, base::TimeDelta::FromSeconds(5), 33 set_policy(new DefaultPolicy(clock));
|
H A D | mock_policy.h | 32 explicit MockPolicy(chromeos_update_engine::ClockInterface* clock) argument 33 : default_policy_(clock) {
|
H A D | real_time_provider.h | 32 explicit RealTimeProvider(chromeos_update_engine::ClockInterface* clock) argument 33 : clock_(clock) {} 47 // A clock abstraction (fakeable).
|
H A D | state_factory.cc | 52 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); member in class:chromeos_update_manager::chromeos_update_engine 69 new RealShillProvider(new chromeos_update_engine::ShillProxy(), clock)); 76 unique_ptr<RealTimeProvider> time_provider(new RealTimeProvider(clock));
|
H A D | real_shill_provider.h | 41 chromeos_update_engine::ClockInterface* clock) 42 : shill_proxy_(shill_proxy), clock_(clock) {} 85 // A clock abstraction (mockable). 40 RealShillProvider(chromeos_update_engine::ShillProxyInterface* shill_proxy, chromeos_update_engine::ClockInterface* clock) argument
|
H A D | real_time_provider.cc | 37 CurrDateVariable(const string& name, ClockInterface* clock) argument 38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} 60 CurrHourVariable(const string& name, ClockInterface* clock) argument 61 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {}
|
H A D | update_manager.cc | 24 UpdateManager::UpdateManager(chromeos_update_engine::ClockInterface* clock, argument 27 : default_policy_(clock), state_(state), clock_(clock),
|
H A D | default_policy.cc | 31 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) argument 32 : clock_(clock), aux_state_(new DefaultPolicyState()) {} 42 // Ensure that the minimum interval is set. If there's no clock, this defaults
|
H A D | evaluation_context.h | 69 chromeos_update_engine::ClockInterface* clock, 73 EvaluationContext(chromeos_update_engine::ClockInterface* clock, argument 76 clock, evaluation_timeout, base::TimeDelta::Max(), 148 // Returns a monotonic clock timestamp at which |timeout| will have elapsed 176 // Pointer to the mockable clock interface; 205 // The monotonic clock deadline at which expiration occurs.
|
H A D | evaluation_context.cc | 70 ClockInterface* clock, 74 : clock_(clock), 69 EvaluationContext( ClockInterface* clock, TimeDelta evaluation_timeout, TimeDelta expiration_timeout, unique_ptr<Callback<void(EvaluationContext*)>> unregister_cb) argument
|
H A D | real_updater_provider.cc | 244 chromeos_update_engine::ClockInterface* clock = system_state()->clock(); variable 245 Time curr_boottime = clock->GetBootTime(); 252 return new Time(clock->GetWallclockTime() - duration_since_update); 422 system_state->clock()->GetWallclockTime()),
|
/system/core/libutils/ |
H A D | Timers.cpp | 26 nsecs_t systemTime(int clock) argument 37 clock_gettime(clocks[clock], &t); 41 nsecs_t systemTime(int /*clock*/)
|
H A D | StopWatch.cpp | 34 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) argument 35 : mName(name), mClock(clock), mFlags(flags)
|
/system/netd/include/ |
H A D | Stopwatch.h | 24 Stopwatch() : mStart(clock::now()) {} 29 return getElapsed(clock::now()); 33 const auto& now = clock::now(); 40 typedef std::chrono::steady_clock clock; typedef in class:Stopwatch 41 typedef std::chrono::time_point<clock> time_point;
|
/system/media/radio/src/ |
H A D | radio_metadata.c | 250 const radio_metadata_clock_t *clock) { 253 clock == NULL || clock->timezone_offset_in_minutes < (-12 * 60) || 254 clock->timezone_offset_in_minutes > (14 * 60)) { 258 (radio_metadata_buffer_t **)metadata, key, type, clock, sizeof(radio_metadata_clock_t)); 248 radio_metadata_add_clock(radio_metadata_t **metadata, const radio_metadata_key_t key, const radio_metadata_clock_t *clock) argument
|
/system/tpm/trunks/ftdi/ |
H A D | mpsse.c | 286 /* Ensure adaptive clock is disabled */ 291 /* SPI mode 0 clock idles low */ 296 * rising edge of the clock */ 303 /* SPI mode 3 clock idles high */ 306 /* Keep the clock low while the CS pin is brought high to ensure we 307 * don't accidentally clock out an extra bit */ 310 * rising edge of the clock */ 317 /* SPI mode 1 clock idles low */ 320 * clock is low */ 322 /* Even though we idle low in this mode, we need to keep the clock lin 466 int clock = 0; local [all...] |
H A D | mpsse.h | 69 /* Common clock rates */ 160 int clock; member in struct:mpsse_context
|
/system/update_engine/ |
H A D | common_service.cc | 318 ClockInterface* clock = system_state_->clock(); local 319 *out_usec_wallclock = (clock->GetBootTime() - time).InMicroseconds();
|
H A D | fake_system_state.h | 52 inline ClockInterface* clock() override { return clock_; } 111 inline void set_clock(ClockInterface* clock) { argument 112 clock_ = clock ? clock : &fake_clock_;
|
H A D | p2p_manager.cc | 121 ClockInterface *clock, 222 ClockInterface *clock, 227 : clock_(clock), 732 ClockInterface *clock, 738 clock, 221 P2PManagerImpl(Configuration *configuration, ClockInterface *clock, UpdateManager* update_manager, const string& file_extension, const int num_files_to_keep, const TimeDelta& max_file_age) argument 730 Construct( Configuration *configuration, ClockInterface *clock, UpdateManager* update_manager, const string& file_extension, const int num_files_to_keep, const TimeDelta& max_file_age) argument
|
H A D | payload_state.cc | 28 #include "update_engine/common/clock.h" 189 ClockInterface *clock = system_state_->clock(); local 190 attempt_start_time_boot_ = clock->GetBootTime(); 191 attempt_start_time_monotonic_ = clock->GetMonotonicTime(); 228 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); 590 ClockInterface *clock = system_state_->clock(); local 591 TimeDelta duration = clock->GetBootTime() - attempt_start_time_boot_; 592 TimeDelta duration_uptime = clock [all...] |
/system/chre/chre_api/include/chre_api/chre/ |
H A D | gnss.h | 103 * Represents a set of GNSS measurements with associated clock data. 195 * Represents an estimate of the GNSS clock time (see the Android GPS HAL for 199 //! The GNSS receiver hardware clock value in nanoseconds, including 203 //! The difference between hardware clock inside GNSS receiver and the 210 //! The clock's drift in nanoseconds per second 213 //! 1-sigma uncertainty associated with the clock's bias in nanoseconds 216 //! 1-sigma uncertainty associated with the clock's drift in nanoseconds 302 struct chreGnssClock clock; member in struct:chreGnssDataEvent
|
/system/tpm/trunks/ |
H A D | tpm_generated.h | 1171 UINT64 clock; member in struct:trunks::TPMS_CLOCK_INFO
|