Searched defs:clock (Results 1 - 23 of 23) sorted by relevance

/system/update_engine/update_manager/
H A Dfake_update_manager.h29 explicit FakeUpdateManager(chromeos_update_engine::ClockInterface* clock) argument
30 : UpdateManager(clock, base::TimeDelta::FromSeconds(5),
33 set_policy(new DefaultPolicy(clock));
H A Dmock_policy.h32 explicit MockPolicy(chromeos_update_engine::ClockInterface* clock) argument
33 : default_policy_(clock) {
H A Dreal_time_provider.h32 explicit RealTimeProvider(chromeos_update_engine::ClockInterface* clock) argument
33 : clock_(clock) {}
47 // A clock abstraction (fakeable).
H A Dstate_factory.cc52 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 Dreal_shill_provider.h41 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 Dreal_time_provider.cc37 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 Dupdate_manager.cc24 UpdateManager::UpdateManager(chromeos_update_engine::ClockInterface* clock, argument
27 : default_policy_(clock), state_(state), clock_(clock),
H A Ddefault_policy.cc31 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 Devaluation_context.h69 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 Devaluation_context.cc70 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 Dreal_updater_provider.cc244 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 DTimers.cpp26 nsecs_t systemTime(int clock) argument
37 clock_gettime(clocks[clock], &t);
41 nsecs_t systemTime(int /*clock*/)
H A DStopWatch.cpp34 StopWatch::StopWatch(const char *name, int clock, uint32_t flags) argument
35 : mName(name), mClock(clock), mFlags(flags)
/system/netd/include/
H A DStopwatch.h24 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 Dradio_metadata.c250 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 Dmpsse.c286 /* 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 Dmpsse.h69 /* Common clock rates */
160 int clock; member in struct:mpsse_context
/system/update_engine/
H A Dcommon_service.cc318 ClockInterface* clock = system_state_->clock(); local
319 *out_usec_wallclock = (clock->GetBootTime() - time).InMicroseconds();
H A Dfake_system_state.h52 inline ClockInterface* clock() override { return clock_; }
111 inline void set_clock(ClockInterface* clock) { argument
112 clock_ = clock ? clock : &fake_clock_;
H A Dp2p_manager.cc121 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 Dpayload_state.cc28 #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 Dgnss.h103 * 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 Dtpm_generated.h1171 UINT64 clock; member in struct:trunks::TPMS_CLOCK_INFO

Completed in 369 milliseconds