HomeSort by relevance Sort by last modified time
    Searched refs:study (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/components/variations/
processed_study.cc 10 #include "components/variations/proto/study.pb.h"
16 // Validates the sanity of |study| and computes the total probability.
18 const Study& study,
20 // At the moment, a missing default_experiment_name makes the study invalid.
21 if (study.default_experiment_name().empty()) {
22 DVLOG(1) << study.name() << " has no default experiment defined.";
25 if (study.filter().has_min_version() &&
26 !Version::IsValidWildcardString(study.filter().min_version())) {
27 DVLOG(1) << study.name() << " has invalid min version:
    [all...]
variations_seed_simulator_unittest.cc 11 #include "components/variations/proto/study.pb.h"
50 // Creates a study with the given |study_name| and |consistency|.
51 Study CreateStudy(const std::string& study_name,
53 Study study; local
54 study.set_name(study_name);
55 study.set_consistency(consistency);
56 return study;
59 // Adds an experiment to |study| with the specified |experiment_name| and
60 // |probability| values and sets it as the study's default experiment
150 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
168 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
188 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
209 Study study = CreateStudy("A", Study_Consistency_SESSION); local
231 Study study = CreateStudy("A", Study_Consistency_SESSION); local
242 Study study = CreateStudy("A", Study_Consistency_SESSION); local
263 Study study = CreateStudy("A", Study_Consistency_SESSION); local
290 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
316 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
343 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
363 Study study = CreateStudy("A", Study_Consistency_PERMANENT); local
    [all...]
variations_seed_processor_unittest.cc 19 // Converts |time| to Study proto format.
34 // Adds an experiment to |study| with the specified |name| and |probability|.
36 Study* study) {
37 Study_Experiment* experiment = study->add_experiment();
43 // Populates |study| with test data used for testing associating command line
44 // flags with trials groups. The study will contain three groups, a default
47 Study CreateStudyWithFlagGroups(int default_group_probability,
53 Study study; local
109 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
127 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
139 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
152 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
164 Study study = CreateStudyWithFlagGroups(1, 999, 999); local
217 Study study; local
263 Study study; local
285 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
349 Study study = CreateStudyWithFlagGroups(100, 0, 0); local
    [all...]
processed_study.h 14 class Study;
16 // Wrapper over Study with extra information computed during pre-processing,
17 // such as whether the study is expired and its total probability.
23 bool Init(const Study* study, bool is_expired);
25 const Study* study() const { return study_; } function in class:chrome_variations::ProcessedStudy
34 const Study* study,
39 // Corresponding Study object. Weak reference
    [all...]
variations_seed_processor.cc 20 void RegisterExperimentParams(const Study& study,
28 AssociateVariationParams(study.name(), experiment.name(), params);
87 const Study& study = *processed_study.study(); local
92 for (int i = 0; i < study.experiment_size(); ++i) {
93 const Study_Experiment& experiment = study.experiment(i);
97 base::FieldTrialList::CreateFieldTrial(study.name(),
99 RegisterExperimentParams(study, experiment)
    [all...]
variations_seed_simulator.cc 11 #include "components/variations/proto/study.pb.h"
28 // Simulate group assignment for the specified study with PERMANENT consistency.
34 const Study& study = *processed_study.study(); local
35 DCHECK_EQ(Study_Consistency_PERMANENT, study.consistency());
38 entropy_provider.GetEntropyForTrial(study.name(),
39 study.randomization_seed());
42 study.name(), processed_study.total_probability(),
43 study.default_experiment_name(), entropy_value))
133 const Study& study = *processed_studies[i].study(); local
203 const Study& study = *processed_study.study(); local
226 const Study& study = *processed_study.study(); local
    [all...]
study_filtering.cc 33 // Converts |date_time| in Study date format to base::Time.
152 bool IsStudyExpired(const Study& study, const base::Time& date_time) {
153 if (study.has_expiry_date()) {
155 ConvertStudyDateToBaseTime(study.expiry_date());
163 const Study& study,
170 if (study.has_filter()) {
171 if (!CheckStudyChannel(study.filter(), channel)) {
172 DVLOG(1) << "Filtered out study " << study.name() << " due to channel."
236 const Study& study = seed.study(i); local
    [all...]
study_filtering_unittest.cc 17 // Converts |time| to Study proto format.
22 // Adds an experiment to |study| with the specified |name| and |probability|.
24 Study* study) {
25 Study_Experiment* experiment = study->add_experiment();
381 Study* study1 = seed.add_study();
387 Study* study2 = seed.add_study();
390 ASSERT_EQ(seed.study(0).name(), seed.study(1).name());
392 Study* study3 = seed.add_study()
422 Study study; local
436 Study study; local
    [all...]
study_filtering.h 15 #include "components/variations/proto/study.pb.h"
23 // Checks whether a study is applicable for the given |channel| per |filter|.
26 // Checks whether a study is applicable for the given |form_factor| per
31 // Checks whether a study is applicable for the given |hardware_class| per
36 // Checks whether a study is applicable for the given |locale| per |filter|.
39 // Checks whether a study is applicable for the given |platform| per |filter|.
42 // Checks whether a study is applicable for the given date/time per |filter|.
46 // Checks whether a study is applicable for the given version per |filter|.
50 // Checks whether |study| is expired using the given date/time.
51 bool IsStudyExpired(const Study& study, const base::Time& date_time)
    [all...]
variations_seed_processor.h 16 #include "components/variations/proto/study.pb.h"
59 // Check if the |study| is only associated with platform Android/iOS and
62 bool AllowVariationIdWithForcingFlag(const Study& study);
  /external/chromium_org/chrome/browser/metrics/variations/
variations_seed_store_unittest.cc 13 #include "components/variations/proto/study.pb.h"
43 // study called "test", which contains one experiment called "abc" with
44 // probability weight 100. |seed|'s study field will be cleared before adding
45 // the new study.
48 Study* study = seed.add_study(); local
49 study->set_name("test");
50 study->set_default_experiment_name("abc");
51 Study_Experiment* experiment = study->add_experiment();
variations_service_unittest.cc 18 #include "components/variations/proto/study.pb.h"
86 // study called "test", which contains one experiment called "abc" with
87 // probability weight 100. |seed|'s study field will be cleared before adding
88 // the new study.
91 Study* study = seed.add_study(); local
92 study->set_name("test");
93 study->set_default_experiment_name("abc");
94 Study_Experiment* experiment = study->add_experiment();
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
grammar.rb 71 study
260 def study method in class:ANTLR3.Test.Grammar
282 study
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
task.rb 263 study
402 def study method in class:ANTLR3
433 study
  /prebuilts/misc/common/swig/include/2.0.11/perl5/
perlkw.swg 37 PERLBN(study);
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
Ruby.stg     [all...]

Completed in 120 milliseconds