/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_properties.h | 54 std::function<int(const char* key, char* value, const char* default_value)> 55 body{[this](const char* key, char* value, const char* default_value) { 58 int operator()(const char* key, char* value, const char* default_value) { in operator() 59 return body(key, value, default_value); in operator() 69 std::function<bool(const char* key, bool default_value)> body{ 70 [this](const char* key, bool default_value) { return return_value; }}; 71 bool operator()(const char* key, bool default_value) { in operator() 72 return body(key, default_value); in operator() 82 std::function<int32_t(const char* key, int32_t default_value)> body{ 83 [this](const char* key, int32_t default_value) { return return_value; }}; [all …]
|
D | mock_osi_properties.cc | 51 int osi_property_get(const char* key, char* value, const char* default_value) { in osi_property_get() argument 54 default_value); in osi_property_get() 56 bool osi_property_get_bool(const char* key, bool default_value) { in osi_property_get_bool() argument 58 return test::mock::osi_properties::osi_property_get_bool(key, default_value); in osi_property_get_bool() 60 int32_t osi_property_get_int32(const char* key, int32_t default_value) { in osi_property_get_int32() argument 62 return test::mock::osi_properties::osi_property_get_int32(key, default_value); in osi_property_get_int32()
|
/packages/modules/Bluetooth/system/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 …]
|
/packages/services/Car/tools/emulator/ |
D | VehicleHalProto_pb2.py | 200 has_default_value=False, default_value=0, 207 has_default_value=False, default_value=0, 214 has_default_value=False, default_value=0, 221 has_default_value=False, default_value=0, 228 has_default_value=False, default_value=0, 235 has_default_value=False, default_value=float(0), 242 has_default_value=False, default_value=float(0), 273 has_default_value=False, default_value=0, 280 has_default_value=False, default_value=0, 287 has_default_value=False, default_value=0, [all …]
|
/packages/modules/Bluetooth/system/gd/os/ |
D | system_properties_common.cc | 25 uint32_t GetSystemPropertyUint32(const std::string& property, uint32_t default_value) { in GetSystemPropertyUint32() argument 26 return GetSystemPropertyUint32Base(property, default_value, 10); in GetSystemPropertyUint32() 30 const std::string& property, uint32_t default_value, int base) { in GetSystemPropertyUint32Base() argument 35 return default_value; in GetSystemPropertyUint32Base() 38 bool GetSystemPropertyBool(const std::string& property, bool default_value) { in GetSystemPropertyBool() argument 49 return default_value; in GetSystemPropertyBool()
|
D | system_properties.h | 31 uint32_t GetSystemPropertyUint32(const std::string& property, uint32_t default_value); 37 const std::string& property, uint32_t default_value, int base = 0); 42 bool GetSystemPropertyBool(const std::string& property, bool default_value);
|
/packages/modules/Bluetooth/system/osi/include/ |
D | properties.h | 35 int osi_property_get(const char* key, char* value, const char* default_value); 46 int32_t osi_property_get_int32(const char* key, int32_t default_value); 53 bool osi_property_get_bool(const char* key, bool default_value);
|
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/ |
D | main.rs | 46 .arg(Arg::with_name("grpc-port").long("grpc-port").default_value("8899").takes_value(true)) in async_main() 50 .default_value("8897") in async_main() 56 .default_value("8895") in async_main() 66 .default_value("true") in async_main()
|
/packages/modules/Bluetooth/system/gd/rust/common/src/ |
D | init_flags.rs | 17 macro_rules! default_value { macro 85 $($flag : default_value!($($type)? $(= $default)?),)* 86 $($extra_field : default_value!($extra_field_type $(= $extra_default)?),)* 115 default_value!($($type)? $(= $default)?)}),)*
|
/packages/modules/Bluetooth/system/gd/rust/facade/src/ |
D | main.rs | 33 .default_value("8897") in async_main() 36 .arg(Arg::with_name("grpc-port").long("grpc-port").default_value("8899").takes_value(true)) in async_main() 40 .default_value("8895") in async_main()
|
/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache.cpp | 32 static int property_get(const char* key, char* value, const char* default_value) { in property_get() argument 37 if (default_value) { in property_get() 38 const size_t len = std::max(strlen(default_value) + 1, size_t(PROPERTY_VALUE_MAX)); in property_get() 39 memcpy(value, default_value, len); in property_get()
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 609 bool osi_property_get_bool(const char* key, bool default_value) { in osi_property_get_bool() argument 613 return default_value; in osi_property_get_bool() 620 int osi_property_get(const char* key, char* value, const char* default_value) { in osi_property_get() argument 628 int32_t osi_property_get_int32(const char* key, int32_t default_value) { in osi_property_get_int32() argument
|
/packages/modules/Virtualization/vm/src/ |
D | main.rs | 75 #[structopt(long, default_value = "none", parse(try_from_str=parse_debug_level))] 156 …#[structopt(short="t", long="type", default_value="raw", parse(try_from_str=parse_partition_type))]
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_utils_test.cc | 101 [](const char* key, bool default_value) { return true; }; in SetUp() argument
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_storage.cc | 592 uint8_t default_value) { in btif_storage_get_io_cap_property() argument 603 : default_value; in btif_storage_get_io_cap_property()
|