/external/chromium_org/components/variations/ |
D | variations_associated_data.cc | 105 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 …]
|
D | variations_associated_data.h | 57 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,
|
D | variations_associated_data_unittest.cc | 21 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 …]
|
D | entropy_provider_unittest.cc | 49 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()
|
D | entropy_provider.cc | 66 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()
|
D | entropy_provider.h | 54 virtual double GetEntropyForTrial(const std::string& trial_name, 77 virtual double GetEntropyForTrial(const std::string& trial_name,
|
D | variations_seed_processor.cc | 62 const std::string& trial_name) { in RegisterVariationIds() argument 67 trial_name, in RegisterVariationIds() 75 trial_name, in RegisterVariationIds()
|
/external/chromium_org/chrome/common/metrics/ |
D | caching_permuted_entropy_provider_unittest.cc | 35 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/ |
D | field_trial.cc | 161 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 …]
|
D | field_trial.h | 98 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,
|
D | field_trial_unittest.cc | 23 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/ |
D | uniformity_field_trials.cc | 36 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()
|
D | variations_util_unittest.cc | 43 active_group.trial_name = trial_one; in TEST_F() 47 active_group.trial_name = trial_two; in TEST_F()
|
D | variations_util.cc | 25 name_group_ids->push_back(MakeActiveGroupId(it->trial_name, in GetFieldTrialActiveGroupIdsForActiveGroups()
|
D | experiment_labels.cc | 54 it->trial_name, it->group_name); in BuildGoogleUpdateExperimentLabel()
|
D | experiment_labels_unittest.cc | 65 group.trial_name = group_data[j]; in TEST()
|
/external/chromium_org/chrome/browser/ |
D | chrome_browser_field_trials_mobile.cc | 25 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/ |
D | field_trial_helper.cc | 19 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/ |
D | variations_http_header_provider.cc | 86 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()
|
D | variations_http_header_provider.h | 72 const std::string& trial_name,
|
/external/chromium_org/chrome/browser/omnibox/ |
D | omnibox_field_trial.cc | 149 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/ |
D | field_trial.cc | 106 const std::string& trial_name) { in MakeName() argument 109 return big_string.append(FieldTrialList::FindFullName(trial_name)); in MakeName()
|
D | field_trial.h | 140 const std::string& trial_name);
|
/external/chromium_org/chrome/browser/metrics/ |
D | metrics_service_unittest.cc | 103 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/ |
D | version_handler.cc | 97 std::string line = active_groups[i].trial_name + ":" + in HandleRequestVersionInfo()
|