/system/core/libcutils/ |
D | properties.cpp | 33 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/bt/osi/src/ |
D | properties.cc | 23 int osi_property_get(const char* key, char* value, const char* default_value) { in osi_property_get() argument 27 if (!default_value) return len; in osi_property_get() 29 len = strlen(default_value); in osi_property_get() 32 memcpy(value, default_value, len); in osi_property_get() 36 return property_get(key, value, default_value); in osi_property_get() 48 int32_t osi_property_get_int32(const char* key, int32_t default_value) { in osi_property_get_int32() argument 50 return default_value; in osi_property_get_int32() 52 return property_get_int32(key, default_value); in osi_property_get_int32()
|
/system/extras/simpleperf/scripts/ |
D | profile_pb2.py | 39 has_default_value=False, default_value=[], 46 has_default_value=False, default_value=[], 53 has_default_value=False, default_value=[], 60 has_default_value=False, default_value=[], 67 has_default_value=False, default_value=[], 74 has_default_value=False, default_value=[], 81 has_default_value=False, default_value=0, 88 has_default_value=False, default_value=0, 95 has_default_value=False, default_value=0, 102 has_default_value=False, default_value=0, [all …]
|
/system/update_engine/scripts/update_payload/ |
D | update_metadata_pb2.py | 84 has_default_value=False, default_value=0, 91 has_default_value=False, default_value=0, 119 has_default_value=False, default_value=0, 126 has_default_value=False, default_value="", 153 has_default_value=False, default_value=[], 181 has_default_value=False, default_value=0, 188 has_default_value=False, default_value="", 216 has_default_value=False, default_value=unicode("", "utf-8"), 223 has_default_value=False, default_value=unicode("", "utf-8"), 230 has_default_value=False, default_value=unicode("", "utf-8"), [all …]
|
/system/core/libcutils/include/cutils/ |
D | properties.h | 46 int property_get(const char *key, char *value, const char *default_value) 67 int8_t property_get_bool(const char *key, int8_t default_value); 88 int64_t property_get_int64(const char *key, int64_t default_value); 109 int32_t property_get_int32(const char *key, int32_t default_value); 132 int property_get(const char *key, char *value, const char *default_value) 150 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 155 return __property_get_real(key, value, default_value); in property_get()
|
/system/core/libcutils/include_vndk/cutils/ |
D | properties.h | 46 int property_get(const char *key, char *value, const char *default_value) 67 int8_t property_get_bool(const char *key, int8_t default_value); 88 int64_t property_get_int64(const char *key, int64_t default_value); 109 int32_t property_get_int32(const char *key, int32_t default_value); 132 int property_get(const char *key, char *value, const char *default_value) 150 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 155 return __property_get_real(key, value, default_value); in property_get()
|
/system/core/base/ |
D | properties.cpp | 35 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() argument 37 if (pi == nullptr) return default_value; in GetProperty() 45 return default_value; in GetProperty() 48 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() argument 55 return default_value; in GetBoolProperty() 59 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() argument 63 return default_value; in GetIntProperty() 67 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() argument 71 return default_value; in GetUintProperty()
|
D | properties_test.cpp | 54 static void CheckGetBoolProperty(bool expected, const std::string& value, bool default_value) { in CheckGetBoolProperty() argument 56 ASSERT_EQ(expected, android::base::GetBoolProperty("debug.libbase.property_test", default_value)); in CheckGetBoolProperty()
|
/system/core/base/include/android-base/ |
D | properties.h | 35 std::string GetProperty(const std::string& key, const std::string& default_value); 39 bool GetBoolProperty(const std::string& key, bool default_value); 45 T default_value, 53 T default_value,
|
/system/core/debuggerd/libdebuggerd/test/ |
D | property_fake.cpp | 34 extern "C" int property_get(const char* key, char* value, const char* default_value) { in property_get() argument 36 if (default_value == nullptr) { in property_get() 39 strncpy(value, default_value, PROP_VALUE_MAX-1); in property_get()
|
/system/bt/osi/include/ |
D | properties.h | 34 int osi_property_get(const char* key, char* value, const char* default_value); 45 int32_t osi_property_get_int32(const char* key, int32_t default_value);
|
/system/extras/perfprofd/ |
D | configreader.cc | 127 unsigned default_value, in addUnsignedEntry() argument 141 u_entries[ks] = default_value; in addUnsignedEntry() 144 void ConfigReader::addStringEntry(const char *key, const char *default_value) in addStringEntry() argument 152 if (default_value == nullptr) { in addStringEntry() 156 s_entries[ks] = std::string(default_value); in addStringEntry()
|
D | configreader.h | 53 unsigned default_value, 56 void addStringEntry(const char *key, const char *default_value);
|
/system/update_engine/ |
D | image_properties_android.cc | 50 const std::string& default_value) { in GetStringWithDefault() argument 55 << default_value; in GetStringWithDefault() 56 return default_value; in GetStringWithDefault()
|
D | image_properties_chromeos.cc | 51 const std::string& default_value) { in GetStringWithDefault() argument 56 << default_value; in GetStringWithDefault() 57 return default_value; in GetStringWithDefault()
|
D | omaha_request_action.h | 47 const std::string& default_value);
|
D | omaha_request_action.cc | 513 string XmlEncodeWithDefault(const string& input, const string& default_value) { in XmlEncodeWithDefault() argument 517 return default_value; in XmlEncodeWithDefault()
|
/system/core/debuggerd/libdebuggerd/include/ |
D | utility.h | 86 void read_with_default(const char* path, char* buf, size_t len, const char* default_value);
|
/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 207 void read_with_default(const char* path, char* buf, size_t len, const char* default_value) { argument 221 strcpy(buf, default_value);
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 224 local default_value="${3:-}" 232 echo "${default_value}"
|
/system/core/init/ |
D | init.cpp | 472 const char *default_value; in export_kernel_boot_props() member 483 … property_set(prop_map[i].dst_prop, (!value.empty()) ? value.c_str() : prop_map[i].default_value); in export_kernel_boot_props()
|
/system/media/audio/include/system/ |
D | audio.h | 339 int default_value; /* default gain value in millibels */ member
|