Searched refs:GetFieldTrialParamByFeatureAsDouble (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/metrics/ |
D | field_trial_params_unittest.cc | 335 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()
|
D | field_trial_params.cc | 82 double GetFieldTrialParamByFeatureAsDouble(const base::Feature& feature, in GetFieldTrialParamByFeatureAsDouble() function 127 return GetFieldTrialParamByFeatureAsDouble(*feature, name, default_value); in Get()
|
D | field_trial_params.h | 79 BASE_EXPORT double GetFieldTrialParamByFeatureAsDouble(
|
/external/cronet/base/metrics/ |
D | field_trial_params_unittest.cc | 325 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()
|
D | field_trial_params.cc | 169 double GetFieldTrialParamByFeatureAsDouble(const Feature& feature, in GetFieldTrialParamByFeatureAsDouble() function 228 return GetFieldTrialParamByFeatureAsDouble(*feature, name, default_value); in Get()
|
D | field_trial_params.h | 97 BASE_EXPORT double GetFieldTrialParamByFeatureAsDouble(
|