Home
last modified time | relevance | path

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

/external/autotest/client/deps/fakegudev/src/
Dfakegudev.c184 FakeGUdevDevice *fake_device; in load_fake_devices_from_file() local
246 fake_device = FAKE_G_UDEV_DEVICE (g_object_new (FAKE_G_UDEV_TYPE_DEVICE, in load_fake_devices_from_file()
248 g_hash_table_insert (devices_by_ptr, g_object_ref (fake_device), NULL); in load_fake_devices_from_file()
259 g_hash_table_insert (fake_device->priv->properties, g_strdup (key), in load_fake_devices_from_file()
264 g_object_ref (fake_device)); in load_fake_devices_from_file()
269 g_object_ref (fake_device)); in load_fake_devices_from_file()
328 FakeGUdevDevice *fake_device; in get_fake_g_udev_device() local
335 fake_device = FAKE_G_UDEV_DEVICE (device); in get_fake_g_udev_device()
338 g_hash_table_lookup_extended (devices_by_ptr, fake_device, NULL, NULL), in get_fake_g_udev_device()
340 return fake_device; in get_fake_g_udev_device()
[all …]
/external/adhd/cras/src/tests/
Dhfp_ag_profile_unittest.cc17 static struct cras_bt_device* fake_device; variable
54 fake_device = (struct cras_bt_device*)0xdeadbeef; in TEST_F()
58 bt_profile->new_connection(NULL, bt_profile, fake_device, 0); in TEST_F()
60 ret = cras_hfp_ag_start(fake_device); in TEST_F()
66 ret = cras_hfp_ag_start(fake_device); in TEST_F()
80 fake_device = (struct cras_bt_device*)0xdeadbeef; in TEST_F()
84 bt_profile->new_connection(NULL, bt_profile, fake_device, 0); in TEST_F()
86 ret = cras_hfp_ag_start(fake_device); in TEST_F()
103 fake_device = (struct cras_bt_device*)0xdeadbeef; in TEST_F()
107 bt_profile->new_connection(NULL, bt_profile, fake_device, 0); in TEST_F()
[all …]
Dhfp_alsa_iodev_unittest.cc23 static struct cras_bt_device* fake_device; variable
160 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
182 iodev = hfp_alsa_iodev_create(&fake_sco_in, fake_device, fake_slc, in TEST_F()
205 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
226 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
248 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
272 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
287 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
300 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
313 iodev = hfp_alsa_iodev_create(&fake_sco_out, fake_device, fake_slc, in TEST_F()
[all …]
Dbt_io_unittest.cc14 static struct cras_bt_device* fake_device = variable
171 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
205 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
221 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
236 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
255 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
272 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
288 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
303 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
319 bt_iodev = cras_bt_io_create(fake_device, &iodev_, in TEST_F()
[all …]
Dhfp_iodev_unittest.cc17 static struct cras_bt_device* fake_device; variable
95 iodev = hfp_iodev_create(CRAS_STREAM_OUTPUT, fake_device, fake_slc, in TEST_F()
111 iodev = hfp_iodev_create(CRAS_STREAM_INPUT, fake_device, fake_slc, in TEST_F()
129 iodev = hfp_iodev_create(CRAS_STREAM_OUTPUT, fake_device, fake_slc, in TEST_F()
153 iodev = hfp_iodev_create(CRAS_STREAM_INPUT, fake_device, fake_slc, in TEST_F()
180 iodev = hfp_iodev_create(CRAS_STREAM_OUTPUT, fake_device, fake_slc, in TEST_F()
203 iodev = hfp_iodev_create(CRAS_STREAM_OUTPUT, fake_device, fake_slc, in TEST_F()