/external/libchrome/base/metrics/ |
D | field_trial.cc | 79 if (!WriteStringPair(pickle, *trial_state.trial_name, in PickleFieldTrial() 87 *trial_state.trial_name, *trial_state.group_name, ¶ms); 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 …]
|
D | field_trial_param_associator.cc | 21 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()
|
D | field_trial.h | 116 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 …]
|
D | field_trial_unittest.cc | 34 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 …]
|
D | field_trial_param_associator.h | 33 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/ |
D | feature_list.cc | 50 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 …]
|
D | feature_list_unittest.cc | 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() 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/ |
D | field_trial_list.cc | 22 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/ |
D | mock_entropy_provider.cc | 15 const std::string& trial_name, in GetEntropyForTrial() argument
|
D | mock_entropy_provider.h | 21 double GetEntropyForTrial(const std::string& trial_name,
|
/external/cros/system_api/dbus/ |
D | field_trial_list.proto | 14 optional string trial_name = 1; field
|
/external/libchrome/base/debug/ |
D | activity_tracker.h | 1012 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()
|
D | activity_tracker.cc | 1599 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()
|