Home
last modified time | relevance | path

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

/external/cronet/components/metrics/
Dfield_trials_provider_unittest.cc30 ActiveGroupId ToActiveGroupId(ActiveGroup active_group,
59 ActiveGroupId ToActiveGroupId(ActiveGroup active_group, std::string suffix) { in ToActiveGroupId() argument
60 return MakeActiveGroupId(active_group.trial_name + suffix, in ToActiveGroupId()
61 active_group.group_name + suffix); in ToActiveGroupId()
/external/cronet/base/metrics/
Dfield_trial_unittest.cc279 FieldTrial::ActiveGroup active_group; in TEST_F() local
280 EXPECT_FALSE(trial->GetActiveGroup(&active_group)); in TEST_F()
287 EXPECT_FALSE(trial->GetActiveGroup(&active_group)); in TEST_F()
289 EXPECT_TRUE(trial->GetActiveGroup(&active_group)); in TEST_F()
290 EXPECT_EQ(one_winner, active_group.trial_name); in TEST_F()
291 EXPECT_EQ(winner, active_group.group_name); in TEST_F()
300 EXPECT_FALSE(multi_group_trial->GetActiveGroup(&active_group)); in TEST_F()
302 EXPECT_TRUE(multi_group_trial->GetActiveGroup(&active_group)); in TEST_F()
303 EXPECT_EQ(multi_group, active_group.trial_name); in TEST_F()
304 EXPECT_EQ(multi_group_trial->group_name(), active_group.group_name); in TEST_F()
[all …]
Dfield_trial.cc428 bool FieldTrial::GetActiveGroup(ActiveGroup* active_group) const { in GetActiveGroup()
432 active_group->trial_name = trial_name_; in GetActiveGroup()
433 active_group->group_name = group_name_; in GetActiveGroup()
520 FieldTrial::ActiveGroup active_group; in IsTrialActive() local
521 return field_trial && field_trial->GetActiveGroup(&active_group); in IsTrialActive()
1415 FieldTrial::ActiveGroup active_group; in GetActiveFieldTrialGroupsInternal() local
1417 trial.GetActiveGroup(&active_group)) { in GetActiveFieldTrialGroupsInternal()
1418 active_groups->push_back(active_group); in GetActiveFieldTrialGroupsInternal()
Dfield_trial.h344 bool GetActiveGroup(ActiveGroup* active_group) const;
/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
/external/cronet/base/
Dfeature_list_unittest.cc187 FieldTrial::ActiveGroup active_group; in TEST_F() local