/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/iorap/src/common/ |
D | property.h | 27 inline bool IsTracingEnabled(const std::string& default_value) { in IsTracingEnabled() argument 31 ::android::base::GetProperty("iorapd.perfetto.enable", default_value)) == "true"; in IsTracingEnabled() 34 inline bool IsReadAheadEnabled(const std::string& default_value) { in IsReadAheadEnabled() argument 38 ::android::base::GetProperty("iorapd.readahead.enable", default_value)) == "true"; in IsReadAheadEnabled() 41 inline bool ExcludeDexFiles(bool default_value) { in ExcludeDexFiles() argument 42 return ::android::base::GetBoolProperty("iorapd.exclude_dex_files", default_value); in ExcludeDexFiles()
|
/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_outside_system/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 | 115 has_default_value=False, default_value=0, 122 has_default_value=False, default_value=0, 153 has_default_value=False, default_value=0, 160 has_default_value=False, default_value=_b(""), 167 has_default_value=False, default_value=0, 197 has_default_value=False, default_value=[], 228 has_default_value=False, default_value=0, 235 has_default_value=False, default_value=_b(""), 266 has_default_value=False, default_value=_b("").decode('utf-8'), 273 has_default_value=False, default_value=_b("").decode('utf-8'), [all …]
|
/system/extras/profcollectd/libprofcollectd/ |
D | config.rs | 104 fn get_device_config<T>(key: &str, default_value: T) -> Result<T> in get_device_config() 109 let default_value = default_value.to_string(); in get_device_config() localVariable 113 &default_value, in get_device_config() 118 fn get_property<T>(key: &str, default_value: T) -> Result<T> in get_property() 123 let default_value = default_value.to_string(); in get_property() localVariable 124 let value = profcollect_libbase_rust::GetProperty(&key, &default_value); in get_property()
|
/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()
|
/system/extras/profcollectd/libprofcollectd/bindings/libflags/ |
D | get_flags.cpp | 21 rust::Str experiment_flag_name, rust::Str default_value) { in GetServerConfigurableFlag() argument 24 std::string(default_value)); in GetServerConfigurableFlag()
|
D | lib.rs | 35 default_value: &str, in GetServerConfigurableFlag()
|
/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/extras/profcollectd/libprofcollectd/bindings/libbase/ |
D | properties.cpp | 20 rust::String GetProperty(rust::Str key, rust::Str default_value) { in GetProperty() argument 21 return android::base::GetProperty(std::string(key), std::string(default_value)); in GetProperty()
|
D | lib.rs | 29 fn GetProperty(key: &str, default_value: &str) -> String; in GetProperty()
|
/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 | 68 std::string default_value); 70 static unsigned getUnsigned(const std::string& key, unsigned default_value);
|
/system/bt/gd/rust/facade/src/ |
D | main.rs | 36 .default_value("8897") in async_main() 39 .arg(Arg::with_name("grpc-port").long("grpc-port").default_value("8899").takes_value(true)) in async_main() 43 .default_value("8895") in async_main()
|
/system/update_engine/cros/ |
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()
|
/system/linkerconfig/contents/context/ |
D | context.cc | 105 std::string Var(const std::string& name, const std::string& default_value) { in Var() argument 110 return default_value; in Var()
|
/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/linkerconfig/contents/include/linkerconfig/ |
D | context.h | 79 std::string Var(const std::string& name, const std::string& default_value);
|