| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Android 6.0.1 release 30
RM-234
Change-Id: Ib49a88726f2df18ca5ecf04fae4e2d2d31ef9a82
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add ability and interface for adding dynamic entries to the interop
workaround database.
Bug: 26548845
Change-Id: Id886e4233fc1548727e79f1581cdc0c6f0738d59
|
| |
| |
| |
| |
| |
| |
| | |
* All legacy QC devices using the CodeAurora drivers should be using a 48KHz
samplerate for A2DP, since that's the only supported output frequency.
Change-Id: I8cec354c5a2dde0f85f19cfee2f75501f2a2d5a3
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- add support for AudioTrack to be used for rendering
audio data
- add support for requesting and updating audio focus
Change-Id: If2832e9dd4a070977edc38f1c142a91336a9822c
|
|/ /
| |
| |
| |
| |
| | |
Needed for moving to clang
Change-Id: I798813c860ace32046b5cf9492c28865d8b944a9
|
| |
| |
| |
| |
| |
| | |
Add parameter to distinguish the reason for ssr_cleanup.
Change-Id: If8dbc8bbeef430c7cea3d8c300285c9aef1222ec
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- write btsnoop from external process
- adjust the gmt offset to match with logcat logs
- avoid btsnoop file write if btsnoop client is connected
- limit the block of snoop write to 10 ms and drop the packet
- memcpy and issue single write to eliminate multiple I/O
- enable snoop by default on userdebug build
- option to override snoop config for userdebug build
Change-Id: I13749dc348baf88af57e3ebec1ec7acd5e999c04
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Control block and log level initialization
in BTA, AVDT and AVCT in proper place.
- Init functions for AVCT and AVDT
and call from stack init path.
Change-Id: I6056d5e9132330b4116a6d4410c2259ccc181109
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This includes changes needed for new code baseline
and below stashed commits.
Bluetooth stack 4.0/4.1 certification tool changes
This adds test application code and stack interface
code for BLE certification purpose
CRs-fixed: 649248
Change-Id: I6e8ecbf2fdb0fe6ee80fd6d57c2e151b62797f01
Bluetooth: Avoid Encryption after gatt server connection complete.
This doesn't start encrtyption by default after connecting to a client.
needed for certain test cases of BLE stack certification.
Change-Id: I04dbe1daba32b416f59fed00989168507ce261fa
CRs-Fixed: 652485
Bluetooth: add config flag to gatt tool test app
This adds logic to compile gatt tool only if config test flag
is enabled and aincludes indendation changes
Change-Id: If018d0676bb6334be0558fd6f6464ffbfc33196a
Bluetooth: Gatt tool changes and code cleanup
Fixes for compilation issues and remove CONFIG
flag from makefile.
Change-Id: I57646edf9b0ec3ffd62e34aeed54f13ef09ef1a0
Bluetooth: Include Gatt test app for certification
This adds debug and optional flags to makefile to compile tool
as part of android build
Change-Id: I603a982a4bc7c392e45e753bcbb57bf8394ed21c
Bluetooth: Add gatt refresh api in gatt certification tool
this fixes gatt tool crash during service discovery test cases
and code cleanup.
CRs-Fixed: 734268
Change-Id: I7e600d912c0b631b3bc865c571f9ad1c05f99ae4
Bluetooth: Add conn update api for gatt tool
This adds support to do LE connection parameters update after
successful connection using Gatt test app for certification
CRs-Fixed: 743373
Change-Id: Id76d244f6bf7721016ef397c8bfea9cd877b0253
Bluetooth: Gatt tool change for wakelock support and cleanup
This change does send hci success status for wakelock apis which
are newly added in BT.Also does remove tabs and proper indentation
CRs-Fixed: 743399
Change-Id: I9346c3a04e4c7238cd5afaabb0361f7083cb93fe
Supports Simple pairing with No bonding and no MITM
Supports Bluetooth simple pairing with no MITM,
no bonding set in the authentication request and
initiator and responder keys set to 0.
Change-Id: I6e8ecbf2fdb0fe6ee80fd6d57c2e151b62797f01
Conflicts:
main/Android.mk
Change-Id: I36eba14defe16418037ba4b253d31c9a6270d93c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Enables FW Logging during BT On and disables
the FW Logging during BT Off in userdebug
builds only.
- Provides an interface to set trace level for
all the stack layers of bluedroid.
CRs-Fixed: 866285
Change-Id: Ib12d220e0aa4845d04b05b7fbea079d30c308004
|
| |
| |
| |
| |
| |
| | |
Enabling SSR feature.
Change-Id: I26eab5b3a10ac7823ff5e9f2adc3bc187939c87e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Interface provided from BT-If layer to interact
with l2cap
- This tool covers all l2cap 4.0 PTS test cases
whcih includes basic, ertm and streaming mode
test cases.
Conflicts:
btif/src/bluetooth.c
Change-Id: Ifacd0b99974c28788926e0f901c37ee2c12ff97b
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Interface provided from BT-If layer to interact
with mcap
- This tool covers all mcap PTS test cases.
Change-Id: I07f1eb8dc3d98c95b82ee67554c1a846e71c4bfc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Interface provided from BT-If layer to interact
with rfcomm.
- This tool covers all rfcomm PTS test cases.
Conflicts:
btif/src/bluetooth.c
Change-Id: I129fbabdbdd80c87f0867c90e472e65bd1611af2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make default logging for upstream events,
statemachine state transitions, sco state
transitions, call state transitions etc.
Change-Id: Ia0dcb22e2efb99f186166ae4af2a8cb73f87616d
Bluetooth: A2DP Sink Logging.
- logs for state transition.
- Latency logs with sequence Number.
Change-Id: Iedabccd97d1118406f43b7ba494bdec5935b60b9
Print delay logs during A2dp streaming
- Log systrace during A2dp streaming. This logging is not
enabled by default.BT_AUDIO_SYSTRACE_LOG needs to be defined in
applicable files to turn this logging on.
- Properly name threads.
- Log A2dp write delays.
- Log pcm dump before writing to media socket to mediatask.
This logging is not enabled by default. BT_AUDIO_SAMPLE_LOG needs
to be dfined to enable this logging
Change-Id: If081480b29f02126a1d48b9d0d9f855a3a605cc5
Enable required AVRCP Logging by default
Enable required AVRCP Logging by default.
Introduce additional logging whereever required.
Change-Id: Ie2e88de06254257af3b77b4f8b06401273f29262
CRs-Fixed: 751733
|
| |
| |
| |
| |
| |
| |
| |
| | |
Enabling WiPower feature on lastest PL, this
feature enables wireless charging capablity
on the target.
Change-Id: I133a00b17efa5a89a764230864b9c2db252aea26
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds support to enable logging for hid host's and client's
stack components dynamically. Also some logs for host and cleint
are added under verbose logging level which would help in latency
measurements.
Change-Id: I06de0ea89b8f5e40466519fe60aead6497b6cf11
CRs-Fixed: 608230
|
|/
|
|
|
|
|
|
| |
This patch adds support for HID Device role in bluedroid stack allowing
DUT to be used as Keyboard or Mouse.
Change-Id: I45b581a54f6c7bbc1f25226715a7ea23e34255c0
CRs-Fixed: 573086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the OSI memory allocation tracker was disabled as
a temporary workaround for Bug 21561735.
The root cause for the original issue is now addressed by using the
appropriate linker flags when generating the bluetooth.default.so
shared library:
LOCAL_LDLIBS := -Wl,-Bsymbolic,-Bsymbolic-functions
Also, added missing #include in file "btif/src/btif_sock_sco.c"
Bug: 21561735
Change-Id: I384a6f3d1d03c74f8d1e3c96bf7e0b5961206feb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For stack static libraries, use LOCAL_WHOLE_STATIC_LIBRARIES
to ensure they get --whole-archive applied to them.
This means module symbols in static libraries won't be
removed by the linker and dlsym will find them.
This patch also removes the code hacks we needed to
trick the linker into including the module symbols in
the final shared library.
Change-Id: I2463d0e6fb38f1e75c8293179cf9d4ca33eda84e
|
|
|
|
| |
Change-Id: Iecf1e2258da012bdac69a4f57d38b12a272e3edd
|
|
|
|
|
|
|
| |
Includes support for BTSnoop logging in memory.
Bug: 18508263
Change-Id: I175da528cbcdc00d40622647d518a74210cfe6fd
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
e07ad10 merge in m-wireless-internal-release history after reset to d232721ae5e5b6949a5249f0d116408b8a3c5f1d
d232721 L2CAP socket - fix merge errors
899b771 BR/EDR secure connections support
7fb0da6 Support numeric comparison in SMP
aa351f2 merge in m-wireless-internal-release history after reset to 399e89150b3df87172bdf92d54712b379324b149
399e891 Fix for AVRCP CTRL stops sending pass through command
daddea9 Free Avrcp Controller callbacks on Cleanup
764babe Protect reset of out stream with mutex
444a8da LE Privacy 1.2 and LE secure connections
8372aa5 L2CAP and SDP Search API for BT profiles (2/2)
fd422a7 Update Service Availability.
2a0652a merge in m-wireless-internal-release history after reset to 0b47e0a35c16f5b7d77c30ec1c095ed92ff4fd74
78d0f4c merge in m-wireless-internal-release history after reset to m-wireless-internal-dev
0b47e0a Avoid duplicate disconnection callbacks for fixed channel connections
5646973 Add a section on assertions to the style guide.
d768767 Merge "Avoid null-pointer dereference in l2c_release_lcb()" into m-wireless-dev
ef92b53 Avoid null-pointer dereference in l2c_release_lcb()
4bf68bf merge in m-wireless-internal-release history after reset to f538707fe64c62b1dbb8e4210e4a1bfa0bab2b56
de6ac86 Add a 'Bluedroid conventions' section to the style guide.
1b80439 Add a section to the style guide on variable declarations.
485f19e merge in m-wireless-internal-release history after reset to 4540f59bc447dc2b7b31a3e974b74a60b2417e7d
bef8940 merge in m-wireless-internal-release history after reset to 841c9103cad1898ceca87b734acd4d4537f9f452
ab4c38c merge in m-wireless-internal-release history after reset to a7e698f5a9e062f62e21bc435643975c30bab846
2807a74 merge in m-wireless-internal-release history after reset to a7e698f5a9e062f62e21bc435643975c30bab846
99dbe9a merge in m-wireless-internal-release history after reset to 78c0b060f29b7b7014adddb2f98bf6ae9755c488
f7f8399 merge in m-wireless-internal-release history after reset to a5371c238b4e874d8313ac56a23451e7345ff541
3aa60d7 Make A2DP audio HAL a shared library again
3256a31 Move unused include file out of hci_audio.h
b866b69 Add option for schedule_next_instance to force rescheduling
4ae5e3e Ensure alarms are called back when they expire in the past
a7bd03e Rewrite alarms to use a single posix timer instance
88e7b15 Resolved hardware error observed during SCO Connection setup
Change-Id: Ib9a0a2ffca1d4811a9a9e56674bf43275d8b2205
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added support for exposing L2CAP to Java such that OBEX over L2CAP
is made possible.
Added support to create SDP records as a seperate step.(as opposed to
creating a SDP record when a BluetoothSocket is created).
This allows both a RFCOMM channel and a L2CAP PSM to be included in a
SDP record. (Additionally the content of the SDP record is set by the
profile in Java, in stead of beeing hardcoded in the socket layer.)
This completes the L2CAP channel exposure to Java.
Change-Id: Iaf68a07d910145cdd33e940d73cd680f79164100
|
|\|
| |
| |
| | |
Change-Id: Ibc6d6e691b7f97611d16f96220346dfd6ffbbf52
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix for initializing all the un-initialized variables
- Handling system call failure like socket,fcntl etc...
- In btpan_tap_close validate tap_if_down and close the socket.
- Invalid memset size, which could have potential memory issue
- Change -1 to INVALID_FD where appropriate
Bug: 19417758
Change-Id: Id31832f8678b2d72c80740c29b946a94e7ae0197
|
| |
| |
| |
| |
| |
| |
| | |
glibc doesn't declare strlcpy(), strlcat() or gettid(). Add a header
of compatibility routines that only get included when compiling on this.
Change-Id: I889ac7f1d22cf7056757890fcff0403107488d62
|
|\|
| |
| |
| | |
Change-Id: Iaaec1ea0bf3009b7e32a9a60f697631a3f56e889
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hardware error was caused due to a faulty HCI command formed in the
process of vendor specific pre-SCO setup in the stack(set_audio_state)
Fixed the above problem and also added back the vendor (interface)
mapping for the set_audio_state functionality to facilitate the
sending of the pre-SCO vendor specific commands.
Made common vendor library audio setting by moving to hci subsystem.
General cleanup around this functionality.
Bug: 19923226
Change-Id: I4a743f6725459f360bd2a90e0a46f08fcca2292d
|
| |
| |
| |
| |
| |
| | |
This reverts commit 4d8ac4ff015ff87c4e985ac0d9a5f3c2a6b0d9fa.
Change-Id: Ie1433c82014b6ddce78c5363100ab109ae0fecde
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hardware error was caused due to a faulty HCI command formed in the
process of vendor specific pre-SCO setup in the stack(set_audio_state)
Fixed the above problem and also added back the vendor (interface)
mapping for the set_audio_state functionality to facilitate the
sending of the pre-SCO vendor specific commands.
Bug: 19923226
Change-Id: I03c6a1c048c21549b7326a783b70588686283eb3
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Split events and acl data in hci dispatch, and dispatch events by event code
Future code will now be able to dynamically tie into hci events, instead
of relying on a hard coded routing.
|
| |
| |
| |
| |
| | |
Waited for the merge to complete before reworking
the feature into the stack.
|
| | |
|
| |
| |
| |
| | |
Start reviewing in include/bt_target.h.
|
| |
| |
| |
| | |
Both of these features are always available in bluedroid.
|
| |
| |
| |
| |
| |
| | |
These macros should replace ALOG* and the various trace macros
used throughout bluedroid. This change eliminates all uses of the
ALOG* macros in favor of the new ones.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Like OPP, the phone book access profile is implemented in
java for android. Cleaning up some references to uncompiled phone book
support in bluedroid.
Left the few definitions SDP relies on. We can consolidate that later.
|
| |
| |
| |
| | |
Consolidate legacy types into bt_types.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android implements the Object Push Profile in java
against RFCOMM sockets with its own implementation of
OBX there.
OBX in Bluedroid isn't compiled, and is missing header files required
to compile it anyway. Removed a number of OBX related headers and updated
a few references where they were used out of place.
Change-Id: Ifaecfb6f85b1dca9055932886af484b6dc107fc1
|
| |
| |
| |
| |
| | |
Referenced missing header files, so they wouldn't even
compile if set to true.
|
| |
| |
| |
| | |
Missing header files, etc so it wouldn't compile anyway.
|
| |
| |
| |
| | |
Referenced non existent headers, so would not compile if set to true.
|
| |
| |
| |
| | |
FALSE by bt_target. Header files never used. Missing header files.
|