Home
last modified time | relevance | path

Searched refs:trial_name (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/metrics/
Dfield_trial.cc79 if (!WriteStringPair(pickle, *trial_state.trial_name, in PickleFieldTrial()
87 *trial_state.trial_name, *trial_state.group_name, &params); in PickleFieldTrial()
145 StringPiece trial_name; member
178 entry.trial_name = in ParseFieldTrialsString()
261 StringPiece* trial_name, in GetTrialAndGroupName() argument
264 return ReadStringPair(&iter, trial_name, group_name); in GetTrialAndGroupName()
294 StringPiece* trial_name, in ReadStringPair() argument
296 if (!iter->ReadStringPiece(trial_name)) in ReadStringPair()
391 const std::string& trial_name, in CreateSimulatedFieldTrial() argument
395 return new FieldTrial(trial_name, total_probability, default_group_name, in CreateSimulatedFieldTrial()
[all …]
Dfield_trial_param_associator.cc21 const std::string& trial_name, in AssociateFieldTrialParams() argument
24 if (FieldTrialList::IsTrialActive(trial_name)) in AssociateFieldTrialParams()
28 const FieldTrialKey key(trial_name, group_name); in AssociateFieldTrialParams()
37 const std::string& trial_name, in GetFieldTrialParams() argument
39 FieldTrial* field_trial = FieldTrialList::Find(trial_name); in GetFieldTrialParams()
44 if (GetFieldTrialParamsWithoutFallback(trial_name, field_trial->group_name(), in GetFieldTrialParams()
54 const std::string& trial_name, in GetFieldTrialParamsWithoutFallback() argument
59 const FieldTrialKey key(trial_name, group_name); in GetFieldTrialParamsWithoutFallback()
Dfield_trial.h116 virtual double GetEntropyForTrial(const std::string& trial_name,
122 std::string trial_name; member
131 const std::string* trial_name = nullptr; member
163 bool GetTrialAndGroupName(StringPiece* trial_name,
178 StringPiece* trial_name,
204 const std::string& trial_name() const { return trial_name_; } in trial_name() function
246 const std::string& trial_name,
287 FieldTrial(const std::string& trial_name,
404 virtual void OnFieldTrialGroupFinalized(const std::string& trial_name,
442 const std::string& trial_name,
[all …]
Dfield_trial_unittest.cc34 const std::string& trial_name, in CreateFieldTrial() argument
39 trial_name, total_probability, default_group_name, in CreateFieldTrial()
66 const std::string& trial_name() const { return trial_name_; } in trial_name() function in base::__anon383be0f40111::TestFieldTrialObserver
100 EXPECT_EQ(name1, trial1->trial_name()); in TEST_F()
111 EXPECT_EQ(name2, trial2->trial_name()); in TEST_F()
295 EXPECT_EQ(one_winner, active_group.trial_name); in TEST_F()
309 EXPECT_EQ(multi_group, active_group.trial_name); in TEST_F()
318 EXPECT_NE(no_group, active_groups[i].trial_name); in TEST_F()
319 EXPECT_TRUE(one_winner != active_groups[i].trial_name || in TEST_F()
321 EXPECT_TRUE(multi_group != active_groups[i].trial_name || in TEST_F()
[all …]
Dfield_trial_param_associator.h33 bool AssociateFieldTrialParams(const std::string& trial_name,
39 bool GetFieldTrialParams(const std::string& trial_name,
46 bool GetFieldTrialParamsWithoutFallback(const std::string& trial_name,
/external/libchrome/base/
Dfeature_list.cc50 StringPiece* trial_name) const { in GetFeatureAndTrialName()
61 auto sink = pickle_iter.ReadStringPiece(trial_name); in GetFeatureAndTrialName()
107 StringPiece trial_name; in InitializeFromSharedMemory() local
108 if (!entry->GetFeatureAndTrialName(&feature_name, &trial_name)) in InitializeFromSharedMemory()
111 FieldTrial* trial = FieldTrialList::Find(trial_name.as_string()); in InitializeFromSharedMemory()
136 << " already has trial: " << entry->field_trial->trial_name() in AssociateReportingFieldTrial()
137 << ", associating trial: " << field_trial->trial_name(); in AssociateReportingFieldTrial()
152 << overrides_.find(feature_name)->second.field_trial->trial_name() in RegisterFieldTrialOverride()
153 << " / " << field_trial->trial_name(); in RegisterFieldTrialOverride()
165 pickle.WriteString(override.second.field_trial->trial_name()); in AddFeaturesToAllocator()
[all …]
Dfeature_list_unittest.cc166 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()
198 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F()
199 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial2->trial_name())); in TEST_F()
204 EXPECT_TRUE(FieldTrialList::IsTrialActive(trial1->trial_name())); in TEST_F()
205 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial2->trial_name())); in TEST_F()
[all …]
/external/libmojo/base/android/
Dfield_trial_list.cc22 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in FindFullName() local
24 env, base::FieldTrialList::FindFullName(trial_name)); in FindFullName()
30 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in TrialExists() local
31 return base::FieldTrialList::TrialExists(trial_name); in TrialExists()
/external/libchrome/base/test/
Dmock_entropy_provider.cc15 const std::string& trial_name, in GetEntropyForTrial() argument
Dmock_entropy_provider.h21 double GetEntropyForTrial(const std::string& trial_name,
/external/cros/system_api/dbus/
Dfield_trial_list.proto14 optional string trial_name = 1; field
/external/libchrome/base/debug/
Dactivity_tracker.h1012 void RecordFieldTrial(const std::string& trial_name, StringPiece group_name);
1013 static void RecordFieldTrialIfEnabled(const std::string& trial_name, in RecordFieldTrialIfEnabled() argument
1017 tracker->RecordFieldTrial(trial_name, group_name); in RecordFieldTrialIfEnabled()
Dactivity_tracker.cc1599 void GlobalActivityTracker::RecordFieldTrial(const std::string& trial_name, in RecordFieldTrial() argument
1601 const std::string key = std::string("FieldTrial.") + trial_name; in RecordFieldTrial()
1661 RecordFieldTrial(group.trial_name, group.group_name); in GlobalActivityTracker()