Lines Matching full:device
49 #include "device.h"
76 int gateway_close(struct audio_device *device);
357 static int get_records(struct audio_device *device)
362 return bt_search_service(&device->src, &device->dst, &uuid,
363 get_record_cb, device, NULL);
386 int gateway_close(struct audio_device *device)
388 struct gateway *gw = device->gateway;
408 change_state(device, GATEWAY_STATE_DISCONNECTED);
416 struct audio_device *device = data;
417 struct gateway *gw = device->gateway;
421 if (!device->conn)
431 "Device not Connected");
433 gateway_close(device);
434 ba2str(&device->dst, gw_addr);
435 DBG("Disconnected from %s, %s", gw_addr, device->path);
454 struct audio_device *device = data;
455 struct gateway *gw = device->gateway;
485 struct audio_device *device = data;
486 struct gateway *gw = device->gateway;
518 struct audio_device *device = data;
519 struct gateway *gw = device->gateway;
541 g_dbus_remove_watch(device->conn, gw->agent->watch);