/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 | 27 int8_t property_get_bool(const char* key, int8_t default_value) { in property_get_bool() argument 28 if (!key) return default_value; in property_get_bool() 30 int8_t result = default_value; in property_get_bool() 53 static T property_get_int(const char* key, T default_value) { in property_get_int() argument 54 if (!key) return default_value; in property_get_int() 57 if (property_get(key, value, "") < 1) return default_value; in property_get_int() 60 T result = default_value; in property_get_int() 73 int64_t property_get_int64(const char* key, int64_t default_value) { in property_get_int64() argument 74 return property_get_int<int64_t>(key, default_value); in property_get_int64() 77 int32_t property_get_int32(const char* key, int32_t default_value) { in property_get_int32() argument [all …]
|
/system/core/libcutils/include/cutils/ |
D | properties.h | 49 int property_get(const char* key, char* value, const char* default_value); 65 int8_t property_get_bool(const char *key, int8_t default_value); 86 int64_t property_get_int64(const char *key, int64_t default_value); 107 int32_t property_get_int32(const char *key, int32_t default_value); 123 int property_get(const char* key, char* value, const char* default_value) 136 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 141 return __property_get_real(key, value, default_value); in property_get()
|
/system/core/libcutils/include_vndk/cutils/ |
D | properties.h | 49 int property_get(const char* key, char* value, const char* default_value); 65 int8_t property_get_bool(const char *key, int8_t default_value); 86 int64_t property_get_int64(const char *key, int64_t default_value); 107 int32_t property_get_int32(const char *key, int32_t default_value); 123 int property_get(const char* key, char* value, const char* default_value) 136 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument 141 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/update_engine/scripts/update_payload/ |
D | update_metadata_pb2.py | 97 has_default_value=False, default_value=0, 104 has_default_value=False, default_value=0, 135 has_default_value=False, default_value=0, 142 has_default_value=False, default_value=_b(""), 149 has_default_value=False, default_value=0, 179 has_default_value=False, default_value=[], 210 has_default_value=False, default_value=0, 217 has_default_value=False, default_value=_b(""), 248 has_default_value=False, default_value=_b("").decode('utf-8'), 255 has_default_value=False, default_value=_b("").decode('utf-8'), [all …]
|
/system/core/fs_mgr/liblp/ |
D | property_fetcher.cpp | 26 std::string PropertyFetcher::GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() argument 27 return android::base::GetProperty(key, default_value); in GetProperty() 30 bool PropertyFetcher::GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() argument 31 return android::base::GetBoolProperty(key, default_value); in GetBoolProperty()
|
/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/libbase/include/android-base/ |
D | properties.h | 33 std::string GetProperty(const std::string& key, const std::string& default_value); 37 bool GetBoolProperty(const std::string& key, bool default_value); 43 T default_value, 51 T default_value,
|
/system/libbase/ |
D | properties.cpp | 71 bool GetBoolProperty(const std::string& key, bool default_value) { in GetBoolProperty() argument 74 return default_value; in GetBoolProperty() 84 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() argument 88 return default_value; in GetIntProperty() 92 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() argument 96 return default_value; in GetUintProperty() 109 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() argument 113 if (pi == nullptr) return default_value; in GetProperty() 124 if (it == g_properties.end()) return default_value; in GetProperty() 130 return property_value.empty() ? default_value : property_value; in GetProperty()
|
D | properties_test.cpp | 83 static void CheckGetBoolProperty(bool expected, const std::string& value, bool default_value) { in CheckGetBoolProperty() argument 85 ASSERT_EQ(expected, android::base::GetBoolProperty("debug.libbase.property_test", default_value)); in CheckGetBoolProperty()
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 100 std::string default_value) { in getString() argument 102 return default_value; in getString() 110 unsigned default_value) { in getUnsigned() argument 112 return default_value; in getUnsigned()
|
/system/server_configurable_flags/libflags/ |
D | server_configurable_flags.cc | 126 const std::string& default_value) { in GetServerConfigurableFlag() argument 129 return default_value; in GetServerConfigurableFlag() 133 return default_value; in GetServerConfigurableFlag() 136 MakeSystemPropertyName(experiment_category_name, experiment_flag_name), default_value); in GetServerConfigurableFlag()
|
/system/nfc/src/include/ |
D | nfc_config.h | 65 std::string default_value); 67 static unsigned getUnsigned(const std::string& key, unsigned default_value);
|
/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_builder_xml.h | 100 const std::string& default_value = "");
|
D | omaha_request_builder_xml.cc | 81 string XmlEncodeWithDefault(const string& input, const string& default_value) { in XmlEncodeWithDefault() argument 85 return default_value; in XmlEncodeWithDefault()
|
/system/server_configurable_flags/libflags/include/server_configurable_flags/ |
D | get_flags.h | 30 const std::string& default_value);
|
/system/linkerconfig/contents/context/ |
D | context.cc | 111 std::string Var(const std::string& name, const std::string& default_value) { in Var() argument 116 return default_value; in Var()
|
/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/linkerconfig/contents/include/linkerconfig/ |
D | context.h | 89 std::string Var(const std::string& name, const std::string& default_value);
|
/system/core/logd/ |
D | main.cpp | 118 bool default_value = in GetBoolPropertyEngSvelteDefault() local 121 return GetBoolProperty(name, default_value); in GetBoolPropertyEngSvelteDefault()
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 285 local default_value="${3:-}" 293 echo "${default_value}"
|
/system/core/init/ |
D | reboot.cpp | 757 std::chrono::milliseconds default_value) { in GetMillisProperty() argument 758 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
|