/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/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/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/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/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/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/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 | 30 std::string GetProperty(const std::string& key, const std::string& default_value); 34 bool GetBoolProperty(const std::string& key, bool default_value); 40 T default_value, 48 T default_value,
|
/system/core/base/ |
D | properties.cpp | 36 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() argument 43 return default_value; in GetBoolProperty() 47 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() argument 51 return default_value; in GetIntProperty() 55 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() argument 59 return default_value; in GetUintProperty() 80 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() argument 84 if (pi == nullptr) return default_value; in GetProperty() 94 if (it == g_properties.end()) return default_value; in GetProperty() 100 return property_value.empty() ? default_value : property_value; in GetProperty()
|
D | properties_test.cpp | 56 static void CheckGetBoolProperty(bool expected, const std::string& value, bool default_value) { in CheckGetBoolProperty() argument 58 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/server_configurable_flags/libflags/ |
D | server_configurable_flags.cc | 118 const std::string& default_value) { in GetServerConfigurableFlag() argument 121 return default_value; in GetServerConfigurableFlag() 125 return default_value; in GetServerConfigurableFlag() 128 MakeSystemPropertyName(experiment_category_name, experiment_flag_name), default_value); in GetServerConfigurableFlag()
|
/system/extras/perfprofd/ |
D | configreader.h | 69 unsigned default_value, 72 void addStringEntry(const char *key, const char *default_value);
|
D | configreader.cc | 183 unsigned default_value, in addUnsignedEntry() argument 195 data_->u_entries[ks] = default_value; in addUnsignedEntry() 198 void ConfigReader::addStringEntry(const char *key, const char *default_value) in addStringEntry() argument 204 CHECK(default_value != nullptr) << "internal error -- bad default value for key " << key; in addStringEntry() 205 data_->s_entries[ks] = std::string(default_value); in addStringEntry()
|
/system/nfc/src/include/ |
D | nfc_config.h | 64 std::string default_value); 66 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 | 70 const string& default_value) { in GetStringWithDefault() argument 75 << default_value; in GetStringWithDefault() 76 return default_value; in GetStringWithDefault()
|
D | omaha_request_action.h | 51 const std::string& default_value);
|
/system/server_configurable_flags/libflags/include/server_configurable_flags/ |
D | get_flags.h | 30 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 | 84 void read_with_default(const char* path, char* buf, size_t len, const char* default_value);
|
/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 222 void read_with_default(const char* path, char* buf, size_t len, const char* default_value) { argument 236 strcpy(buf, default_value);
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 275 local default_value="${3:-}" 283 echo "${default_value}"
|
/system/core/init/ |
D | init.cpp | 401 const char *default_value; in export_kernel_boot_props() member 411 std::string value = GetProperty(prop.src_prop, prop.default_value); in export_kernel_boot_props()
|