Home
last modified time | relevance | path

Searched refs:FieldTrial (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/metrics/
Dfield_trial.cc83 void PickleFieldTrial(const FieldTrial::State& trial_state, Pickle* pickle) { in PickleFieldTrial()
125 FieldTrial::Probability GetGroupBoundaryValue( in GetGroupBoundaryValue()
126 FieldTrial::Probability divisor, in GetGroupBoundaryValue()
136 const FieldTrial::Probability result = in GetGroupBoundaryValue()
137 static_cast<FieldTrial::Probability>(divisor * entropy_value + kEpsilon); in GetGroupBoundaryValue()
250 const int FieldTrial::kNotFinalized = -1;
251 const int FieldTrial::kDefaultGroupNumber = 0;
252 bool FieldTrial::enable_benchmarking_ = false;
259 FieldTrial::EntropyProvider::~EntropyProvider() = default;
261 FieldTrial::State::State() = default;
[all …]
Dfield_trial_unittest.cc35 scoped_refptr<FieldTrial> CreateFieldTrial( in CreateFieldTrial()
42 FieldTrialList::kNoExpirationYear, 1, 1, FieldTrial::SESSION_RANDOMIZED, in CreateFieldTrial()
116 scoped_refptr<FieldTrial> trial1 = in TEST_F()
118 EXPECT_EQ(FieldTrial::kNotFinalized, trial1->group_); in TEST_F()
127 scoped_refptr<FieldTrial> trial2 = in TEST_F()
129 EXPECT_EQ(FieldTrial::kNotFinalized, trial2->group_); in TEST_F()
153 scoped_refptr<FieldTrial> trial_true = in TEST_F()
161 scoped_refptr<FieldTrial> trial_false = in TEST_F()
173 scoped_refptr<FieldTrial> trial; in TEST_F()
181 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F()
[all …]
Dfield_trial.h89 class BASE_EXPORT FieldTrial : public RefCounted<FieldTrial> {
247 static FieldTrial* CreateSimulatedFieldTrial(
280 friend class RefCounted<FieldTrial>;
289 FieldTrial(const std::string& trial_name,
293 virtual ~FieldTrial();
385 DISALLOW_COPY_AND_ASSIGN(FieldTrial);
423 std::unique_ptr<const FieldTrial::EntropyProvider> entropy_provider);
446 static FieldTrial* FactoryGetFieldTrial(
448 FieldTrial::Probability total_probability,
453 FieldTrial::RandomizationType randomization_type,
[all …]
Dfield_trial_param_associator.cc39 FieldTrial* field_trial = FieldTrialList::Find(trial_name); in GetFieldTrialParams()
/external/libchrome/base/
Dfeature_list.h22 class FieldTrial; variable
134 FieldTrial* field_trial);
145 FieldTrial* field_trial);
174 static FieldTrial* GetFieldTrial(const Feature& feature);
224 base::FieldTrial* field_trial;
237 OverrideEntry(OverrideState overridden_state, FieldTrial* field_trial);
254 base::FieldTrial* GetAssociatedFieldTrial(const Feature& feature);
272 FieldTrial* field_trial);
Dfeature_list_unittest.cc147 FieldTrial::ActiveGroup active_group; in TEST_F()
157 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F()
158 FieldTrial* trial2 = FieldTrialList::CreateFieldTrial("TrialExample2", "B"); in TEST_F()
189 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F()
190 FieldTrial* trial2 = FieldTrialList::CreateFieldTrial("TrialExample2", "B"); in TEST_F()
224 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample2", "A"); in TEST_F()
321 FieldTrial* enable_trial = nullptr; in TEST_F()
330 FieldTrial* disable_trial = nullptr; in TEST_F()
363 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F()
389 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F()
[all …]
Dfeature_list.cc116 FieldTrial* trial = FieldTrialList::Find(trial_name.as_string()); in InitializeFromSharedMemory()
132 FieldTrial* field_trial) { in AssociateReportingFieldTrial()
151 FieldTrial* field_trial) { in RegisterFieldTrialOverride()
208 FieldTrial* FeatureList::GetFieldTrial(const Feature& feature) { in GetFieldTrial()
325 FieldTrial* FeatureList::GetAssociatedFieldTrial(const Feature& feature) { in GetAssociatedFieldTrial()
344 base::FieldTrial* trial = nullptr; in RegisterOverridesFromCommandLine()
360 FieldTrial* field_trial) { in RegisterOverride()
433 FieldTrial* field_trial) in OverrideEntry()
/external/libchrome/base/test/
Dscoped_feature_list.h103 const std::vector<FieldTrial*>& trials_for_enabled_features,
111 FieldTrial* trial);
115 scoped_refptr<FieldTrial> field_trial_override_;
Dscoped_feature_list.cc137 FieldTrial* trial) { in InitAndEnableFeatureWithFieldTrialOverride()
156 const std::vector<FieldTrial*>& trials_for_enabled_features, in InitWithFeaturesAndFieldTrials()
185 std::vector<FieldTrial*>::const_iterator trial_it = in InitWithFeaturesAndFieldTrials()
Dscoped_feature_list_unittest.cc89 FieldTrial::ActiveGroups active_groups; in TEST_F()
118 scoped_refptr<FieldTrial> trial = in TEST_F()
233 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample", "A"); in TEST_F()
250 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample", "A"); in TEST_F()
Dmock_entropy_provider.h14 class MockEntropyProvider : public base::FieldTrial::EntropyProvider {
/external/libchrome/base/debug/
Dactivity_tracker.cc1694 FieldTrial::ActiveGroups active_groups; in GlobalActivityTracker()