0229bd4f183266b103daa18cf95c175aabe87217 |
|
03-Dec-2015 |
Adam Lesinski <adamlesinski@google.com> |
Add socket tx/rx accounting Records network traffic going over bluetooth sockets. This patch adds support for L2CAP and RFCOMM. Bug:26039657 Change-Id: Idb860b367b429fa5ef41d02684a5494a668ee8ed
/system/bt/btif/src/btif_sock.c
|
985d4b6986b787839ba72470f96be841f7721a17 |
|
08-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
build: Fix LOG_TAG define breakage, macro usage Fixes build breakages related to r.android.com/156982 Change-Id: Ib1143c41fe05a17c296226998afdb41a8cb6294a
/system/bt/btif/src/btif_sock.c
|
db554581079863974af8e1289646f5deea6fc044 |
|
26-Jun-2015 |
Marie Janssen <jamuraa@google.com> |
build: Update osi log functions, use consistently Update the LOG_* functions to take a tag argument which makes them more consistent with the Android Log.*(TAG, s) common syntax and removes some #define-dependency with osi/include/log.h. Also update to never use Android log functions directly. Also contains minor cleanup of some header includes. Bug: 21569831 Change-Id: If07385cafbea062232ecdbc7c673f908d5ef8921
/system/bt/btif/src/btif_sock.c
|
8372aa5fa535ee4f09c09981b6125b54ace31fe2 |
|
25-Mar-2015 |
Kim Schulz <k.schulz@samsung.com> |
L2CAP and SDP Search API for BT profiles (2/2) Added support for exposing L2CAP to Java such that OBEX over L2CAP is made possible. Added support to create SDP records as a seperate step.(as opposed to creating a SDP record when a BluetoothSocket is created). This allows both a RFCOMM channel and a L2CAP PSM to be included in a SDP record. (Additionally the content of the SDP record is set by the profile in Java, in stead of beeing hardcoded in the socket layer.) This completes the L2CAP channel exposure to Java. Change-Id: Iaf68a07d910145cdd33e940d73cd680f79164100
/system/bt/btif/src/btif_sock.c
|
f8027005333c88a2f097cfd70d15c3d54c7764ae |
|
12-Mar-2015 |
Chris Manton <cmanton@google.com> |
Demote, cleanup and extend observed logging
/system/bt/btif/src/btif_sock.c
|
0f9b91e150e153229235c163861198e23600e636 |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for OSI includes.
/system/bt/btif/src/btif_sock.c
|
44802768c447ab480d4227b3a852a97d923b816d |
|
24-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add platform-independent logging macros to OSI. These macros should replace ALOG* and the various trace macros used throughout bluedroid. This change eliminates all uses of the ALOG* macros in favor of the new ones.
/system/bt/btif/src/btif_sock.c
|
794f3b5f126fffc3dd1129a710187591348bbf23 |
|
01-Oct-2014 |
Chris Manton <cmanton@google.com> |
Removal of bd.[c|h] Consolidate legacy types into bt_types.h
/system/bt/btif/src/btif_sock.c
|
c8aaee2c9393ef28fdbdcf28be80172f387205fc |
|
22-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Update SCO sockets to use OSI. This change brings us one step closer to eliminating btsock_thread.
/system/bt/btif/src/btif_sock.c
|
fe4ec6ba40c011cfd3599d45fbda3c6575a07189 |
|
21-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Rewrite the btif_sock module. The initialization flow now handles errors. The btif_sock module is now solely responsible for managing the lifetime of the btsock_thread it creates. This change lays the foundation for switching all btif sockets to use the OSI primitives.
/system/bt/btif/src/btif_sock.c
|
f866204ea74d594ba209522eebb7d1e5469ba7b0 |
|
19-Feb-2015 |
June R. Tate-Gans <jtgans@google.com> |
Rewrite the SCO socket implementation to be more robust. This code presents a socket interface for SCO connections. Like the previous implementation, it does not support sending/receiving data over the sockets; rather, it only provides a mechanism to establish and tear down connections. It is assumed that all SCO data routing is done out-of-band over PCM/I2S. A SCO socket is represented internally by a file descriptor and SCO handle. The file descriptor is one end of a socketpair (the other end is sent to the Java process) and the SCO handle represents a server (listening) or client (connecting) socket owned by the BTM layer of the stack. The most notable implementation detail is that, unlike typical sockets, listening SCO sockets get "upgraded" when a connection is established. In other words, a SCO handle for a listening socket turns into a handle for a connected socket. To present a BSD-style API to Java processes, we play a trick: when a listening socket gets upgraded, we create a new listening SCO socket and reassociate the SCO handle for the two sockets. The reassociation allows the Java process to continue listening for new incoming SCO connections on the same file descriptor.
/system/bt/btif/src/btif_sock.c
|
e93ac125b887651e835fe59f4d1f9b3c5baa844c |
|
08-Nov-2013 |
Ian McKellar <ianloic@google.com> |
SCO socket support in bluedroid
/system/bt/btif/src/btif_sock.c
|
e8c3d75b75493911ebf0f99c83676359657178f7 |
|
04-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Logging cleanup: BTIF and APPL. Change-Id: I5b1214642bbb4b9aecc0fd2c899a6ec2c9793286
/system/bt/btif/src/btif_sock.c
|
689d66b6559dcb3a0ad7f6cc33b6129e50910253 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot 9fd57cbacd95e89602f430244c35bbc67f08b6d2 Change-Id: Ibc3a4bf4161d286c7cfab89a19c676eb5cc9224f
/system/bt/btif/src/btif_sock.c
|
5738f83aeb59361a0a2eda2460113f6dc9194271 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
/system/bt/btif/src/btif_sock.c
|