Home
last modified time | relevance | path

Searched refs:FieldTrialList (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/metrics/
Dfield_trial_unittest.cc40 return FieldTrialList::FactoryGetFieldTrial( in CreateFieldTrial()
42 FieldTrialList::kNoExpirationYear, 1, 1, FieldTrial::SESSION_RANDOMIZED, in CreateFieldTrial()
54 class TestFieldTrialObserver : public FieldTrialList::Observer {
63 FieldTrialList::SetSynchronousObserver(this); in TestFieldTrialObserver()
65 FieldTrialList::AddObserver(this); in TestFieldTrialObserver()
70 FieldTrialList::RemoveSynchronousObserver(this); in ~TestFieldTrialObserver()
72 FieldTrialList::RemoveObserver(this); in ~TestFieldTrialObserver()
104 FieldTrialList trial_list_;
113 EXPECT_FALSE(FieldTrialList::Find(name1)); in TEST_F()
114 EXPECT_FALSE(FieldTrialList::Find(name2)); in TEST_F()
[all …]
Dfield_trial.cc202 FieldTrialList::AllStatesToString(&field_trial_states, false); in AddFeatureAndFieldTrialFlags()
254 int FieldTrialList::kNoExpirationYear = 0;
363 FieldTrialList::NotifyFieldTrialGroupSelection(this); in group()
392 DCHECK_EQ(0u, FieldTrialList::GetFieldTrialCount()); in EnableBenchmarking()
421 ref_(FieldTrialList::FieldTrialAllocator::kReferenceNull) { in FieldTrial()
460 FieldTrialList::OnGroupFinalized(is_locked, this); in FinalizeGroupChoiceImpl()
487 FieldTrialList* FieldTrialList::global_ = nullptr;
490 bool FieldTrialList::used_without_global_ = false;
492 FieldTrialList::Observer::~Observer() = default;
494 FieldTrialList::FieldTrialList( in FieldTrialList() function in base::FieldTrialList
[all …]
Dfield_trial_param_associator.cc24 if (FieldTrialList::IsTrialActive(trial_name)) in AssociateFieldTrialParams()
39 FieldTrial* field_trial = FieldTrialList::Find(trial_name); in GetFieldTrialParams()
50 return FieldTrialList::GetParamsFromSharedMemory(field_trial, params); in GetFieldTrialParams()
72 FieldTrialList::ClearParamsFromSharedMemoryForTesting(); in ClearAllParamsForTesting()
Dfield_trial.h87 class FieldTrialList; variable
278 friend class base::FieldTrialList;
393 class BASE_EXPORT FieldTrialList {
422 explicit FieldTrialList(
426 ~FieldTrialList();
759 static FieldTrialList* global_; // The singleton of this class.
797 DISALLOW_COPY_AND_ASSIGN(FieldTrialList);
/external/libchrome/base/
Dfeature_list_unittest.cc154 FieldTrialList field_trial_list(nullptr); in TEST_F()
157 FieldTrial* trial1 = FieldTrialList::CreateFieldTrial("TrialExample1", "A"); in TEST_F()
158 FieldTrial* trial2 = FieldTrialList::CreateFieldTrial("TrialExample2", "B"); in TEST_F()
166 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F()
167 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial2->trial_name())); in TEST_F()
173 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F()
174 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial2->trial_name())); in TEST_F()
180 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F()
181 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial2->trial_name())); in TEST_F()
186 FieldTrialList field_trial_list(nullptr); in TEST_F()
[all …]
Dfeature_list.cc116 FieldTrial* trial = FieldTrialList::Find(trial_name.as_string()); in InitializeFromSharedMemory()
351 trial = base::FieldTrialList::Find(value.substr(pos + 1).as_string()); in RegisterOverridesFromCommandLine()
/external/libchrome/base/test/
Dscoped_feature_list_unittest.cc90 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
103 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
112 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in TEST_F()
117 FieldTrialList field_trial_list(nullptr); in TEST_F()
119 FieldTrialList::CreateFieldTrial("foo", "bar"); in TEST_F()
232 FieldTrialList field_trial_list(nullptr); in TEST_F()
233 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample", "A"); in TEST_F()
249 FieldTrialList field_trial_list(nullptr); in TEST_F()
250 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample", "A"); in TEST_F()
Dscoped_feature_list.cc207 if (!FieldTrialList::IsGlobalSetForTesting()) { in InitAndEnableFeatureWithParameters()
208 field_trial_list_ = std::make_unique<base::FieldTrialList>(nullptr); in InitAndEnableFeatureWithParameters()
223 base::FieldTrialList::CreateFieldTrial(kTrialName, kTrialGroup); in InitAndEnableFeatureWithParameters()
Dscoped_feature_list.h116 std::unique_ptr<base::FieldTrialList> field_trial_list_;
/external/cros/system_api/dbus/
Dfield_trial_list.proto11 message FieldTrialList { message
/external/libchrome/base/debug/
Dactivity_tracker.cc1695 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in GlobalActivityTracker()