/external/chromium_org/chrome/common/metrics/ |
caching_permuted_entropy_provider_unittest.cc | 35 const std::string trial_name = local 37 EXPECT_EQ(provider.GetEntropyForTrial(trial_name, 0), 38 cached_provider.GetEntropyForTrial(trial_name, 0)); 45 const std::string trial_name = local 47 EXPECT_EQ(provider.GetEntropyForTrial(trial_name, 0), 48 cached_provider.GetEntropyForTrial(trial_name, 0));
|
/external/chromium_org/components/variations/ |
variations_associated_data.cc | 105 bool AssociateVariationParams(const std::string& trial_name, 110 if (IsFieldTrialActive(trial_name)) 113 const VariationKey key(trial_name, group_name); 121 bool GetVariationParams(const std::string& trial_name, 126 base::FieldTrialList::FindFullName(trial_name); 127 const VariationKey key(trial_name, group_name); 148 bool IsFieldTrialActive(const std::string& trial_name) { 152 if (active_groups[i].trial_name == trial_name) 166 ActiveGroupId MakeActiveGroupId(const std::string& trial_name, [all...] |
variations_associated_data.h | 57 ActiveGroupId MakeActiveGroupId(const std::string& trial_name, 87 // collection |key|. If an id was previously set for |trial_name| and 88 // |group_name|, this does nothing. The group is denoted by |trial_name| and 94 const std::string& trial_name, 100 const std::string& trial_name, 105 // group for collection |key|. The group is denoted by |trial_name| and 111 const std::string& trial_name, 115 // specified by |trial_name| and |group_name|. Fails and returns false if the 118 bool AssociateVariationParams(const std::string& trial_name, 129 bool GetVariationParams(const std::string& trial_name, [all...] |
variations_associated_data_unittest.cc | 21 return GetGoogleVariationID(key, trial->trial_name(), trial->group_name()); 25 bool IsFieldTrialActive(const std::string& trial_name) { 29 if (active_groups[i].trial_name == trial_name) 37 const std::string& trial_name, 42 trial_name, total_probability, default_group_name, 89 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial->trial_name(), 91 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial->trial_name(), 107 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_true->trial_name(), 109 AssociateGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_true->trial_name(), [all...] |
entropy_provider.cc | 66 const std::string& trial_name, 70 // combination of the original |entropy_source_| and the |trial_name|. 74 // distribution given the same |trial_name|. When using such a low entropy 76 std::string input(entropy_source_ + trial_name); 103 const std::string& trial_name, 106 randomization_seed = HashName(trial_name);
|
entropy_provider_unittest.cc | 46 // Computes SHA1-based entropy for the given |trial_name| based on 49 const std::string& trial_name) { 51 return sha1_provider.GetEntropyForTrial(trial_name, 0); 54 // Generates permutation-based entropy for the given |trial_name| based on 58 const std::string& trial_name) { 60 return permuted_provider.GetEntropyForTrial(trial_name, 0); 79 explicit SHA1EntropyGenerator(const std::string& trial_name) 80 : trial_name_(trial_name) { 106 explicit PermutedEntropyGenerator(const std::string& trial_name) 111 const uint32 randomization_seed = HashName(trial_name); [all...] |
entropy_provider.h | 54 virtual double GetEntropyForTrial(const std::string& trial_name, 77 virtual double GetEntropyForTrial(const std::string& trial_name,
|
variations_seed_processor.cc | 62 const std::string& trial_name) { 67 trial_name, 75 trial_name,
|
variations_seed_processor_unittest.cc | 67 bool IsFieldTrialActive(const std::string& trial_name) { 71 if (active_groups[i].trial_name == trial_name)
|
/external/chromium_org/chrome/browser/android/ |
field_trial_helper.cc | 19 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); 22 base::FieldTrialList::FindFullName(trial_name)).Release();
|
/external/chromium_org/chrome/browser/ |
chrome_browser_field_trials_mobile.cc | 25 const char* trial_name, 38 trial_name, 48 VLOG(1) << trial_name << " enabled group id: " << kEnabledGroup
|
/external/chromium_org/base/metrics/ |
field_trial.cc | 161 const std::string& trial_name, 165 return new FieldTrial(trial_name, total_probability, default_group_name, 169 FieldTrial::FieldTrial(const std::string& trial_name, 173 : trial_name_(trial_name), 220 active_group->trial_name = trial_name_; 265 const std::string& trial_name, 274 trial_name, total_probability, default_group_name, 280 const std::string& trial_name, 292 FieldTrial* existing_trial = Find(trial_name); 324 GetEntropyForTrial(trial_name, randomization_seed) [all...] |
field_trial_unittest.cc | 23 const std::string& trial_name, 28 trial_name, total_probability, default_group_name, 57 const std::string& trial_name() const { return trial_name_; } function in class:base::__anon3564::TestFieldTrialObserver 88 EXPECT_EQ(name1, trial1->trial_name()); 98 EXPECT_EQ(name2, trial2->trial_name()); 277 EXPECT_EQ(one_winner, active_group.trial_name); 291 EXPECT_EQ(multi_group, active_group.trial_name); 300 EXPECT_NE(no_group, active_groups[i].trial_name); 301 EXPECT_TRUE(one_winner != active_groups[i].trial_name || 303 EXPECT_TRUE(multi_group != active_groups[i].trial_name || [all...] |
field_trial.h | 95 // used in preference to |trial_name| for generating the entropy by entropy 97 // value given the same input |trial_name| and |randomization_seed| values. 98 virtual double GetEntropyForTrial(const std::string& trial_name, 104 std::string trial_name; member in struct:base::FieldTrial::ActiveGroup 130 const std::string& trial_name() const { return trial_name_; } function in class:base::FieldTrial 167 const std::string& trial_name, 203 FieldTrial(const std::string& trial_name, 312 virtual void OnFieldTrialGroupFinalized(const std::string& trial_name, 337 // AppendGroup returns the number of the subsequence groups. |trial_name| and 349 const std::string& trial_name, [all...] |
/external/chromium_org/chrome/common/metrics/variations/ |
variations_util_unittest.cc | 43 active_group.trial_name = trial_one; 47 active_group.trial_name = trial_two;
|
uniformity_field_trials.cc | 36 const std::string trial_name = base::StringPrintf(trial_name_string.c_str(), local 39 DVLOG(1) << "Trial name = " << trial_name; 43 trial_name, divisor, kDefaultGroupName, 2015, 1, 1, 45 AssociateGoogleVariationID(GOOGLE_UPDATE_SERVICE, trial_name, 56 GOOGLE_UPDATE_SERVICE, trial_name, group_name,
|
variations_util.cc | 25 name_group_ids->push_back(MakeActiveGroupId(it->trial_name,
|
experiment_labels.cc | 54 it->trial_name, it->group_name);
|
experiment_labels_unittest.cc | 65 group.trial_name = group_data[j];
|
/external/chromium_org/chrome/browser/metrics/variations/ |
variations_http_header_provider.h | 69 // This will add the variation ID associated with |trial_name| and 72 const std::string& trial_name,
|
variations_http_header_provider.cc | 86 const std::string& trial_name, 89 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_name, group_name); 116 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, it->trial_name,
|
/external/chromium/base/metrics/ |
field_trial.cc | 106 const std::string& trial_name) { 109 return big_string.append(FieldTrialList::FindFullName(trial_name));
|
/external/chromium_org/chrome/browser/omnibox/ |
omnibox_field_trial.cc | 149 const std::string& trial_name = DynamicFieldTrialName(i); local 150 if (base::FieldTrialList::TrialExists(trial_name)) 151 field_trial_hashes->push_back(metrics::HashName(trial_name));
|
/external/chromium_org/chrome/browser/metrics/ |
metrics_service_unittest.cc | 103 const std::string& trial_name, 105 uint32 trial_name_hash = metrics::HashName(trial_name);
|
/external/chromium_org/chrome/browser/ui/webui/ |
version_handler.cc | 97 std::string line = active_groups[i].trial_name + ":" +
|