History log of /external/bluetooth/bluez/src/manager.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
59fb9c144f76db70761864fa3b0d1b9d4e61affd 31-Jul-2009 Johan Hedberg <johan.hedberg@nokia.com> Add functions for RFKILL and offline mode

This patch adds a couple of helper functions that are needed to cleanly
implement RFKILL and offline mode support.
/external/bluetooth/bluez/src/manager.c
e00a0b0637a7f4e5108f7398c72920441b448364 22-Jul-2009 Alok Barsode <alok.barsode@azingo.com> Remove the service_classes_callback mechanism
/external/bluetooth/bluez/src/manager.c
03971a2d726bc9a8630b2419508235a2920eb19f 11-Jun-2009 Bastien Nocera <hadess@hadess.net> Add udev mode to bluetoothd

Add --udev option to bluetoothd, to allow it to be started on-demand
from udev.

When a new adapter appears, udev would launch bluetoothd --udev.

To avoid problems with udev, bluetoothd --udev would only return
an error exit code if it wasn't already running and a real error
occurred.

When no more Bluetooth adapter are present on the system, bluetoothd
will exit after a 30 second timeout.
/external/bluetooth/bluez/src/manager.c
d32b5acf1a15817143c00ce66159c193df2eea8a 06-May-2009 Johan Hedberg <johan.hedberg@nokia.com> Remove unnecessary "starting" variable

Now that the plugins are loaded before any adapter is initialized it is
not necessary to monitor bluetoothd startup using the "starting" variable
anymore.
/external/bluetooth/bluez/src/manager.c
59b5cef44cc450fee196f9c936d52c5d40c90d27 29-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Moving adapter_ops registration to adapter.c.
/external/bluetooth/bluez/src/manager.c
34c4239984722c169e3e821ec5ca7c88528827bd 28-Apr-2009 Alok Barsode <alok.barsode@azingo.com> Adding btd_register_adapter_ops framework.
/external/bluetooth/bluez/src/manager.c
999d9b9ac1f8e7d25f620661b99ae6068560c3f1 16-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Emit Manager.AdapterAdded only when adapter is ready.

Emitting Manager.AdapterAdded without adapter being ready may cause
Adapter.GetProperties to return properties in an invalid state.
/external/bluetooth/bluez/src/manager.c
8fd334315e5a78a490c5ec89c56fa8a484439379 07-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Simplify Manager.ListAdapters.

By removing the unnecessary check we also make it more consistent with
Manager.GetPropeties return for "Adapters".
/external/bluetooth/bluez/src/manager.c
378a836e43518b4d05e06c40e3130d507b24fbf4 07-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Simplify Manager.FindAdapter.

Manager.FindAdapter was doing unnecessary checks like which are already
done before registering the adapters.
/external/bluetooth/bluez/src/manager.c
66906625a30d68a96cbdaef97597323896a2685e 07-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Introduce manager_find_adapter_by_address.
/external/bluetooth/bluez/src/manager.c
b4fd38c1609707484bc69a0fa10efc2a336110ad 07-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Remove unnecessary function.

There is no need to find_by_address to exist since manager_find_adapter is
doing the same, also find_by_address does unnecessary check and syscalls.
/external/bluetooth/bluez/src/manager.c
e8f9d294628efb8cd6e617537d86defde67c152d 01-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Fix dead assignment.

Value stored to 'dr' is never read.
/external/bluetooth/bluez/src/manager.c
afcee413d531f8ce075770f22772f810a3bb2673 01-Apr-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Fix pattern matching logic on Manager.FindAdapter.

Missing else if where causing dev_id to be overwrite in case of "any" or
"00:00:00:00:00:00" patterns.
/external/bluetooth/bluez/src/manager.c
241c93e01b36f4644039cedacfbd80fdc0ff220d 24-Mar-2009 Johan Hedberg <johan.hedberg@nokia.com> Fix local class of device race conditions upon bluetoothd startup

The bluetoothd startup sequence is quite fragile and easily susceptible to race
conditions. The problematic variable that this patch fixes is
adapter->dev.class which depends on at least one write_class_of_dev_complete
event. If e.g. a write_scan_complete comes before this the
set_limited_discoverable function would attempt to set the wrong class of
device (essentially leaving out the service class bits completely).

What this patch does is adds tracking to when bluetoothd is still starting up
and caches the changes to the service classes right until the very moment when
it enters the main loop.
/external/bluetooth/bluez/src/manager.c
5dfe7fa36823f13dacb78384a873bec1e80eaa30 24-Mar-2009 Johan Hedberg <johan.hedberg@nokia.com> Remove unused function
/external/bluetooth/bluez/src/manager.c
dd9a0283301480d082ae3e3566ef6aec300fec3f 20-Mar-2009 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Prevent duplicated adapter from being registered.
/external/bluetooth/bluez/src/manager.c
fb333f1c88df9c50529a390297565a6627bcf7ad 01-Jan-2009 Marcel Holtmann <marcel@holtmann.org> Update copyright information
/external/bluetooth/bluez/src/manager.c
c004bc8c66d7c1397c732295e5c2f3fa12f5bb2c 23-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Fix signal emissions when removing adapters
/external/bluetooth/bluez/src/manager.c
aad71061218b6e98740d6080a3065591e8cdc65a 23-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Don't delcare variables after statements
/external/bluetooth/bluez/src/manager.c
ad37d886cc54a9a975f0f5322165bbb2855dac7f 22-Dec-2008 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Cleanup adapters on exit.

When bluetoothd is terminated any remaining registered adapters should
be unregistered (including proper D-Bus signal emition) and have their
drivers removed. The adapters should also be brought down unless they
were already up upon initialization.
/external/bluetooth/bluez/src/manager.c
436cd80e58c945fe52e70c2baae25dfa69291373 20-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Send DefaultAdapterChanged signal before any properties
/external/bluetooth/bluez/src/manager.c
8dccb974d9762ea535c5a2bb07e889cb6dc34c28 20-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Send AdapterRemoved and DeviceRemoved signals last
/external/bluetooth/bluez/src/manager.c
589bc816c51c00ffc403f73ebabe5a0418dff5b7 20-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Fix spelling mistake in property name
/external/bluetooth/bluez/src/manager.c
92e0a18ae86c7a0c57291b52e218c575357b51a5 20-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Send PropertyChanged signal for added or removed adapters
/external/bluetooth/bluez/src/manager.c
7b932e3d0d5007885c5a83cd741e754cebf4cc2d 01-Dec-2008 Marcel Holtmann <marcel@holtmann.org> Add support for global properties
/external/bluetooth/bluez/src/manager.c
a537a1998dd27a9ab92f4eaae47fc09f36a83545 01-Dec-2008 Luiz Augusto von Dentz <luiz.dentz@openbossa.org> Fix DefaultAdapter not indicanting adapter properly after repluging.
/external/bluetooth/bluez/src/manager.c
f345d81fe368294091c4f87be1f80e2226ef4ce1 01-Dec-2008 Johan Hedberg <johan.hedberg@nokia.com> Stop the security manager if we do a DEVDOWN in adapter_up
/external/bluetooth/bluez/src/manager.c
8d88431aa83063b5749f7000b4911287d8b08d12 30-Nov-2008 Marcel Holtmann <marcel@holtmann.org> Set default adapter on registration
/external/bluetooth/bluez/src/manager.c
8ec535d64374d07647f79b13711fa63006d93b62 30-Nov-2008 Marcel Holtmann <marcel@holtmann.org> Remove some useless braces
/external/bluetooth/bluez/src/manager.c
063167c27c3e2cf9ac647a617abf345451de0787 01-Nov-2008 Marcel Holtmann <marcel@holtmann.org> Make FindAdapter return the any object if present
/external/bluetooth/bluez/src/manager.c
397ce1cede76742f5eacc5e1eddae2169b06d7bb 31-Oct-2008 Marcel Holtmann <marcel@holtmann.org> Mix the PID into the base path
/external/bluetooth/bluez/src/manager.c
795dd43cceb73cbc1e76592edfc26c093517f4e6 31-Oct-2008 Marcel Holtmann <marcel@holtmann.org> Move storage of the base path to manager
/external/bluetooth/bluez/src/manager.c
fd2a6409244254452bec619100d73bc6c8d04ec5 15-Oct-2008 Claudio Takahasi <claudio.takahasi@openbossa.org> Allow dynamic adapter driver registration
/external/bluetooth/bluez/src/manager.c
2a8fb41c4c57b24a22f3adaab472b416faae122e 08-Sep-2008 Alok Barsode <alok.barsode@azingo.com> Redefining adapter_get_address to take bdaddr_t as parameter.
/external/bluetooth/bluez/src/manager.c
18614bd2b008cb9f3879990883c569c37b72f195 04-Sep-2008 Alok Barsode <alok.barsode@azingo.com> Renaming struct adapter to struct btd_adapter.
/external/bluetooth/bluez/src/manager.c
92dcfff75cea59c9e4c65ab2b1d45730a9076a6a 27-Aug-2008 Luiz Augusto von Dentz <luiz.dentz@indt.org.br> Fix emitting mode off twice when an adapter is unplugged.
/external/bluetooth/bluez/src/manager.c
60377c2d855083c412adf4943225f0abf96ddddd 28-Aug-2008 Claudio Takahasi <claudio.takahasi@openbossa.org> Manager: removed unused functions
/external/bluetooth/bluez/src/manager.c
506c95298346d318304aa7e2211dfba5dbe6e3e0 27-Aug-2008 Claudio Takahasi <claudio.takahasi@openbossa.org> Storage cleanup
/external/bluetooth/bluez/src/manager.c
611cf2f2292c98457dd5b8e62190f1a89d7d598e 25-Aug-2008 Claudio Takahasi <claudio.takahasi@openbossa.org> Cleanup: unnecessary includes
/external/bluetooth/bluez/src/manager.c
0dda767d09a31eb13976371730e4cfe5e437869e 18-Aug-2008 Luiz Augusto von Dentz <luiz.dentz@indt.org.br> Fix loading adapter drivers.
/external/bluetooth/bluez/src/manager.c
2a4471c4b03ddbd4a490df84d8297bfb852ca428 12-Aug-2008 Luiz Augusto von Dentz <luiz.dentz@indt.org.br> Remove server.h and server.c files.
/external/bluetooth/bluez/src/manager.c
00acfa685e3e73c619146b7ca39068eb304f1ce8 05-Aug-2008 Luiz Augusto von Dentz <luiz.dentz@indt.org.br> Add initial implementation of adapter driver.
/external/bluetooth/bluez/src/manager.c
9b4bfa74d25e360932402994a32305bf2145eb34 30-Jul-2008 Luiz Augusto von Dentz <luiz.dentz@indt.org.br> Fix adapter removal.
/external/bluetooth/bluez/src/manager.c
e0581b5e29c71c4a0b429ebad671e9bb5583f8e0 29-Jul-2008 Marcel Holtmann <marcel@holtmann.org> Move hcid to src directory and rename it to bluetoothd
/external/bluetooth/bluez/src/manager.c