/external/chromium_org/components/variations/ |
D | variations_associated_data.cc | 119 bool AssociateVariationParams(const std::string& trial_name, in AssociateVariationParams() argument 124 if (IsFieldTrialActive(trial_name)) in AssociateVariationParams() 127 const VariationKey key(trial_name, group_name); in AssociateVariationParams() 135 bool GetVariationParams(const std::string& trial_name, in GetVariationParams() argument 140 base::FieldTrialList::FindFullName(trial_name); in GetVariationParams() 141 const VariationKey key(trial_name, group_name); in GetVariationParams() 162 bool IsFieldTrialActive(const std::string& trial_name) { in IsFieldTrialActive() argument 166 if (active_groups[i].trial_name == trial_name) in IsFieldTrialActive() 181 const std::string& trial_name, in AssociateGoogleVariationID() argument 185 key, MakeActiveGroupId(trial_name, group_name), id, false); in AssociateGoogleVariationID() [all …]
|
D | caching_permuted_entropy_provider_unittest.cc | 35 const std::string trial_name = in TEST() local 37 EXPECT_DOUBLE_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_DOUBLE_EQ(provider.GetEntropyForTrial(trial_name, 0), in TEST() 48 cached_provider.GetEntropyForTrial(trial_name, 0)); in TEST()
|
D | variations_associated_data.h | 75 const std::string& trial_name, 81 const std::string& trial_name, 92 const std::string& trial_name, 99 bool AssociateVariationParams(const std::string& trial_name, 110 bool GetVariationParams(const std::string& trial_name, 120 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 | 80 const std::string& trial_name, in GetEntropyForTrial() argument 90 std::string input(entropy_source_ + trial_name); in GetEntropyForTrial() 117 const std::string& trial_name, in GetEntropyForTrial() argument 120 randomization_seed = HashName(trial_name); in GetEntropyForTrial()
|
D | active_field_trials.cc | 24 name_group_ids->push_back(MakeActiveGroupId(it->trial_name, in GetFieldTrialActiveGroupIdsForActiveGroups() 31 ActiveGroupId MakeActiveGroupId(const std::string& trial_name, in MakeActiveGroupId() argument 34 id.name = metrics::HashName(trial_name); in MakeActiveGroupId()
|
D | variations_seed_processor.cc | 34 const std::string& trial_name) { in RegisterVariationIds() argument 39 trial_name, in RegisterVariationIds() 47 trial_name, in RegisterVariationIds() 55 trial_name, in RegisterVariationIds()
|
D | entropy_provider.h | 54 virtual double GetEntropyForTrial(const std::string& trial_name, 77 virtual double GetEntropyForTrial(const std::string& trial_name,
|
D | active_field_trials_unittest.cc | 21 active_group.trial_name = trial_one; in TEST() 25 active_group.trial_name = trial_two; in TEST()
|
D | variations_seed_simulator_unittest.cc | 28 virtual double GetEntropyForTrial(const std::string& trial_name, in GetEntropyForTrial() argument 41 void CreateTrial(const std::string& trial_name, in CreateTrial() argument 44 base::FieldTrialList::CreateFieldTrial(trial_name, group_name); in CreateTrial() 46 AssociateVariationParams(trial_name, group_name, *params); in CreateTrial() 47 base::FieldTrialList::FindFullName(trial_name); in CreateTrial()
|
D | active_field_trials.h | 23 ActiveGroupId MakeActiveGroupId(const std::string& trial_name,
|
D | variations_seed_processor_unittest.cc | 67 bool IsFieldTrialActive(const std::string& trial_name) { in IsFieldTrialActive() argument 71 if (active_groups[i].trial_name == trial_name) in IsFieldTrialActive()
|
/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_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::__anon7d7b0b710111::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 …]
|
D | field_trial.h | 99 virtual double GetEntropyForTrial(const std::string& trial_name, 105 std::string trial_name; member 131 const std::string& trial_name() const { return trial_name_; } in trial_name() function 168 const std::string& trial_name, 204 FieldTrial(const std::string& trial_name, 313 virtual void OnFieldTrialGroupFinalized(const std::string& trial_name, 350 const std::string& trial_name, 367 const std::string& trial_name,
|
/external/chromium_org/chrome/common/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()
|
/external/chromium_org/chrome/browser/ |
D | chrome_browser_field_trials_mobile.cc | 29 const char* trial_name, in DataCompressionProxyBaseFieldTrial() argument 42 trial_name, in DataCompressionProxyBaseFieldTrial() 52 VLOG(1) << trial_name << " enabled group id: " << kEnabledGroup in DataCompressionProxyBaseFieldTrial()
|
/external/chromium_org/chrome/browser/metrics/variations/ |
D | variations_http_header_provider.cc | 122 const std::string& trial_name, in OnFieldTrialGroupFinalized() argument 125 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, trial_name, group_name); in OnFieldTrialGroupFinalized() 127 GOOGLE_WEB_PROPERTIES_TRIGGER, trial_name, group_name); in OnFieldTrialGroupFinalized() 158 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES, it->trial_name, in InitVariationIDsCacheIfNeeded() 164 GetGoogleVariationID(GOOGLE_WEB_PROPERTIES_TRIGGER, it->trial_name, in InitVariationIDsCacheIfNeeded()
|
D | variations_http_header_provider_unittest.cc | 42 const std::string& trial_name, in CreateTrialAndAssociateId() argument 47 base::FieldTrialList::CreateFieldTrial(trial_name, default_group_name)); in CreateTrialAndAssociateId() 49 chrome_variations::AssociateGoogleVariationID(key, trial->trial_name(), in CreateTrialAndAssociateId()
|
/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/third_party/webrtc/test/ |
D | field_trial.cc | 32 std::string FindFullName(const std::string& trial_name) { in FindFullName() argument 35 field_trials_.find(trial_name); in FindFullName()
|
/external/chromium_org/third_party/libjingle/overrides/ |
D | initialize_module.cc | 50 std::string FindFullName(const std::string& trial_name) { in FindFullName() argument 51 return g_field_trial_find_(trial_name); in FindFullName()
|
D | init_webrtc.cc | 51 std::string FindFullName(const std::string& trial_name) { in FindFullName() argument 52 return base::FieldTrialList::FindFullName(trial_name); in FindFullName()
|
D | init_webrtc.h | 26 typedef std::string (*FieldTrialFindFullName)(const std::string& trial_name);
|