Searched refs:time_provider (Results 1 – 6 of 6) sorted by relevance
41 TimeProvider* const time_provider = state->time_provider(); in UpdateCanBeApplied() local47 const Time* curr_date = ec->GetValue(time_provider->var_curr_date()); in UpdateCanBeApplied()48 const int* curr_hour = ec->GetValue(time_provider->var_curr_hour()); in UpdateCanBeApplied()49 const int* curr_minute = ec->GetValue(time_provider->var_curr_minute()); in UpdateCanBeApplied()
36 TimeProvider* time_provider, in RealState() argument43 time_provider_(time_provider), in RealState()54 TimeProvider* time_provider() override { return time_provider_.get(); } in time_provider() function
75 unique_ptr<RealTimeProvider> time_provider(new RealTimeProvider(clock)); in DefaultStateFactory() local84 system_provider->Init() && time_provider->Init() && in DefaultStateFactory()95 time_provider.release(), in DefaultStateFactory()
55 fake_state_.time_provider()->var_curr_hour()->reset(new int(exploded.hour)); in SetUpDefaultTimeProvider()56 fake_state_.time_provider()->var_curr_minute()->reset( in SetUpDefaultTimeProvider()58 fake_state_.time_provider()->var_curr_date()->reset( in SetUpDefaultTimeProvider()
42 virtual TimeProvider* time_provider() = 0;
61 FakeTimeProvider* time_provider() override { return &time_provider_; } in time_provider() function