Home
last modified time | relevance | path

Searched refs:GetFieldTrialParamByFeatureAsDouble (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Dfield_trial_params_unittest.cc335 EXPECT_EQ(1, GetFieldTrialParamByFeatureAsDouble(kFeature, "a", 0)); in TEST_F()
336 EXPECT_EQ(1.5, GetFieldTrialParamByFeatureAsDouble(kFeature, "b", 0)); in TEST_F()
337 EXPECT_EQ(1.0e-10, GetFieldTrialParamByFeatureAsDouble(kFeature, "c", 0)); in TEST_F()
339 GetFieldTrialParamByFeatureAsDouble(kFeature, "d", 0)); // invalid in TEST_F()
340 EXPECT_EQ(0, GetFieldTrialParamByFeatureAsDouble(kFeature, "e", 0)); // empty in TEST_F()
341 EXPECT_EQ(0, GetFieldTrialParamByFeatureAsDouble(kFeature, "f", 0)); // empty in TEST_F()
Dfield_trial_params.cc82 double GetFieldTrialParamByFeatureAsDouble(const base::Feature& feature, in GetFieldTrialParamByFeatureAsDouble() function
127 return GetFieldTrialParamByFeatureAsDouble(*feature, name, default_value); in Get()
Dfield_trial_params.h79 BASE_EXPORT double GetFieldTrialParamByFeatureAsDouble(
/external/cronet/base/metrics/
Dfield_trial_params_unittest.cc325 EXPECT_EQ(1, GetFieldTrialParamByFeatureAsDouble(kFeature, "a", 0)); in TEST_F()
326 EXPECT_EQ(1.5, GetFieldTrialParamByFeatureAsDouble(kFeature, "b", 0)); in TEST_F()
327 EXPECT_EQ(1.0e-10, GetFieldTrialParamByFeatureAsDouble(kFeature, "c", 0)); in TEST_F()
329 GetFieldTrialParamByFeatureAsDouble(kFeature, "d", 0)); // invalid in TEST_F()
330 EXPECT_EQ(0, GetFieldTrialParamByFeatureAsDouble(kFeature, "e", 0)); // empty in TEST_F()
331 EXPECT_EQ(0, GetFieldTrialParamByFeatureAsDouble(kFeature, "f", 0)); // empty in TEST_F()
Dfield_trial_params.cc169 double GetFieldTrialParamByFeatureAsDouble(const Feature& feature, in GetFieldTrialParamByFeatureAsDouble() function
228 return GetFieldTrialParamByFeatureAsDouble(*feature, name, default_value); in Get()
Dfield_trial_params.h97 BASE_EXPORT double GetFieldTrialParamByFeatureAsDouble(