/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 | 59 #include "headset.h" 150 struct headset { struct 298 static int headset_send_valist(struct headset *hs, char *format, va_list ap) 310 error("headset_send: the headset is not connected"); 331 static int headset_send(struct headset *hs, char *format, ...) 345 struct headset *hs = device->headset; 407 struct headset *hs = device->headset; 436 struct headset *hs = dev->headset 2098 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 | 65 #include "headset.h" 75 HEADSET = 1 << 0, 111 .headset = TRUE, 137 return enabled.headset; 141 return enabled.headset && enabled.hfp; 180 DBG("Found Headset record"); 181 if (device->headset) 184 device->headset = headset_init(device, uuid16, 188 DBG("Found Headset AG record"); 192 if (device->headset) [all...] |
device.c | 58 #include "headset.h" 278 if (dev->headset == NULL) 295 if (!dev->headset) 378 if (!dev->headset) 423 if (!dev->headset) 488 if (dev->headset) 508 "Headset connect failed"); 646 if (dev->headset && headset_is_active(dev)) 654 else if (!strcmp(interface, AUDIO_HEADSET_INTERFACE) && dev->headset && 676 if (device->headset) [all...] |
Android.mk | 13 headset.c \
|
headset.h | 25 #define AUDIO_HEADSET_INTERFACE "org.bluez.Headset" 57 struct headset *headset_init(struct audio_device *dev, uint16_t svc,
|
main.c | 46 #include "headset.h" 103 if (device->headset) { 105 DBG("Refusing SCO from non-connected headset");
|
unix.c | 48 #include "headset.h" 183 else if (dev->headset && headset_is_active(dev)) 189 else if (dev->headset) 195 else if (!strcmp(interface, AUDIO_HEADSET_INTERFACE) && dev->headset) 242 if (dev->headset) { [all...] |
/packages/apps/Phone/src/com/android/phone/ |
BluetoothHeadsetService.java | 51 * Provides Bluetooth Headset and Handsfree profile, as a service in 169 HeadsetBase headset; 174 headset = new HeadsetBase(mPowerManager, mAdapter, info.mRemoteDevice, 176 headset.disconnect(); 190 // headset connecting us, lets join 203 // different headset, ignoring 207 headset = new HeadsetBase(mPowerManager, mAdapter, info.mRemoteDevice, 209 headset.disconnect(); 213 // Incoming and Outgoing connections to the same headset. 230 headset = new HeadsetBase(mPowerManager, mAdapter, info.mRemoteDevice 372 HeadsetBase headset = new HeadsetBase(mPowerManager, mAdapter, device, channel); local [all...] |
InCallScreen.java | 350 // depending on whether a headset is plugged in. 434 // The bluetooth headset state changed, so some UI 511 // can update the onscreen UI when the headset state changes. 4307 BluetoothDevice headset = mBluetoothHeadset.getCurrentHeadset(); local 4397 BluetoothDevice headset = mBluetoothHeadset.getCurrentHeadset(); local [all...] |
BluetoothHandsfree.java | 56 * Bluetooth headset manager for the Phone app. 159 return "headset"; 239 /* package */ synchronized void connectHeadset(HeadsetBase headset, int headsetType) { 240 mHeadset = headset; 247 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/services/java/com/android/server/ |
HeadsetObserver.java | 34 * <p>HeadsetObserver monitors for a wired headset. 69 if (LOG) Slog.v(TAG, "Headset UEVENT: " + event.toString()); 94 Slog.w(TAG, "This kernel does not have wired headset support"); 108 // - a: 0 heaset to 1 headset 109 // - b: 1 headset to 0 headset 128 // Insert the same delay for headset connection so that the connection event is not 152 private final void sendIntent(int headset, int headsetState, int prevHeadsetState, String headsetName) { 153 if ((headsetState & headset) != (prevHeadsetState & headset)) { [all...] |
SystemServer.java | 123 HeadsetObserver headset = null; local 384 Slog.i(TAG, "Headset Observer"); 385 // Listen for wired headset changes 386 headset = new HeadsetObserver(context);
|
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 286 BluetoothHeadset headset = new BluetoothHeadset(mContext, null); local 289 mStats.setBtHeadset(headset);
|
/frameworks/base/core/java/android/server/ |
BluetoothService.java | 1992 BluetoothHeadset headset = new BluetoothHeadset(mContext, null); local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 212 /** Bluetooth headset object */ [all...] |