summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow HFP HF implementations to specify a client controller.Bryce Lee2015-10-283-0/+52
| | | | | | | | The client controller service is used by the HeadsetClientService to determine conditions such as whether audio routing to device is permitted. Bug: 25332357 Change-Id: I8971960f959084ed3969db7c8cdef11673a58994
* Remove receiver status foreground flagZach Johnson2015-10-261-1/+0
| | | | | | | | | | Turns out this actually causes more problems than it attempts to solve. b/25116554 b/25256719 Change-Id: Ia30ab5bf0f6e794376eae85b2616bcdb0049ef76
* Allow for supported profiles to be reloaded on enable.Bryce Lee2015-10-231-0/+6
| | | | | Bug: 24977590 Change-Id: I2e5371d3333482cdd1cf18d48fe3c2e0f2229e42
* Remove Vcard filter for call-logsAjay Panicker2015-10-221-4/+0
|\ | | | | | | | | | | | | am: b211df6fcb * commit 'b211df6fcbd7dcd055354b75afc2e68ea49a36d9': Remove Vcard filter for call-logs
| * Remove Vcard filter for call-logsAjay Panicker2015-10-221-4/+0
| | | | | | | | | | | | | | | | Timestamps were being incorrectly filtered out of Vcards when sending call-logs. Bug: 25084927 Change-Id: Ied8912e7d2fdbcc6e6980c3773c4ec5a449842ec
* | Fix file permissions for Bluetooth shareAjay Panicker2015-10-214-2/+31
|\| | | | | | | | | | | | | am: 66d643091e * commit '66d643091edba75b4524483ea640273344533378': Fix file permissions for Bluetooth share
| * Fix file permissions for Bluetooth shareAjay Panicker2015-10-204-2/+31
| | | | | | | | | | | | | | | | | | Used a file provider to serve up URIs to allow applications to access files in the external Bluetooth directory. Bug: 23367919 Change-Id: Iadcdcafb235f3eeb50a0e147f3ef982fc9ee38b3
* | Only apply foreground flag for audio state connectedZach Johnson2015-10-171-1/+1
| | | | | | | | | | | | | | The other states aren't really that important, and this reduces the chance of ANR. Change-Id: Ie019b81a9fbfb9238cf8b6cce1308d0d7358cbf8
* | Add FLAG_RECEIVER_FOREGROUND to audio state broadcastsZach Johnson2015-10-171-0/+1
| | | | | | | | | | | | | | This is important so audio can be rejected in a timely manner when necessary. Change-Id: I4a7789d262ac74c5014b34eb959d502a68217362
* | am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabledFyodor Kupolov2015-10-153-15/+25
|\| | | | | | | | | * commit '4a9f9b0253fde7341bf9e12c5bd0e6f29fced4fc': Fix foreground scans for pre-M apps when location is disabled
| * Fix foreground scans for pre-M apps when location is disabledFyodor Kupolov2015-10-123-15/+25
| | | | | | | | | | | | | | | | Foreground scans were still broken even for L-or-earlier apps when the location was disabled. Bug: 24203266 Change-Id: Iaad8d7828a4b383b6cc0a033e94c7d2cd8c9328b
* | am faf199e4: SAP: Fix missing connect response when call ongoing at connectHemant Gupta2015-10-111-13/+22
|\| | | | | | | | | * commit 'faf199e456dbb987f343c829c603c035df10add7': SAP: Fix missing connect response when call ongoing at connect
| * SAP: Fix missing connect response when call ongoing at connectHemant Gupta2015-10-071-13/+22
| | | | | | | | | | | | | | | | | | The CALL_ONGOING_STATE was set twice, causing the connect response not to be sent to the peer device when there was an ongoing call on DUT. This was violating the SAP Spec. Bug: 24520367 Change-Id: I290d924870381a82a4abd8b6c42a6d0ebf55652f
* | Avoid NPE when dumping headset profile state.Sharvil Nanavati2015-09-261-4/+10
| | | | | | | | Change-Id: I91767bcc09d4e16a9bd5c8dbe2e662a96f9880a5
* | am 704e3f3a: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-250-0/+0
|\| | | | | | | | | * commit '704e3f3af7cf84f51e9fbed82559f40b390ef62c': Import translations. DO NOT MERGE
| * Import translations. DO NOT MERGEBaligh Uddin2015-09-241-1/+1
| | | | | | | | | | Change-Id: I65c7851b505747cca3d79e899ac168f07520fa0a Auto-generated-cl: translation import
* | am 184ad241: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-180-0/+0
|\| | | | | | | | | * commit '184ad2417e3855f868e4533d69f2b0b02b2705a0': Import translations. DO NOT MERGE
| * Import translations. DO NOT MERGEBaligh Uddin2015-09-183-12/+12
| | | | | | | | | | Change-Id: I1ebce88cb2ffc43352d10ab0a81874f87e4f2d48 Auto-generated-cl: translation import
* | Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn ↵Sharvil Nanavati2015-09-141-2/+3
|\ \ | | | | | | | | | state." into cw-e-dev
| * | Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state.Sharvil Nanavati2015-09-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The broadcast is currently sent while the HFP client state machine is in the Connected state. As a result, a broadcast receiver who wishes to disconnect the incoming audio connection won't be able to successfully call disconnectAudio. By changing the internal state first and then broadcasting, receivers can immediately perform audio operations. Bug: 23568208 Change-Id: I60de9775f9a0126774275d08ef999f082ae41747
* | | Read connection intervals from config.xml so it can be overriden by device.Sharvil Nanavati2015-09-132-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wear needs the minimum possible connection interval for BLE connections to support the Wear iOS companion app. This change simply moves the hard- coded connection intervals to config.xml so they can be overriden for Wear devices. Bug: 23903184 Change-Id: I1f60772ef6a100ad5e4f02f629b5ca6e80fc207a
* | | am 1c28582b: Allow senderAddressing on default filter for message ListingAjay Panicker2015-09-111-1/+1
|\ \ \ | |/ / |/| / | |/ | | * commit '1c28582b0e780eed2f8480e5c2dfbf0da745e4e8': Allow senderAddressing on default filter for message Listing
| * Allow senderAddressing on default filter for message ListingAjay Panicker2015-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | Adjusted the PARAMETER_MASK_DEFAULT constant for when a message listing request is recieved and a message filter isnt provided. This new filter value causes the sender_address field to be sent along with all the other default information. Bug: 22163529 Change-Id: I49444cfb341d2e6cc72bdab55aa441d712b03f14
* | am 0ebd4e58: Move SMS message to proper folder after sendingAjay Panicker2015-09-101-0/+3
|\| | | | | | | | | * commit '0ebd4e58920add6114b1f345b7d95e0709096fe3': Move SMS message to proper folder after sending
| * Move SMS message to proper folder after sendingAjay Panicker2015-09-091-0/+3
| | | | | | | | | | | | | | | | | | | | Move a SMS message to the correct folder upon receiving an intent detailing if the message was succesfully sent or not. If sent successfully, move to the SENT folder, otherwise move it to the FAILED folder. Bug: 22992865 Change-Id: Ifdcfb7bb613844f507ef27460ead520c6573b89d
* | am 6385f5ec: Add NREC setting routine even after SCO connectedSungmin Choi2015-09-091-0/+5
|\| | | | | | | | | * commit '6385f5ec823dd1113708532d20729dba67d9beaa': Add NREC setting routine even after SCO connected
| * Add NREC setting routine even after SCO connectedSungmin Choi2015-09-081-0/+5
| | | | | | | | | | | | | | Bug: 23471393 Change-Id: I46264238e4810a7f280e656220bc68e76eb0cb37 Signed-off-by: koh.changseok <koh.changseok@lge.com> Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
* | am 471e023d: SAP: Fix missing attribute in disconnect_indCasper Bonde2015-09-083-97/+93
|\| | | | | | | | | * commit '471e023da5f39d21ebcb1d3fad43a591c15f6be3': SAP: Fix missing attribute in disconnect_ind
| * SAP: Fix missing attribute in disconnect_indCasper Bonde2015-09-073-97/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The internal TEST flag was removing too much code. To make it easier to run test, and avoid future issues with removing needed code, the TEST flag is no longer used to remove code. This bug was noticed when running the PTS testcases without the PTS_TEST flag set. It is assumed that this fix will make TC_SERVER_DCN_BV_02_I work without the PTS flag, but unless PTS have updated their test case to accept both a gracefull disconnect and a forced disconnect, TC_SERVER_DCN_BV_03_I will still fail in a production build. The SAP spec suggest to use a gracefull disconnect when initiating a disconnect from a server, hence it is not a good idea to expose a force disconnect option to the used without first having tried a gracefull disconnect. Hence the PTS test case implementation is in conflict with the intented use specified in the SAP specification. Without this fix a build with PTS_TEST=false will not work as intented. PTS_TEST replaced with system property bt.sap.pts. Set it to true to enable the force disconnect button. Bug: 23614694 Signed-off-by: Casper Bonde <c.bonde@samsung.com> Change-Id: I776a53d6e786c21000ef62094f9a9948ee5880b8
* | am e377aae9: SAP: Fix logic to skip padding bytes for requests receivedCasper Bonde2015-09-042-13/+21
|\| | | | | | | | | * commit 'e377aae948e58f974c3af14360d2f6ce09b868aa': SAP: Fix logic to skip padding bytes for requests received
| * SAP: Fix logic to skip padding bytes for requests receivedCasper Bonde2015-09-032-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per SAP spec, padding bytes can be 0-3 bytes, but the current code has incorrect logic, that would lead to calculation of padding bytes as 4 in case the APDU length was multiple of 4, which would lead to incorrect parsing logic in SAP Server and can lead to issues of no response for APDU request from SAP Server as it keeps waiting for reading more bytes from rfcomm which are not present. Also check added in code not to send msg to RIL if socket is null to prevent crash in BT Sap module. Bug: 23024598 Signed-off-by: Casper Bonde <c.bonde@samsung.com> Change-Id: I24e4a6b850709c9c32b7e0992626a0219dacef03
* | am 08fba96f: am bf37a029: Fix column ID for PBAP name lookupAndre Eisenbach2015-09-011-4/+6
|\| | | | | | | | | * commit '08fba96fc3955528bc3a2761731876c1b03f9e4f': Fix column ID for PBAP name lookup
| * am bf37a029: Fix column ID for PBAP name lookupAndre Eisenbach2015-09-011-4/+6
| |\ | | | | | | | | | | | | * commit 'bf37a0295d110b77b635ca2986172bbdd59331bb': Fix column ID for PBAP name lookup
| | * Fix column ID for PBAP name lookupAndre Eisenbach2015-08-311-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | When a phonebook lookup is performed to resolve a phone number into a name, the wrong column ID is used to retrieve the value from the cursor, causing an un-caught exception and a failed lookup. Bug: 22953958 Change-Id: I1f826412916012382903fdf30d43d5cb3516432c
* | | HFP should let the system handle ringtonesZach Johnson2015-08-271-47/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://www.youtube.com/watch?v=NJVrTYbxwgA First of all, it was choosing the sound in this order: 1. alarm sound 2. notification sound 3. ringtone sound me: o_O Second of all, it can't take custom ringtones for contacts into account. Change-Id: I16e04e69bdc9b190f8d12412dfd8365420f1da5b
* | | am d678c40f: am 9135d866: HFP/A2DP: Remove pending auto-connect messages ↵Ajay Panicker2015-08-272-4/+16
|\| | | | | | | | | | | | | | | | | | | | when connected * commit 'd678c40f35f18ef48bddbbf07934bd2b82f92400': HFP/A2DP: Remove pending auto-connect messages when connected
| * | am 9135d866: HFP/A2DP: Remove pending auto-connect messages when connectedAjay Panicker2015-08-272-4/+16
| |\| | | | | | | | | | | | | * commit '9135d866b12ff019a4eae37e7a8c0df56a4383f2': HFP/A2DP: Remove pending auto-connect messages when connected
| | * HFP/A2DP: Remove pending auto-connect messages when connectedAjay Panicker2015-08-262-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug in which being paired with multiple headsets causes previously connected headsets to disconnect. This fix removes pending connect attemps once one device is successfully connected. Bug: 23111466 Change-Id: Id471189d92643b9626e63197c00e76defd0a72bf
* | | Fix low volume on Nemo devices after accepting incoming HFP call.Sharvil Nanavati2015-08-241-0/+6
| | | | | | | | | | | | | | | Bug: 23495386 Change-Id: I98c60188dd5d4aaf4bc5a7f212219918e1374989
* | | am 8f1def75: am 72ecb4ca: Make location enabled check configurable when ↵Sharvil Nanavati2015-08-202-6/+19
|\| | | | | | | | | | | | | | | | | | | | returning scan results. * commit '8f1def75a6f57a04fd0e8a6423343a690d694154': Make location enabled check configurable when returning scan results.
| * | am 72ecb4ca: Make location enabled check configurable when returning scan ↵Sharvil Nanavati2015-08-202-6/+19
| |\| | | | | | | | | | | | | | | | | | | results. * commit '72ecb4caa630b63f66505ccb202a807b1af4e294': Make location enabled check configurable when returning scan results.
| | * Make location enabled check configurable when returning scan results.Sharvil Nanavati2015-08-192-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some device classes (e.g. Wear) don't allow location to be enabled but would still like to allow LE scanning to take place. This patch allows the location enabled check to be bypassed if the platform is so configured. Even if the location check is disabled, the calling app must still have one of the location permissions. Bug: 21852542 Change-Id: I206366ce262776d4668c0c42e066f0e20f5fdfeb
* | | am fe7270b5: Merge "SAP: Do not send padding when packet size is mutiple of ↵Vineeta Srivastava2015-08-141-2/+4
|\| | | | | | | | | | | | | | | | | | | | 4" into mnc-dr-dev * commit 'fe7270b5aee5b3345d5c60f161d866a0648dead9': SAP: Do not send padding when packet size is mutiple of 4
| * | Merge "SAP: Do not send padding when packet size is mutiple of 4" into ↵Vineeta Srivastava2015-08-141-2/+4
| |\ \ | | | | | | | | | | | | mnc-dr-dev
| | * | SAP: Do not send padding when packet size is mutiple of 4koh.changseok2015-08-041-2/+4
| | | | | | | | | | | | | | | | | | | | Bug: 22943799 Change-Id: I48d411f4e3a79a891360a9a855c4680bea19d748
* | | | am cd1747f7: am 312e10ad: Block results if location is disabled in SettingsFyodor Kupolov2015-08-143-1/+22
|\| | | | | | | | | | | | | | | | | | | * commit 'cd1747f76733ab66fe77107d28aa35a7f0a0ce32': Block results if location is disabled in Settings
| * | | am 312e10ad: Block results if location is disabled in SettingsFyodor Kupolov2015-08-143-1/+22
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit '312e10ad5bcbb1e3d021c4798d55c40f99c7a6ef': Block results if location is disabled in Settings
| | * | Block results if location is disabled in SettingsFyodor Kupolov2015-08-123-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps holding PEERS_MAC_ADDRESS permission can still access scan results. Bug: 21852542 Change-Id: I75fc289e8965df64efb7ff84fe5a4204904724ab
* | | | am 009f740e: am fdb62835: Revert "Bluetooth-OPP: Enable support to send same ↵Pavlin Radoslavov2015-08-083-46/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | file multiple times" * commit '009f740ebdbfc60c1aaac2f7eb53818bb7385955': Revert "Bluetooth-OPP: Enable support to send same file multiple times"
| * | | am fdb62835: Revert "Bluetooth-OPP: Enable support to send same file ↵Pavlin Radoslavov2015-08-083-46/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | multiple times" * commit 'fdb62835992e82681d2166dbf5716e26ab57d964': Revert "Bluetooth-OPP: Enable support to send same file multiple times"