Home
last modified time | relevance | path

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

/system/core/libcutils/
Dproperties.c33 int8_t property_get_bool(const char *key, int8_t default_value) { in property_get_bool() argument
35 return default_value; in property_get_bool()
38 int8_t result = default_value; in property_get_bool()
62 intmax_t default_value) { in property_get_imax() argument
64 return default_value; in property_get_imax()
67 intmax_t result = default_value; in property_get_imax()
80 result = default_value; in property_get_imax()
81 ALOGV("%s(%s,%" PRIdMAX ") - overflow", __FUNCTION__, key, default_value); in property_get_imax()
84 result = default_value; in property_get_imax()
85 ALOGV("%s(%s,%" PRIdMAX ") - out of range", __FUNCTION__, key, default_value); in property_get_imax()
[all …]
/system/core/include/cutils/
Dproperties.h46 int property_get(const char *key, char *value, const char *default_value);
62 int8_t property_get_bool(const char *key, int8_t default_value);
83 int64_t property_get_int64(const char *key, int64_t default_value);
104 int32_t property_get_int32(const char *key, int32_t default_value);
119 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument
124 return __property_get_real(key, value, default_value); in property_get()
/system/core/toolbox/
Dgetprop.c39 char *default_value; in getprop_main() local
41 default_value = argv[2]; in getprop_main()
43 default_value = ""; in getprop_main()
46 property_get(argv[1], value, default_value); in getprop_main()
/system/core/include/system/
Daudio.h823 int default_value; /* default gain value in millibels */ member