| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.
Rename halting to onHalting.
Add onQuitting
Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.
bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
|
| |
|
|
|
| |
Bug: 5572649
Change-Id: I62f9e0620832b69995d5c6e1c24634c9a3895a4b
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Send CONNECT_OTHER_PROFILE to Device profile for low priority hfp and a2dp
incoming connect. In the case when HFP autoconnect is off but a2dp autoconnect
is on, if HF autoconnect to HFP, phone will reject HFP but connect a2dp.
Before this fix, phone reject HFP. A2dp will not get connected unless the HF do
media auto-connect, which most carkits do not do.
Also do similar change for incoming a2dp connection
bug 5091838
Change-Id: Ife1815f527bcd94e0d9ffc645028484fa9c49a43
|
| |
|
|
|
|
|
|
|
| |
Sometimes when headset service doesn't get bound, the auto
connection fails.
Based on a patch by: Chunho Park <chun.ho.park@samsung.com>
Change-Id: Ia24613b47487717f51895953c7e8bc52abffecb5
|
| |
|
|
|
|
| |
Replace null device address string by empty sting.
Change-Id: I285c35f3345334e6d2190493b1a8a5aca1a361a4
|
| |
|
|
|
|
|
|
|
| |
1. Since Input device runs in Bluetooth Service, avoid the proxy call.
2. Accept or reject incoming tethering connections.
This broke because of incoming connection request change for phonebook, HID,
A2DP.
Change-Id: Ia8c537bb79e4dbc66cfb6b23dcad4f99dbf950b3
|
| |
|
|
|
|
|
|
| |
Don't show incoming connection dialog when the device shows
the pairing dialog - this means that the device has already been
trusted by the user.
Change-Id: I98a9f56528f6b62d0f824bbc7612aaa0077ba1e6
|
| |
|
|
|
|
|
|
| |
This sends the intents to the Settings app to show
the dialogs for the incoming connection requests.
Includes down merged contributions from Jaikumar Ganesh.
Change-Id: Ic8b857aad3554315aae39a0e871eb94d0ac98a91
|
| |\
| |
| |
| |
| |
| |
| | |
StateMachine and State.
* commit '64c42cae4482fe0157e977b8ddd0f2c2436b3f31':
Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
|
| | |
| |
| |
| | |
Change-Id: Ib4b33894da75f5f156066092fb145b478e52f7d7
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
of debuging code."
* commit 'b8332786e3ac6d58504a7c3128e94e63255b3515':
Removing dead store; it was likely a relict of debuging code.
|
| | |
| |
| |
| | |
Change-Id: I4daab1359d7c4b300ef61e3de1578d9fecb6f8da
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ACL auto connection was removed so other profiles
won't auto connect when priority was auto connect.
Reduced connect other profiles time delay.
Bug: 3281016
Change-Id: Ic56ca6e95f618f02bc316d1f80014e58c4b6c3bc
|
| | |
| |
| |
| |
| |
| |
| |
| | |
There is no need for this and causes problems with certian cars.
Fixes bug: 3281016
Change-Id: Idb65bbd4c8573923ebf82195b828ae071cb20aef
|
| | |
| |
| |
| |
| |
| |
| | |
connections for all profiles.
Bug: 3136095
Change-Id: I48f36b99f3f7619a6a18c6adc2057c9d6d23c3e3
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Several cleanups to BluetoothService:
- Move BluetoothService.BondState inner class to top level.
- Extract adapter and remote device properties cache management
logic into two new classes: BluetoothAdapterProperties and
BluetoothDeviceProperties.
- Add getter methods for other classes in the package to access
the new properties cache objects for multi-part operations.
- Inline log() method in BluetoothService and selected the
appropriate Log method (Log.d, Log.w, Log.e) for each message.
- Refactor dump() method into smaller sized pieces.
- Clean up logic of updateCountersAndCheckForConnectionStateChange()
method for better readability.
- Change sendConnectionStateChange() to return instead of sending
an intent if the current or previous state values are invalid.
Previously the code sent an intent with -1 for the invalid state.
- Added Javadoc comments to document the methods that are called from
native Bluez code.
- Fixed some typos and code style issues.
Original Change by: Jake Hamby
Modified by: Jaikumar Ganesh
Change-Id: I76ebac00ecd29566dcb2d1ad3e7a486b7530ce24
|
| | |
| |
| |
| |
| |
| | |
This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles.
Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ACL auto connection was removed so other profiles
won't auto connect when priority was auto connect.
Reduced connect other profiles time delay.
Bug: 3281016
Change-Id: I8d98fd0d9bace193d619d7f241fff22f07e3e935
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Multiple HID devices can be connected. There is no pointing
maintaining the global state. Check individual device state.
Bug: 3350904
Change-Id: I03d9a6015e39e4f9d7f68cc8bbdb19731129b4e6
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
There is no need for this and causes problems with HID.
Its the reponsibility of the remote device to initiate connection
when back in range.
Fixes bug: 3282682
Change-Id: I9fed15d4ce0ae4539059001db54cc302a55e2015
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
SDP records are now registered with a dbus call so we don't have to wait
for initiating auto connections.
Also reduce time to connect other profiles case by 2 secs.
Change-Id: I8f0eab6a95d3bfaf11a8eb7495a024949639d7fc
|
| | |
| |
| |
| |
| |
| | |
Review comments from a previous review.
Change-Id: Ifa6136f9bc5590ffb6a777240ad1e6607b616ca6
|
| | |
| |
| |
| |
| |
| |
| | |
1. Disable PBAP and Headset / Handsfree records.
2. Add API to query for local adapter UUIDs.
Change-Id: Ic84ba6a49738adc89a8695d3a4890f08562e0621
|
| | |
| |
| |
| |
| |
| | |
Also, add a missing break.
Change-Id: I228f80a4223de20e60d2f3828e3f63bdc14f5afc
|
| | |
| |
| |
| |
| |
| |
| | |
This fixes the incoming auto connection of profiles with certain remote devices.
Bug: 3136095
Change-Id: If26b5aa91403c0c7bd547e2970ee5bf2ac381416
|
| | |
| |
| |
| | |
Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit 'a905d9551103c5be465429ffeb0352b78058457e'
* commit 'a905d9551103c5be465429ffeb0352b78058457e':
Remove STOPSHIP and reduce log spam.
|
| | |
| |
| |
| |
| |
| |
| | |
We still need some logs, as it helped me fix the errant headset bug.
Bug: 3095000
Change-Id: If12601430e6dc30490df1ff86fc3f9d4d455e6d5
|
| |\|
| |
| |
| | |
Change-Id: I85de73f6e11e7547a006d41ca49021bca19af14b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Some headsets send an AVCTP connection before an AVDTP connection
When that AVCTP connection fails, we get stuck in IncomingA2DP state
because we don't handle AVCTP signals for now.
We need to handle the signals and fix it better.
2. Also when ACL gets disconnected, reset state i.e
when the low level connection disconnected reset our state.
This is like a fail safe in case we get stuck.
Bug: 3051490
Change-Id: Ibcf188103999ffb1e08c36c2554504c639fb7f50
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
connecting well. Defer the message." into gingerbread
Merge commit '373a69614e534ae04dddd79c92933b6d8969fad7'
* commit '373a69614e534ae04dddd79c92933b6d8969fad7':
Bluez doesn't handle disconnect while connecting well.
|
| | |
| |
| |
| |
| |
| |
| | |
Defer the message.
Bug: 3076404
Change-Id: Id62e1008346f492a85e714240a832a061def1786
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PBAP profile is associated with HFP profile. Disconnect PBAP
profile while disconnecting HFP profile. We ever never doing this
and were expecting the remote end to do it. So when the user
disconnects a headset, we will end up with the ACL link still up
because PBAP has not been disconnected.
This is little bit of a hack till PBAP profile is converted to
use the new profile APIs.
Change-Id: I5f68b228fd5e607605928a52343ad4b86c58ac0b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PBAP profile is associated with HFP profile. Disconnect PBAP
profile while disconnecting HFP profile. We ever never doing this
and were expecting the remote end to do it. So when the user
disconnects a headset, we will end up with the ACL link still up
because PBAP has not been disconnected.
This is little bit of a hack till PBAP profile is converted to
use the new profile APIs.
Change-Id: I04821daae6588955fbfea01472e6a1b6f9212608
|
| | |
| |
| |
| | |
Change-Id: Id730fb6226db59f3a0416111c4790653c2fccb0b
|
| |/
|
|
| |
Change-Id: Ib9f3e476d4176bc04e23e7674dc54aa5a6417308
|
|
|
Change-Id: I843ea9ab0bb2372c8316e99e8c083a9939ad774a
|