Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active
Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active
Bug: 27410683
Change-Id: Ibededbdb832275db4b6e78af83d26754f8b5a9ec
Add ability and interface for adding dynamic entries to the interop
workaround database.
Bug: 26548845
Change-Id: I17f8cbdf1e63c316aa52903be7ec526c9b1376bb
Arguments are passed through in order to support metrics logging and
future support for other dumpsys support in the native daemon.
Change-Id: Icaa75b9f36cca7e2dd2ceb5f94b27dec657d34e4
(cherry picked from commit 4236525865b119af9d2e2f5a87ac21c91fc90333)
Introduces a UID traffic struct and includes it in the API
for querying energy usage data.
Also adds the calling UID as a parameter for starting sockets
so that network traffic can be tracked.
Bug:26039657
Change-Id: I30a48bcf0abae2fae11454e0d5bb76017b42beea
Implemented the factory reset function to be used to reset all bluetooth
settings on device to factory default
Bug: 16161518
Change-Id: I69358db95582ddd0f2f640f76cf0931f797d369b
This change enable the posibility to enforce using a
16-digit pin or MITM for a RFCOMM or L2CAP connection.
This is needed for the SIM access profile.
Change-Id: I4d43eefa76e8abc1bcfad6dfd9004d8e82168bf4
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Added interface to create SDP records, to allow the upper
layers to set the content of the SDP record, including
both a RCFOMM channel and a l2cap PSM.
Change-Id: I7c47848a10b3d3091afbeadb4de8a8d7ea812288
Both use the same structs for APIs and callbacks, but now
source and sink mode can operate independently with separate
Bluetooth profile services in the framework.
An extra callback btav_audio_config_callback is used for reporting
audio configuration for A2DP sink role
Change-Id: I6e8172b66ff95e61721d1c35790609b7ae2be030
This allows us to add a new BluetoothProfile subclass for
the AVRCP controller role independent of the existing AVRCP target support.
Change-Id: I504bbf58a88808d1a884266992ae0c635c62aca1
Since bluedroid is running outside of system_server, it does not have
the necessary Linux capabilities or filesystem permissions to access
/sys/power/wake_* and /dev/alarm (or any other wake alarm). This change
provides a mechanism by which bluedroid can call back up into Java code
and use the standard Android APIs to get wake locks / wake alarms.
Change-Id: I714fd394224d38da5ff0f82de5559599d522010b
Conflicts:
include/hardware/bluetooth.h