HomeSort by relevance Sort by last modified time
    Searched refs:headset (Results 1 - 17 of 17) sorted by null

  /external/bluetooth/bluez/test/
test-telephony 55 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
56 "org.bluez.Headset")
57 headset.Connect()
65 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
66 "org.bluez.Headset")
67 headset.Disconnect()
75 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
76 "org.bluez.Headset")
78 headset.SetProperty('SpeakerGain', dbus.UInt16(args[2]))
80 props = headset.GetProperties(
90 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
105 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
116 headset = dbus.Interface(bus.get_object("org.bluez", device), variable
    [all...]
  /external/bluetooth/bluez/audio/
headset.c 55 #include "headset.h"
153 struct headset { struct
288 static int headset_send_valist(struct headset *hs, char *format, va_list ap)
300 error("headset_send: the headset is not connected");
322 headset_send(struct headset *hs, char *format, ...)
336 struct headset *hs = device->headset;
398 struct headset *hs = device->headset;
427 struct headset *hs = dev->headset
2096 struct headset *headset = dev->headset; local
    [all...]
device.h 49 struct headset;
63 struct headset *headset; member in struct:audio_device
manager.h 27 gboolean headset; member in struct:enabled_interfaces
manager.c 63 #include "headset.h"
78 HEADSET = 1 << 0,
115 .headset = TRUE,
141 return enabled.headset;
145 return enabled.headset && enabled.hfp;
184 DBG("Found Headset record");
185 if (device->headset)
188 device->headset = headset_init(device, uuid16,
192 DBG("Found Headset AG record");
196 if (device->headset)
    [all...]
Android.mk 13 headset.c \
device.c 56 #include "headset.h"
330 if (dev->headset == NULL)
347 if (!dev->headset)
423 if (!dev->headset)
468 if (!dev->headset)
530 if (dev->headset)
684 if (dev->headset && headset_is_active(dev))
692 else if (!strcmp(interface, AUDIO_HEADSET_INTERFACE) && dev->headset &&
714 if (device->headset)
766 if (dev->headset) {
    [all...]
headset.h 25 #define AUDIO_HEADSET_INTERFACE "org.bluez.Headset"
60 struct headset *headset_init(struct audio_device *dev, uint16_t svc,
main.c 45 #include "headset.h"
102 if (device->headset) {
104 DBG("Refusing SCO from non-connected headset");
unix.c 50 #include "headset.h"
204 else if (dev->headset && headset_is_active(dev))
210 else if (dev->headset)
216 else if (!strcmp(interface, AUDIO_HEADSET_INTERFACE) && dev->headset)
263 if (dev->headset) {
    [all...]
  /frameworks/base/services/java/com/android/server/
WiredAccessoryObserver.java 37 * <p>WiredAccessoryObserver monitors for a wired headset on the main board or dock.
96 if (LOG) Slog.v(TAG, "Headset UEVENT: " + event.toString());
152 Slog.w(TAG, "This kernel does not have wired headset support");
170 // - a: 0 heaset to 1 headset
171 // - b: 1 headset to 0 headset
178 // - c: 0 usb headset to 1 usb headset
179 // - d: 1 usb headset to 0 usb headset
    [all...]
  /packages/apps/Phone/src/com/android/phone/
BluetoothHeadsetService.java 50 * Provides Bluetooth Headset and Handsfree profile, as a service in
171 HeadsetBase headset;
176 headset = new HeadsetBase(mPowerManager, mAdapter,
180 headset.disconnect();
200 // headset connecting us, lets join
213 // different headset, ignoring
217 headset = new HeadsetBase(mPowerManager, mAdapter,
221 headset.disconnect();
225 // Incoming and Outgoing connections to the same headset.
249 HeadsetBase headset = new HeadsetBase(mPowerManager, mAdapter local
374 HeadsetBase headset = new HeadsetBase(mPowerManager, mAdapter, local
    [all...]
BluetoothAtPhonebook.java 273 HeadsetBase headset = mHandsfree.getHeadset(); local
274 // ASSERT: (headset != null) && headSet.isConnected()
283 BluetoothDevice remoteDevice = headset.getRemoteDevice();
289 headset.sendURC(cpbrResult.toString());
291 headset.sendURC("ERROR");
BluetoothHandsfree.java 63 * Bluetooth headset manager for the Phone app.
184 return "headset";
555 /* package */ synchronized void connectHeadset(HeadsetBase headset, int headsetType) {
556 mHeadset = headset;
564 // Headset vendor-specific commands
567 headset.startEventThread();
    [all...]
  /frameworks/base/obex/javax/obex/
ClientSession.java 291 HeaderSet headset; local
293 headset = new HeaderSet();
295 headset = header;
296 if (headset.nonce != null) {
298 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16);
303 if (headset.nonce != null) {
305 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16);
310 headset.mConnectionID = new byte[4];
311 System.arraycopy(mConnectionId, 0, headset.mConnectionID, 0, 4);
314 head = ObexHelper.createHeader(headset, false)
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothAdapter.java 1158 BluetoothHeadset headset = new BluetoothHeadset(context, listener); local
1193 BluetoothHeadset headset = (BluetoothHeadset)proxy; local
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 250 /** Bluetooth headset object */
    [all...]

Completed in 224 milliseconds