HomeSort by relevance Sort by last modified time
    Searched refs:trial (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/chromium_org/chrome/browser/
chrome_browser_field_trials_desktop.cc 38 // Create a 100% field trial based on the brand code.
53 scoped_refptr<base::FieldTrial> trial(
57 trial->AppendGroup("Yes", infinite_cache_probability);
58 trial->AppendGroup("Control", infinite_cache_probability);
62 // This trial is created by the VariationsService, but it needs to be disabled
64 base::FieldTrial* trial = base::FieldTrialList::Find("ShowProfileSwitcher"); local
65 if (trial && !profiles::IsMultipleProfilesEnabled())
66 trial->Disable();
79 // Initialize the field trial. We declare all of the groups here (so that
83 scoped_refptr<base::FieldTrial> trial(
    [all...]
chrome_browser_field_trials_mobile.cc 23 // Base function used by all data reduction proxy field trials. A trial is
40 scoped_refptr<base::FieldTrial> trial(
47 trial->AppendGroup(
51 trial->group();
58 // server. When this trial is "Enabled," users get a promo, whereas
chrome_elf_init_unittest_win.cc 63 // Ensure that the default trial sets up the blacklist beacons.
90 // Create the field trial with the blacklist disabled group.
94 scoped_refptr<base::FieldTrial> trial(
159 // Create the field trial with the blacklist enabled group.
163 scoped_refptr<base::FieldTrial> trial(base::FieldTrialList::CreateFieldTrial(
166 // Set up the trial with the desired parameters.
  /frameworks/wilhelm/tools/hashgen/
part8.c 5 SLInterfaceID trial = &SL_IID_array[MPH]; variable
6 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_)))
  /external/icu/icu4c/source/layout/
LookupTables.cpp 35 LEReferenceTo<LookupSegment> trial(entry, success, extra);
39 if (SWAPW(trial->lastGlyph) <= ttGlyph) {
40 entry = trial;
45 trial = entry; // copy
46 trial.addOffset(probe, success);
48 if (SWAPW(trial->lastGlyph) <= ttGlyph) {
49 entry = trial;
67 LEReferenceTo<LookupSingle> trial(entry, success, extra);
69 if (SWAPW(trial->glyph) <= ttGlyph) {
70 entry = trial;
    [all...]
PairPositioningSubtables.cpp 153 const PairValueRecord *trial = (const PairValueRecord *) ((char *) record + extra);
155 if (SWAPW(trial->secondGlyph) <= glyphID) {
156 record = trial;
161 trial = (const PairValueRecord *) ((char *) record + probe);
163 if (SWAPW(trial->secondGlyph) <= glyphID) {
164 record = trial;
  /external/chromium_org/base/metrics/
field_trial_unittest.cc 51 virtual void OnFieldTrialGroupFinalized(const std::string& trial,
53 trial_name_ = trial;
142 scoped_refptr<FieldTrial> trial; local
146 std::string name = StringPrintf("trial%d", ++counter);
147 trial = CreateFieldTrial(name, 10, winner, &default_group_number);
148 trial->AppendGroup(loser, 5); // 50% chance of not being chosen.
150 } while (trial->group_ != FieldTrial::kNotFinalized);
153 EXPECT_EQ(default_group_number, trial->group());
156 EXPECT_EQ(winner, trial->group_name());
171 scoped_refptr<FieldTrial> trial local
195 scoped_refptr<FieldTrial> trial = local
219 scoped_refptr<FieldTrial> trial = local
251 FieldTrial* trial = FieldTrialList::FactoryGetFieldTrial( local
266 scoped_refptr<FieldTrial> trial = local
318 scoped_refptr<FieldTrial> trial = local
351 scoped_refptr<FieldTrial> trial = local
398 FieldTrial* trial = FieldTrialList::Find("Some_name"); local
399 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
404 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
414 FieldTrial* trial = FieldTrialList::Find("tname"); local
415 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
433 scoped_refptr<FieldTrial> trial = local
554 FieldTrial* trial = FieldTrialList::Find("Foo"); local
555 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
560 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
570 FieldTrial* trial = FieldTrialList::Find("Some_name"); local
571 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
588 scoped_refptr<FieldTrial> trial = local
603 scoped_refptr<FieldTrial> trial = local
611 scoped_refptr<FieldTrial> trial = local
698 scoped_refptr<FieldTrial> trial = local
712 scoped_refptr<FieldTrial> trial = local
827 scoped_refptr<FieldTrial> trial = local
846 scoped_refptr<FieldTrial> trial = local
870 scoped_refptr<FieldTrial> trial = local
894 scoped_refptr<FieldTrial> trial = local
916 scoped_refptr<FieldTrial> trial = local
    [all...]
field_trial.cc 83 // the trial to the default group.
101 // forced trial, it will not have the same value as the default group
203 DVLOG(1) << "Field trial: " << trial_name_ << " Group choice:" << group_name_;
291 // Check if the field trial has already been created in some other way.
295 // If the default group name differs between the existing forced trial
296 // and this trial, then use a different value for the default group number.
300 // chosen for the forced trial (which has been finalized when it was
429 FieldTrial* trial = CreateFieldTrial(name, group_name); local
430 if (!trial)
433 // Call |group()| to mark the trial as "used" and notify observers, i
    [all...]
  /external/chromium_org/chrome/common/variations/
uniformity_field_trials.cc 29 // A uniformity trial used to compare one-time-randomized and
33 // Set up a uniformity field trial. |one_time_randomized| indicates if the
34 // field trial is one-time randomized or session-randomized. |trial_name_string|
36 // the trial name. |num_trial_groups| must be a divisor of 100 (e.g. 5, 20)
53 DVLOG(1) << "Trial name = " << trial_name;
55 scoped_refptr<base::FieldTrial> trial(
63 // Loop starts with group 1 because the field trial automatically creates a
69 trial->AppendGroup(group_name, kProbabilityPerGroup);
75 // Now that all groups have been appended, call group() on the trial to
76 // ensure that our trial is registered. This resolves an off-by-one issu
108 base::FieldTrial* trial = local
    [all...]
  /external/chromium_org/chrome/browser/predictors/
resource_prefetch_common.cc 60 std::string trial = base::FieldTrialList::FindFullName( local
63 if (trial == "LearningHost") {
66 } else if (trial == "LearningURL") {
69 } else if (trial == "Learning") {
73 } else if (trial == "PrefetchingHost") {
77 } else if (trial == "PrefetchingURL") {
81 } else if (trial == "Prefetching") {
87 } else if (trial == "PrefetchingLowConfidence") {
97 } else if (trial == "PrefetchingHighConfidence") {
107 } else if (trial == "PrefetchingMoreResources")
    [all...]
  /external/chromium_org/chrome/browser/chromeos/
external_metrics.cc 51 // Establishes field trial for wifi scanning in chromeos. crbug.com/242733.
58 scoped_refptr<base::FieldTrial> trial = local
66 group_to_char[trial->AppendGroup("FullScan", 0)] = "c";
67 group_to_char[trial->AppendGroup("33Percent_4MinMax", 0)] = "1";
68 group_to_char[trial->AppendGroup("50Percent_4MinMax", 0)] = "2";
69 group_to_char[trial->AppendGroup("50Percent_8MinMax", 0)] = "3";
70 group_to_char[trial->AppendGroup("100Percent_8MinMax", 0)] = "4";
71 group_to_char[trial->AppendGroup("100Percent_1MinSeen_A", 0)] = "5";
72 group_to_char[trial->AppendGroup("100Percent_1MinSeen_B", 0)] = "6";
73 group_to_char[trial->AppendGroup("100Percent_1Min_4Max", 0)] = "7"
    [all...]
  /external/chromium_org/components/variations/
variations_associated_data_unittest.cc 18 // Note that this will do the group assignment in |trial| if not already done.
19 VariationID GetIDForTrial(IDCollectionKey key, base::FieldTrial* trial) {
20 return GetGoogleVariationID(key, trial->trial_name(), trial->group_name());
23 // Tests whether a field trial is active (i.e. group() has been called on it).
66 // Test that if the trial is immediately disabled, GetGoogleVariationID just
70 scoped_refptr<base::FieldTrial> trial(
71 CreateFieldTrial("trial", 100, "default", &default_group_number));
73 ASSERT_EQ(default_group_number, trial->group());
74 ASSERT_EQ(EMPTY_ID, GetIDForTrial(GOOGLE_WEB_PROPERTIES, trial.get()))
    [all...]
variations_seed_processor.cc 111 scoped_refptr<base::FieldTrial> trial(
114 // If |trial| is NULL, then there might already be a trial forced to a
118 if (!trial.get())
124 trial->group();
129 DVLOG(1) << "Trial " << study.name() << " forced by flag: "
145 // The trial is created without specifying an expiration date because the
148 scoped_refptr<base::FieldTrial> trial(
161 // Therefore, there's no need to add them to the field trial.
166 trial->AppendGroup(experiment.name(), experiment.probability_weight())
    [all...]
variations_http_header_provider_unittest.cc 45 scoped_refptr<base::FieldTrial> trial(
48 AssociateGoogleVariationID(key, trial->trial_name(), trial->group_name(), id);
50 return trial;
variations_seed_simulator.cc 20 // map of trial names to group names.
40 scoped_refptr<base::FieldTrial> trial(
52 trial->AppendGroup(experiment.name(), experiment.probability_weight());
56 trial->Disable();
57 return trial->group_name();
72 // equal to the params registered for the corresponding field trial in the
140 // 1) There's an existing field trial with this name but it is not active.
141 // 2) There's an existing expired field trial with this name, which is
  /frameworks/wilhelm/src/autogen/
IID_to_MPH.c 324 SLInterfaceID trial = &SL_IID_array[MPH]; local
325 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_)))
  /external/chromium_org/chrome/browser/prerender/
prerender_field_trial.cc 157 scoped_refptr<FieldTrial> trial(
163 trial->AppendGroup("PrerenderControl",
166 trial->AppendGroup("PrerenderMulti",
169 trial->AppendGroup("Prerender15minTTL",
172 trial->AppendGroup("PrerenderNoUse",
175 trial->AppendGroup("MatchComplete",
178 const int trial_group = trial->group();
253 // Field trial to see if we're enabled.
278 // Override any field trial groups if the user has set a command line flag.
300 PrerenderLocalPredictorSpec is a field trial, and its value must have th
    [all...]
  /external/chromium_org/third_party/icu/source/test/perf/howExpensiveIs/
howExpensiveIs.cpp 173 fprintf(stderr, "trial: %d/%d = %.9fs\n", i, ITERATIONS,times[i]);
299 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); local
300 if(U_SUCCESS(setupStatus) && trial!=fExpect) {
303 fFile,fLine,getName(),trial,fExpect);
308 double trial=0.0; local
311 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus);
428 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); local
430 || trial!=fLen
431 ||trial<=0
432 || u_strncmp(fStr,buf,trial) ) {
442 int32_t trial; local
505 int32_t trial = unum_formatInt64(fFmt,fExpect, buf, 100, NULL, &setupStatus); local
519 int32_t trial; local
600 int32_t trial; local
    [all...]
  /external/icu/icu4c/source/test/perf/howExpensiveIs/
howExpensiveIs.cpp 177 fprintf(stderr, "trial: %d/%d = %.9fs\n", i, ITERATIONS,times[i]);
303 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); local
304 if(U_SUCCESS(setupStatus) && trial!=fExpect) {
307 fFile,fLine,getName(),trial,fExpect);
312 double trial=0.0; local
315 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus);
432 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); local
434 || trial!=fLen
435 ||trial<=0
436 || u_strncmp(fStr,buf,trial) ) {
446 int32_t trial; local
556 int32_t trial = unum_formatInt64(fFmt,fExpect, buf, 100, NULL, &setupStatus); local
570 int32_t trial; local
663 int32_t trial; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/
extension_install_prompt_experiment.cc 177 base::FieldTrial* trial = base::FieldTrialList::Find(kExperimentName); local
180 if (trial) {
182 base::SplitString(trial->group_name().c_str(), '_', &tokens);
  /external/chromium_org/third_party/libwebp/enc/
alpha.c 240 FilterTrial trial; local
243 &trial);
244 if (ok && trial.score < best.score) {
246 best = trial;
248 VP8BitWriterWipeOut(&trial.bw);
  /external/webp/src/enc/
alpha.c 240 FilterTrial trial; local
243 &trial);
244 if (ok && trial.score < best.score) {
246 best = trial;
248 VP8BitWriterWipeOut(&trial.bw);
  /external/chromium_org/chrome/browser/prefs/
chrome_pref_service_factory.cc 261 // Use the strongest enforcement setting in the absence of a field trial
273 base::FieldTrial* trial = local
276 if (trial) {
277 const std::string& group_name = trial->group_name();
  /external/chromium_org/chrome/renderer/
chrome_render_process_observer.cc 366 base::FieldTrial* trial = local
369 CHECK(trial) << field_trial_name << ":" << group_name;
370 // Ensure the trial is marked as "used" by calling group() on it. This is
371 // needed to ensure the trial is properly reported in renderer crash reports.
372 trial->group();
  /external/chromium_org/components/omnibox/
omnibox_field_trial_unittest.cc 36 // Creates and activates a field trial.
39 base::FieldTrial* trial = base::FieldTrialList::CreateFieldTrial( local
41 trial->group();
42 return trial;
45 // Add a field trial disabling ZeroSuggest.
95 // Test if GetDisabledProviderTypes() properly parses various field trial
113 SCOPED_TRACE("Valid group name, unsupported trial name.");
130 // Test if InZeroSuggestFieldTrial() properly parses various field trial
149 SCOPED_TRACE("Bundled field trial parameters.");

Completed in 1094 milliseconds

1 2 3