Searched refs:FieldTrial (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/metrics/ |
D | field_trial.cc | 78 bool PickleFieldTrial(const FieldTrial::State& trial_state, Pickle* pickle) { in PickleFieldTrial() 126 FieldTrial::Probability GetGroupBoundaryValue( in GetGroupBoundaryValue() 127 FieldTrial::Probability divisor, in GetGroupBoundaryValue() 137 const FieldTrial::Probability result = in GetGroupBoundaryValue() 138 static_cast<FieldTrial::Probability>(divisor * entropy_value + kEpsilon); in GetGroupBoundaryValue() 242 const int FieldTrial::kNotFinalized = -1; 243 const int FieldTrial::kDefaultGroupNumber = 0; 244 bool FieldTrial::enable_benchmarking_ = false; 251 FieldTrial::EntropyProvider::~EntropyProvider() { in ~EntropyProvider() 254 FieldTrial::State::State() {} in State() [all …]
|
D | field_trial.h | 87 class BASE_EXPORT FieldTrial : public RefCounted<FieldTrial> { 245 static FieldTrial* CreateSimulatedFieldTrial( 278 friend class RefCounted<FieldTrial>; 287 FieldTrial(const std::string& trial_name, 291 virtual ~FieldTrial(); 385 DISALLOW_COPY_AND_ASSIGN(FieldTrial); 418 std::unique_ptr<const FieldTrial::EntropyProvider> entropy_provider); 441 static FieldTrial* FactoryGetFieldTrial( 443 FieldTrial::Probability total_probability, 448 FieldTrial::RandomizationType randomization_type, [all …]
|
D | field_trial_unittest.cc | 33 scoped_refptr<base::FieldTrial> CreateFieldTrial( in CreateFieldTrial() 41 base::FieldTrial::SESSION_RANDOMIZED, default_group_number); in CreateFieldTrial() 97 scoped_refptr<FieldTrial> trial1 = in TEST_F() 99 EXPECT_EQ(FieldTrial::kNotFinalized, trial1->group_); in TEST_F() 108 scoped_refptr<FieldTrial> trial2 = in TEST_F() 110 EXPECT_EQ(FieldTrial::kNotFinalized, trial2->group_); in TEST_F() 134 scoped_refptr<FieldTrial> trial_true = in TEST_F() 142 scoped_refptr<FieldTrial> trial_false = in TEST_F() 154 scoped_refptr<FieldTrial> trial; in TEST_F() 162 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F() [all …]
|
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 122 FieldTrial* field_trial); 133 FieldTrial* field_trial); 157 static FieldTrial* GetFieldTrial(const Feature& feature); 207 base::FieldTrial* field_trial; 220 OverrideEntry(OverrideState overridden_state, FieldTrial* field_trial); 237 base::FieldTrial* GetAssociatedFieldTrial(const Feature& feature); 255 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() 384 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() [all …]
|
D | feature_list.cc | 111 FieldTrial* trial = FieldTrialList::Find(trial_name.as_string()); in InitializeFromSharedMemory() 127 FieldTrial* field_trial) { in AssociateReportingFieldTrial() 146 FieldTrial* field_trial) { in RegisterFieldTrialOverride() 226 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() 392 FieldTrial* field_trial) in OverrideEntry()
|
/external/libchrome/base/test/ |
D | mock_entropy_provider.h | 14 class MockEntropyProvider : public base::FieldTrial::EntropyProvider {
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 1658 FieldTrial::ActiveGroups active_groups; in GlobalActivityTracker()
|