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.cc78 ASSERT_TRUE(ec->RunOnValueChangeOrTimeout(closure)) in EvaluateRepeatedly()
214 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(base::DoNothing())); in TEST_F()
223 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
242 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
243 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
257 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
274 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
284 EXPECT_FALSE(eval_ctx_->RunOnValueChangeOrTimeout(base::DoNothing())); in TEST_F()
288 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(base::DoNothing())); in TEST_F()
297 EXPECT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(Bind(&SetTrue, &value))); in TEST_F()
[all …]
Devaluation_context.h118 bool RunOnValueChangeOrTimeout(base::Closure callback);
Dupdate_manager-inl.h104 if (ec->RunOnValueChangeOrTimeout(reeval_callback)) in OnPolicyReadyToEvaluate()
Devaluation_context.cc163 bool EvaluationContext::RunOnValueChangeOrTimeout(Closure callback) { in RunOnValueChangeOrTimeout() function in chromeos_update_manager::EvaluationContext