Home
last modified time | relevance | path

Searched refs:wrap_variant (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/tests/
Dconversions.rs102 fn wrap_variant<T: 'static + dbus::arg::RefArg>(data: T) -> Box<dyn RefArg> { in wrap_variant() function
110 (String::from("name"), wrap_variant(String::from("foo"))), in test_dbus_propmap_success()
111 (String::from("number"), wrap_variant(100)), in test_dbus_propmap_success()
114 wrap_variant(FakeDictionary { in test_dbus_propmap_success()
117 wrap_variant(String::from("aa:bb:cc:dd:ee:ff")), in test_dbus_propmap_success()
121 (String::from("bytes"), wrap_variant(vec![1 as u8, 2, 3])), in test_dbus_propmap_success()
124 wrap_variant(HashMap::from([ in test_dbus_propmap_success()
131 wrap_variant(vec![ in test_dbus_propmap_success()
142 wrap_variant(vec![FakeDictionary { in test_dbus_propmap_success()
144 (String::from("name"), wrap_variant(String::from("bar"))), in test_dbus_propmap_success()
[all …]