Home
last modified time | relevance | path

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

12

/external/chromium_org/components/variations/
Dvariations_associated_data.cc119 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 …]
Dcaching_permuted_entropy_provider_unittest.cc35 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()
Dvariations_associated_data.h75 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,
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.cc80 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()
Dactive_field_trials.cc24 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()
Dvariations_seed_processor.cc34 const std::string& trial_name) { in RegisterVariationIds() argument
39 trial_name, in RegisterVariationIds()
47 trial_name, in RegisterVariationIds()
55 trial_name, in RegisterVariationIds()
Dentropy_provider.h54 virtual double GetEntropyForTrial(const std::string& trial_name,
77 virtual double GetEntropyForTrial(const std::string& trial_name,
Dactive_field_trials_unittest.cc21 active_group.trial_name = trial_one; in TEST()
25 active_group.trial_name = trial_two; in TEST()
Dvariations_seed_simulator_unittest.cc28 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()
Dactive_field_trials.h23 ActiveGroupId MakeActiveGroupId(const std::string& trial_name,
Dvariations_seed_processor_unittest.cc67 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/
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_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::__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 …]
Dfield_trial.h99 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/
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()
/external/chromium_org/chrome/browser/
Dchrome_browser_field_trials_mobile.cc29 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/
Dvariations_http_header_provider.cc122 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()
Dvariations_http_header_provider_unittest.cc42 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/
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/third_party/webrtc/test/
Dfield_trial.cc32 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/
Dinitialize_module.cc50 std::string FindFullName(const std::string& trial_name) { in FindFullName() argument
51 return g_field_trial_find_(trial_name); in FindFullName()
Dinit_webrtc.cc51 std::string FindFullName(const std::string& trial_name) { in FindFullName() argument
52 return base::FieldTrialList::FindFullName(trial_name); in FindFullName()
Dinit_webrtc.h26 typedef std::string (*FieldTrialFindFullName)(const std::string& trial_name);

12