arc: bluetooth: Implement L2CAP LE socket (2/2)
This patch adds and implements the new interfaces/methods for Bluetooth socket. Compared with the old interfaces, the new ones: - add a sock_type field (RFCOMM or L2CAP); - pass Android socket flags directly instead of parsing those into BlueZ flags on Android side, to avoid expose two groups of constants in Android. Also marks the old methods as deprecated, which will be removed when the corresponding patch(es) are landed in both P and R. Android patch see: http://ag/12418518 BUG=b:163099156 TEST=manually tested on octopus with P to make sure the old code path for RFCOMM still works; also see the TEST line in Android patch for R. Change-Id: Ic35732e4e9ee6a45599f9aecd6b2695b60dd124a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366445 Commit-Queue: Jie Jiang <jiejiang@chromium.org> Reviewed-by:Greg Kerr <kerrnel@chromium.org> Reviewed-by:
Miao-chen Chou <mcchou@chromium.org> Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#813048}
Showing
This diff is collapsed.
Please register or sign in to comment