Home
last modified time | relevance | path

Searched refs:FieldTrialList (Results 1 – 17 of 17) 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_params_unittest.cc24 return FieldTrialList::FactoryGetFieldTrial( in CreateFieldTrial()
26 FieldTrialList::kNoExpirationYear, 1, 1, FieldTrial::SESSION_RANDOMIZED, in CreateFieldTrial()
52 FieldTrialList field_trial_list_;
73 FieldTrialList::CreateFieldTrial(kTrialName, "B"); in TEST_F()
95 FieldTrialList::CreateFieldTrial(kTrialName, kGroupName); in TEST_F()
102 FieldTrialList::CreateFieldTrial(kTrialName, "A"); in TEST_F()
103 ASSERT_EQ("A", FieldTrialList::FindFullName(kTrialName)); in TEST_F()
115 ASSERT_FALSE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
118 ASSERT_FALSE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
123 ASSERT_FALSE(FieldTrialList::IsTrialActive(kTrialName)); in TEST_F()
[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/webrtc/rtc_base/experiments/
Dfield_trial_list.h53 class FieldTrialList : public FieldTrialListBase {
55 explicit FieldTrialList(std::string key) : FieldTrialList(key, {}) {} in FieldTrialList() function
56 FieldTrialList(std::string key, std::initializer_list<T> default_values) in FieldTrialList() function
144 FieldTrialList<T> list_;
Dfield_trial_list_unittest.cc35 FieldTrialList<int> my_list("l", {5}); in TEST()
47 FieldTrialList<std::string> another_list("l", {"hat"}); in TEST()
/external/libchrome/base/android/java/src/org/chromium/base/
DFieldTrialList.java13 public class FieldTrialList { class
15 private FieldTrialList() {} in FieldTrialList() method in FieldTrialList
/external/libchrome/base/android/
Dfield_trial_list.cc26 env, base::FieldTrialList::FindFullName(trial_name)); in JNI_FieldTrialList_FindFullName()
34 return base::FieldTrialList::TrialExists(trial_name); in JNI_FieldTrialList_TrialExists()
/external/cros/system_api/dbus/
Dfield_trial_list.proto11 message FieldTrialList { message
/external/libchrome/base/task_scheduler/
Dtask_scheduler_impl_unittest.cc220 base::FieldTrialList::CreateFieldTrial(kFieldTrialName, in EnableAllTasksUserBlocking()
256 base::FieldTrialList field_trial_list_;
/external/libchrome/base/debug/
Dactivity_tracker.cc1695 FieldTrialList::GetActiveFieldTrialGroups(&active_groups); in GlobalActivityTracker()