Home
last modified time | relevance | path

Searched refs:RunOnValueChangeOrTimeout (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/update_manager/
Devaluation_context_unittest.cc76 ASSERT_TRUE(ec->RunOnValueChangeOrTimeout(closure)) in EvaluateRepeatedly()
210 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&DoNothing))); in TEST_F()
219 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
238 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
239 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
253 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
270 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
280 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&DoNothing))); in TEST_F()
284 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&DoNothing))); in TEST_F()
293 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
[all …]
Devaluation_context.h118 bool RunOnValueChangeOrTimeout(base::Closure callback);
Dupdate_manager-inl.h102 if (ec->RunOnValueChangeOrTimeout(reeval_callback)) in OnPolicyReadyToEvaluate()
Devaluation_context.cc163 bool EvaluationContext::RunOnValueChangeOrTimeout(Closure callback) { in RunOnValueChangeOrTimeout() function in chromeos_update_manager::EvaluationContext