Searched refs:FieldTrial (Results 1 – 14 of 14) sorted by relevance
/external/libchrome/base/metrics/ |
D | field_trial.cc | 83 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 …]
|
D | field_trial.h | 89 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 …]
|
D | field_trial_unittest.cc | 35 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 …]
|
D | field_trial_params_unittest.cc | 19 scoped_refptr<FieldTrial> CreateFieldTrial( in CreateFieldTrial() 26 FieldTrialList::kNoExpirationYear, 1, 1, FieldTrial::SESSION_RANDOMIZED, in CreateFieldTrial() 44 FieldTrial* trial) { in CreateFeatureWithTrial() 116 scoped_refptr<FieldTrial> trial( in TEST_F() 150 scoped_refptr<FieldTrial> trial( in TEST_F() 163 scoped_refptr<FieldTrial> trial( in TEST_F() 179 scoped_refptr<FieldTrial> trial( in TEST_F() 197 scoped_refptr<FieldTrial> trial( in TEST_F() 214 scoped_refptr<FieldTrial> trial( in TEST_F() 231 scoped_refptr<FieldTrial> trial( in TEST_F() [all …]
|
D | field_trial_params.cc | 33 base::FieldTrial* trial = base::FeatureList::GetFieldTrial(feature); in GetFieldTrialParamsByFeature() 56 base::FieldTrial* trial = base::FeatureList::GetFieldTrial(feature); in GetFieldTrialParamValueByFeature()
|
D | field_trial_param_associator.cc | 39 FieldTrial* field_trial = FieldTrialList::Find(trial_name); in GetFieldTrialParams()
|
/external/libchrome/base/ |
D | feature_list.h | 22 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);
|
D | feature_list_unittest.cc | 147 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 …]
|
D | feature_list.cc | 116 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/ |
D | scoped_feature_list.h | 103 const std::vector<FieldTrial*>& trials_for_enabled_features, 111 FieldTrial* trial); 115 scoped_refptr<FieldTrial> field_trial_override_;
|
D | scoped_feature_list.cc | 137 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()
|
D | scoped_feature_list_unittest.cc | 89 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()
|
D | mock_entropy_provider.h | 14 class MockEntropyProvider : public base::FieldTrial::EntropyProvider {
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 1694 FieldTrial::ActiveGroups active_groups; in GlobalActivityTracker()
|