| 3d328b45 |
core: Use proper header for S_IRUSR/S_IWUSR
According to open() manual one should include <sys/stat.h>.
This fix build with bionic library:
target thumb C: libbluetoothd <= external/bluetooth/bluez/src/attrib-server.c
external/bluetooth/bluez/src/attrib-server.c: In function 'write_value':
external/bluetooth/bluez/src/attrib-server.c:922:26: error: 'S_IRUSR'
undeclared (first use in this function)
external/bluetooth/bluez/src/attrib-server.c:922:26: note: each undeclared
identifier is reported only once for each function it appears in
external/bluetooth/bluez/src/attrib-server.c:922:36: error: 'S_IWUSR'
undeclared (first use in this function) |
Szymon Janc |
12 years ago |
1 file, +1, -1 |
| 57ce0cb4 |
plugins/policy: Limit the number of retries to sink profile
The policy should only retry a limit number of times. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +7, -1 |
| 48e31375 |
plugins/policy: Limit the number of retries to source profile
The policy should only retry a limit number of times. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +7, -1 |
| 7662d49f |
audio/control: Enable initiate connection to CT role
Since the policy uses service API to initiate the connections this needs
to be enabled for both CT and TG roles. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +7, -7 |
| f5fc3fff |
audio/sink: Move stream retry logic to policy plugin
policy plugin is a better place to have such a logic as it is already
handling other connection policies related to such profiles. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +60, -43 |
| 3c29a14f |
audio/source: Move stream retry logic to policy plugin
policy plugin is a better place to have such a logic as it is already
handling other connection policies related to such profiles. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +61, -45 |
| fe4cbedb |
plugins/policy: Reword audio policy code in a simple plugin
This moves audio device policy to a plugin and removes any dependency of
audio plugin to it. |
Luiz Augusto von Dentz |
12 years ago |
4 files, +333, -321 |
| 138481c9 |
audio/main: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
1 file, +0, -1 |
| 6ba916d6 |
audio/manager: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
2 files, +35, -119 |
| 53618129 |
audio/transport: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
1 file, +0, -1 |
| 29592b78 |
audio/media: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -5 |
| 4408bfc4 |
audio/source: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
3 files, +11, -15 |
| 0c2e7d00 |
audio/sink: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
3 files, +10, -14 |
| ece597b3 |
audio/A2DP: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
7 files, +148, -128 |
| ef250529 |
audio/control: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
3 files, +52, -36 |
| 30622385 |
audio/AVRCP: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
7 files, +47, -49 |
| 35d36174 |
audio/AVDTP: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
6 files, +87, -90 |
| ee5df162 |
audio/AVCTP: Remove dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
5 files, +62, -76 |
| cf43fae8 |
audio/control: Reduce dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
5 files, +51, -71 |
| bbea4622 |
audio/source: Reduce dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
6 files, +50, -58 |
| d3e907f5 |
audio/sink: Reduce dependency on struct audio_device
This is part of the work necessary to completely remove
struct audio_device |
Luiz Augusto von Dentz |
12 years ago |
7 files, +55, -62 |
| 98ce03bb |
audio/control: Use service user_data for private data
This remove the need of forward declaration of struct control and prepare
for a complete removal of struct audio_device. |
Luiz Augusto von Dentz |
12 years ago |
5 files, +56, -38 |
| db7a1b87 |
audio/source: Use service user_data for private data
This remove the need of forward declaration of struct source and prepare
for a complete removal of struct audio_device. |
Luiz Augusto von Dentz |
12 years ago |
4 files, +22, -19 |
| d109aa98 |
audio/sink: Use service user_data for private data
This remove the need of forward declaration of struct sink and prepare
for a complete removal of struct audio_device. |
Luiz Augusto von Dentz |
12 years ago |
5 files, +54, -39 |
| 59046832 |
core: Clear temporary flag only when a real profile is connected |
Johan Hedberg |
12 years ago |
1 file, +3, -2 |
| 1549e0a6 |
input: Fix rejecting connections from unknown devices |
Johan Hedberg |
12 years ago |
3 files, +17, -6 |
| 3bdc3d0f |
core: Fix incorrect update of dev->svc_refreshed |
Johan Hedberg |
12 years ago |
1 file, +9, -1 |
| a70ad3e3 |
input: Fix service disconnected state transition
Without this patch the input service would remain in connected state
whenever a remotely initiated disconnection happens. |
Johan Hedberg |
12 years ago |
1 file, +2, -2 |
| 0691f7f3 |
core: Remove unnecessary device_resolve_svc function |
Johan Hedberg |
12 years ago |
1 file, +6, -9 |
| 0c575e46 |
input: Add some extra debug statements to clarify connection flow |
Johan Hedberg |
12 years ago |
2 files, +8, -0 |
| e08774af |
core: Fix returning correct D-Bus reply when refreshing services |
Johan Hedberg |
12 years ago |
1 file, +7, -2 |
| e23dd0d9 |
core: Clear device->attrib pointer before calling g_attrib_cancel_all
The g_attrib_cancel_all function may call functions such as
find_included_cb that should at this point no longer have access to the
GAttrib instance and try to do operations with it. Therefore it is
safest to ensure that device->attrib is no longer available in these
functions. |
Johan Hedberg |
12 years ago |
1 file, +3, -2 |
| 06ade160 |
core: Remove redundant includes from sdpd-*.c |
Frederic Danis |
12 years ago |
4 files, +0, -19 |
| 4b5caaf5 |
core: Refresh SDP services if no matching profiles were found |
Johan Hedberg |
12 years ago |
1 file, +41, -27 |
| 75cacde9 |
core: Simplify code flow in search_cb |
Johan Hedberg |
12 years ago |
1 file, +5, -9 |
| 82f769e0 |
core: Implement passive SDP discovery after connecting known services |
Johan Hedberg |
12 years ago |
1 file, +5, -1 |
| 239d3076 |
core: Remove unnecessary secure paramter from device_browse_primary |
Johan Hedberg |
12 years ago |
1 file, +8, -13 |
| c63e4609 |
core: Remove unused reverse parameter from device_browse_sdp |
Johan Hedberg |
12 years ago |
1 file, +5, -7 |
| f72e4a40 |
core: Set low priority for SDP data
In the case that there are other channels over the same ACL we want SDP
transactions to interfere as little as possible. |
Johan Hedberg |
12 years ago |
1 file, +12, -1 |
| e339d0b6 |
core: Use g_dbus_send_reply over dbus_message_new_method_return |
Johan Hedberg |
12 years ago |
1 file, +2, -8 |
| ee25688e |
core: Remove profile removal detection
This code has been nonfunctional since 5.0 and it seems no-one cares for
it, so just remove it. |
Johan Hedberg |
12 years ago |
1 file, +5, -86 |
| e8353af3 |
core: Fix incorrectly restarting service discovery after pairing
If services are already discovered through a Device1.Connect() call we
should not retry discovering them when Device1.Pair() is called. |
Johan Hedberg |
12 years ago |
1 file, +14, -0 |
| 5da7617e |
core/device: Don't call btd_service_disconnect on device_remove
device_remove is called to cleanup/free the device objects so the
services should be disconnected before hand. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +0, -2 |
| e726230d |
core/device: Fix crash while freeing services list
btd_service do alter its state on service_remove which can cause
plugins to attempt to access services list which may have freed some
services already.
To fix this the code now updates the list in place so the services are
first removed from services list before calling service_remove. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +13, -6 |
| b72673c6 |
core/service: Rename service_shutdown to service_remove
This rename service_shutdown to service_remove to make it more similar to
other internal APIs such as device_remove which only do object
cleanup/free and do not have any disconnect logic. |
Luiz Augusto von Dentz |
12 years ago |
3 files, +4, -4 |
| a7272970 |
lib: Add range check for SDP_SVC_ATTR_RSP/SDP_SVC_SEARCH_ATTR_RSP
This is an improved version of recently reverted commit 1796f00e8465.
Response size is verified against minimal allowed value only if it is
complete response. If response is partial it is allowed by spec that
it will be split in arbitrary manner.
Verified against Nokia BH217 on which original commit caused
regression. |
Szymon Janc |
12 years ago |
1 file, +8, -0 |
| ae672c6f |
obexd/client: Add Target property to Session interface
Target property is already documented property but it was not
implemented. |
Martin |
12 years ago |
1 file, +22, -0 |
| 5e8b5ce9 |
audio/source: Fix not notifying service about connection state
btd_service_connecting_complete should be called whenever the service
is connected otherwise the service state will not be consistent. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -12 |
| 745a7e2b |
audio/sink: Fix not notifying service about connection state
btd_service_connecting_complete should be called whenever the service
is connected otherwise the service state will not be consistent. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -12 |
| 32823141 |
emulator: Implement LE advertising report
When a virtual device starts a LE advertising, emulator searches for
other virtual devices that are in scan mode, in order to send adv data
to these devices.
Inverse goes when LE scan is enabled. Emulator searches virtual devices
that are in advertising mode and copy adv data to them. |
Jefferson Delfes |
12 years ago |
1 file, +58, -0 |