Home
last modified time | relevance | path

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

/external/bluetooth/bluez/audio/
Dheadset.c150 struct headset { struct
298 static int headset_send_valist(struct headset *hs, char *format, va_list ap) in headset_send_valist()
331 static int headset_send(struct headset *hs, char *format, ...) in headset_send()
345 struct headset *hs = device->headset; in supported_features()
407 struct headset *hs = device->headset; in report_indicators()
436 struct headset *hs = dev->headset; in pending_connect_complete()
446 struct headset *hs = dev->headset; in pending_connect_finalize()
478 static void pending_connect_init(struct headset *hs, headset_state_t target_state) in pending_connect_init()
490 static unsigned int connect_cb_new(struct headset *hs, in connect_cb_new()
516 int (*cmp) (struct headset *hs), in send_foreach_headset()
[all …]
Dmanager.c111 .headset = TRUE,
137 return enabled.headset; in server_is_enabled()
141 return enabled.headset && enabled.hfp; in server_is_enabled()
181 if (device->headset) in handle_uuid()
184 device->headset = headset_init(device, uuid16, in handle_uuid()
192 if (device->headset) in handle_uuid()
195 device->headset = headset_init(device, uuid16, in handle_uuid()
496 if (!device->headset) { in ag_confirm()
498 if (!device->headset) in ag_confirm()
1068 enabled.headset = TRUE; in audio_manager_init()
[all …]
Ddevice.h49 struct headset;
63 struct headset *headset; member
Ddevice.c278 if (dev->headset == NULL) in headset_connect_timeout()
295 if (!dev->headset) in device_set_headset_timer()
378 if (!dev->headset) in device_sink_cb()
423 if (!dev->headset) in device_headset_cb()
488 if (dev->headset) in dev_connect()
646 if (dev->headset && headset_is_active(dev)) in audio_device_is_active()
654 else if (!strcmp(interface, AUDIO_HEADSET_INTERFACE) && dev->headset && in audio_device_is_active()
676 if (device->headset) in audio_device_unregister()
728 if (dev->headset) { in audio_device_is_connected()
DAndroid.mk13 headset.c \
Dmanager.h27 gboolean headset; member
Dheadset.h57 struct headset *headset_init(struct audio_device *dev, uint16_t svc,
Dmain.c103 if (device->headset) { in sco_server_cb()
Dunix.c183 else if (dev->headset && headset_is_active(dev)) in select_service()
189 else if (dev->headset) in select_service()
195 else if (!strcmp(interface, AUDIO_HEADSET_INTERFACE) && dev->headset) in select_service()
242 if (dev->headset) { in headset_generate_capability()
1449 if (dev->headset) in handle_sco_transport()
/external/bluetooth/bluez/test/
Dtest-telephony55 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
57 headset.Connect()
65 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
67 headset.Disconnect()
75 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
78 headset.SetProperty('SpeakerGain', dbus.UInt16(args[2]))
80 props = headset.GetProperties()
90 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
93 headset.SetProperty('MicrophoneGain', dbus.UInt16(args[2]))
95 props = headset.GetProperties()
[all …]
/external/bluetooth/bluez/doc/
Daudio-api.txt76 Indicate an incoming call on the headset
78 ring the headset about every 3 seconds.
86 Open the audio connection to the headset.
94 Returns true if an audio connection to the headset
133 Sent when the answer button is pressed on the headset
196 Indicates if an audio connection to the headset
/external/bluetooth/bluez/
DChangeLog57 Fix using invalid data from previous headset connection.
68 Fix segmentation fault with authorization during headset disconnects.
192 Fix inband ring setting to be per-headset.
232 Fix headset never connecting on the first attempt.
233 Fix headset state tracking if bt_search_service() fails.
234 Fix maximum headset connection count check.
295 Add support for Handsfree profile headset role.
590 Add example record for headset audio gateway record.
679 Add basic headset automatic disconnect support.
705 Add initial mechanism to handle headset commands.
[all …]
DMakefile.am121 audio/headset.h audio/headset.c \