560fb676a64f888d31e672a4b66e52a05abb5f26 |
|
21-Mar-2017 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Remove un-supported formats from SDP Use case: 1. Send a vcalendar file to DUT 2. Verify file is received on DUT Result: DUT rejects vCalendar put request with reason unsupported media type although DUT SDP records claim support for vcalendar format. Same is valid for vNote and vMessage formats as well. Rootcause: ACCEPTABLE_SHARE_INBOUND_TYPES does not have support for above MIME formats. Fix: Remove vCal, vNote and vMessage from OPP Server supported format list. Reproducibiltiy: 5/5 Test: All PTS tests that were enabled because of support for different OPP MIME formats got disabled as by default OPP Rx will not support these MIME formats leading to no OPP failures in PTS. Bug: 36467777 Change-Id: I2503f5c61dd28fd3cf73d10939c6d931dbe0d6ea
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/SdpManager.java
|
4aa5e4e2fe52c06d97481db0bf180349053dae48 |
|
16-Feb-2017 |
Hemant Gupta <hemantg@codeaurora.org> |
OPP: Add OPP 1.2 feature. Add changes to support OPP 1.2 which uses OBEX over L2CAP. Test: Connect with Remote OPP Client supporting OPP 1.2 and verify that connection and transfer happens over L2CAP. Connect with Remote OPP Client supporting OPP 1.1 and verify that connection and transfer happens over RFCOMM. Bug: 33010988 Change-Id: I44c2f2f01fb04f4306d0eb121d66dc08954966c0
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/SdpManager.java
|
1f1103e93ba7ebd48c57c9627dc7b262c6f01c77 |
|
16-Apr-2015 |
Casper Bonde <c.bonde@samsung.com> |
SAP: Change to use new SDP Api (2/4) Added support for Sim Access Profile (SAP) in the SDPManager. To make it easier to test, both SDP record creation and seach is added. Change-Id: I871eb762389e3717b8bd6bc37a8ffc09fff6f589 Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/SdpManager.java
|
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/src/com/android/bluetooth/sdp/SdpManager.java
|