OSDN Git Service

android-x86/system-bt.git
3 years agoSend a response to an smp security request depending on the callback event
Rahul Sabnis [Mon, 24 Aug 2020 23:36:36 +0000 (16:36 -0700)]
Send a response to an smp security request depending on the callback event

Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: Iadeb25a43b46f615b55a0dfb6e7723e5d1204351
Change-Id: Iadeb25a43b46f615b55a0dfb6e7723e5d1204351

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 22:28:57 +0000 (22:28 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-dev am: b2adda8177 am: 00fd683aec -s ours am: 14ae20b072 -s ours am: 1f504a4d1c -s ours am: 2f1a14d58e -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 0b4c1014f7 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12309020

Change-Id: If193638c298db6668a1881824041f9b4bd5af764

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 22:14:51 +0000 (22:14 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-dev am: b2adda8177 am: 00fd683aec -s ours am: 14ae20b072 -s ours am: 1f504a4d1c -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 0b4c1014f7 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12309020

Change-Id: I84b756a054c2e0ef864b575b6cc9ef3226e63985

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 22:04:08 +0000 (22:04 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-mr1-dev am: 4256337c9e -s ours am: d24757a4f0 -s ours am: 0b6fe27c5f -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 ad8fba09ac is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12307949

Change-Id: I15e4458e0589a2ce4b10d1d175f30bed8387c200

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 21:53:28 +0000 (21:53 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-dev am: b2adda8177 am: 00fd683aec -s ours am: 14ae20b072 -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 0b4c1014f7 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12309020

Change-Id: I345e6523f88819ffd331090c3d1671cd480641c6

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 21:37:24 +0000 (21:37 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-mr1-dev am: 4256337c9e -s ours am: d24757a4f0 -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 ad8fba09ac is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12307949

Change-Id: Ib832a24dc121abf2c7e7769aae7cbe88f5d724a1

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 21:35:45 +0000 (21:35 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-dev am: b2adda8177 am: 00fd683aec -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 0b4c1014f7 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12309020

Change-Id: I64045645e5b0c45d25f239f52070f796e8162077

3 years agoMerge "Check whether local device is an ATV device to determine whether to show the...
Rahul Sabnis [Wed, 5 Aug 2020 21:18:10 +0000 (21:18 +0000)]
Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-dev am: b2adda8177

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12309020

Change-Id: I3cc71adac1897fb29ce5fb4012ed8b1567f1e614

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
Rahul Sabnis [Wed, 5 Aug 2020 21:17:00 +0000 (21:17 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-mr1-dev am: 4256337c9e -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 ad8fba09ac is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12307949

Change-Id: Icdcade676ae8c5cf2b05f42ce92611c97afd2b68

3 years agoMerge "Check whether local device is an ATV device to determine whether to show the...
Rahul Sabnis [Wed, 5 Aug 2020 20:56:23 +0000 (20:56 +0000)]
Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-dev

3 years agoMerge "Check whether local device is an ATV device to determine whether to show the...
Rahul Sabnis [Wed, 5 Aug 2020 20:51:45 +0000 (20:51 +0000)]
Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into oc-mr1-dev

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
TreeHugger Robot [Wed, 5 Aug 2020 19:21:51 +0000 (19:21 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into pi-dev am: 2b178f7896 -s ours am: 40f09f54ec -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 cd3398b4e2 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12307728

Change-Id: Ic0ff9254155d0fc13c57274fa836346fbe97fc50

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
TreeHugger Robot [Wed, 5 Aug 2020 19:12:58 +0000 (19:12 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into pi-dev am: 2b178f7896 -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 cd3398b4e2 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12307728

Change-Id: I8984a13c5abda90c0820798e8433e2cd8efb5f7a

3 years ago[automerger skipped] Merge "Check whether local device is an ATV device to determine...
TreeHugger Robot [Wed, 5 Aug 2020 19:10:47 +0000 (19:10 +0000)]
[automerger skipped] Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into qt-dev am: 5667640792 -s ours

am skip reason: Change-Id I6d06f5996da71e5a1407e544b0023d82924aa56f with SHA-1 b763abb99e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12307474

Change-Id: Ia8237e641ef3644f78bb9845e51e5634d76b1b65

3 years agoMerge "Check whether local device is an ATV device to determine whether to show the...
TreeHugger Robot [Wed, 5 Aug 2020 18:56:04 +0000 (18:56 +0000)]
Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into pi-dev

3 years agoMerge "Check whether local device is an ATV device to determine whether to show the...
TreeHugger Robot [Wed, 5 Aug 2020 18:53:45 +0000 (18:53 +0000)]
Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into qt-dev

3 years agoMerge "Check whether local device is an ATV device to determine whether to show the...
TreeHugger Robot [Wed, 5 Aug 2020 18:51:12 +0000 (18:51 +0000)]
Merge "Check whether local device is an ATV device to determine whether to show the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode" into qt-qpr1-dev

3 years ago[automerger skipped] Fix possible OOB when receive gatt read type response data am...
weichinweng [Wed, 5 Aug 2020 13:14:59 +0000 (13:14 +0000)]
[automerger skipped] Fix possible OOB when receive gatt read type response data am: 342cb328b6 am: 6d86ead0e3 -s ours am: 4e8d3b8eba -s ours am: f89ac96265 -s ours am: 100a9ce0e1 -s ours

am skip reason: Change-Id I1bd8713eecebc2bc3d919402b035987e06a2d4d3 with SHA-1 0eb7a763df is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12263265

Change-Id: Idba39a3384b9c2b0a7268a740661e722aa1ad47f

3 years ago[automerger skipped] Fix possible OOB when receive gatt read type response data am...
weichinweng [Wed, 5 Aug 2020 12:51:04 +0000 (12:51 +0000)]
[automerger skipped] Fix possible OOB when receive gatt read type response data am: 342cb328b6 am: 6d86ead0e3 -s ours am: 4e8d3b8eba -s ours am: f89ac96265 -s ours

am skip reason: Change-Id I1bd8713eecebc2bc3d919402b035987e06a2d4d3 with SHA-1 0eb7a763df is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12263265

Change-Id: Ia53860c6cea74a32279587c1a74d9bf6ed430280

3 years ago[automerger skipped] Fix possible OOB when receive gatt read type response data am...
weichinweng [Wed, 5 Aug 2020 12:32:35 +0000 (12:32 +0000)]
[automerger skipped] Fix possible OOB when receive gatt read type response data am: 342cb328b6 am: 6d86ead0e3 -s ours am: 4e8d3b8eba -s ours

am skip reason: Change-Id I1bd8713eecebc2bc3d919402b035987e06a2d4d3 with SHA-1 0eb7a763df is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12263265

Change-Id: Ia454d830d9e5e11883b83de17461b88d1c3d6a89

3 years ago[automerger skipped] Fix possible OOB when receive gatt read type response data am...
weichinweng [Wed, 5 Aug 2020 12:13:40 +0000 (12:13 +0000)]
[automerger skipped] Fix possible OOB when receive gatt read type response data am: 342cb328b6 am: 6d86ead0e3 -s ours

am skip reason: Change-Id I1bd8713eecebc2bc3d919402b035987e06a2d4d3 with SHA-1 0eb7a763df is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12263265

Change-Id: I0e10ba38b8aa463e7524ca0da1c2aa8ce5c86b5b

3 years agoFix possible OOB when receive gatt read type response data am: 342cb328b6
weichinweng [Wed, 5 Aug 2020 11:59:47 +0000 (11:59 +0000)]
Fix possible OOB when receive gatt read type response data am: 342cb328b6

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12263265

Change-Id: I064b5c88b2734129a9f1811f372713b01938ad9c

3 years agoFix possible OOB when receive gatt read type response data am: 0eb7a763df am: 2cce698...
weichinweng [Wed, 5 Aug 2020 09:11:28 +0000 (09:11 +0000)]
Fix possible OOB when receive gatt read type response data am: 0eb7a763df am: 2cce69804f am: e219a7f836

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12258750

Change-Id: Iaf6cb810e9aced654b009d12b3c48136a2bb88a0

3 years agoFix possible OOB when receive gatt read type response data am: 0eb7a763df am: 2cce69804f
weichinweng [Wed, 5 Aug 2020 08:49:07 +0000 (08:49 +0000)]
Fix possible OOB when receive gatt read type response data am: 0eb7a763df am: 2cce69804f

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12258750

Change-Id: Icee5cfa0941b171ce3d03ec2f7709e2ed3c36645

3 years agoFix possible OOB when receive gatt read type response data am: 0eb7a763df
weichinweng [Wed, 5 Aug 2020 08:26:01 +0000 (08:26 +0000)]
Fix possible OOB when receive gatt read type response data am: 0eb7a763df

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12258750

Change-Id: I941c06817ca42034d8cc6e74aae49cf4fc1e4dbc

3 years agoFix possible OOB when receive gatt read type response data
weichinweng [Tue, 28 Jul 2020 08:56:33 +0000 (16:56 +0800)]
Fix possible OOB when receive gatt read type response data

Bug: 158833854
Bug: 158778659
Test: manual
Tag: #security

Change-Id: I1bd8713eecebc2bc3d919402b035987e06a2d4d3
Merged-In: I1bd8713eecebc2bc3d919402b035987e06a2d4d3

3 years agoCheck whether local device is an ATV device to determine whether to show
Rahul Sabnis [Sat, 1 Aug 2020 02:44:27 +0000 (19:44 -0700)]
Check whether local device is an ATV device to determine whether to show
the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode

Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: I6d06f5996da71e5a1407e544b0023d82924aa56f
Change-Id: I6d06f5996da71e5a1407e544b0023d82924aa56f

3 years agoCheck whether local device is an ATV device to determine whether to show
Rahul Sabnis [Sat, 1 Aug 2020 02:44:27 +0000 (19:44 -0700)]
Check whether local device is an ATV device to determine whether to show
the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode

Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: I6d06f5996da71e5a1407e544b0023d82924aa56f
Change-Id: I6d06f5996da71e5a1407e544b0023d82924aa56f

3 years agoCheck whether local device is an ATV device to determine whether to show
Rahul Sabnis [Sat, 1 Aug 2020 02:44:27 +0000 (19:44 -0700)]
Check whether local device is an ATV device to determine whether to show
the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode

Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: I6d06f5996da71e5a1407e544b0023d82924aa56f
Change-Id: I6d06f5996da71e5a1407e544b0023d82924aa56f

3 years agoCheck whether local device is an ATV device to determine whether to show
Rahul Sabnis [Sat, 1 Aug 2020 02:44:27 +0000 (19:44 -0700)]
Check whether local device is an ATV device to determine whether to show
the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode

Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: I6d06f5996da71e5a1407e544b0023d82924aa56f
Change-Id: I6d06f5996da71e5a1407e544b0023d82924aa56f

3 years agoCheck whether local device is an ATV device to determine whether to show
Rahul Sabnis [Sat, 1 Aug 2020 02:44:27 +0000 (19:44 -0700)]
Check whether local device is an ATV device to determine whether to show
the consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode

Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: I6d06f5996da71e5a1407e544b0023d82924aa56f
Change-Id: I6d06f5996da71e5a1407e544b0023d82924aa56f

3 years agoFix possible OOB when receive gatt read type response data
weichinweng [Tue, 28 Jul 2020 08:56:33 +0000 (16:56 +0800)]
Fix possible OOB when receive gatt read type response data

Bug: 158833854
Bug: 158778659
Test: manual
Tag: #security

Change-Id: I1bd8713eecebc2bc3d919402b035987e06a2d4d3

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 01:46:35 +0000 (01:46 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: 57ffe1ba12 am: 70e77e9a2f -s ours am: 459630e366 -s ours am: 5830285595 -s ours am: 0733cdcef6 -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 b5c0bfc132 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040226

Change-Id: I0e1a0b25c7a933b008eaa236c810c9d0dcef59f8

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 01:28:31 +0000 (01:28 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: 57ffe1ba12 am: 70e77e9a2f -s ours am: 459630e366 -s ours am: 5830285595 -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 b5c0bfc132 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040226

Change-Id: I63dd8398d5a268766d7a8f71acfd0597893e18ba

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 01:09:09 +0000 (01:09 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: 57ffe1ba12 am: 70e77e9a2f -s ours am: 459630e366 -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 b5c0bfc132 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040226

Change-Id: I7e5b93e63eadbda49fc9ff28a6308a72e99b6ef0

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 00:51:00 +0000 (00:51 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: 57ffe1ba12 am: 70e77e9a2f -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 b5c0bfc132 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040226

Change-Id: I5ad01f31ae5ad09d350a04ff3414ae516ad0077d

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 00:34:24 +0000 (00:34 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: b5c0bfc132 -s ours am: e66f27327b -s ours am: c6edd09374 -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 8709264b5c is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040225

Change-Id: I63378c114fff2eab6ade3471dff8f212ccf2eab9

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 00:34:07 +0000 (00:34 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: 8709264b5c -s ours am: e23f192e8b -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 b6bcc43c7b is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040241

Change-Id: Ic79fd0a950561b9136b4f854c931fea5b1d89df2

4 years agoShows a consent dialog on the local device when pairing a bluetooth low am: 57ffe1ba12
Rahul Sabnis [Fri, 31 Jul 2020 00:27:46 +0000 (00:27 +0000)]
Shows a consent dialog on the local device when pairing a bluetooth low am: 57ffe1ba12

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040226

Change-Id: I591af4f49890b67d9d110747984e1061aeaa9a57

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 00:14:27 +0000 (00:14 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: b5c0bfc132 -s ours am: e66f27327b -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 8709264b5c is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040225

Change-Id: Iaec291391db339a109db382c530918bc4090357f

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 00:13:49 +0000 (00:13 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: 8709264b5c -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 b6bcc43c7b is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040241

Change-Id: If96604b3f5b0843bae5ea46c4806a46af523cf26

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Fri, 31 Jul 2020 00:11:56 +0000 (00:11 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: b5c0bfc132 -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 8709264b5c is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040225

Change-Id: Ibf60879048f2eea001a0b5c3cf4f9a4fcdb3edd6

4 years ago[automerger skipped] Shows a consent dialog on the local device when pairing a blueto...
Rahul Sabnis [Thu, 30 Jul 2020 00:18:43 +0000 (00:18 +0000)]
[automerger skipped] Shows a consent dialog on the local device when pairing a bluetooth low am: b6bcc43c7b -s ours

am skip reason: Change-Id I7de396230beb84bd0fa2b0cea346523b6824472a with SHA-1 fe287947a1 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12040224

Change-Id: I6b5ff2607b726813fe329ec2938085cf5da8bffb

4 years agoShows a consent dialog on the local device when pairing a bluetooth low
Rahul Sabnis [Fri, 26 Jun 2020 17:27:07 +0000 (10:27 -0700)]
Shows a consent dialog on the local device when pairing a bluetooth low
energy device if the local device has a display.

Tag: #security
Bug: 157038281
Test: Manual
Merged-In: I7de396230beb84bd0fa2b0cea346523b6824472a
Change-Id: I7de396230beb84bd0fa2b0cea346523b6824472a

4 years agoShows a consent dialog on the local device when pairing a bluetooth low
Rahul Sabnis [Fri, 26 Jun 2020 17:27:07 +0000 (10:27 -0700)]
Shows a consent dialog on the local device when pairing a bluetooth low
energy device if the local device has a display.

Tag: #security
Bug: 157038281
Test: Manual
Merged-In: I7de396230beb84bd0fa2b0cea346523b6824472a
Change-Id: I7de396230beb84bd0fa2b0cea346523b6824472a

4 years agoShows a consent dialog on the local device when pairing a bluetooth low
Rahul Sabnis [Fri, 26 Jun 2020 17:27:07 +0000 (10:27 -0700)]
Shows a consent dialog on the local device when pairing a bluetooth low
energy device if the local device has a display.

Tag: #security
Bug: 157038281
Test: Manual
Merged-In: I7de396230beb84bd0fa2b0cea346523b6824472a
Change-Id: I7de396230beb84bd0fa2b0cea346523b6824472a

4 years agoShows a consent dialog on the local device when pairing a bluetooth low
Rahul Sabnis [Fri, 26 Jun 2020 17:27:07 +0000 (10:27 -0700)]
Shows a consent dialog on the local device when pairing a bluetooth low
energy device if the local device has a display.

Tag: #security
Bug: 157038281
Test: Manual
Merged-In: I7de396230beb84bd0fa2b0cea346523b6824472a
Change-Id: I7de396230beb84bd0fa2b0cea346523b6824472a

4 years agoShows a consent dialog on the local device when pairing a bluetooth low
Rahul Sabnis [Fri, 26 Jun 2020 17:27:07 +0000 (10:27 -0700)]
Shows a consent dialog on the local device when pairing a bluetooth low
energy device if the local device has a display.

Tag: #security
Bug: 157038281
Test: Manual
Merged-In: I7de396230beb84bd0fa2b0cea346523b6824472a
Change-Id: I7de396230beb84bd0fa2b0cea346523b6824472a

4 years agoMerge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254 am...
Joseph Pirozzo [Fri, 26 Jun 2020 13:53:52 +0000 (13:53 +0000)]
Merge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254 am: e7c4690a6b am: 6c9602b148 am: 31713cdf9f

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11593936

Change-Id: I8bf46f136caa5defcca728a93f2807a63cfa1096

4 years agoMerge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254 am...
Joseph Pirozzo [Fri, 26 Jun 2020 13:42:17 +0000 (13:42 +0000)]
Merge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254 am: e7c4690a6b am: 6c9602b148

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11593936

Change-Id: Ie5a818b066a2d2d4401cbe22d399fd75a97a4f5b

4 years agoMerge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254 am...
Joseph Pirozzo [Fri, 26 Jun 2020 13:29:50 +0000 (13:29 +0000)]
Merge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254 am: e7c4690a6b

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11593936

Change-Id: Id273f7a0dcccdd41a0cc5f7dc9c782477aaf046b

4 years agoMerge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254
Joseph Pirozzo [Fri, 26 Jun 2020 13:13:54 +0000 (13:13 +0000)]
Merge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de am: b7bd79e254

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11593936

Change-Id: I1f53339a2b08ec342d65fe45f6a69965b87edf4a

4 years agoMerge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de
Joseph Pirozzo [Fri, 26 Jun 2020 13:01:21 +0000 (13:01 +0000)]
Merge "Enable bitpool sanity checks" into oc-dev am: 15ccbf59de

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11593936

Change-Id: I53a4ce34dba71b7715f791a03b6128458f8bc7e8

4 years agoMerge "Enable bitpool sanity checks" into oc-dev
Joseph Pirozzo [Fri, 26 Jun 2020 12:40:58 +0000 (12:40 +0000)]
Merge "Enable bitpool sanity checks" into oc-dev

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df...
Myles Watson [Thu, 25 Jun 2020 22:22:23 +0000 (22:22 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df1d0d am: ab50a6b284 -s ours am: 14b17d2fb1 -s ours am: db513f6c97 -s ours am: aba777da25 -s ours

am skip reason: Change-Id I048b7b142e3fe2096cf1a9aa2931c175fa52cd45 with SHA-1 e29c52cfda is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11934228

Change-Id: Ib670a2692d6c3961d4e2eaade6b62d8994d690b4

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df...
Myles Watson [Thu, 25 Jun 2020 22:05:37 +0000 (22:05 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df1d0d am: ab50a6b284 -s ours am: 14b17d2fb1 -s ours am: db513f6c97 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11934228

Change-Id: Id0a0e93bcdc38a92212eed4e41d09db6ed6ab37f

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df...
Myles Watson [Thu, 25 Jun 2020 21:45:08 +0000 (21:45 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df1d0d am: ab50a6b284 -s ours am: 14b17d2fb1 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11934228

Change-Id: Ide10d75b623cdb0bc7047529ce0c79e57a18120f

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df...
Myles Watson [Thu, 25 Jun 2020 21:28:30 +0000 (21:28 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df1d0d am: ab50a6b284 -s ours

am skip reason: Change-Id I048b7b142e3fe2096cf1a9aa2931c175fa52cd45 with SHA-1 e29c52cfda is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11934228

Change-Id: I01231f49767b1f5e54f43bf119e410a147198033

4 years agoDO NOT MERGE: Remove pairing on incoming bond request am: 85b5df1d0d
Myles Watson [Thu, 25 Jun 2020 21:15:23 +0000 (21:15 +0000)]
DO NOT MERGE: Remove pairing on incoming bond request am: 85b5df1d0d

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11934228

Change-Id: Icf0c4b744a56a06669fea1effd45c898063a4631

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: e29c52...
Myles Watson [Thu, 25 Jun 2020 20:39:33 +0000 (20:39 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: e29c52cfda -s ours am: 594c470d27 -s ours am: 230d3180fb -s ours

am skip reason: Change-Id I048b7b142e3fe2096cf1a9aa2931c175fa52cd45 with SHA-1 21e580de3b is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11931864

Change-Id: I2a7bfd5c6ee7f01688ea3c680e29d692ed9cc56e

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: e29c52...
Myles Watson [Thu, 25 Jun 2020 20:27:15 +0000 (20:27 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: e29c52cfda -s ours am: 594c470d27 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11931864

Change-Id: I57e23a03647c13e6ffbb2e42b016e2fbb20c516f

4 years ago[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: e29c52...
Myles Watson [Thu, 25 Jun 2020 20:03:22 +0000 (20:03 +0000)]
[automerger skipped] DO NOT MERGE: Remove pairing on incoming bond request am: e29c52cfda -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11931864

Change-Id: I289b55466f022e0ee4422a142427014146eeb936

4 years agoRemove pairing on incoming bond request am: 21e580de3b am: 73dd59984c
Myles Watson [Thu, 25 Jun 2020 19:50:05 +0000 (19:50 +0000)]
Remove pairing on incoming bond request am: 21e580de3b am: 73dd59984c

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11922796

Change-Id: If7636b869c35d1313637ca8200e36d13778832e3

4 years agoRemove pairing on incoming bond request am: 21e580de3b
Myles Watson [Thu, 25 Jun 2020 19:38:38 +0000 (19:38 +0000)]
Remove pairing on incoming bond request am: 21e580de3b

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/11922796

Change-Id: I8eab6881fc28cd96fc7c7975d4ffb4bf75626eb2

4 years agoDO NOT MERGE: Remove pairing on incoming bond request
Myles Watson [Thu, 18 Jun 2020 21:35:53 +0000 (14:35 -0700)]
DO NOT MERGE: Remove pairing on incoming bond request

Bug: 150156492
Tag: #security
Test: Bond two devices, forget from one device and reconnect
Change-Id: I048b7b142e3fe2096cf1a9aa2931c175fa52cd45
(cherry picked from commit 13f409ad3a2423b06af7a7f1a9b06fb06c8820a7)
Merged-In: I048b7b142e3fe2096cf1a9aa2931c175fa52cd45

4 years agoDO NOT MERGE: Remove pairing on incoming bond request
Myles Watson [Thu, 18 Jun 2020 21:35:53 +0000 (14:35 -0700)]
DO NOT MERGE: Remove pairing on incoming bond request

Bug: 150156492
Tag: #security
Test: Bond two devices, forget from one device and reconnect
Change-Id: I048b7b142e3fe2096cf1a9aa2931c175fa52cd45
(cherry picked from commit 13f409ad3a2423b06af7a7f1a9b06fb06c8820a7)
Merged-In: I048b7b142e3fe2096cf1a9aa2931c175fa52cd45

4 years agoRemove pairing on incoming bond request
Myles Watson [Thu, 18 Jun 2020 21:35:53 +0000 (14:35 -0700)]
Remove pairing on incoming bond request

Bug: 150156492
Tag: #security
Test: Bond two devices, forget from one device and reconnect
Change-Id: I048b7b142e3fe2096cf1a9aa2931c175fa52cd45
Merged-In: I048b7b142e3fe2096cf1a9aa2931c175fa52cd45
(cherry picked from commit 13f409ad3a2423b06af7a7f1a9b06fb06c8820a7)

4 years agoEnable bitpool sanity checks
Joseph Pirozzo [Mon, 25 May 2020 17:36:26 +0000 (10:36 -0700)]
Enable bitpool sanity checks

Enable bitpool sanity checks to run all the time, not just in debug
mode.

Tag: #security
Test: sbcdecoder_fuzzer
Bug: 146398979
Change-Id: Iff58305cd18de35e37290f0c09fba01ee14e787a

4 years ago[automerger skipped] Merge "Check a2dp packet length is zero" into qt-dev am: c909de6...
Sterling Huber [Thu, 9 Apr 2020 17:17:37 +0000 (17:17 +0000)]
[automerger skipped] Merge "Check a2dp packet length is zero" into qt-dev am: c909de62bf -s ours

am skip reason: skipped by user cmanton

Change-Id: I8ff4f933b88c68473b378d0894b89ae8b10431fd

4 years agoMerge "btm: fixing oob write in multi-adv SetData." into qt-qpr1-dev
TreeHugger Robot [Wed, 8 Apr 2020 16:40:55 +0000 (16:40 +0000)]
Merge "btm: fixing oob write in multi-adv SetData." into qt-qpr1-dev

4 years agoMerge "Check a2dp packet length is zero" into qt-dev
Sterling Huber [Wed, 8 Apr 2020 00:13:33 +0000 (00:13 +0000)]
Merge "Check a2dp packet length is zero" into qt-dev

4 years ago[automerger skipped] Fix potential stack overflow caused by integer overflow am:...
Jakub Pawlowski [Tue, 7 Apr 2020 23:50:35 +0000 (23:50 +0000)]
[automerger skipped] Fix potential stack overflow caused by integer overflow am: 1570b62c88 am: 5b4bf745e9 am: 6360e91bb3 am: 3cd74938d8 -s ours am: db0c360dce -s ours

am skip reason: Change-Id I0655b0b62301f78cd8705cc7b0e4fc11522f00ca with SHA-1 ec0d507ed2 is in history

Change-Id: I2748027eb3a50e6ed5130be43861fa69d794bee8

4 years ago[automerger skipped] Fix potential stack overflow caused by integer overflow am:...
Jakub Pawlowski [Tue, 7 Apr 2020 23:38:36 +0000 (23:38 +0000)]
[automerger skipped] Fix potential stack overflow caused by integer overflow am: 1570b62c88 am: 5b4bf745e9 am: 6360e91bb3 am: 3cd74938d8 -s ours

am skip reason: Change-Id I0655b0b62301f78cd8705cc7b0e4fc11522f00ca with SHA-1 ec0d507ed2 is in history

Change-Id: Ife4a1d737088dbf51ac29f0a6411d9468b456593

4 years agoFix potential stack overflow caused by integer overflow am: 1570b62c88 am: 5b4bf745e9...
Jakub Pawlowski [Tue, 7 Apr 2020 23:24:21 +0000 (23:24 +0000)]
Fix potential stack overflow caused by integer overflow am: 1570b62c88 am: 5b4bf745e9 am: 6360e91bb3

Change-Id: I1e23e75fd05e41b9cd31bb93b945135bef21c04f

4 years agoFix potential stack overflow caused by integer overflow am: 1570b62c88 am: 5b4bf745e9
Jakub Pawlowski [Tue, 7 Apr 2020 23:09:11 +0000 (23:09 +0000)]
Fix potential stack overflow caused by integer overflow am: 1570b62c88 am: 5b4bf745e9

Change-Id: I91417fff40a89042993a9fcbfaa6b7f45c162d89

4 years agoFix potential stack overflow caused by integer overflow am: 1570b62c88
Jakub Pawlowski [Tue, 7 Apr 2020 22:51:21 +0000 (22:51 +0000)]
Fix potential stack overflow caused by integer overflow am: 1570b62c88

Change-Id: Iaf75d5b63297d50e3115422f15fa8511133ef45a

4 years agoFix potential stack overflow caused by integer overflow am: ec0d507ed2
Jakub Pawlowski [Tue, 7 Apr 2020 22:31:00 +0000 (22:31 +0000)]
Fix potential stack overflow caused by integer overflow am: ec0d507ed2

Change-Id: Ia8ae7d5d144e3a5e94728dc236d9e7af6ddd3dd2

4 years agoCheck a2dp packet length is zero
Chris Manton [Tue, 10 Mar 2020 15:59:02 +0000 (08:59 -0700)]
Check a2dp packet length is zero

Bug: 142546668
Test: net_test_stack_a2dp_native

Change-Id: I105b445293c02cb4f37c759fd5b05758fd4e3646
Merged-In: I105b445293c02cb4f37c759fd5b05758fd4e3646

4 years agoMerge "DO NOT MERGE Fix potential overflow in btif_rc" into qt-qpr1-dev
Chris Manton [Fri, 27 Mar 2020 00:36:19 +0000 (00:36 +0000)]
Merge "DO NOT MERGE Fix potential overflow in btif_rc" into qt-qpr1-dev

4 years agoMerge "Fix potential OOB vulnerability when an HCI event is received" into qt-qpr1-dev
TreeHugger Robot [Thu, 26 Mar 2020 21:45:36 +0000 (21:45 +0000)]
Merge "Fix potential OOB vulnerability when an HCI event is received" into qt-qpr1-dev

4 years agoDO NOT MERGE Fix potential overflow in btif_rc
Chris Manton [Wed, 4 Mar 2020 04:04:51 +0000 (20:04 -0800)]
DO NOT MERGE Fix potential overflow in btif_rc

Bug: 142878416
Test: net_test_btif_rc

Change-Id: Ia263bd5c863644f2adde759a103d79b812a9a5de
(cherry picked from commit e5dd9c735a30188286c7c9b88c247e4f629bdd54)

4 years agoRevert "DO NOT MERGE Ensure hci command status event has sufficient packet length"
Kelly Rossmoyer [Thu, 26 Mar 2020 20:57:42 +0000 (20:57 +0000)]
Revert "DO NOT MERGE  Ensure hci command status event has sufficient packet length"

This reverts commit 179e1ee138a8811deffd49eae77f85246e5092a9.

Reason for revert: build breakage (b/152543627)

Change-Id: I437c99613732a5feb4ecbd082598f2efa5853c1e

4 years agoMerge "DO NOT MERGE Ensure hci command status event has sufficient packet length...
TreeHugger Robot [Thu, 26 Mar 2020 19:27:55 +0000 (19:27 +0000)]
Merge "DO NOT MERGE  Ensure hci command status event has sufficient packet length" into qt-qpr1-dev

4 years agoMerge "AVDTP: Prevent OOB read when parsing rejected response" into qt-qpr1-dev
TreeHugger Robot [Mon, 23 Mar 2020 05:36:25 +0000 (05:36 +0000)]
Merge "AVDTP: Prevent OOB read when parsing rejected response" into qt-qpr1-dev

4 years agoMerge changes I685873b0,Iac3078fa into qt-qpr1-dev
Joseph Pirozzo [Fri, 20 Mar 2020 17:19:37 +0000 (17:19 +0000)]
Merge changes I685873b0,Iac3078fa into qt-qpr1-dev

* changes:
  HF_Client: Send BTA_HF_CLIENT_RFC_CLOSE_EVT when client_cb == NULL
  HF_Client: Free the RFC if the handle doesn't match

4 years agoFix potential stack overflow caused by integer overflow
Jakub Pawlowski [Fri, 20 Mar 2020 14:24:00 +0000 (15:24 +0100)]
Fix potential stack overflow caused by integer overflow

Bug: 151155194
Merged-In: I0655b0b62301f78cd8705cc7b0e4fc11522f00ca
Change-Id: I0655b0b62301f78cd8705cc7b0e4fc11522f00ca

4 years agoFix potential stack overflow caused by integer overflow
Jakub Pawlowski [Mon, 16 Mar 2020 11:09:15 +0000 (12:09 +0100)]
Fix potential stack overflow caused by integer overflow

Bug: 151155194
Merged-In: I0655b0b62301f78cd8705cc7b0e4fc11522f00ca
Change-Id: I0655b0b62301f78cd8705cc7b0e4fc11522f00ca

4 years agoMerge "Fix bluetooth can't turn off during network reset (3/3)" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Mar 2020 03:33:52 +0000 (03:33 +0000)]
Merge "Fix bluetooth can't turn off during network reset (3/3)" into qt-qpr1-dev

4 years agoMerge "avrc: Validating msg size before accessing fields" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Mar 2020 03:29:10 +0000 (03:29 +0000)]
Merge "avrc: Validating msg size before accessing fields" into qt-qpr1-dev

4 years agoMerge changes from topic "AutomotiveQBTSync" into qt-qpr1-dev
Joseph Pirozzo [Thu, 19 Mar 2020 17:54:22 +0000 (17:54 +0000)]
Merge changes from topic "AutomotiveQBTSync" into qt-qpr1-dev

* changes:
  AVRCP Controller manage focus while disconnected
  AVRCP Controller refresh track data on Interim
  AVRCP Controller get play status
  ServiceDiscoveryProtocol DB Full
  AVRCP Position Changed Notification
  DO NOT MERGE: AVRCP Controller Shuffle/Repeat support

4 years agoFix potential OOB vulnerability when an HCI event is received
jonerlin [Mon, 2 Mar 2020 11:13:31 +0000 (19:13 +0800)]
Fix potential OOB vulnerability when an HCI event is received

* Check the minimum length of Hci Events to avoid OOB vulnerability

Bug: 142546104
Bug: 142546561
Bug: 142544089
Bug: 142638492
Bug: 142638392
Bug: 142544079
Bug: 142543497
Test: inject function, Bluetooth regression test PASS.
Change-Id: I761fc56dae45bd1fe24e55669adf6a9965717830

4 years agoMerge "Notify remote name failed for LE device" into qt-qpr1-dev
More Kuo [Thu, 19 Mar 2020 02:05:39 +0000 (02:05 +0000)]
Merge "Notify remote name failed for LE device" into qt-qpr1-dev

4 years agoMerge "Make sure only valid packet fields are accessed in VendorPacketHandler" into...
TreeHugger Robot [Wed, 18 Mar 2020 22:52:14 +0000 (22:52 +0000)]
Merge "Make sure only valid packet fields are accessed in VendorPacketHandler" into qt-qpr1-dev

4 years agoHF_Client: Send BTA_HF_CLIENT_RFC_CLOSE_EVT when client_cb == NULL
Song Gao [Thu, 12 Dec 2019 18:32:27 +0000 (10:32 -0800)]
HF_Client: Send BTA_HF_CLIENT_RFC_CLOSE_EVT when client_cb == NULL

Bug: 146086992
Test: manual
Change-Id: I685873b0c4c74ddb4e273e2a38307ec2af0bbd13
Merged-In: I685873b0c4c74ddb4e273e2a38307ec2af0bbd13
(cherry picked from commit daa34793f2e076be3bf600e079128754a0cb8576)

4 years agoHF_Client: Free the RFC if the handle doesn't match
Song Gao [Thu, 12 Dec 2019 18:28:36 +0000 (10:28 -0800)]
HF_Client: Free the RFC if the handle doesn't match

Bug: 146086995
Test: manual
Change-Id: Iac3078fa2d10373f295fe9c6fd49ddc39f15eb98
Merged-In: Iac3078fa2d10373f295fe9c6fd49ddc39f15eb98
(cherry picked from commit 8da3a9ed0886821be7fb4a9fa71abbb112e7a95f)

4 years agoNotify remote name failed for LE device
More Kuo [Fri, 13 Mar 2020 06:43:29 +0000 (14:43 +0800)]
Notify remote name failed for LE device

When cancel discovery for LE device in BTA_DM_DISCOVER_ACTIVE state,
there is no notification to indicate the remote name request of LE
device is cancelled and change the search state back to
BTA_DM_SEARCH_IDLE state. Call btm_inq_rmt_name_failed_cancelled()
to notify in this situation.

Bug: 146840780
Test: Manual
Change-Id: I4ab2a2f413e4ac19765476039f4127ce045e84d9

4 years agoDO NOT MERGE Ensure hci command status event has sufficient packet length
Chris Manton [Tue, 3 Mar 2020 18:33:42 +0000 (10:33 -0800)]
DO NOT MERGE  Ensure hci command status event has sufficient packet length

Bug: 141618611
Test: net_test_hci_native

Change-Id: I70a318b05d7781ddf8f82d7922a8ee7afc8d2e9f
(cherry picked from commit 6e25c5d81c4a43c2794a605c9fc8a194f37889af)

4 years agoAVRCP Controller manage focus while disconnected
Joseph Pirozzo [Mon, 18 Nov 2019 19:44:37 +0000 (11:44 -0800)]
AVRCP Controller manage focus while disconnected

If Audio focus is lost(or gained)  while A2DP is not connected there is the
possibility for states to get out of sync.  Removing the check for
connectivity ensures that the state can be properly managed.

Bug: 144082798
Test: Disconnect BT device, lose audio focus, verify
btif_a2dp_sink_set_focus_state_event state gets updated.

Change-Id: If5802418f6069dbc72824745307342776175d9d8
(cherry picked from commit 7661c2a8b90bee7edcf7c1279abe06ed32e22a2c)

Change-Id: I22a7ee2a3e51c3dea441a6f185e1c993cd65c4a1
Merged-In: If5802418f6069dbc72824745307342776175d9d8

4 years agoAVRCP Controller refresh track data on Interim
Joseph Pirozzo [Thu, 14 Nov 2019 00:02:06 +0000 (16:02 -0800)]
AVRCP Controller refresh track data on Interim

Upon receiving an interim track changed event fetch the now playing
track information.  Resolves issues where track changes get out of sync.

Bug: 143954201
Test: connect a phone and change tracks rapidly on phone.
Change-Id: I1e4ce62df6839dd2b9cf40832556a9b2608593e7
(cherry picked from commit a3d62166f685f5249b813bd110e894682c84da54)

Change-Id: Ia6cc2a7a0430d6d9e3ae6e911e3fc8834221b599
Merged-In: I1e4ce62df6839dd2b9cf40832556a9b2608593e7

4 years agoAVRCP Controller get play status
Joseph Pirozzo [Mon, 21 Oct 2019 22:39:09 +0000 (15:39 -0700)]
AVRCP Controller get play status

Correct the parsing error in the GET_PLAY_STATUS message and call the
proper jni callback when it is received.

Bug: 139033614
Test: Connect AVRCP change media players, observe correct value parsed.
Change-Id: I8302b64efdd72bfa671cca5b8c512a436fa54ab3
(cherry picked from commit 86b473cae724e9db2efec9ed1ee50a71f2a2dd22)

Merged-In: 86b473cae724e9db2efec9ed1ee50a71f2a2dd22
Change-Id: I0c753fbc7bb62698cf23b9ded13497b6b60cda35
Merged-In: I8302b64efdd72bfa671cca5b8c512a436fa54ab3