Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dfield_trial_unittest.cc283 FieldTrial::ActiveGroup active_group; in TEST_F() local
284 EXPECT_FALSE(trial->GetActiveGroup(&active_group)); in TEST_F()
291 EXPECT_FALSE(trial->GetActiveGroup(&active_group)); in TEST_F()
294 EXPECT_TRUE(trial->GetActiveGroup(&active_group)); in TEST_F()
295 EXPECT_EQ(one_winner, active_group.trial_name); in TEST_F()
296 EXPECT_EQ(winner, active_group.group_name); in TEST_F()
305 EXPECT_FALSE(multi_group_trial->GetActiveGroup(&active_group)); in TEST_F()
308 EXPECT_TRUE(multi_group_trial->GetActiveGroup(&active_group)); in TEST_F()
309 EXPECT_EQ(multi_group, active_group.trial_name); in TEST_F()
310 EXPECT_EQ(multi_group_trial->group_name(), active_group.group_name); in TEST_F()
[all …]
Dfield_trial.cc455 bool FieldTrial::GetActiveGroup(ActiveGroup* active_group) const { in GetActiveGroup()
459 active_group->trial_name = trial_name_; in GetActiveGroup()
460 active_group->group_name = group_name_; in GetActiveGroup()
635 FieldTrial::ActiveGroup active_group; in IsTrialActive() local
636 return field_trial && field_trial->GetActiveGroup(&active_group); in IsTrialActive()
689 FieldTrial::ActiveGroup active_group; in GetActiveFieldTrialGroups() local
690 if (it->second->GetActiveGroup(&active_group)) in GetActiveFieldTrialGroups()
691 active_groups->push_back(active_group); in GetActiveFieldTrialGroups()
Dfield_trial.h318 bool GetActiveGroup(ActiveGroup* active_group) const;
/external/libchrome/base/
Dfeature_list_unittest.cc147 FieldTrial::ActiveGroup active_group; in TEST_F() local