/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 | 31 int osi_property_get(const char* key, char* value, const char* default_value) { in osi_property_get() argument 35 if (!default_value) return len; in osi_property_get() 37 len = strlen(default_value); in osi_property_get() 40 memcpy(value, default_value, len); in osi_property_get() 44 return property_get(key, value, default_value); in osi_property_get() 56 int32_t osi_property_get_int32(const char* key, int32_t default_value) { in osi_property_get_int32() argument 58 return default_value; in osi_property_get_int32() 60 return property_get_int32(key, default_value); in osi_property_get_int32() 64 bool osi_property_get_bool(const char* key, bool default_value) { in osi_property_get_bool() argument 66 return default_value; in osi_property_get_bool() [all …]
|
/system/update_engine/scripts/update_payload/ |
D | update_metadata_pb2.py | 88 has_default_value=False, default_value=0, 95 has_default_value=False, default_value=0, 123 has_default_value=False, default_value=0, 130 has_default_value=False, default_value="", 157 has_default_value=False, default_value=[], 185 has_default_value=False, default_value=0, 192 has_default_value=False, default_value="", 220 has_default_value=False, default_value=unicode("", "utf-8"), 227 has_default_value=False, default_value=unicode("", "utf-8"), 234 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); 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); 120 int property_get(const char* key, char* value, const char* default_value) 133 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 138 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); 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); 120 int property_get(const char* key, char* value, const char* default_value) 133 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 138 return __property_get_real(key, value, default_value); in property_get()
|
/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/core/init/ |
D | host_init_stubs.cpp | 27 std::string GetProperty(const std::string&, const std::string& default_value) { in GetProperty() argument 28 return default_value; in GetProperty() 31 bool GetBoolProperty(const std::string&, bool default_value) { in GetBoolProperty() argument 32 return default_value; in GetBoolProperty()
|
D | host_init_stubs.h | 36 std::string GetProperty(const std::string& key, const std::string& default_value); 37 bool GetBoolProperty(const std::string& key, bool default_value); 39 T GetIntProperty(const std::string&, T default_value, T = std::numeric_limits<T>::min(), 41 return default_value;
|
D | init.cpp | 378 const char *default_value; in export_kernel_boot_props() member 389 property_set(prop_map[i].dst_prop, (!value.empty()) ? value : prop_map[i].default_value); in export_kernel_boot_props()
|
/system/bt/osi/include/ |
D | properties.h | 32 int osi_property_get(const char* key, char* value, const char* default_value); 43 int32_t osi_property_get_int32(const char* key, int32_t default_value); 50 bool osi_property_get_bool(const char* key, bool default_value);
|
/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/base/ |
D | properties.cpp | 34 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() argument 36 if (pi == nullptr) return default_value; in GetProperty() 49 return property_value.empty() ? default_value : property_value; in GetProperty() 52 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() argument 59 return default_value; in GetBoolProperty() 63 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() argument 67 return default_value; in GetIntProperty() 71 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() argument 75 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/nfc/src/adaptation/ |
D | nfc_config.cc | 79 std::string default_value) { in getString() argument 81 return default_value; in getString() 89 unsigned default_value) { in getUnsigned() argument 91 return default_value; in getUnsigned()
|
/system/extras/perfprofd/ |
D | configreader.h | 60 unsigned default_value, 63 void addStringEntry(const char *key, const char *default_value);
|
D | configreader.cc | 152 unsigned default_value, in addUnsignedEntry() argument 164 u_entries[ks] = default_value; in addUnsignedEntry() 167 void ConfigReader::addStringEntry(const char *key, const char *default_value) in addStringEntry() argument 173 CHECK(default_value != nullptr) << "internal error -- bad default value for key " << key; in addStringEntry() 174 s_entries[ks] = std::string(default_value); in addStringEntry()
|
/system/nfc/src/include/ |
D | nfc_config.h | 60 std::string default_value); 62 static unsigned getUnsigned(const std::string& key, unsigned default_value);
|
/system/extras/libperfmgr/tools/ |
D | ConfigVerifier.cc | 49 std::string default_value = values[node->GetDefaultIndex()]; in VerifyNodes() local 51 values.insert(values.begin(), default_value); in VerifyNodes() 53 values.push_back(default_value); in VerifyNodes()
|
/system/update_engine/ |
D | image_properties_chromeos.cc | 52 const std::string& default_value) { in GetStringWithDefault() argument 57 << default_value; in GetStringWithDefault() 58 return default_value; in GetStringWithDefault()
|
D | image_properties_android.cc | 71 const string& default_value) { in GetStringWithDefault() argument 76 << default_value; in GetStringWithDefault() 77 return default_value; in GetStringWithDefault()
|
D | omaha_request_action.h | 47 const std::string& default_value);
|
/system/core/toolbox/ |
D | getprop.cpp | 73 void PrintProperty(const char* name, const char* default_value, ResultType result_type) { in PrintProperty() argument 76 std::cout << GetProperty(name, default_value) << std::endl; in PrintProperty()
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | utility.h | 73 void read_with_default(const char* path, char* buf, size_t len, const char* default_value);
|
/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 225 void read_with_default(const char* path, char* buf, size_t len, const char* default_value) { argument 239 strcpy(buf, default_value);
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 258 local default_value="${3:-}" 266 echo "${default_value}"
|