Searched refs:default_value (Results 1 - 8 of 8) sorted by relevance

/system/core/include/cutils/
H A 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) { argument
124 return __property_get_real(key, value, default_value);
/system/core/libcutils/
H A Dproperties.c33 int8_t property_get_bool(const char *key, int8_t default_value) { argument
35 return default_value;
38 int8_t result = default_value;
62 intmax_t default_value) {
64 return default_value;
67 intmax_t result = default_value;
80 result = default_value;
81 ALOGV("%s(%s,%" PRIdMAX ") - overflow", __FUNCTION__, key, default_value);
84 result = default_value;
85 ALOGV("%s(%s,%" PRIdMAX ") - out of range", __FUNCTION__, key, default_value);
61 property_get_imax(const char *key, intmax_t lower_bound, intmax_t upper_bound, intmax_t default_value) argument
99 property_get_int64(const char *key, int64_t default_value) argument
103 property_get_int32(const char *key, int32_t default_value) argument
115 property_get(const char *key, char *value, const char *default_value) argument
[all...]
/system/core/debuggerd/test/
H A Dproperty_fake.cpp34 extern "C" int property_get(const char* key, char* value, const char* default_value) { argument
36 if (default_value == nullptr) {
39 strncpy(value, default_value, PROP_VALUE_MAX-1);
/system/extras/ext4_utils/
H A Dunencrypted_properties.h31 template<typename t> t Get(const char* name, t default_value = t()) const;
52 t default_value) const
54 if (!OK()) return default_value;
55 t value = default_value;
71 std::string default_value) const;
H A Dunencrypted_properties.cpp39 std::string default_value) const
41 if (!OK()) return default_value;
44 return default_value;
51 return default_value;
57 return default_value;
/system/extras/perfprofd/
H A Dperfprofdcore.cc129 unsigned default_value,
132 void addStringEntry(const char *key, const char *default_value);
219 unsigned default_value,
233 u_entries[ks] = default_value;
236 void ConfigReader::addStringEntry(const char *key, const char *default_value) argument
244 if (default_value == nullptr) {
248 s_entries[ks] = std::string(default_value);
218 addUnsignedEntry(const char *key, unsigned default_value, unsigned min_value, unsigned max_value) argument
/system/core/init/
H A Dinit.cpp800 const char *default_value; member in struct:__anon1399
812 property_set(prop_map[i].dst_prop, (rc > 0) ? value : prop_map[i].default_value);
/system/media/audio/include/system/
H A Daudio.h858 int default_value; /* default gain value in millibels */ member in struct:audio_gain

Completed in 2278 milliseconds