summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure server response doesn't exceed maximum allowable lengthcm-11.0Jakub Pawlowski2018-07-171-1/+7
| | | | | | | | | Bug: 78787521 Test: try sending response bigger than BTGATT_MAX_ATTR_LEN Change-Id: I51b12483cced7e4c0d967acf5bb42559ef169fe7 Merged-In: I51b12483cced7e4c0d967acf5bb42559ef169fe7 (cherry picked from commit 0f34ae9398ed017465c0cac7387be9e6951c07be) (cherry picked from commit c2813a2b6e6dda20e9a25947a4cf5adf6a4f4132)
* OPP: Restrict file based URI access to external storageJack He2017-06-116-12/+66
| | | | | | | | | | | | | * Allow only external storage paths in file based URI in BluetoothOppSendFileInfo when the file send request comes from an external source * Fix a potential NPE when using Uri.getPath() Bug: 35310991 Test: Make, test various cases of Bluetooth file share Change-Id: Id5519588266f22674b6d01ec6ebe34fe38cbccce (cherry picked from commit 3edd7f0a8aadf2f44bc62ea5b567c74d39a534c8) (cherry picked from commit 3ce229fa602f739d1e98e2a85a3bd955c3a308f6)
* Fix setPairingConfirmation permissions issue (1/2)Ajay Panicker2016-11-201-2/+2
| | | | | | | | | | | setPairingConfirmation was set to only require BLUETOOTH_ADMIN permission which shouldn't be able to set the confirmation itself. This is restricted to BLUETOOTH_PRIVILEGED permission. Bug: 29043989 Change-Id: Iae8e31b25795989446265fdcc5eb27e6ffaf29aa (cherry picked from commit 3ccc668ff8912d3b7c12575d46d2038ecce1fd76)
* DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMSMiao Chou2015-11-091-2/+12
| | | | | | | | | This CL adds permission check to avoid unauthorized deletion of any MMS/SMS messages in BluetoothMapContentObserver.actionMessageSentDisconnected function. Bug: 22343270 Change-Id: I30254036309733be4d54db17a8ef17a571cd1c5a
* Automatic translation importMichael Bestas2015-08-231-0/+22
| | | | Change-Id: I988e27349d03eccf3b9014a3283d49f0357c0e92
* Automatic translation importMichael Bestas2015-06-222-1/+22
| | | | Change-Id: I345d9674064e25fe71b9d620e9ab24676e8e7635
* Automatic translation importMichael Bestas2015-05-312-2/+2
| | | | Change-Id: I3121d0ccb6438b096b5608ed9e39cbc98e647dad
* Automatic translation importMichael Bestas2015-04-241-0/+22
| | | | Change-Id: I4c005dbc44c6602fcdea4f93030f8b0d281adbc7
* Automatic translation importMichael Bestas2015-04-182-0/+44
| | | | Change-Id: I21717751ae5747cc0b5271496827cd69598c43fd
* Prevent duplicate OPP permission request dialogsAndre Eisenbach2015-04-101-1/+2
| | | | | | | | When multiple files are sent in a single OPP session, the user should be prompted to accept/reject only once. Bug: 17770561 Change-Id: I438116915883c5fdc2d743f13456006f66511c0f
* Check previous user confirmation before auto-confirm put requestMatthew Xie2015-04-103-15/+13
| | | | | | | Also correct a confirm status change check in updateShare. Bug: 17770561, 18343032 Change-Id: I8e7d10e73604c0bf1c88801a1caef7d579fbd1eb
* updateshare confirm logic missed cases like CONFIRMATION_DENIED, TIMEOUT. fix itMatthew Xie2015-04-101-1/+3
| | | | | bug 17770561 Change-Id: I34fb018d9787b4deef8592c71f5539778e76e325
* Automatic translation importMichael Bestas2015-03-161-0/+22
| | | | Change-Id: I7da6dec64b27eb790a63c4a7103e951539884676
* Automatic translation importMichael Bestas2015-03-042-0/+44
| | | | Change-Id: I93c36c1a6cf28dd83dee9c9c963dc84c374377bd
* Automatic translation importMichael Bestas2015-02-151-1/+1
| | | | Change-Id: Ifbd3087d0f9ac2159b7f23e736c4b762f19ecc81
* Automatic translation importMichael Bestas2015-01-191-0/+8
| | | | Change-Id: I5f383b571be61873d514d775110d66a12ecea6c8
* Automatic translation importMichael Bestas2015-01-113-8/+2
| | | | Change-Id: I559ad5183a165359c7afaebf9c0aefebd1d59d5a
* Automatic translation importMichael Bestas2015-01-033-7/+29
| | | | Change-Id: I1741e3dae31453211f5a6f19e4c70573b250e197
* Automatic translation importMichael Bestas2014-12-201-3/+3
| | | | Change-Id: Ic46540847a0a86598bc74643741d8d29891ee5a9
* Automatic translation importMichael Bestas2014-11-274-0/+87
| | | | Change-Id: I13ee41900dcf0df77acb6adf09b8996aa7c7d5f4
* Automatic translation importMichael Bestas2014-10-271-0/+22
| | | | Change-Id: I6120fe99906005229d48002a259cdd4079821bfc
* Automatic translation importMichael Bestas2014-10-214-0/+67
| | | | Change-Id: I9109d8078e093f2b60bab6ca4215c6062febbffb
* Automatic translation importMichael Bestas2014-10-158-0/+268
| | | | Change-Id: I05489e79c5aa207bbea64a9c8f34e8f5d8cee5ac
* Bluetooth-OPP: Cleanup pending share while BT turn OFFJuffin Alex Varghese2014-10-112-3/+100
| | | | | | | | | This will ensure that pending OPP shares will be removed from database while BT is turning OFF. Otherwise, BT turned back ON if there are some pending share in database it will start sending automatically. CRs-Fixed: 611970 Change-Id: Ibc2664840f11bfeaefb5984e8ac18a171d515129
* Bluetooth: Re-try connection in Quiet Mode.Gaurav Asati2014-10-111-2/+1
| | | | | | | | | When pairing and connection is initiated by NFC and connection for either of A2dp/HFP fails, then re-try for connection of failed profile. Change-Id: I5102e3e2468fcbd9bfc28899d4939bc81722b30c CRs-Fixed: 680489
* Bluetooth: Fix for BT fails to turn on in PDT testpramod kotreshappa2014-10-113-0/+16
| | | | | | | | | | | Fix for BT fails to turn on after several hours of PDT test Issue is due to disable timeout, host fails to get the wack ACK from the SoC during BT turn of. Adding ssr cleanup routine in disable timout routine CRs-Fixed: 614585 Change-Id: Ia32da9426f976ddc71f0ad740312222b4b646c94
* Fix to avoid the invalid state of profilesSungJun Park2014-10-111-0/+2
| | | | | | | Due to STOP_TIMEOUT followed by ANR crash, we need to kill the process similar to DISABLE_TIMEOUT case. Change-Id: I89cc46481610457142b479acb68de224b1eecda3
* Bluetooth: Initiate SDP after remote disconnect.Gaurav Asati2014-10-111-0/+12
| | | | | | | | | Initiate SDP if remote has disconnected just after pairing and initiated A2dp/HFP connection. Change-Id: Ia4ab534be1b9813c7147e1b1b037aa8e721ee190 CRs-Fixed: 664310 CRs-Fixed: 667989
* Bluetooth: Delay timeout for ConnectOtherProfile.Gaurav Asati2014-10-111-5/+20
| | | | | | | | | Some devices reject connection when connection is initiated after 6 secs, delay connection timeout for such devices to 10 secs. Change-Id: I676b98ae64085a45bd6ecb9a6aeac7921a009e84 CRs-Fixed: 671762
* Bluetooth: Fix for Intent to reach the receiver timeboundpramod kotreshappa2014-10-111-0/+1
| | | | | | | | | Set the flag foreground to make sure the intent is reached to receiver immediately. CRs-fixed: 635246 Change-Id: I3d317f6e8f65ce47fa2fa8e0ed84235fc8e7f889
* Bluetooth: Added null check condtion.Nitin Srivastava2014-10-111-1/+2
| | | | | | | | | | | Added null check before accessing mCurrentDevice. Due to delay in broadcasting A2dp connection states, Bluetooth settings can query getConnectedDevices when current state is disconnected causing NPE. Change-Id: I2a612e05a3c1a830c9f3bda742bff1b32784e51b CRs-Fixed: 644148
* Bluetooth: Broadcast Audio Stopped Event.Gaurav Asati2014-10-111-0/+1
| | | | | | | | When remote has suspended A2dp streaming broadcast audio state as a2dp stopped. Change-Id: I6389031f364d506d9f4b334f2a81bdef4542fc54 CRs-Fixed: 645135
* Bluetooth: Remove Connect time-out in stable state.Gaurav Asati2014-10-111-1/+4
| | | | | | | | | Remove connect time-out when moved to Connected/Disconnected instead of Pending state. Initiate disconnect on timer expiry. Change-Id: I687d6916e037c30e6c0619bfe6404ddd4ddfa46a CRs-Fixed: 678043
* Automatic translation importMichael Bestas2014-10-042-0/+44
| | | | Change-Id: I939e14fcc26274df455eec981e21ab990934181b
* Automatic translation importMichael Bestas2014-09-2944-294/+45
| | | | Change-Id: I6e384915dc0ea5f05a40298f0a166b3df1529afa
* Bluetooth: Update proper delete calls in AVRCP JNIGubbala Venugopal Rao2014-09-231-4/+4
| | | | | | | | Avoid delete[] to free the pointers which are not created by using new[]. Change-Id: I8f03335445b3c1b169c2905ec9daa4ec16dcc13c CRs-Fixed: 629728
* Bluetooth: Delete the pointer to avoid memory leakageGubbala Venugopal Rao2014-09-231-0/+9
| | | | | | | | Delete the pAttrs pointer incase of invalid input parameters Change-Id: I0da9a804da3462dcd582a9c6d761310282b2db83 CRs-Fixed: 638300
* Remove duplicate mime type for apk file transferScott Mertz2014-09-231-1/+0
| | | | Change-Id: I2c3189531bca249783e286dc14a5d17627a3412a
* Bluetooth: Move CAF stringsMichael Bestas2014-09-222-4/+23
| | | | Change-Id: If0166e83efba37441f271bcd2afd303880af4ceb
* Update song start time and current PositionAyan Ghosh2014-09-191-5/+13
| | | | | | | | | Update song start time and current position only when change in metadata detected or Audio manager updates the time when playstatus changes or seek is performed on media player. CRs-Fixed: 674410 Change-Id: Ib0f1f9a551008084584ccfdcdff302c424d6214a
* Automatic translation importMichael Bestas2014-09-131-0/+3
| | | | Change-Id: Ie780013fadae0b964539759ac0887dea23b37614
* Bluetooth: Fix some error messagesScott Mertz2014-09-101-15/+15
| | | | Change-Id: I368003da596bfa08e48354404f88b2ae1fbf8bb6
* Automatic translation importMichael Bestas2014-09-092-0/+22
| | | | Change-Id: I17d4580242b132e9a28d3615fa40de171ca30f3e
* Automatic translation importMichael Bestas2014-09-012-2/+2
| | | | Change-Id: Ie878c63a43bfd3d66f9a5362f7743e2b2bf1ea8c
* Automatic translation importMichael Bestas2014-08-2347-52/+72
| | | | Change-Id: If4d4b4efcb0f56669b09c8c9d7d0a2014b0e844c
* bluetooth: avrcp - Respond to PDU 0x16 correctlyScott Mertz2014-08-211-3/+8
| | | | | Issue: CYAN-4148 Change-Id: I0509334a05a25068c25ea0ae84eb866804c3bba3
* Automatic translation importMichael Bestas2014-08-093-1/+35
| | | | Change-Id: I7281414edb4efe7d60d33050974d25ae3247cbc2
* Bluetooth: Prevent race condition when authorizingScott Mertz2014-08-051-1/+1
| | | | Change-Id: Ic875fd619afea5fd36ce9b2f71a91d2d68dbb578
* Automatic translation importMichael Bestas2014-07-245-4/+49
| | | | Change-Id: Ib5909ca10706f41bb3d51ba2d5e97752dee3d00b
* Bluetooth: MAP: Close output stream before closing client sessionPradeep Panigrahi2014-07-241-4/+0
| | | | | | | | | | Body field is not added on the put request if we close the client session before output stream. Hence add change to close output stream before client session. CRs-fixed: 623805 Change-Id: I73bbf06ca9bcceb465e196f58d8d4dda19005861