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.cc302 FieldTrial::ActiveGroup active_group; in TEST_F() local
303 EXPECT_FALSE(trial->GetActiveGroup(&active_group)); in TEST_F()
310 EXPECT_FALSE(trial->GetActiveGroup(&active_group)); in TEST_F()
313 EXPECT_TRUE(trial->GetActiveGroup(&active_group)); in TEST_F()
314 EXPECT_EQ(one_winner, active_group.trial_name); in TEST_F()
315 EXPECT_EQ(winner, active_group.group_name); in TEST_F()
324 EXPECT_FALSE(multi_group_trial->GetActiveGroup(&active_group)); in TEST_F()
327 EXPECT_TRUE(multi_group_trial->GetActiveGroup(&active_group)); in TEST_F()
328 EXPECT_EQ(multi_group, active_group.trial_name); in TEST_F()
329 EXPECT_EQ(multi_group_trial->group_name(), active_group.group_name); in TEST_F()
[all …]
Dfield_trial.cc463 bool FieldTrial::GetActiveGroup(ActiveGroup* active_group) const { in GetActiveGroup()
467 active_group->trial_name = trial_name_; in GetActiveGroup()
468 active_group->group_name = group_name_; in GetActiveGroup()
633 FieldTrial::ActiveGroup active_group; in IsTrialActive() local
634 return field_trial && field_trial->GetActiveGroup(&active_group); in IsTrialActive()
732 FieldTrial::ActiveGroup active_group; in GetActiveFieldTrialGroups() local
733 if (it->second->GetActiveGroup(&active_group)) in GetActiveFieldTrialGroups()
734 active_groups->push_back(active_group); in GetActiveFieldTrialGroups()
Dfield_trial.h320 bool GetActiveGroup(ActiveGroup* active_group) const;
/external/libchrome/base/
Dfeature_list_unittest.cc147 FieldTrial::ActiveGroup active_group; in TEST_F() local