Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 25 of 39) 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()
Dcontrol_test.cpp191 uint8_t default_value = 123; in TEST_F() local
193 .WillOnce(DoAll(SetArgPointee<1>(default_value), Return(0))); in TEST_F()
198 ExpectMetadataEq(metadata, delegate_tag_, default_value); in TEST_F()
241 uint8_t default_value = 123; in TEST_F() local
244 .WillOnce(DoAll(SetArgPointee<1>(default_value), Return(0))); in TEST_F()
249 ExpectMetadataEq(metadata, delegate_tag_, default_value); in TEST_F()
Dcontrol_options_interface.h39 virtual int DefaultValueForTemplate(int template_type, T* default_value);
Dpartial_metadata_factory.h45 int32_t delegate_tag, T default_value);
114 T default_value) { in NoEffectOptionlessControl() argument
120 std::make_unique<NoEffectControlDelegate<T>>(default_value)), in NoEffectOptionlessControl()
/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/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/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/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/sm8150/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/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/include/
Dloc_stub_property_service.h36 int property_get(const char *key, char *value, const char *default_value);
/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/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/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/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);
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.cpp215 result->default_value = static_cast<uint32_t>(query.default_value); in QueryControl()
218 result->default_value = query.default_value; in QueryControl()

12