Home
last modified time | relevance | path

Searched refs:experiment (Results 1 – 25 of 98) sorted by relevance

1234

/external/chromium_org/components/variations/
Dvariations_seed_processor.cc49 const Study_Experiment& experiment) { in RegisterExperimentParams() argument
51 for (int i = 0; i < experiment.param_size(); ++i) { in RegisterExperimentParams()
52 if (experiment.param(i).has_name() && experiment.param(i).has_value()) in RegisterExperimentParams()
53 params[experiment.param(i).name()] = experiment.param(i).value(); in RegisterExperimentParams()
56 AssociateVariationParams(study.name(), experiment.name(), params); in RegisterExperimentParams()
61 void RegisterVariationIds(const Study_Experiment& experiment, in RegisterVariationIds() argument
63 if (experiment.has_google_web_experiment_id()) { in RegisterVariationIds()
65 static_cast<VariationID>(experiment.google_web_experiment_id()); in RegisterVariationIds()
68 experiment.name(), in RegisterVariationIds()
71 if (experiment.has_google_update_experiment_id()) { in RegisterVariationIds()
[all …]
Dprocessed_study.cc44 if (study.experiment(i).name().empty()) { in ValidateStudyAndComputeTotalProbability()
48 if (!experiment_names.insert(study.experiment(i).name()).second) { in ValidateStudyAndComputeTotalProbability()
50 << study.experiment(i).name(); in ValidateStudyAndComputeTotalProbability()
54 if (!study.experiment(i).has_forcing_flag()) in ValidateStudyAndComputeTotalProbability()
55 divisor += study.experiment(i).probability_weight(); in ValidateStudyAndComputeTotalProbability()
56 if (study.experiment(i).name() == default_group_name) in ValidateStudyAndComputeTotalProbability()
/external/chromium_org/chrome/browser/resources/
Dflags.css94 #experiment-reset-all {
98 html[dir=rtl] #experiment-reset-all {
120 .experiment-unsupported > td,
121 .experiment-disabled > td {
126 .experiment-unsupported .experiment-name,
127 .experiment-disabled .experiment-name {
131 .experiment {
135 .experiment td {
140 /* Indent the text related to each experiment. */
141 .experiment-text {
[all …]
/external/chromium/chrome/browser/resources/net_internals/
Dtestview.js57 TestView.prototype.onStartedConnectionTestExperiment = function(experiment) { argument
81 addTextNode(experimentCell, 'Fetch ' + experiment.url);
83 if (experiment.proxy_settings_experiment ||
84 experiment.host_resolver_experiment) {
87 if (experiment.proxy_settings_experiment) {
89 addTextNode(li, experiment.proxy_settings_experiment);
92 if (experiment.host_resolver_experiment) {
94 addTextNode(li, experiment.host_resolver_experiment);
103 experiment, result) { argument
/external/chromium/chrome/browser/net/
Dconnection_tester.cc47 int Init(const ConnectionTester::Experiment& experiment) { in Init() argument
52 rv = CreateHostResolver(experiment.host_resolver_experiment, in Init()
60 rv = CreateProxyService(experiment.proxy_settings_experiment, in Init()
108 ConnectionTester::HostResolverExperiment experiment, in CreateHostResolver() argument
118 switch (experiment) { in CreateHostResolver()
143 ConnectionTester::ProxySettingsExperiment experiment, in CreateProxyConfigService() argument
146 switch (experiment) { in CreateProxyConfigService()
172 ConnectionTester::ProxySettingsExperiment experiment, in CreateProxyService() argument
176 int rv = CreateProxyConfigService(experiment, &config_service); in CreateProxyService()
256 void Run(const Experiment& experiment);
[all …]
Dconnection_tester.h113 const Experiment& experiment) = 0;
120 const Experiment& experiment,
142 ProxySettingsExperiment experiment);
144 HostResolverExperiment experiment);
Dconnection_tester_unittest.cc42 const ConnectionTester::Experiment& experiment) { in OnStartConnectionTestExperiment() argument
47 const ConnectionTester::Experiment& experiment, in OnCompletedConnectionTestExperiment() argument
/external/chromium_org/chrome/browser/resources/net_internals/
Dtest_view.js85 onStartedConnectionTestExperiment: function(experiment) { argument
109 addTextNode(experimentCell, 'Fetch ' + experiment.url);
111 if (experiment.proxy_settings_experiment ||
112 experiment.host_resolver_experiment) {
115 if (experiment.proxy_settings_experiment) {
117 addTextNode(li, experiment.proxy_settings_experiment);
120 if (experiment.host_resolver_experiment) {
122 addTextNode(li, experiment.host_resolver_experiment);
130 onCompletedConnectionTestExperiment: function(experiment, result) { argument
/external/chromium_org/chrome/browser/net/
Dconnection_tester.cc67 ConnectionTester::ProxySettingsExperiment experiment, in CreateProxyConfigService() argument
70 switch (experiment) { in CreateProxyConfigService()
89 int Init(const ConnectionTester::Experiment& experiment, in Init() argument
96 rv = CreateHostResolver(experiment.host_resolver_experiment, in Init()
104 rv = CreateProxyService(experiment.proxy_settings_experiment, in Init()
145 ConnectionTester::HostResolverExperiment experiment, in CreateHostResolver() argument
158 switch (experiment) { in CreateHostResolver()
180 ConnectionTester::ProxySettingsExperiment experiment, in CreateProxyService() argument
310 const Experiment& experiment,
315 void Run(const Experiment& experiment);
[all …]
Dconnection_tester.h111 const Experiment& experiment) = 0;
118 const Experiment& experiment,
144 ProxySettingsExperiment experiment);
146 HostResolverExperiment experiment);
Dconnection_tester_unittest.cc46 const ConnectionTester::Experiment& experiment) OVERRIDE { in OnStartConnectionTestExperiment() argument
51 const ConnectionTester::Experiment& experiment, in OnCompletedConnectionTestExperiment() argument
/external/chromium_org/chrome/browser/prerender/
Dprerender_histograms.cc92 experiment, HISTOGRAM) \ argument
93 PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, false, HISTOGRAM, \
96 #define PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, wash, HISTOGRAM, \ argument
104 std::string name = GetHistogramName(origin, experiment, wash, \
113 if (recording_experiment == kNoExperiment && experiment != kNoExperiment) \
114 recording_experiment = experiment; \
117 } else if (experiment != kNoExperiment && \
119 experiment != recording_experiment)) { \
134 } else if (experiment != kNoExperiment) { \
151 uint8 experiment = GetQueryStringBasedExperiment(url); in RecordPrerender() local
[all …]
/external/chromium_org/components/variations/proto/
Dstudy.proto39 // Name of the experiment that gets the default experience. This experiment
44 // An experiment within the study.
48 // A named parameter value for this experiment.
59 // The name of the experiment within the study.
63 // The cut of the total probability taken for this experiment (the x in
67 // Optional id used to uniquely identify this experiment for Google web
71 // Optional id used to uniquely identify this experiment for Google Update.
74 // Optional name of a Chrome flag that, when present, causes this experiment
76 // assigned to this experiment unless that flag is present in Chrome's
80 // Parameter values for this experiment.
[all …]
/external/chromium_org/chrome/installer/util/
Duser_experiment.cc278 bool CreateExperimentDetails(int flavor, ExperimentDetails* experiment) { in CreateExperimentDetails() argument
365 experiment->flavor = flavor; in CreateExperimentDetails()
366 experiment->heading = match.flavors[flavor].heading_id; in CreateExperimentDetails()
367 experiment->control_group = match.control_group; in CreateExperimentDetails()
369 experiment->prefix = prefix; in CreateExperimentDetails()
370 experiment->flags = match.flavors[flavor].flags; in CreateExperimentDetails()
406 ExperimentDetails experiment; in LaunchBrowserUserExperiment() local
407 if (!CreateExperimentDetails(-1, &experiment)) { in LaunchBrowserUserExperiment()
411 int flavor = experiment.flavor; in LaunchBrowserUserExperiment()
412 string16 base_group = experiment.prefix; in LaunchBrowserUserExperiment()
[all …]
/external/chromium_org/chrome/browser/
Dabout_flags_unittest.cc154 const Experiment& experiment = kExperiments[3]; in TEST_F() local
155 ASSERT_EQ(kFlags4, experiment.internal_name); in TEST_F()
158 SetExperimentEnabled(&flags_storage_, experiment.NameForChoice(2), true); in TEST_F()
163 SetExperimentEnabled(&flags_storage_, experiment.NameForChoice(0), true); in TEST_F()
381 const Experiment& experiment = kExperiments[3]; in TEST_F() local
382 ASSERT_EQ(kFlags4, experiment.internal_name); in TEST_F()
394 SetExperimentEnabled(&flags_storage_, experiment.NameForChoice(2), true); in TEST_F()
405 SetExperimentEnabled(&flags_storage_, experiment.NameForChoice(0), true); in TEST_F()
415 const Experiment& experiment = kExperiments[4]; in TEST_F() local
416 ASSERT_EQ(kFlags5, experiment.internal_name); in TEST_F()
[all …]
Dabout_flags.cc2026 bool SkipConditionalExperiment(const Experiment& experiment) { in SkipConditionalExperiment() argument
2027 if (experiment.internal_name == std::string("enable-enhanced-bookmarks")) { in SkipConditionalExperiment()
2064 Value* CreateChoiceData(const Experiment& experiment, in CreateChoiceData() argument
2066 DCHECK(experiment.type == Experiment::MULTI_VALUE || in CreateChoiceData()
2067 experiment.type == Experiment::ENABLE_DISABLE_VALUE); in CreateChoiceData()
2069 for (int i = 0; i < experiment.num_choices; ++i) { in CreateChoiceData()
2071 const std::string name = experiment.NameForChoice(i); in CreateChoiceData()
2073 value->SetString("description", experiment.DescriptionForChoice(i)); in CreateChoiceData()
2140 const Experiment& experiment = experiments[i]; in GetFlagsExperimentsData() local
2141 if (SkipConditionalExperiment(experiment)) in GetFlagsExperimentsData()
[all …]
/external/chromium/chrome/browser/
Dabout_flags.cc454 Value* CreateChoiceData(const Experiment& experiment, in CreateChoiceData() argument
456 DCHECK_EQ(Experiment::MULTI_VALUE, experiment.type); in CreateChoiceData()
458 for (int i = 0; i < experiment.num_choices; ++i) { in CreateChoiceData()
459 const Experiment::Choice& choice = experiment.choices[i]; in CreateChoiceData()
461 std::string name = NameForChoice(experiment, i); in CreateChoiceData()
485 const Experiment& experiment = experiments[i]; in GetFlagsExperimentsData() local
486 if (!(experiment.supported_platforms & current_platform)) in GetFlagsExperimentsData()
490 data->SetString("internal_name", experiment.internal_name); in GetFlagsExperimentsData()
492 l10n_util::GetStringUTF16(experiment.visible_name_id)); in GetFlagsExperimentsData()
495 experiment.visible_description_id)); in GetFlagsExperimentsData()
[all …]
/external/chromium_org/chrome/browser/prefetch/
Dprefetch_field_trial.cc15 std::string experiment = base::FieldTrialList::FindFullName("Prefetch"); in IsPrefetchEnabled() local
16 if (StartsWithASCII(experiment, "ExperimentYes", false)) in IsPrefetchEnabled()
/external/libvpx/libvpx/tools/
Dall_builds.py28 experiment = line[4:]
29 if experiment not in currently_broken:
30 experiments.append(experiment)
/external/chromium_org/chrome/browser/first_run/
Dtry_chrome_dialog_view.cc171 installer::ExperimentDetails experiment; in ShowModal() local
173 !installer::CreateExperimentDetails(flavor_, &experiment) || in ShowModal()
174 !experiment.heading) { in ShowModal()
179 l10n_util::GetStringUTF16(experiment.heading)); in ShowModal()
207 !!(experiment.flags & installer::kToastUiDontBugMeAsButton); in ShowModal()
218 if (experiment.flags & installer::kToastUiUninstall) { in ShowModal()
231 if (experiment.flags & installer::kToastUiMakeDefault) { in ShowModal()
262 if (experiment.flags & installer::kToastUiWhyLink) { in ShowModal()
/external/chromium_org/net/disk_cache/v3/
Dbackend_worker.cc80 if (header->experiment == disk_cache::EXPERIMENT_OLD_FILE1 || in InitExperiment()
81 header->experiment == disk_cache::EXPERIMENT_OLD_FILE2) { in InitExperiment()
89 header->experiment = disk_cache::EXPERIMENT_SIMPLE_CONTROL; in InitExperiment()
91 } else if (header->experiment != disk_cache::EXPERIMENT_SIMPLE_CONTROL) { in InitExperiment()
96 header->experiment = disk_cache::NO_EXPERIMENT; in InitExperiment()
162 if (data_->header.experiment != NO_EXPERIMENT && in SyncInit()
/external/chromium/chrome/browser/first_run/
Dtry_chrome_dialog_view.cc138 BrowserDistribution::UserExperiment experiment; in ShowModal() local
139 if (!dist->GetExperimentDetails(&experiment, version_) || in ShowModal()
140 !experiment.heading) { in ShowModal()
144 string16 heading = l10n_util::GetStringUTF16(experiment.heading); in ShowModal()
/external/chromium/net/disk_cache/
Dhistogram_macros.h104 #define CACHE_UMA(type, name, experiment, sample) {\ argument
105 const std::string my_name = BACKEND_OBJ->HistogramName(name, experiment);\
/external/chromium_org/net/disk_cache/
Dhistogram_macros.h103 #define CACHE_UMA(type, name, experiment, sample) {\ argument
104 const std::string my_name = BACKEND_OBJ->HistogramName(name, experiment);\
/external/chromium/chrome/browser/ui/webui/
Dnet_internals_ui.cc109 Value* ExperimentToValue(const ConnectionTester::Experiment& experiment) { in ExperimentToValue() argument
112 if (experiment.url.is_valid()) in ExperimentToValue()
113 dict->SetString("url", experiment.url.spec()); in ExperimentToValue()
117 experiment.proxy_settings_experiment)); in ExperimentToValue()
120 experiment.host_resolver_experiment)); in ExperimentToValue()
307 const ConnectionTester::Experiment& experiment);
309 const ConnectionTester::Experiment& experiment,
1380 const ConnectionTester::Experiment& experiment) { in OnStartConnectionTestExperiment() argument
1383 ExperimentToValue(experiment)); in OnStartConnectionTestExperiment()
1388 const ConnectionTester::Experiment& experiment, in OnCompletedConnectionTestExperiment() argument
[all …]

1234