/external/libchrome/base/metrics/ |
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() 76 const std::string& trial_name, in ClearParamsForTesting() argument 79 const FieldTrialKey key(trial_name, group_name); in ClearParamsForTesting()
|
D | field_trial.cc | 84 WriteStringPair(pickle, *trial_state.trial_name, *trial_state.group_name); in PickleFieldTrial() 89 *trial_state.trial_name, *trial_state.group_name, ¶ms); in PickleFieldTrial() 144 StringPiece trial_name; member 177 entry.trial_name = in ParseFieldTrialsString() 268 StringPiece* trial_name, in GetTrialAndGroupName() argument 271 return ReadStringPair(&iter, trial_name, group_name); in GetTrialAndGroupName() 301 StringPiece* trial_name, in ReadStringPair() argument 303 if (!iter->ReadStringPiece(trial_name)) in ReadStringPair() 398 const std::string& trial_name, in CreateSimulatedFieldTrial() argument 402 return new FieldTrial(trial_name, total_probability, default_group_name, in CreateSimulatedFieldTrial() [all …]
|
D | field_trial.h | 118 virtual double GetEntropyForTrial(const std::string& trial_name, 124 std::string trial_name; member 133 const std::string* trial_name = nullptr; member 165 bool GetTrialAndGroupName(StringPiece* trial_name, 180 StringPiece* trial_name, 206 const std::string& trial_name() const { return trial_name_; } in trial_name() function 248 const std::string& trial_name, 289 FieldTrial(const std::string& trial_name, 409 virtual void OnFieldTrialGroupFinalized(const std::string& trial_name, 447 const std::string& trial_name, [all …]
|
D | field_trial_unittest.cc | 36 const std::string& trial_name, in CreateFieldTrial() argument 41 trial_name, total_probability, default_group_name, in CreateFieldTrial() 81 const std::string& trial_name() const { return trial_name_; } in trial_name() function in base::__anon07913ade0111::TestFieldTrialObserver 119 EXPECT_EQ(name1, trial1->trial_name()); in TEST_F() 130 EXPECT_EQ(name2, trial2->trial_name()); in TEST_F() 314 EXPECT_EQ(one_winner, active_group.trial_name); in TEST_F() 328 EXPECT_EQ(multi_group, active_group.trial_name); in TEST_F() 337 EXPECT_NE(no_group, active_groups[i].trial_name); in TEST_F() 338 EXPECT_TRUE(one_winner != active_groups[i].trial_name || in TEST_F() 340 EXPECT_TRUE(multi_group != active_groups[i].trial_name || in TEST_F() [all …]
|
D | field_trial_params.cc | 15 const std::string& trial_name, in AssociateFieldTrialParams() argument 19 ->AssociateFieldTrialParams(trial_name, group_name, params); in AssociateFieldTrialParams() 22 bool GetFieldTrialParams(const std::string& trial_name, in GetFieldTrialParams() argument 25 trial_name, params); in GetFieldTrialParams() 37 return GetFieldTrialParams(trial->trial_name(), params); in GetFieldTrialParamsByFeature() 40 std::string GetFieldTrialParamValue(const std::string& trial_name, in GetFieldTrialParamValue() argument 43 if (GetFieldTrialParams(trial_name, ¶ms)) { in GetFieldTrialParamValue() 60 return GetFieldTrialParamValue(trial->trial_name(), param_name); in GetFieldTrialParamValueByFeature()
|
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, 56 void ClearParamsForTesting(const std::string& trial_name,
|
D | field_trial_params.h | 22 const std::string& trial_name, 33 const std::string& trial_name, 53 BASE_EXPORT std::string GetFieldTrialParamValue(const std::string& trial_name,
|
D | field_trial_params_unittest.cc | 20 const std::string& trial_name, in CreateFieldTrial() argument 25 trial_name, total_probability, default_group_name, in CreateFieldTrial()
|
/external/libchrome/base/ |
D | feature_list.cc | 50 StringPiece* trial_name) const { in GetFeatureAndTrialName() 61 auto sink = pickle_iter.ReadStringPiece(trial_name); in GetFeatureAndTrialName() 112 StringPiece trial_name; in InitializeFromSharedMemory() local 113 if (!entry->GetFeatureAndTrialName(&feature_name, &trial_name)) in InitializeFromSharedMemory() 116 FieldTrial* trial = FieldTrialList::Find(trial_name.as_string()); in InitializeFromSharedMemory() 141 << " already has trial: " << entry->field_trial->trial_name() in AssociateReportingFieldTrial() 142 << ", associating trial: " << field_trial->trial_name(); in AssociateReportingFieldTrial() 157 << overrides_.find(feature_name)->second.field_trial->trial_name() in RegisterFieldTrialOverride() 158 << " / " << field_trial->trial_name(); in RegisterFieldTrialOverride() 170 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/libchrome/base/android/ |
D | field_trial_list.cc | 24 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in JNI_FieldTrialList_FindFullName() local 26 env, base::FieldTrialList::FindFullName(trial_name)); in JNI_FieldTrialList_FindFullName() 33 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in JNI_FieldTrialList_TrialExists() local 34 return base::FieldTrialList::TrialExists(trial_name); in JNI_FieldTrialList_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,
|
D | scoped_feature_list.cc | 94 field_trial_override_->trial_name(), in ~ScopedFeatureList() 192 feature_it->as_string() + "<" + (*trial_it)->trial_name())); in InitWithFeaturesAndFieldTrials()
|
/external/cros/system_api/dbus/ |
D | field_trial_list.proto | 14 optional string trial_name = 1; field
|
/external/webrtc/modules/audio_processing/aec3/ |
D | echo_canceller3.cc | 41 void RetrieveFieldTrialValue(const char* trial_name, in RetrieveFieldTrialValue() argument 45 const std::string field_trial_str = field_trial::FindFullName(trial_name); in RetrieveFieldTrialValue() 57 void RetrieveFieldTrialValue(const char* trial_name, in RetrieveFieldTrialValue() argument 61 const std::string field_trial_str = field_trial::FindFullName(trial_name); in RetrieveFieldTrialValue()
|
/external/libchrome/base/debug/ |
D | activity_tracker.h | 1042 void RecordFieldTrial(const std::string& trial_name, StringPiece group_name); 1043 static void RecordFieldTrialIfEnabled(const std::string& trial_name, in RecordFieldTrialIfEnabled() argument 1047 tracker->RecordFieldTrial(trial_name, group_name); in RecordFieldTrialIfEnabled()
|
D | activity_tracker.cc | 1634 void GlobalActivityTracker::RecordFieldTrial(const std::string& trial_name, in RecordFieldTrial() argument 1636 const std::string key = std::string("FieldTrial.") + trial_name; in RecordFieldTrial() 1697 RecordFieldTrial(group.trial_name, group.group_name); in GlobalActivityTracker()
|