/external/libchrome/base/ |
feature_list.cc | 50 StringPiece* trial_name) const { 61 auto sink = pickle_iter.ReadStringPiece(trial_name); 112 StringPiece trial_name; local 113 if (!entry->GetFeatureAndTrialName(&feature_name, &trial_name)) 116 FieldTrial* trial = FieldTrialList::Find(trial_name.as_string()); 141 << " already has trial: " << entry->field_trial->trial_name() 142 << ", associating trial: " << field_trial->trial_name(); 157 << overrides_.find(feature_name)->second.field_trial->trial_name() 158 << " / " << field_trial->trial_name(); 170 pickle.WriteString(override.second.field_trial->trial_name()); [all...] |
/external/libchrome/base/metrics/ |
field_trial.h | 115 // used in preference to |trial_name| for generating the entropy by entropy 117 // value given the same input |trial_name| and |randomization_seed| values. 118 virtual double GetEntropyForTrial(const std::string& trial_name, 124 std::string trial_name; member in struct:base::FieldTrial::ActiveGroup 133 const std::string* trial_name = nullptr; member in struct:base::FieldTrial::State 165 bool GetTrialAndGroupName(StringPiece* trial_name, 177 // Takes the iterator and writes out the first two items into |trial_name| 180 StringPiece* trial_name, 206 const std::string& trial_name() const { return trial_name_; } function in class:base::FieldTrial 248 const std::string& trial_name, [all...] |
field_trial.cc | 84 WriteStringPair(pickle, *trial_state.trial_name, *trial_state.group_name); 89 *trial_state.trial_name, *trial_state.group_name, ¶ms); 144 StringPiece trial_name; member in struct:base::__anon27437::FieldTrialStringEntry 177 entry.trial_name = 268 StringPiece* trial_name, 271 return ReadStringPair(&iter, trial_name, group_name); 301 StringPiece* trial_name, 303 if (!iter->ReadStringPiece(trial_name)) 398 const std::string& trial_name, 402 return new FieldTrial(trial_name, total_probability, default_group_name 775 StringPiece trial_name; local 800 const std::string trial_name = entry.trial_name.as_string(); local 1131 StringPiece trial_name; local 1345 StringPiece trial_name; local [all...] |
field_trial_unittest.cc | 36 const std::string& trial_name, 41 trial_name, total_probability, default_group_name, 81 const std::string& trial_name() const { return trial_name_; } function in class:base::__anon27438::TestFieldTrialObserver 119 EXPECT_EQ(name1, trial1->trial_name()); 130 EXPECT_EQ(name2, trial2->trial_name()); 314 EXPECT_EQ(one_winner, active_group.trial_name); 328 EXPECT_EQ(multi_group, active_group.trial_name); 337 EXPECT_NE(no_group, active_groups[i].trial_name); 338 EXPECT_TRUE(one_winner != active_groups[i].trial_name || 340 EXPECT_TRUE(multi_group != active_groups[i].trial_name || [all...] |