OSDN Git Service
Stanley Tng [Thu, 30 Nov 2017 17:51:24 +0000 (17:51 +0000)]
Merge "Fix assert when freeing L2CAP flow control credit packets" am:
15cbc0e953 am:
91d8f0535d
am:
2d23f411cd
Change-Id: Ib559bf0d366d1e1b884893b773f6ab3087308320
Stanley Tng [Thu, 30 Nov 2017 17:49:22 +0000 (17:49 +0000)]
Merge "Fix assert when freeing L2CAP flow control credit packets" am:
15cbc0e953
am:
91d8f0535d
Change-Id: Iff15238c381324984af70ecd3689d3fcae2ca8eb
Stanley Tng [Thu, 30 Nov 2017 17:47:20 +0000 (17:47 +0000)]
Merge "Fix assert when freeing L2CAP flow control credit packets"
am:
15cbc0e953
Change-Id: I2845cd484f4a734732578fe69a2498e0e8ad494b
Treehugger Robot [Thu, 30 Nov 2017 17:43:08 +0000 (17:43 +0000)]
Merge "Fix assert when freeing L2CAP flow control credit packets"
Stanley Tng [Tue, 28 Nov 2017 22:35:08 +0000 (14:35 -0800)]
Fix assert when freeing L2CAP flow control credit packets
The data buffers for the L2CEVT_L2CA_SEND_FLOW_CONTROL_CREDIT and
L2CEVT_L2CAP_RECV_FLOW_CONTROL_CREDIT packets do not need to be
freed.
Test: Run new SL4A Test for Connection-oriented channel
Bug:
69859537
Change-Id: Ice412a1c7f0a9b413376438a9fa34cf3f91482af
Jakub Pawlowski [Thu, 30 Nov 2017 08:27:22 +0000 (08:27 +0000)]
Merge "Add is_on_jni_thread" am:
01d2c72529 am:
b0a4f334ac
am:
943b296864
Change-Id: I1ead571f145d502f96fcf3b910b23b9a28b39cd9
Jakub Pawlowski [Thu, 30 Nov 2017 08:24:03 +0000 (08:24 +0000)]
Merge "Add is_on_jni_thread" am:
01d2c72529
am:
b0a4f334ac
Change-Id: Idda3ad0172a9438da2165172e4a5f33116761902
Jakub Pawlowski [Thu, 30 Nov 2017 08:21:22 +0000 (08:21 +0000)]
Merge "Add is_on_jni_thread"
am:
01d2c72529
Change-Id: Idc1dae5d338b08f3a4540566e12b8b4a5056af91
Treehugger Robot [Thu, 30 Nov 2017 08:17:26 +0000 (08:17 +0000)]
Merge "Add is_on_jni_thread"
Jakub Pawlowski [Thu, 30 Nov 2017 02:31:13 +0000 (18:31 -0800)]
Add is_on_jni_thread
is_on_jni_thread can be used to check if current thread is btif thread.
Test: compilation
Change-Id: I26e794c3771ae26e15e6cee6c3d4f9a1513571f4
Myles Watson [Wed, 29 Nov 2017 20:18:38 +0000 (20:18 +0000)]
Merge "test_vendor: Use the license template" am:
06d65d281b am:
a0d942e6fa
am:
fc3bb0cbd2
Change-Id: I67c12be7e1abfe96144a7fda29d159f68e72db71
Myles Watson [Wed, 29 Nov 2017 20:14:36 +0000 (20:14 +0000)]
Merge "test_vendor: Use the license template" am:
06d65d281b
am:
a0d942e6fa
Change-Id: Ie2a788185d260fbfdd9163b9ffee9030c99e9aca
Myles Watson [Wed, 29 Nov 2017 20:10:28 +0000 (20:10 +0000)]
Merge "test_vendor: Use the license template"
am:
06d65d281b
Change-Id: Ifa4a80ab9de9d6bba22abc299ff08b2b7e448df3
Srinu Jella [Wed, 29 Nov 2017 20:10:13 +0000 (20:10 +0000)]
Merge "Added SPP version 1.2 to SDP record." am:
77a10d857e am:
0f577092a0
am:
8d2da25a84
Change-Id: I6525f346935ac878823cc06339f88c73e1bd643a
Treehugger Robot [Wed, 29 Nov 2017 20:06:20 +0000 (20:06 +0000)]
Merge "test_vendor: Use the license template"
Srinu Jella [Wed, 29 Nov 2017 20:02:09 +0000 (20:02 +0000)]
Merge "Added SPP version 1.2 to SDP record." am:
77a10d857e
am:
0f577092a0
Change-Id: Ia8423c5d5a88afd0d3da7dd6a359781090cd09bb
Srinu Jella [Wed, 29 Nov 2017 19:58:06 +0000 (19:58 +0000)]
Merge "Added SPP version 1.2 to SDP record."
am:
77a10d857e
Change-Id: I5749099e436a0343080f30bb66d120ed7a74cc94
Treehugger Robot [Wed, 29 Nov 2017 19:51:55 +0000 (19:51 +0000)]
Merge "Added SPP version 1.2 to SDP record."
Myles Watson [Wed, 29 Nov 2017 18:52:23 +0000 (18:52 +0000)]
OSI: Copy temporary directoryname am:
1a651dbddd am:
43ef3f1c9b
am:
1c6f55565c
Change-Id: I38a1669cfe00295a4a9d3f7c0f6d4b754e5a77f0
Myles Watson [Wed, 29 Nov 2017 18:48:51 +0000 (18:48 +0000)]
OSI: Copy temporary directoryname am:
1a651dbddd
am:
43ef3f1c9b
Change-Id: Ibd2dfe12f09f3684d15185c60b5a667e3cd4ae7c
Myles Watson [Wed, 29 Nov 2017 18:43:56 +0000 (18:43 +0000)]
OSI: Copy temporary directoryname
am:
1a651dbddd
Change-Id: I6c796f8b18ba8e146d478358428ec06d5f2f6bea
Myles Watson [Wed, 29 Nov 2017 00:26:06 +0000 (16:26 -0800)]
OSI: Copy temporary directoryname
Bug:
69677828
Test: compiles
Change-Id: I70adc421812c71848712b03650aff2f85613ed81
Hemant Gupta [Wed, 29 Nov 2017 01:03:31 +0000 (01:03 +0000)]
Merge "PAN: Fix issues reported by Static Analysis Tool" am:
1066862a95 am:
06987337b7
am:
9928fb81ac
Change-Id: Ic280ce43a725784e11665881fd434218205a8249
Hemant Gupta [Wed, 29 Nov 2017 00:59:59 +0000 (00:59 +0000)]
Merge "PAN: Fix issues reported by Static Analysis Tool" am:
1066862a95
am:
06987337b7
Change-Id: Iad7d6cfe4ac43506af7546ebd66e6b074931adc1
Hemant Gupta [Wed, 29 Nov 2017 00:56:23 +0000 (00:56 +0000)]
Merge "PAN: Fix issues reported by Static Analysis Tool"
am:
1066862a95
Change-Id: I19dd06d77a87a18e57904d4776e4cc592955a37b
Treehugger Robot [Wed, 29 Nov 2017 00:51:41 +0000 (00:51 +0000)]
Merge "PAN: Fix issues reported by Static Analysis Tool"
Srinu Jella [Thu, 17 Nov 2016 09:04:50 +0000 (14:34 +0530)]
Added SPP version 1.2 to SDP record.
Added SPP version 1.2 to SDP record, SPP 1.0 is deprecated.
Test: mm -j8
Bug:
68303292
Change-Id: Ib0ed919d6145078fb9fc4214caae15ab6e7be780
Myles Watson [Wed, 22 Nov 2017 22:58:07 +0000 (14:58 -0800)]
test_vendor: Use the license template
development/docs/copyright-templates/
Test: build
Change-Id: Ibc69f0ee03f836619fa2d3f32417d31a4d9396e3
Colin Cross [Tue, 28 Nov 2017 22:33:16 +0000 (22:33 +0000)]
Export AIDL files as a filegroup framework.jar am:
bcddf24fd9 am:
87c987c6a3
am:
5351ede682
Change-Id: I3bcf5bf0772a3d045fd726dc1b2a2c9beb346adf
Colin Cross [Tue, 28 Nov 2017 22:25:44 +0000 (22:25 +0000)]
Export AIDL files as a filegroup framework.jar am:
bcddf24fd9
am:
87c987c6a3
Change-Id: I18ff6b702c484c604a6b583cb8ce36056c1b8e02
Colin Cross [Tue, 28 Nov 2017 22:22:41 +0000 (22:22 +0000)]
Export AIDL files as a filegroup framework.jar
am:
bcddf24fd9
Change-Id: I79b77d22cda3b392be1f6b6b0532d0c9e676b430
Colin Cross [Tue, 14 Nov 2017 21:05:37 +0000 (13:05 -0800)]
Export AIDL files as a filegroup framework.jar
Put AIDL files into a filegroup so they can be imported as sources
for framework.jar.
Test: m checkbuild
Change-Id: Ie3ff041f58fb86c42e5c31b8bed7dfe2c2f9b6f2
Jakub Pawlowski [Tue, 28 Nov 2017 06:06:48 +0000 (06:06 +0000)]
btif storage: use strings where possible am:
b7710f0565 am:
886457a512
am:
dbeaa6fa35
Change-Id: I5f0a6c71eebd96dfac39b26aa50fb3783d6d6a3d
Jakub Pawlowski [Tue, 28 Nov 2017 06:02:16 +0000 (06:02 +0000)]
btif storage: use strings where possible am:
b7710f0565
am:
886457a512
Change-Id: Ic7b653c3fb66e1b02694d1d2e1a4ce6777b2c6d5
Jakub Pawlowski [Tue, 28 Nov 2017 05:57:42 +0000 (05:57 +0000)]
btif storage: use strings where possible
am:
b7710f0565
Change-Id: I84c8fea3e8edca9dc107f197c8a7ddd9cac4371b
Jakub Pawlowski [Mon, 27 Nov 2017 19:20:02 +0000 (11:20 -0800)]
btif storage: use strings where possible
btif_config api used to accept "const char*" as parameter. After the
refactoring it started using std::string. Remove unnecessary ".c_str()"
Test: compilation
Bug:
67595284
Change-Id: I173bbffc98f4e1f2dd3db1ff6db5a27db9be8992
Srinu Jella [Tue, 28 Nov 2017 04:18:38 +0000 (04:18 +0000)]
Saving Bluetooth name to Max 248 character only. am:
f04ea90af3 am:
d939f89780
am:
9bee501f2a
Change-Id: Iff9d42fca3a0b2206b32324aac1ce6746e79e63b
Yan Laijun [Tue, 28 Nov 2017 04:18:10 +0000 (04:18 +0000)]
Correctly handling bdaddr in function btif_storage_load_bonded_hid_info. am:
f92bdc7caf am:
aa67965d49
am:
cbb7bab0f5
Change-Id: I69e055eb1d2682f7cf0ee1d68ea26c7963b1c574
Srinu Jella [Tue, 28 Nov 2017 04:14:01 +0000 (04:14 +0000)]
Saving Bluetooth name to Max 248 character only. am:
f04ea90af3
am:
d939f89780
Change-Id: I95cd3b3ad5a2370eba283f4b260f819136dcdeaf
Yan Laijun [Tue, 28 Nov 2017 04:13:37 +0000 (04:13 +0000)]
Correctly handling bdaddr in function btif_storage_load_bonded_hid_info. am:
f92bdc7caf
am:
aa67965d49
Change-Id: I9928f0af9489d838a7c4296d6e2f6c18ea700193
Srinu Jella [Tue, 28 Nov 2017 04:09:57 +0000 (04:09 +0000)]
Saving Bluetooth name to Max 248 character only.
am:
f04ea90af3
Change-Id: If0e74006f83cdd62ec8b72c847825758cb8c1701
Yan Laijun [Tue, 28 Nov 2017 04:09:34 +0000 (04:09 +0000)]
Correctly handling bdaddr in function btif_storage_load_bonded_hid_info.
am:
f92bdc7caf
Change-Id: Id66ad93f617dfeb550b4f616639ac5bbb767f61c
Srinu Jella [Fri, 30 Dec 2016 10:20:48 +0000 (15:50 +0530)]
Saving Bluetooth name to Max 248 character only.
Steps:
1. Set the BT name more than 248 character using SDK API set_name.
2. Check the BT Name on bt_config.
3. Name should be also visible Setting Apps on Bluetooth.
Failure: BluetoothAdapterProperties and stack are not in sync.
Root Cause: No check for the Bluetooth name length.
We can handle in framework layer but now handling in Stack.
Fix: Check the length of Bluetooth Name before writing to the file.
Test: Application and Stack BD Name are in sync
Bug:
35126970
Change-Id: I856a66e863cec68bee38762903a0b762ab0626d2
Yan Laijun [Wed, 7 Dec 2016 01:49:08 +0000 (09:49 +0800)]
Correctly handling bdaddr in function btif_storage_load_bonded_hid_info.
Correct the bdaddr param passed into function btif_storage_remove_hid_info.
Test: mm -j8
Change-Id: I9b7994982577d68d076a6429f97d66b3ea4c8ce4
Signed-off-by: Yan Laijun <yan-laijun@xiaomi.com>
Jakub Pawlowski [Mon, 27 Nov 2017 21:57:34 +0000 (21:57 +0000)]
G.722 Codec for Hearing Aid am:
2fd870e7dd am:
e76812ac88
am:
c8abcc36d3
Change-Id: I9dc1dd7ff68c2e2fff41afb765213633874678e4
Jakub Pawlowski [Mon, 27 Nov 2017 21:48:32 +0000 (21:48 +0000)]
G.722 Codec for Hearing Aid am:
2fd870e7dd
am:
e76812ac88
Change-Id: I51073b0d5547f3387b023cd6920a39a33d3c8178
Jakub Pawlowski [Mon, 27 Nov 2017 21:38:23 +0000 (21:38 +0000)]
G.722 Codec for Hearing Aid
am:
2fd870e7dd
Change-Id: Ib9e4f186032e927173147f18c56ce167bea25e87
Jakub Pawlowski [Fri, 24 Nov 2017 23:19:54 +0000 (15:19 -0800)]
G.722 Codec for Hearing Aid
Test: compilation
Bug:
69623109
Change-Id: I4658167f50321b717295f48c8b0b66d50ffabefd
Hemant Gupta [Tue, 28 Feb 2017 17:08:50 +0000 (22:38 +0530)]
PAN: Fix issues reported by Static Analysis Tool
Fix issues reported by Static Analysis Tool.
Test: builds, PAN functionality works fine
Bug:
35013844
Change-Id: I55e75fe5e522ab5c417557d4ef9a11723dfd0c3c
Hemant Gupta [Thu, 23 Nov 2017 11:50:32 +0000 (11:50 +0000)]
BLE: Fix crash while starting advertising am:
8ddafa16c0 am:
3fd5529005
am:
5301314d13
Change-Id: I4cc434713460698c47eda2dda00d8aef2b073540
Hemant Gupta [Thu, 23 Nov 2017 11:48:02 +0000 (11:48 +0000)]
BLE: Fix crash while starting advertising am:
8ddafa16c0
am:
3fd5529005
Change-Id: I281443aa9f7916e5133c46ffeb34828225768697
Hemant Gupta [Thu, 23 Nov 2017 11:44:59 +0000 (11:44 +0000)]
BLE: Fix crash while starting advertising
am:
8ddafa16c0
Change-Id: Ibdfbe1a1b89f46beec886024d305691db8a3dd5e
Hemant Gupta [Wed, 22 Nov 2017 09:12:07 +0000 (14:42 +0530)]
BLE: Fix crash while starting advertising
Usecase:
1) BT on
2) Start LE Advertising from APP
3) BT Off
4) Repeat steps 1-3 multiple times
Expected Result:
No crash in BT, and BLE advertising can be started
Observed Result:
Crash in com.android.bluetooth with below signature
pid: 8313, tid: 8313, name: droid.bluetooth >>> com.android.bluetooth <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:btm_ble_multi_adv.cc(992)] Check failed: instance.
'
x0
0000000000000000 x1
0000000000002079 x2
0000000000000006 x3
0000000000000008
x4
623a4c415441465b x5
623a4c415441465b x6
623a4c415441465b x7
6d5f656c625f6d74
x8
0000000000000083 x9
0823626ef495785d x10
00000073b7b39a48 x11
0823626ef495785d
x12
0823626ef495785d x13
0000000000000020 x14
ffffffffffffffdf x15
0000000000002079
x16
00000073b5ce62e8 x17
00000073b5c79970 x18
0000000000004000 x19
0000000000002079
x20
0000000000002079 x21
0000000000000000 x22
0000007398bde000 x23
0000007fd0809e88
x24
00000073a3b4c860 x25
00000073a635b578 x26
0000007398e980cc x27
0000007398e97fd3
x28
0000007398cb5608 x29
0000007fd0809e30 x30
00000073b5c20594
sp
0000007fd0809df0 pc
00000073b5c79978 pstate
0000000060000000
v0
2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e v1
0000007fd0809be00000676f6c62696c
v2
00000002b71fc7400000000000000000 v3
80200800000000008020000000000000
v4
80200800000000008020080280200802 v5
00000000000000000000000000000000
v6
00000000000000000000000000000000 v7
80200802802008028020080280200802
v8
00000000000000000000000000000000 v9
00000000000000000000000000000000
v10
00000000000000000000000000000000 v11
00000000000000000000000000000000
v12
00000000000000000000000000000000 v13
00000000000000000000000000000000
v14
00000000000000000000000000000000 v15
00000000000000000000000000000000
v16
40100401401004014010040140100401 v17
a0080000a00aa00aa800aaaaa800a000
v18
80200800000000008020080280200802 v19
00000000000000000000000000000000
v20
00000000000000000000000000000000 v21
00000000000000000000000000000000
v22
00000000000000000000000000000000 v23
00000000000000000000000000000000
v24
00000000000000000000000000000000 v25
00000000000000000000000000000000
v26
00000000000000000000000000000000 v27
00000000000000000000000000000000
v28
00000000000000000000000000000000 v29
00000000000000000000000000000000
v30
00000000000000000000000000000000 v31
00000000000000000000000000000000
fpsr
00000013 fpcr
00000000
backtrace:
#00 pc
0000000000077978 /system/lib64/libc.so (tgkill+8)
#01 pc
000000000001e590 /system/lib64/libc.so (abort+88)
#02 pc
00000000000836dc /system/lib64/libchrome.so (_ZN4base5debug13BreakDebuggerEv+20)
#03 pc
000000000009bed0 /system/lib64/libchrome.so (_ZN7logging10LogMessageD2Ev+840)
#04 pc
000000000015ed7c /system/lib64/hw/bluetooth.default.so (_ZN21BleAdvertisingManager3GetEv+72)
#05 pc
00000000000a7754 /system/lib64/hw/bluetooth.default.so (_ZN12_GLOBAL__N_126BleAdvertiserInterf
aceImpl19StartAdvertisingSetEN4base8CallbackIFvhahELNS1_8internal8CopyModeE1EEE19AdvertiseParametersNSt3
__16vectorIhNS8_9allocatorIhEEEESC_29PeriodicAdvertisingParametersSC_thNS2_IFvhhELS5_1EEE+332)
#06 pc
000000000002a354 /system/lib64/libbluetooth_jni.so (_ZN7androidL25startAdvertisingSetNativeEP7_
JNIEnvP8_jobjectS3_P11_jbyteArrayS5_S3_S5_iii+1276)
#07 pc
00000000005b2834 /data/dalvik-cache/arm64/system@app@Bluetooth@Bluetooth.apk@classes.dex (offset 0x2cd000)
Root Cause:
API calls in btif_ble_advertiser.cc donot check for initialization status of BleAdvertisingManager leading
to crash in scenarios when the BleAdvertisingManager is cleaned up during BT off and call reaches
btif_ble_advertiser.cc to do one ofadvertising related tasks.
Fix:
Add initialization check in code before call to API's for BleAdvertisingManager
Test: No crash observed after overnight testing with same usecase
Bug:
69692308
Change-Id: I5484734a4cf52858676981808c898ffec11e23f4
Dayananda V [Tue, 21 Nov 2017 18:43:33 +0000 (18:43 +0000)]
Merge "Advertising device name truncated" am:
9e75fa4400 am:
d98e9ab3af
am:
2407f8d680
Change-Id: Icdffd49f228e4700f211de1879069f908d859879
Dayananda V [Tue, 21 Nov 2017 18:41:00 +0000 (18:41 +0000)]
Merge "Advertising device name truncated" am:
9e75fa4400
am:
d98e9ab3af
Change-Id: I454ecc3fa23971140b3239e329560fa5864c5918
Dayananda V [Tue, 21 Nov 2017 18:38:25 +0000 (18:38 +0000)]
Merge "Advertising device name truncated"
am:
9e75fa4400
Change-Id: I4b3e9f53ec1a2c45598434ee3a5baa75129ce07e
Treehugger Robot [Tue, 21 Nov 2017 18:34:22 +0000 (18:34 +0000)]
Merge "Advertising device name truncated"
Myles Watson [Tue, 21 Nov 2017 02:53:29 +0000 (02:53 +0000)]
Merge "test_vendor: Make BtAddress comparisons const" am:
ecdc8c16a8 am:
83dc9a884a
am:
fa15fceb9f
Change-Id: I03c826977f5a3a38f70d999aef0d6e9a83cf2cf4
Myles Watson [Tue, 21 Nov 2017 02:51:26 +0000 (02:51 +0000)]
Merge "test_vendor: Make BtAddress comparisons const" am:
ecdc8c16a8
am:
83dc9a884a
Change-Id: Idfebd47ba7487183423aa92e7c8039bd4d832034
Myles Watson [Tue, 21 Nov 2017 02:48:17 +0000 (02:48 +0000)]
Merge "test_vendor: Make BtAddress comparisons const"
am:
ecdc8c16a8
Change-Id: I2fd15bc73226414fc982191209526dd410805c67
Treehugger Robot [Tue, 21 Nov 2017 02:39:34 +0000 (02:39 +0000)]
Merge "test_vendor: Make BtAddress comparisons const"
Chih-Hung Hsieh [Mon, 20 Nov 2017 22:41:20 +0000 (22:41 +0000)]
Use -Werror in system/bt/binder am:
759b57daea am:
f6ea110953
am:
7c1d1c2265
Change-Id: I005574a5b8bedfd17e2dd00e751e729e23513c05
Chih-Hung Hsieh [Mon, 20 Nov 2017 22:38:06 +0000 (22:38 +0000)]
Use -Werror in system/bt/binder am:
759b57daea
am:
f6ea110953
Change-Id: If2c0a9927bf8fd1a520f25fb9cb1c350eb7b623b
Chih-Hung Hsieh [Mon, 20 Nov 2017 22:36:04 +0000 (22:36 +0000)]
Use -Werror in system/bt/binder
am:
759b57daea
Change-Id: I3faf809931c8261d0074b4f7abf52169e219283d
Chih-Hung Hsieh [Mon, 20 Nov 2017 18:25:49 +0000 (10:25 -0800)]
Use -Werror in system/bt/binder
Bug:
66996870
Test: build with WITH_TIDY=1
Change-Id: I68880c0c6d6e886b9d12482e97d35deea61cc5ab
Pavlin Radoslavov [Mon, 20 Nov 2017 17:21:49 +0000 (17:21 +0000)]
Merge "Removed unused or unnecessary defines" am:
c047e451bb am:
690878ab20
am:
475aacf03d
Change-Id: I7245d9569f6e131af21b0389453894ed6310f247
Pavlin Radoslavov [Mon, 20 Nov 2017 17:19:16 +0000 (17:19 +0000)]
Merge "Removed unused or unnecessary defines" am:
c047e451bb
am:
690878ab20
Change-Id: I32b61fd8f61acc5bb7d3a7711a625152f5d6490b
Pavlin Radoslavov [Mon, 20 Nov 2017 17:17:13 +0000 (17:17 +0000)]
Merge "Removed unused or unnecessary defines"
am:
c047e451bb
Change-Id: I5da696c40966e4bbca0c81d472f882547f6302aa
Treehugger Robot [Mon, 20 Nov 2017 17:11:42 +0000 (17:11 +0000)]
Merge "Removed unused or unnecessary defines"
Daniel Cardenas [Sat, 18 Nov 2017 05:02:45 +0000 (05:02 +0000)]
Fix broken PDK build, by disabling libbluetooth-binder during PDK build. am:
02c49bc93f am:
c37ff70b73
am:
4db6d8af4c
Change-Id: I9f5b0f50443e8a66b7563c1dc801a044da42f007
Daniel Cardenas [Sat, 18 Nov 2017 04:54:21 +0000 (04:54 +0000)]
Fix broken PDK build, by disabling libbluetooth-binder during PDK build. am:
02c49bc93f
am:
c37ff70b73
Change-Id: Ic22f12ac9000e689a44b9ee329172671a36950f9
Daniel Cardenas [Sat, 18 Nov 2017 04:47:26 +0000 (04:47 +0000)]
Fix broken PDK build, by disabling libbluetooth-binder during PDK build.
am:
02c49bc93f
Change-Id: Iaabea7944dc56ff4faebb38a9e1ae9ea04854ead
Daniel Cardenas [Sat, 18 Nov 2017 02:18:28 +0000 (18:18 -0800)]
Fix broken PDK build, by disabling libbluetooth-binder during PDK build.
Fixes:
69479982
Test: Build
Change-Id: Ie05c67e2b22c3f549239be1d7d6e9c3c22543498
Pavlin Radoslavov [Sat, 18 Nov 2017 00:23:16 +0000 (16:23 -0800)]
Removed unused or unnecessary defines
Removed the following defines because they are unused or unnecessary:
- AVDT_REPORTING
- AVRC_METADATA_INCLUDED
- BTA_INCLUDED
- SBC_FOR_EMBEDDED_LINUX
- BTA_AVRCP_FF_RW_SUPPORT
- GATT_DB_BUF_SIZE
- BTM_DEFAULT_SCO_MODE
- BTM_BLE_ADV_TX_POWER
- BTM_BLE_ADV_TX_POWER_*
- ATT_INCLUDED
- ATT_DEBUG
- GAP_TRANSPORT_SUPPORTED
- GATTP_TRANSPORT_SUPPORTED
- PORT_CREDIT_RX_MAX
- PORT_CREDIT_RX_LOW
- AVDT_INCLUDED
- AVDT_REPORTING
- HID_DEV_SUBCLASS
- A2D_INCLUDED
Also:
- Changed tBTA_AV_SCB field p_cap from dynamically allocated to
inlined storage, and renamed it to peer_cap.
- Removed unused typedef tBTM_BLE_ADV_TX_POWER
Test: Manual: streaming to Headset.
Change-Id: I0db18cc7ae3b9e692c71b430436f3170e8e4d65e
Pavlin Radoslavov [Fri, 17 Nov 2017 19:35:45 +0000 (19:35 +0000)]
Remove unnecessery re-defininitions of BTA_AV constants am:
e7510d9bf4 am:
5d1fba8537
am:
de6b088014
Change-Id: I26708f8b983ae7138bcded54e67748a75d41dd5f
Pavlin Radoslavov [Fri, 17 Nov 2017 19:17:53 +0000 (19:17 +0000)]
Remove unnecessery re-defininitions of BTA_AV constants am:
e7510d9bf4
am:
5d1fba8537
Change-Id: I7e6e2e8309340152cba4944448c2c8b8798e7a76
Pavlin Radoslavov [Fri, 17 Nov 2017 19:07:54 +0000 (19:07 +0000)]
Remove unnecessery re-defininitions of BTA_AV constants
am:
e7510d9bf4
Change-Id: I285dbb79740cd434e2a899539c0ff5752105d159
Pavlin Radoslavov [Fri, 17 Nov 2017 10:31:30 +0000 (02:31 -0800)]
Remove unnecessery re-defininitions of BTA_AV constants
* Remove unused BTA_AV_* re-defenitions
* Replace remaining BTA_AV_* constants with the corresponding
AVRC_* sonstant
Test: Code compilation
Change-Id: I4c7a04738bf41e661da15f3a86ea36974c391adf
Myles Watson [Wed, 15 Nov 2017 20:45:09 +0000 (12:45 -0800)]
test_vendor: Make BtAddress comparisons const
Test: build
Change-Id: Ifbafdb8792e4101974d01bb86d5c6188a88ef9f3
liuchao [Wed, 15 Nov 2017 18:50:54 +0000 (18:50 +0000)]
Merge "Protect all SSR code with macro BTM_SSR_INCLUDED" am:
58a79cc41a am:
d2c6280989
am:
3ad9f9a805
Change-Id: Ic46bfcb65de1fa686803e3d1258e9c38f147efc0
Albin Joy [Wed, 15 Nov 2017 18:50:18 +0000 (18:50 +0000)]
Merge "Change the connecting state to FALSE for BLE devices while releasing LCB" am:
4f1080146e am:
3b57129ade
am:
c6825d2b83
Change-Id: I727f905ee54f42d5c4b7ac4fd926eb02ca427d85
liuchao [Wed, 15 Nov 2017 18:42:57 +0000 (18:42 +0000)]
Merge "Protect all SSR code with macro BTM_SSR_INCLUDED" am:
58a79cc41a
am:
d2c6280989
Change-Id: I095bfe1c52750dd0e9e89882fed314fd501c5141
Albin Joy [Wed, 15 Nov 2017 18:42:23 +0000 (18:42 +0000)]
Merge "Change the connecting state to FALSE for BLE devices while releasing LCB" am:
4f1080146e
am:
3b57129ade
Change-Id: I4a58c1f7d39de2be64c60376b60812b3a5ce461c
liuchao [Wed, 15 Nov 2017 18:18:49 +0000 (18:18 +0000)]
Merge "Protect all SSR code with macro BTM_SSR_INCLUDED"
am:
58a79cc41a
Change-Id: I3fdb666a7f1d6e44126a105fa321c4d40de8089b
Albin Joy [Wed, 15 Nov 2017 18:18:25 +0000 (18:18 +0000)]
Merge "Change the connecting state to FALSE for BLE devices while releasing LCB"
am:
4f1080146e
Change-Id: I06203a3c1611ac2e16c44a2d90fbbba7bd704f04
Treehugger Robot [Wed, 15 Nov 2017 14:18:04 +0000 (14:18 +0000)]
Merge "Protect all SSR code with macro BTM_SSR_INCLUDED"
Treehugger Robot [Wed, 15 Nov 2017 14:14:40 +0000 (14:14 +0000)]
Merge "Change the connecting state to FALSE for BLE devices while releasing LCB"
Pavlin Radoslavov [Wed, 15 Nov 2017 03:24:55 +0000 (03:24 +0000)]
Merge "Update the codec-related JNI calls to contain the remote Device address" am:
d755fd7c3e am:
eaf0bb38b0
am:
2e6a997000
Change-Id: I2794f7f2f98f2d5060f0a82c8b7aa49e0488776d
Pavlin Radoslavov [Wed, 15 Nov 2017 03:21:34 +0000 (03:21 +0000)]
Merge "Update the codec-related JNI calls to contain the remote Device address" am:
d755fd7c3e
am:
eaf0bb38b0
Change-Id: I2db55efcf3787df9dee913e91074ae1591a82693
Pavlin Radoslavov [Wed, 15 Nov 2017 03:19:33 +0000 (03:19 +0000)]
Merge "Update the codec-related JNI calls to contain the remote Device address"
am:
d755fd7c3e
Change-Id: Ib51cd514015384128533545b3e69ec4ddefdd214
Treehugger Robot [Wed, 15 Nov 2017 03:14:28 +0000 (03:14 +0000)]
Merge "Update the codec-related JNI calls to contain the remote Device address"
Hemant Gupta [Wed, 15 Nov 2017 01:58:50 +0000 (01:58 +0000)]
BLE: Continue after list_remove in btm_consolidate_dev am:
f64e88ffb0 am:
b241446195
am:
d34ff021da
Change-Id: Idafe959547a11bb2aae80a45ffbe9d74d642710b
Myles Watson [Wed, 15 Nov 2017 01:58:19 +0000 (01:58 +0000)]
AVRCP: Use avrc_send_continue_frag for continuations am:
f5d1aea3ea am:
8c0c1c0c10
am:
a84b98e477
Change-Id: I16f97c35fe21995bd17a623f76072e46309a6877
Hemant Gupta [Wed, 15 Nov 2017 01:50:49 +0000 (01:50 +0000)]
BLE: Continue after list_remove in btm_consolidate_dev am:
f64e88ffb0
am:
b241446195
Change-Id: I98b520255f5baf84a0b653e64d050a0d716482bd
Hemant Gupta [Wed, 15 Nov 2017 01:49:13 +0000 (01:49 +0000)]
BLE: Continue after list_remove in btm_consolidate_dev
am:
f64e88ffb0
Change-Id: Iafefef1219378b6ee5de78464fd2e2d3a62655d3
Myles Watson [Wed, 15 Nov 2017 01:48:21 +0000 (01:48 +0000)]
AVRCP: Use avrc_send_continue_frag for continuations am:
f5d1aea3ea
am:
8c0c1c0c10
Change-Id: I3cd34d7de8cc36926020a387b0df355a914bb36d
Xin Li [Wed, 15 Nov 2017 01:47:23 +0000 (01:47 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am:
83f01b69a6
Change-Id: If67eaf4c7574ed764e80b13adf7d94c3231ef48a
Myles Watson [Wed, 15 Nov 2017 01:36:03 +0000 (01:36 +0000)]
AVRCP: Use avrc_send_continue_frag for continuations
am:
f5d1aea3ea
Change-Id: I484d7ffaae3822376c740390f5c717845e7c5ced
Pavlin Radoslavov [Fri, 10 Nov 2017 03:30:58 +0000 (19:30 -0800)]
Update the codec-related JNI calls to contain the remote Device address
Also, normalize the order of the A2DP-related JNI callbacks to
list the remote device address first.
Bug:
68993365
Test: Manual - A2DP streaming to headset
Change-Id: I17fc9b0c23d6a1c26c99259bf391ba0a94988dd6
Xin Li [Wed, 15 Nov 2017 00:38:30 +0000 (16:38 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Change-Id: I2ec761ede3888eb3cc2f89566b11aea0e721edbc