summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-16Add OWNERS in frameworks/opt/bluetoothandroid-o-preview-4android-o-iot-preview-5o-iot-preview-5Chih-Hung Hsieh
* Owners are selected from top CL approvals or owners. They will be suggested to review/approve future CLs. * OWNERS files are recognized by the new find-owners plugin, see .md files in https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/ Test: build/make/tools/checkowners.py -c -v OWNERS Change-Id: I4c608a33bf3efaca24371a8066563da556cd1034
2016-12-03Remove references to non-existent directories am: 7f2b21a610 am: 1b71d10d4fandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4Colin Cross
am: ab0168f955 Change-Id: I27ed13335c512cfd5119126d116b1d6f60ee7a9b
2016-12-03Remove references to non-existent directories am: 7f2b21a610Colin Cross
am: 1b71d10d4f Change-Id: Id7007c472b1b5f992e14e0394de5374e777f155b
2016-12-03Remove references to non-existent directoriesandroid-o-preview-1android-n-mr2-preview-2android-n-mr2-preview-1o-previewColin Cross
am: 7f2b21a610 Change-Id: I8f06ee056ccc1087e785f8af73dc42e1021d8201
2016-12-01Remove references to non-existent directoriesColin Cross
Fixes warnings during makefile parsing: FindEmulator: find: `frameworks/opt/bluetooth/src/android/bluetooth/client/pbap': No such file or directory Test: builds Change-Id: Ib925da33eca52cb4fe4cfce5e227a4d9894c3315
2016-04-19Tidy up uses of Integer.valueOf. am: 7b55edeNarayan Kamath
am: b39b00b * commit 'b39b00b3dfdb634d96758f378498aca4caac499d': Change-Id: I5fad795aa6c669a866c8e176ee2bbc9b087532c4
2016-04-19Tidy up uses of Integer.valueOf. am: 7b55edeNarayan Kamath
am: e2a4a6b * commit 'e2a4a6b610c3195f0a6f0e5d32ca6756df68f1b0': Tidy up uses of Integer.valueOf. Change-Id: I6ec5adcc841e09a2a275f4aae4f7827d6fe12281
2016-04-19Tidy up uses of Integer.valueOf.android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseNarayan Kamath
am: 7b55ede * commit '7b55edea45ee5e5447ef8afaa6b144b698ba6f49': Tidy up uses of Integer.valueOf. Change-Id: I5603fc72f6e8965fffcc483c6b5a76e3e0ecde5d
2016-04-19Tidy up uses of Integer.valueOf.android-n-mr1-preview-2android-n-mr1-preview-1Narayan Kamath
am: 7b55ede * commit '7b55edea45ee5e5447ef8afaa6b144b698ba6f49': Tidy up uses of Integer.valueOf. Change-Id: Id6ea9ba040dad664d9b6db6454694cb7d138af74
2016-04-19Tidy up uses of Integer.valueOf.android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr0.5-releasenougat-devnougat-cts-releasenougat-bugfix-releaseNarayan Kamath
Use parseInt when the result is assigned to an int. Allocates fewer objects. bug: 28078871 Change-Id: Iabff8445d703859b20b0f26a407cd5890ec98b80
2016-04-13PBAP migration to BT Profile am: 69f0e15Joseph Pirozzo
am: 82559e6 * commit '82559e6b789a368e3c5dcf2c34450d2bd015d8f8': PBAP migration to BT Profile Change-Id: Ibfb2e428cf5a895f2e0a022e038fc9868189e1e9
2016-04-13PBAP migration to BT ProfileJoseph Pirozzo
am: 69f0e15 * commit '69f0e1581d33e6c91f10f38702a860f40d24d0a8': PBAP migration to BT Profile Change-Id: I2f8b995d1f63be7a11bd2e37235c4c13caddf34c
2016-04-11PBAP migration to BT ProfileJoseph Pirozzo
am: ced8b4e * commit 'ced8b4edb87c940be0269d259f3e6c69e276e5ea': PBAP migration to BT Profile Change-Id: I9b82a41e74d027f0798b8d83199e3f8efb8d206d
2016-04-11PBAP migration to BT Profileandroid-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Joseph Pirozzo
Removal of code that was migrated into packages/apps/Bluetooth. Bug: 27490041 Change-Id: I482e0cc4193ac886c5f623c97841e8e1a8b0bc7c
2016-03-09PBAP migration to BT ProfileJoseph Pirozzo
Removal of code that was migrated into packages/apps/Bluetooth. Bug: 27490041 Change-Id: I482e0cc4193ac886c5f623c97841e8e1a8b0bc7c
2016-02-05PBAP takes Account so that VCardList can add them to operation list.Sanket Agarwal
am: 80232af158 * commit '80232af158166fbf46e0b4fd529cfd298fd8b759': PBAP takes Account so that VCardList can add them to operation list.
2016-02-05resolve merge conflicts of c7a36097b7 to master.Kenny Root
Change-Id: Ie896efde5f922c7c69cfbc201815a21d13bba02d
2016-02-05Use only UTF-8 for fetching a message.Sanket Agarwal
am: b15a8306d2 -s ours * commit 'b15a8306d22839f252a5c4de597e1d35a9f107a0': Use only UTF-8 for fetching a message.
2016-02-05PBAP OBEX session uses Handler/HandlerThread now.Sanket Agarwal
am: a3acb17ad3 * commit 'a3acb17ad38d82048816b37cc1eb6b7872540961': PBAP OBEX session uses Handler/HandlerThread now.
2016-02-05Mas Obex client should use Handler instead of threads.Sanket Agarwal
am: 6fbf388295 * commit '6fbf38829532d0368c2ae92b3c3d1b59eb34b80b': Mas Obex client should use Handler instead of threads.
2016-02-04PBAP takes Account so that VCardList can add them to operation list.android-n-preview-2android-n-preview-1Sanket Agarwal
Since VCardList can create the commits for the accounts database, we need to add Account information to the parser. This avoids having to do this in client code. Bug: b/26862739 Change-Id: I7690489c4e133c09dd4da6c8e3736ea71bb23a4b
2016-02-04Enhance logging.Sanket Agarwal
* Fix DBG to be static. * Add new debugging to PBAP. Change-Id: I61471466917e0e7c0771f2da7f17f21c51c46962
2016-02-04Use only UTF-8 for fetching a message.Sanket Agarwal
Currently the API lets the users fetch SMS using either UTF-8 or native SMS-PDU format. SMS-PDU is not supported by the String() class (also its more complicated than just a simple string encoding since it contains recipient etc information). Besides, the library does not decode such messages and leaves it to the user to handle them. Currently it decodes it as the default character set on device which is incorrect behavior. Hence in this change we ensure that the API can only be used with UTF-8 which makes the conversion of Strings consistent. NOTE: It's OK to avoid supporting native charset since it is not mandatory in MAPv12 spec. Change-Id: Ic10a82ff69f848cb3f6e80353d3e63ce3910d306 (cherry picked from commit 4b4d3f8260c9b4476f900ee7b08ee66450624081)
2016-02-04PBAP OBEX session uses Handler/HandlerThread now.Sanket Agarwal
PBAP was using Java threads which was making synchronization error prone (as revealed by just connecting/disconnecting pbap alongwith pulling contacts). This change uses Handler to post messages and cleans up the internal state of the OBEX client in general. Also, make the BluetoothSocket close non-blocking. Before this change the close() call was waiting on BluetoothSocket#open() to finish which has a deadlock. Change-Id: I0d8b3d08e19f6f34f0e115d08227b029c6c6751c
2016-02-04Mas Obex client should use Handler instead of threads.Sanket Agarwal
Using threads has the following issues currently: * Can only handle one enqueue in flight. Makes the client dependent on checking sanity. * Uses interrupts to clean up which can lead to race conditions. Change-Id: Id3b2e2199fea2347dd2b7102ec60004e996fe344
2016-02-02PBAP takes Account so that VCardList can add them to operation list.Sanket Agarwal
Since VCardList can create the commits for the accounts database, we need to add Account information to the parser. This avoids having to do this in client code. Bug: b/26862739 Change-Id: I7690489c4e133c09dd4da6c8e3736ea71bb23a4b
2016-01-12Enhance logging.Sanket Agarwal
* Fix DBG to be static. * Add new debugging to PBAP. Change-Id: I61471466917e0e7c0771f2da7f17f21c51c46962
2016-01-13Use only UTF-8 for fetching a message.Sanket Agarwal
Currently the API lets the users fetch SMS using either UTF-8 or native SMS-PDU format. SMS-PDU is not supported by the String() class (also its more complicated than just a simple string encoding since it contains recipient etc information). Besides, the library does not decode such messages and leaves it to the user to handle them. Currently it decodes it as the default character set on device which is incorrect behavior. Hence in this change we ensure that the API can only be used with UTF-8 which makes the conversion of Strings consistent. NOTE: It's OK to avoid supporting native charset since it is not mandatory in MAPv12 spec. Change-Id: Ic10a82ff69f848cb3f6e80353d3e63ce3910d306 (cherry picked from commit 4b4d3f8260c9b4476f900ee7b08ee66450624081)
2015-12-10PBAP OBEX session uses Handler/HandlerThread now.Sanket Agarwal
PBAP was using Java threads which was making synchronization error prone (as revealed by just connecting/disconnecting pbap alongwith pulling contacts). This change uses Handler to post messages and cleans up the internal state of the OBEX client in general. Also, make the BluetoothSocket close non-blocking. Before this change the close() call was waiting on BluetoothSocket#open() to finish which has a deadlock. Change-Id: I0d8b3d08e19f6f34f0e115d08227b029c6c6751c
2015-07-14Mas Obex client should use Handler instead of threads.Sanket Agarwal
Using threads has the following issues currently: * Can only handle one enqueue in flight. Makes the client dependent on checking sanity. * Uses interrupts to clean up which can lead to race conditions. Change-Id: Id3b2e2199fea2347dd2b7102ec60004e996fe344
2015-05-14MAPC: Fix following issues in map client codeandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1marshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-releaseHemant Gupta
- Fix NPE for ObexTime and dateTimeformat. Handle possible NullPointerException while accessing map client ObexTime constructor utility. Send all parameters event, status and notification state to Test Client for setNotifcationRegistration event both success and failure case. - Fix GetMessagelisting Request for maxlistcount value 0. Include maxlistcount for value 0 in application parameters header while composing obex GetMessageListing Request to MAP Server. - Add maxListCount param in getfolderlisting. A special case, where MCE APP send the folderlisting with maxlistcount=0, startoffset=5, As DUT(MCE role) does not include maxListcount param in folderlsiting, when it's value set to 0 by MCE APP. So as per the spec, MSE assume maxListCount = 1024 for folderlsiting & MSE response as the bad request, when startoffset is Out of range. Adding MaxListCount in folderListing to solve this issue, when it's value set to 0. - Handle exception for incorrect length value from MSE Handle possible exception while parsing GET Message response with incorrect LENGTH value fetched from MSE. - Include ParameterMask Header in GET only when specified. Include ParmaterMask in GET MessageLising Request only when specific values are selected from TestClient. ParameterMask is not a mandatory feild as per MAP1.1 Spec. excluding ParameterMask for default or value '0' fix MSE IOT issues that doesnot support ParameterMask Header. Change-Id: I1bee3f512f877974bb8fd63f3b27dc3ce3ff8a13
2015-04-14am 3920adc..3920adc from mirror-m-wireless-internal-releaseVinit Deshpande
3920adc Update to new OBEX transport and SDP search
2015-04-09Update to new OBEX transport and SDP searchCasper Bonde
The fetchMasInstances() search API have been replaced with a more generic sdpSearch(UUID) API, and therefore the constructor of BluetoothMasClient should take in a SdpMasRecord in stead of a BluetoothMasInstance. Any app using this library must use the new sdpSearch API and listen for the new ACTION_SDP_RECORD intent. Change-Id: I4a9a097fc05e227f606b8eb127a2762ec595cbab Signed-off-by: Casper Bonde <c.bonde@samsung.com>
2014-11-04PBAP-C: Do not disconnect pbap client sessionHemant Gupta
For a dut initiated get vcard request, if the server is responding with 'Not Acceptable' response code, do not disconnect the pbap client session. It allows the user to do other pbap operations without initiating pbap connection request once again. Change-Id: I389e357f2191c6be8042779d6d4cc77fc7ff64b4
2014-07-01Bluetooth: Support MAP and PBAP Client role on Bluedroid.android-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-m-preview-2android-m-preview-1android-m-previewandroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1master-soonglollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releaseHemant Gupta
Implementation of android.bluetooth.client.pbap and android.bluetooth.client.map STATIC JAVA lib for PBAP and MAP client role(s). These static libraries can be used by application for PBAP and MAP Client role support on Bluedroid. Change-Id: I173d2c095661704e2efb39516837c6b681193e9a
2014-03-31Initial empty repositoryGeoff Mendal