History log of /packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a4b8693ee49932247a96099942fa1cecb4670bc 04-Jan-2016 Casper Bonde <c.bonde@samsung.com> Fix memory leak in Bluetooth AVRCP JNI

When rebasing change-id I3941793f9843abf4afa5ffbee40d1d01c118b29b
later change bbb4110b455b3aa29106d5b4f0a37e1be8e09475 in AOSP,
a memory leak fix was removed by accident. This patch re-enables
the memory leak fix.

Bug: 26383160
Change-Id: I70fd2ea00f6135803f92aad3adda9ce38f47cc32
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
18239ca2a5880af0510b762201f02b169445c44f 13-Jun-2015 Pavlin Radoslavov <pavlin@google.com> Removed AVRCP-related log messages that could fill-up the log.

For some Bluetooth devices, the AVRCP interaction could trigger
periodic log messages at INFO level, and those messages can
fill-up the log file.

Bug: 21818725
Change-Id: I87aca499138b46a79f4251d8a5fe8552ae171205
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
f19f1ac64a5fefb248ab15b918d009b926c99dde 11-Mar-2015 Nitin Arora <niarora@codeaurora.org> Bluetooth LE background operation mode (1/2)

Changes to BluetoothAdapter state machine for handling new
states BLE_STATE_ON and intermediate states BLE_TURNING_ON
and BLE_TURNING_OFF. Also includes the actions required
while migrating in and out of these states including
start and stop of GATT services and other profiles.

Change-Id: I08d6ff05c2cefe559d5bb5789a1a488afefbe544
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
bbb4110b455b3aa29106d5b4f0a37e1be8e09475 09-Apr-2015 Casper Bonde <c.bonde@samsung.com> Obex over L2CAP + SDP search API

Each profile had its own implementation of ObexTransport.
These implementations were implemented very similar, and
could easily be merged into a common implementation.

Additionally it will make it easier to adopt the transport
to support L2CAP.

The SDP functionality is implemented in a way that is scalable,
hence adding new record types is easy.
Intents are currently used to distribute the SDP search results,
as we have observed that the new client side profiles have been
located outside the Bluetooth package.
We strongly recommend to keep all bluetooth profiles within the
Bluetooth package, to acoid the need for exposing all bluetooth
interfaces through the Android framework. For instance this new
SDP create API is internal to Bluetooth, hence cannot be used by
the external profiles - hence they cannot use OBEX over L2CAP.

The SDP search currently supports:
- MAP both sides
- OPP server (only the server needs an SDP record)
- PBAP server (only the server needs SDP record)

The SDP create record currently supports:
- MAP both sides
- OPP server
- PBAP server
The new l2cap sockets introduces a new wrapper class for a rfcomm
and an l2cap socket.
The wrapper design:
- Creates two accept threads running while bluetooth is
turned on.
- When a connection is accepted the owner is asked wether or not
to accept the connection if rejected, the connection will be
rejected at obex level, else it will be accepted and the state
is changed to busy.
- Any further connections will be rejected at Obex level, until
the state is changed back to idle.

Notes tor executing the test cases:
Test OBEX using local pipes(no BT) or two bluetooth enabled
devices.

Test SDP using two Bluetooth enabled devices

Start server testcase first on one device, then start
the matching client test on the other device.

You cannot run all tests in one go, as they need to run
on multiple devices.

Edit the test sequesce to add/remove/modify the sequence
of OBEX operations to perform.

Use the new SDP record create interface.

Change-Id: I3941793f9843abf4afa5ffbee40d1d01c118b29b
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
066ad9e16a548218b139424f758b92db7af34af2 06-Jun-2014 Mike Lockwood <lockwood@google.com> Move AVRCP Controller support to new BluetoothAvrcpController profile

Change-Id: I865f77c85d971bf06dbc0643722abad7f6b94ab9
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
5c86abdc7875a8fae28c57e3e36a0a8eaae5cb04 07-Feb-2014 Hemant Gupta <hemantg@codeaurora.org> [4/4] Add Support for AVRCP Controller Feature

- Provide support for AVRCP Controller CAT 1 and CAT 2
Passthrough commands.
- Fix bug in usage of percent volume change in absolute
volume case.

Change-Id: Ie753329a96c30343d92c421c5e0113ff3e624db6
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
fd80b9517bf8bc45257af83074114d493ba7d984 11-Mar-2014 Nitin Srivastava <nitinsr@codeaurora.org> Bluetooth: Free bd_addr in avrcp getRcFeature callback

Free bd_addr received in avrcp getRcFeature callback to avoid
JNI local reference table overflow Error in AVRCP JNI.

Change-Id: I4f98adbbc23516dd2887b263e0128cdf183b2280
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
17675906064bb72fdcca75baa56cdf8bb8968d01 19-Jul-2013 John Du <johnldu@google.com> Adding support for Absolute Volume

Change-Id: Ie2ccaad7aaf56a89fe44b168026df3d84b373c06

Conflicts:
jni/com_android_bluetooth_avrcp.cpp
src/com/android/bluetooth/a2dp/Avrcp.java
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
ace834feb02adabd61f628c4471147aea02d939c 28-Jun-2013 John Du <johnldu@google.com> Add support for ff/rew

Change-Id: I7ec60d94313b9ba5e4e8e62c82f19ae332b6fdd3
(cherry picked from commit 55123eff985f4d15ec198569a5db895ea086447a)
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
aa1ffd5c6bd4f016c6ed452b3551e65872eaea8e 04-Apr-2013 Zhihai Xu <zhihaixu@google.com> support playback position changed notification

issue 8494369

Change-Id: Id468d34badac4c963d4e6df0e7e32bbd0c508938
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
885213461ae72d6db178c95fafc01cde153230db 26-Mar-2013 Zhihai Xu <zhihaixu@google.com> if the element attribute string is more than the maximum length, try to send partial attribute instead of empty attribute string .

issue 8470888

Change-Id: Ibfc3a25839bd07bd99dbb3328f56aad1d21720ea
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
c1c259c0ace7195240f1443c805995bfe8692a72 14-Mar-2013 Zhihai Xu <zhihaixu@google.com> framework support for new Bluetooth profiles AVRCP 1.3:Metadata and play status

send track changed response if the metadata is changed.

issue 8383522

Change-Id: Ie55ed368d355484a6b83f4aa24c70aa33b72f799
/packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp