Searched refs:AppendGroup (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/metrics/ |
D | field_trial_unittest.cc | 122 trial1->AppendGroup(std::string(), 7); in TEST_F() 133 trial2->AppendGroup("a first group", 7); in TEST_F() 156 int winner_group = trial_true->AppendGroup(winner, 10); in TEST_F() 163 int loser_group = trial_false->AppendGroup("ALoser", 0); in TEST_F() 179 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. in TEST_F() 204 trial->AppendGroup("first", 1); // 50% chance of being chosen. in TEST_F() 210 trial->AppendGroup("second", 1); // Always chosen at this point. in TEST_F() 229 int might_win = trial->AppendGroup("MightWin", 5); in TEST_F() 257 int might_win = trial->AppendGroup(std::string(), 1); in TEST_F() 287 trial->AppendGroup(loser, 999999999); // 99.9999999% chance of being chosen. in TEST_F() [all …]
|
D | field_trial.h | 203 int AppendGroup(const std::string& name, Probability group_probability);
|
D | field_trial.cc | 325 int FieldTrial::AppendGroup(const std::string& name, in AppendGroup() function in base::FieldTrial
|