Home
last modified time | relevance | path

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

12

/external/chromium_org/components/variations/
Dvariations_associated_data.cc105 bool AssociateVariationParams(const std::string& trial_name, in AssociateVariationParams() argument
110 if (IsFieldTrialActive(trial_name)) in AssociateVariationParams()
113 const VariationKey key(trial_name, group_name); in AssociateVariationParams()
121 bool GetVariationParams(const std::string& trial_name, in GetVariationParams() argument
126 base::FieldTrialList::FindFullName(trial_name); in GetVariationParams()
127 const VariationKey key(trial_name, group_name); in GetVariationParams()
148 bool IsFieldTrialActive(const std::string& trial_name) { in IsFieldTrialActive() argument
152 if (active_groups[i].trial_name == trial_name) in IsFieldTrialActive()
166 ActiveGroupId MakeActiveGroupId(const std::string& trial_name, in MakeActiveGroupId() argument
169 id.name = metrics::HashName(trial_name); in MakeActiveGroupId()
[all …]
Dvariations_associated_data.h57 ActiveGroupId MakeActiveGroupId(const std::string& trial_name,
94 const std::string& trial_name,
100 const std::string& trial_name,
111 const std::string& trial_name,
118 bool AssociateVariationParams(const std::string& trial_name,
129 bool GetVariationParams(const std::string& trial_name,
139 std::string GetVariationParamValue(const std::string& trial_name,
Dvariations_associated_data_unittest.cc21 return GetGoogleVariationID(key, trial->trial_name(), trial->group_name()); in GetIDForTrial()
25 bool IsFieldTrialActive(const std::string& trial_name) { in IsFieldTrialActive() argument
29 if (active_groups[i].trial_name == trial_name) in IsFieldTrialActive()
37 const std::string& trial_name, in CreateFieldTrial() argument
42 trial_name, total_probability, default_group_name, in CreateFieldTrial()
89 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial->trial_name(), in TEST_F()
91 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial->trial_name(), in TEST_F()
107 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_true->trial_name(), in TEST_F()
109 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_true->trial_name(), in TEST_F()
123 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_false->trial_name(), in TEST_F()
[all …]
Dentropy_provider_unittest.cc49 const std::string& trial_name) { in GenerateSHA1Entropy() argument
51 return sha1_provider.GetEntropyForTrial(trial_name, 0); in GenerateSHA1Entropy()
58 const std::string& trial_name) { in GeneratePermutedEntropy() argument
60 return permuted_provider.GetEntropyForTrial(trial_name, 0); in GeneratePermutedEntropy()
79 explicit SHA1EntropyGenerator(const std::string& trial_name) in SHA1EntropyGenerator() argument
80 : trial_name_(trial_name) { in SHA1EntropyGenerator()
106 explicit PermutedEntropyGenerator(const std::string& trial_name) in PermutedEntropyGenerator() argument
111 const uint32 randomization_seed = HashName(trial_name); in PermutedEntropyGenerator()
135 const std::string& trial_name, in PerformEntropyUniformityTest() argument
177 trial_name << " with chi_square = " << chi_square << in PerformEntropyUniformityTest()
Dentropy_provider.cc66 const std::string& trial_name, in GetEntropyForTrial() argument
76 std::string input(entropy_source_ + trial_name); in GetEntropyForTrial()
103 const std::string& trial_name, in GetEntropyForTrial() argument
106 randomization_seed = HashName(trial_name); in GetEntropyForTrial()
Dentropy_provider.h54 virtual double GetEntropyForTrial(const std::string& trial_name,
77 virtual double GetEntropyForTrial(const std::string& trial_name,
Dvariations_seed_processor.cc62 const std::string& trial_name) { in RegisterVariationIds() argument
67 trial_name, in RegisterVariationIds()
75 trial_name, in RegisterVariationIds()
/external/chromium_org/chrome/common/metrics/
Dcaching_permuted_entropy_provider_unittest.cc35 const std::string trial_name = in TEST() local
37 EXPECT_EQ(provider.GetEntropyForTrial(trial_name, 0), in TEST()
38 cached_provider.GetEntropyForTrial(trial_name, 0)); in TEST()
45 const std::string trial_name = in TEST() local
47 EXPECT_EQ(provider.GetEntropyForTrial(trial_name, 0), in TEST()
48 cached_provider.GetEntropyForTrial(trial_name, 0)); in TEST()
/external/chromium_org/base/metrics/
Dfield_trial.cc161 const std::string& trial_name, in CreateSimulatedFieldTrial() argument
165 return new FieldTrial(trial_name, total_probability, default_group_name, in CreateSimulatedFieldTrial()
169 FieldTrial::FieldTrial(const std::string& trial_name, in FieldTrial() argument
173 : trial_name_(trial_name), in FieldTrial()
220 active_group->trial_name = trial_name_; in GetActiveGroup()
265 const std::string& trial_name, in FactoryGetFieldTrial() argument
274 trial_name, total_probability, default_group_name, in FactoryGetFieldTrial()
280 const std::string& trial_name, in FactoryGetFieldTrialWithRandomizationSeed() argument
292 FieldTrial* existing_trial = Find(trial_name); in FactoryGetFieldTrialWithRandomizationSeed()
324 GetEntropyForTrial(trial_name, randomization_seed); in FactoryGetFieldTrialWithRandomizationSeed()
[all …]
Dfield_trial.h98 virtual double GetEntropyForTrial(const std::string& trial_name,
104 std::string trial_name; member
130 const std::string& trial_name() const { return trial_name_; } in trial_name() function
167 const std::string& trial_name,
203 FieldTrial(const std::string& trial_name,
312 virtual void OnFieldTrialGroupFinalized(const std::string& trial_name,
349 const std::string& trial_name,
366 const std::string& trial_name,
Dfield_trial_unittest.cc23 const std::string& trial_name, in CreateFieldTrial() argument
28 trial_name, total_probability, default_group_name, in CreateFieldTrial()
57 const std::string& trial_name() const { return trial_name_; } in trial_name() function in base::__anonfeda5a770111::TestFieldTrialObserver
88 EXPECT_EQ(name1, trial1->trial_name()); in TEST_F()
98 EXPECT_EQ(name2, trial2->trial_name()); in TEST_F()
277 EXPECT_EQ(one_winner, active_group.trial_name); in TEST_F()
291 EXPECT_EQ(multi_group, active_group.trial_name); in TEST_F()
300 EXPECT_NE(no_group, active_groups[i].trial_name); in TEST_F()
301 EXPECT_TRUE(one_winner != active_groups[i].trial_name || in TEST_F()
303 EXPECT_TRUE(multi_group != active_groups[i].trial_name || in TEST_F()
[all …]
/external/chromium_org/chrome/common/metrics/variations/
Duniformity_field_trials.cc36 const std::string trial_name = base::StringPrintf(trial_name_string.c_str(), in SetupSingleUniformityFieldTrial() local
39 DVLOG(1) << "Trial name = " << trial_name; in SetupSingleUniformityFieldTrial()
43 trial_name, divisor, kDefaultGroupName, 2015, 1, 1, in SetupSingleUniformityFieldTrial()
45 AssociateGoogleVariationID(GOOGLE_UPDATE_SERVICE, trial_name, in SetupSingleUniformityFieldTrial()
56 GOOGLE_UPDATE_SERVICE, trial_name, group_name, in SetupSingleUniformityFieldTrial()
Dvariations_util_unittest.cc43 active_group.trial_name = trial_one; in TEST_F()
47 active_group.trial_name = trial_two; in TEST_F()
Dvariations_util.cc25 name_group_ids->push_back(MakeActiveGroupId(it->trial_name, in GetFieldTrialActiveGroupIdsForActiveGroups()
Dexperiment_labels.cc54 it->trial_name, it->group_name); in BuildGoogleUpdateExperimentLabel()
Dexperiment_labels_unittest.cc65 group.trial_name = group_data[j]; in TEST()
/external/chromium_org/chrome/browser/
Dchrome_browser_field_trials_mobile.cc25 const char* trial_name, in DataCompressionProxyBaseFieldTrial() argument
38 trial_name, in DataCompressionProxyBaseFieldTrial()
48 VLOG(1) << trial_name << " enabled group id: " << kEnabledGroup in DataCompressionProxyBaseFieldTrial()
/external/chromium_org/chrome/browser/android/
Dfield_trial_helper.cc19 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in GetFieldTrialFullName() local
22 base::FieldTrialList::FindFullName(trial_name)).Release(); in GetFieldTrialFullName()
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_http_header_provider.cc86 const std::string& trial_name, in OnFieldTrialGroupFinalized() argument
89 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_name, group_name); in OnFieldTrialGroupFinalized()
116 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, it->trial_name, in InitVariationIDsCacheIfNeeded()
Dvariations_http_header_provider.h72 const std::string& trial_name,
/external/chromium_org/chrome/browser/omnibox/
Domnibox_field_trial.cc149 const std::string& trial_name = DynamicFieldTrialName(i); in GetActiveSuggestFieldTrialHashes() local
150 if (base::FieldTrialList::TrialExists(trial_name)) in GetActiveSuggestFieldTrialHashes()
151 field_trial_hashes->push_back(metrics::HashName(trial_name)); in GetActiveSuggestFieldTrialHashes()
/external/chromium/base/metrics/
Dfield_trial.cc106 const std::string& trial_name) { in MakeName() argument
109 return big_string.append(FieldTrialList::FindFullName(trial_name)); in MakeName()
Dfield_trial.h140 const std::string& trial_name);
/external/chromium_org/chrome/browser/metrics/
Dmetrics_service_unittest.cc103 const std::string& trial_name, in HasSyntheticTrial() argument
105 uint32 trial_name_hash = metrics::HashName(trial_name); in HasSyntheticTrial()
/external/chromium_org/chrome/browser/ui/webui/
Dversion_handler.cc97 std::string line = active_groups[i].trial_name + ":" + in HandleRequestVersionInfo()

12