Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 25 of 43) sorted by relevance

12

/hardware/libhardware/modules/camera/3_4/metadata/
Dslider_control_options.h50 T* default_value) override { in DefaultValueForTemplate() argument
56 if (defaults_->DefaultValueForTemplate(template_type, default_value)) { in DefaultValueForTemplate()
58 if (*default_value < min_) { in DefaultValueForTemplate()
59 *default_value = min_; in DefaultValueForTemplate()
60 } else if (*default_value > max_) { in DefaultValueForTemplate()
61 *default_value = max_; in DefaultValueForTemplate()
67 *default_value = min_; in DefaultValueForTemplate()
Dmenu_control_options.h46 T* default_value) override { in DefaultValueForTemplate() argument
54 if (defaults_->DefaultValueForTemplate(template_type, default_value) && in DefaultValueForTemplate()
55 IsSupported(*default_value)) { in DefaultValueForTemplate()
60 *default_value = options_[0]; in DefaultValueForTemplate()
Ddefault_option_delegate.h40 virtual bool DefaultValueForTemplate(int template_type, T* default_value) { in DefaultValueForTemplate() argument
43 *default_value = defaults_[template_type]; in DefaultValueForTemplate()
47 *default_value = defaults_[OTHER_TEMPLATES]; in DefaultValueForTemplate()
Dno_effect_control_delegate.h29 NoEffectControlDelegate(T default_value) : value_(default_value){}; in NoEffectControlDelegate() argument
Dtagged_control_options.h50 T* default_value) override { in DefaultValueForTemplate() argument
51 return options_->DefaultValueForTemplate(template_type, default_value); in DefaultValueForTemplate()
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dese_config.cpp68 std::string default_value) { in getString() argument
70 return default_value; in getString()
78 unsigned default_value) { in getUnsigned() argument
80 return default_value; in getUnsigned()
Dese_config.h44 std::string default_value);
46 static unsigned getUnsigned(const std::string& key, unsigned default_value);
/hardware/st/secure_element/ese-spi-driver/utils-lib/
Dese_config.cc70 std::string default_value) { in getString() argument
72 return default_value; in getString()
80 unsigned default_value) { in getUnsigned() argument
82 return default_value; in getUnsigned()
Dese_config.h37 std::string default_value);
39 static unsigned getUnsigned(const std::string& key, unsigned default_value);
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/src/
Dplatform_lib_property_service.cpp36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value) in platform_lib_abstraction_property_get() argument
38 return property_get(key, value, default_value); in platform_lib_abstraction_property_get()
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/
Dplatform_lib_property_service.cpp36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value) in platform_lib_abstraction_property_get() argument
38 return property_get(key, value, default_value); in platform_lib_abstraction_property_get()
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/
Dplatform_lib_property_service.cpp36 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value) in platform_lib_abstraction_property_get() argument
38 return property_get(key, value, default_value); in platform_lib_abstraction_property_get()
/hardware/qcom/sm8150p/gps/pla/oe/
Dloc_pla.h89 inline int property_get(const char* key, char* value, const char* default_value) in property_get() argument
91 strlcpy(value, default_value, PROPERTY_VALUE_MAX - 1); in property_get()
/hardware/qcom/sm7150/gps/pla/oe/
Dloc_pla.h96 inline int property_get(const char* key, char* value, const char* default_value) in property_get() argument
98 strlcpy(value, default_value, PROPERTY_VALUE_MAX - 1); in property_get()
/hardware/qcom/sm8150/gps/pla/oe/
Dloc_pla.h96 inline int property_get(const char* key, char* value, const char* default_value) in property_get() argument
98 strlcpy(value, default_value, PROPERTY_VALUE_MAX - 1); in property_get()
/hardware/interfaces/bluetooth/1.0/default/test/
Dproperties.cc66 int property_get(const char* key, char* value, const char* default_value) { in property_get() argument
68 if (default_value != NULL) ALOGE("%s: default_value is ignored!", __func__); in property_get()
/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp32 virtual int GetIntProperty(const std::string &key, int default_value, int min, int max);
33 virtual bool GetBoolProperty(const std::string &key, bool default_value);
45 MOCK_METHOD4(GetIntProperty, int(const std::string &key, int default_value, int min, int max));
46 MOCK_METHOD2(GetBoolProperty, bool(const std::string &key, bool default_value));
66 T GetIntProperty(const std::string &key, T default_value, T min, T max) { in GetIntProperty() argument
67 return (T)(mock->GetIntProperty(key, default_value, min, max)); in GetIntProperty()
70 bool GetBoolProperty(const std::string &key, bool default_value) { in GetBoolProperty() argument
71 return mock->GetBoolProperty(key, default_value); in GetBoolProperty()
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_property_service.cpp33 int property_get(const char *key, char * value, const char *default_value) in property_get() argument
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/loc_stub/include/
Dloc_stub_property_service.h36 int property_get(const char *key, char *value, const char *default_value);
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_property_service.cpp33 int property_get(const char *key, char * value, const char *default_value) in property_get() argument
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_stub/include/
Dloc_stub_property_service.h36 int property_get(const char *key, char *value, const char *default_value);
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/include/
Dloc_stub_property_service.h36 int property_get(const char *key, char *value, const char *default_value);
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/
Dplatform_lib_property_service.h38 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value);
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/
Dplatform_lib_property_service.h38 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value);
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/include/
Dplatform_lib_property_service.h38 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value);

12