Home
last modified time | relevance | path

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

/external/bluetooth/glib/tests/gobject/
Ddefaultiface.c143 TestDynamicIfaceClass *dynamic_iface; in test_dynamic_iface() local
148 dynamic_iface = g_type_default_interface_peek (TEST_TYPE_DYNAMIC_IFACE); in test_dynamic_iface()
149 g_assert (dynamic_iface == NULL); in test_dynamic_iface()
152 dynamic_iface = g_type_default_interface_ref (TEST_TYPE_DYNAMIC_IFACE); in test_dynamic_iface()
154 g_assert (dynamic_iface && dynamic_iface->val == 42); in test_dynamic_iface()
157 dynamic_iface = g_type_default_interface_peek (TEST_TYPE_DYNAMIC_IFACE); in test_dynamic_iface()
158 g_assert (dynamic_iface && dynamic_iface->val == 42); in test_dynamic_iface()
161 g_type_default_interface_unref (dynamic_iface); in test_dynamic_iface()
165 dynamic_iface = g_type_default_interface_peek (TEST_TYPE_DYNAMIC_IFACE); in test_dynamic_iface()
166 g_assert (dynamic_iface == NULL); in test_dynamic_iface()
[all …]