Searched refs:FieldTrial (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/metrics/ |
D | field_trial.cc | 59 FieldTrial::Probability GetGroupBoundaryValue( in GetGroupBoundaryValue() 60 FieldTrial::Probability divisor, in GetGroupBoundaryValue() 70 const FieldTrial::Probability result = in GetGroupBoundaryValue() 71 static_cast<FieldTrial::Probability>(divisor * entropy_value + kEpsilon); in GetGroupBoundaryValue() 80 std::vector<FieldTrial::State>* entries) { in ParseFieldTrialsString() 95 FieldTrial::State entry; in ParseFieldTrialsString() 118 const int FieldTrial::kNotFinalized = -1; 119 const int FieldTrial::kDefaultGroupNumber = 0; 120 bool FieldTrial::enable_benchmarking_ = false; 127 FieldTrial::EntropyProvider::~EntropyProvider() { in ~EntropyProvider() [all …]
|
D | field_trial.h | 78 class BASE_EXPORT FieldTrial : public RefCounted<FieldTrial> { 189 static FieldTrial* CreateSimulatedFieldTrial( 219 friend class RefCounted<FieldTrial>; 228 FieldTrial(const std::string& trial_name, 232 virtual ~FieldTrial(); 315 DISALLOW_COPY_AND_ASSIGN(FieldTrial); 345 explicit FieldTrialList(const FieldTrial::EntropyProvider* entropy_provider); 368 static FieldTrial* FactoryGetFieldTrial( 370 FieldTrial::Probability total_probability, 375 FieldTrial::RandomizationType randomization_type, [all …]
|
D | field_trial_unittest.cc | 26 scoped_refptr<base::FieldTrial> CreateFieldTrial( in CreateFieldTrial() 34 base::FieldTrial::SESSION_RANDOMIZED, default_group_number); in CreateFieldTrial() 90 scoped_refptr<FieldTrial> trial1 = in TEST_F() 92 EXPECT_EQ(FieldTrial::kNotFinalized, trial1->group_); in TEST_F() 101 scoped_refptr<FieldTrial> trial2 = in TEST_F() 103 EXPECT_EQ(FieldTrial::kNotFinalized, trial2->group_); in TEST_F() 127 scoped_refptr<FieldTrial> trial_true = in TEST_F() 135 scoped_refptr<FieldTrial> trial_false = in TEST_F() 147 scoped_refptr<FieldTrial> trial; in TEST_F() 155 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F() [all …]
|
/external/libchrome/base/ |
D | feature_list.h | 21 class FieldTrial; variable 114 FieldTrial* field_trial); 125 FieldTrial* field_trial); 146 static FieldTrial* GetFieldTrial(const Feature& feature); 181 base::FieldTrial* field_trial; 194 OverrideEntry(OverrideState overridden_state, FieldTrial* field_trial); 211 base::FieldTrial* GetAssociatedFieldTrial(const Feature& feature); 229 FieldTrial* field_trial);
|
D | feature_list.cc | 69 FieldTrial* field_trial) { in AssociateReportingFieldTrial() 88 FieldTrial* field_trial) { in RegisterFieldTrialOverride() 144 FieldTrial* FeatureList::GetFieldTrial(const Feature& feature) { in GetFieldTrial() 234 FieldTrial* FeatureList::GetAssociatedFieldTrial(const Feature& feature) { in GetAssociatedFieldTrial() 253 base::FieldTrial* trial = nullptr; in RegisterOverridesFromCommandLine() 269 FieldTrial* field_trial) { in RegisterOverride() 301 FieldTrial* field_trial) in OverrideEntry()
|
D | feature_list_unittest.cc | 145 FieldTrial::ActiveGroup active_group; in TEST_F() 155 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F() 156 FieldTrial* trial2 = FieldTrialList::CreateFieldTrial("TrialExample2", "B"); in TEST_F() 187 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F() 188 FieldTrial* trial2 = FieldTrialList::CreateFieldTrial("TrialExample2", "B"); in TEST_F() 222 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample2", "A"); in TEST_F() 319 FieldTrial* enable_trial = nullptr; in TEST_F() 328 FieldTrial* disable_trial = nullptr; in TEST_F() 361 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() 382 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() [all …]
|