• R/O
  • HTTP
  • SSH
  • HTTPS

Liste der Commits

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


RSS
Rev. Zeit Autor
01358b6 2019-06-19 08:48:59 Steven Moreland

libprocessgroup users use libcutils
am: 93e1622ba6

Change-Id: Ia39a50ffff1c8d9011df0f1fb9f399940c8e4b88

93e1622 2019-06-19 01:25:30 Steven Moreland

libprocessgroup users use libcutils

libprocessgroup symbols are being moved into libcutils in order to
optimize linking/memory usage. libprocessgroup will no longer be
required in the future (however removing references to it will come
separately).

Bug: 135145426
Test: boot
Change-Id: I46710da29212572068f6e96967f42523455f1446

03306c5 2019-06-14 07:44:03 Jakub Pawlowski

Fix for BluetoothGattCallback.onConnectionStateChange being called more than once
am: 981864174e

Change-Id: Id83a8fa757cd2b2017ec373d96f83cba7a4abb99

9818641 2019-06-14 04:35:03 Jakub Pawlowski

Fix for BluetoothGattCallback.onConnectionStateChange being called more than once

This patch fixes the issue, where the onConenctionStateCallback is being
called twice when device is connected. This happens only if device was
connected before, and the physical connection was kept alive.

This issue was introduced during white list refactor.

Test: GattConnectTest:test_gatt_connect_in_quick_succession
Bug: 117182283
Merged-In: Id94db9429e31224ef35eb2c99c0f9a65e7c27d32
Change-Id: Id94db9429e31224ef35eb2c99c0f9a65e7c27d32

94b4587 2019-06-13 01:24:44 weichinweng

Load gatt_database if it is empty in bta_gattc_process_indicate
am: d8cdc6c2b8

Change-Id: Ic21850a535194b85aa558fe97b8118e0e089581e

d8cdc6c 2019-06-12 16:29:52 weichinweng

Load gatt_database if it is empty in bta_gattc_process_indicate

If Service Changed indication is received but gatt_database is empty,
will try to load database from storage.

Bug: 131814072
Bug: 134994428
Test: 1.CTS Bluetooth LE Secure Test. 2.Unit test.
3. Pair BLE device via APP. 4. Pair device via Bluetooth Setting

Change-Id: Id3f3f0f33d5e0469a6f2ac6612fa9f5ea0b24142
Merged-In: Id3f3f0f33d5e0469a6f2ac6612fa9f5ea0b24142

e05ea5e 2019-06-12 07:01:23 Jakub Pawlowski

Revert "Open connection if it doesn't exsist in bta_gattc_process_indicate"
am: 1ae89b7db2

Change-Id: I7dd5e73de79498e378d24140a3ff4790a4138dac

1ae89b7 2019-06-12 03:38:44 Jakub Pawlowski

Revert "Open connection if it doesn't exsist in bta_gattc_process_indicate"

This reverts commit ffc95919835bbf89d635516955bff1b3b8a17641.

Reason for revert: breaks HA bonding from within app.

Bug: 134942525
Change-Id: I824391b1c84b535d7f251e176a5169eb79921c7f

a950098 2019-06-11 10:52:39 Jakub Pawlowski

DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size

If remote device stop the encryption before we call "Read Encryption Key Size",
we might receive Insufficient Security, which means that link is no longer
encrypted.

In such cases we should stay connected, rather than disconnecting the
link.

Test: Connect to device that stop encryption right after encryption is
complete, i.e. to change roles.
Bug: 124301137
Bug: 132626699

Change-Id: Iab0fd9f357d18a6b048b971d0393fbb47fd4d793
Merged-In: Iab0fd9f357d18a6b048b971d0393fbb47fd4d793
(cherry picked from commit c978f86b506f31567b5991c91cdbe4c142ca8edd)

12df1a2 2019-06-11 09:09:45 Ugo Yu

DO NOT MERGE Separate SDP procedure from bonding state (1/2)

- Do not stay in bonding state if the device is paried but still
discovering service.
- Report BOND_BONDED to Java after authentication for a classic
Bluetooth device is completed.
- Send BONDING event to Java when static identity address is
first obtained during crosskey pairing
- Send BONDING event to Java for the initial random address
before send BONDED event
- Do not send bond event for static identity address when SDP is done.
- Make sure pairing control block always get cleaned up when both SDP
and pairing are done
- Send empty UUIDs to Java layer to unblock bonding intent broadcast
when SDP fails

Bug: 79703832
Test: runtest bluetooth, regression test
Change-Id: Ic33ca045b996c02a7c98e458f791a1747a8ea6d5
(cherry picked from commit 6628beb969f3f8e58972d2c2eb8b4bc053a11109)

02806cb 2019-06-11 08:42:28 Jakub Pawlowski

DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size

If remote device stop the encryption before we call "Read Encryption Key Size",
we might receive Insufficient Security, which means that link is no longer
encrypted.

In such cases we should stay connected, rather than disconnecting the
link.

Test: Connect to device that stop encryption right after encryption is
complete, i.e. to change roles.
Bug: 124301137
Bug: 132626699

Change-Id: Iab0fd9f357d18a6b048b971d0393fbb47fd4d793
Merged-In: Iab0fd9f357d18a6b048b971d0393fbb47fd4d793
(cherry picked from commit bdac7b911f710c9c323af60b93eeda045881b5e6)

1df6bcb 2019-06-11 08:42:28 Ugo Yu

DO NOT MERGE Separate SDP procedure from bonding state (1/2)

- Do not stay in bonding state if the device is paried but still
discovering service.
- Report BOND_BONDED to Java after authentication for a classic
Bluetooth device is completed.
- Send BONDING event to Java when static identity address is
first obtained during crosskey pairing
- Send BONDING event to Java for the initial random address
before send BONDED event
- Do not send bond event for static identity address when SDP is done.
- Make sure pairing control block always get cleaned up when both SDP
and pairing are done
- Send empty UUIDs to Java layer to unblock bonding intent broadcast
when SDP fails

Bug: 79703832
Test: runtest bluetooth, regression test
Change-Id: I8a98ba2178039e25c65fc701855066a8788312e6
(cherry picked from commit 9d5a28a536f3c2ce45e6fb7c5a0b78ec1802f006)

4d57cc3 2019-06-11 08:41:59 Jakub Pawlowski

DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size

If remote device stop the encryption before we call "Read Encryption Key Size",
we might receive Insufficient Security, which means that link is no longer
encrypted.

In such cases we should stay connected, rather than disconnecting the
link.

Test: Connect to device that stop encryption right after encryption is
complete, i.e. to change roles.
Bug: 124301137
Bug: 132626699

Change-Id: Iab0fd9f357d18a6b048b971d0393fbb47fd4d793
Merged-In: Iab0fd9f357d18a6b048b971d0393fbb47fd4d793
(cherry picked from commit c5aa5feebf558df160772fefaf271a6f3251e261)

669c21e 2019-06-11 08:41:59 Ugo Yu

DO NOT MERGE Separate SDP procedure from bonding state (1/2)

- Do not stay in bonding state if the device is paried but still
discovering service.
- Report BOND_BONDED to Java after authentication for a classic
Bluetooth device is completed.
- Send BONDING event to Java when static identity address is
first obtained during crosskey pairing
- Send BONDING event to Java for the initial random address
before send BONDED event
- Do not send bond event for static identity address when SDP is done.
- Make sure pairing control block always get cleaned up when both SDP
and pairing are done
- Send empty UUIDs to Java layer to unblock bonding intent broadcast
when SDP fails

Bug: 79703832
Test: runtest bluetooth, regression test
Change-Id: Ia50c42bbd7614ea13c7dd90dcfc7224f4681f479
(cherry picked from commit 553eb90719404652046698c9191e995c86743129)

fac802a 2019-06-08 14:01:14 Martin Brabham

Confirm the presence of BT key when BT ON
am: bd8c5865c9

Change-Id: If3b988395c9b09d4b8809edb944a5d5830a3821c

bd8c586 2019-06-08 05:27:44 Martin Brabham

Confirm the presence of BT key when BT ON

After clearing Bluetooth data, the Bluetooth key will be cleared in the
same time. When turn on Bluetooth, NE happened at the step of checking
Bluetooth key.

Bug: 133214365
Test: ahost --host test net_test_bluetooth
Change-Id: I88f5dfae07352a794b304da60e09253c004fb3d4

97a5d60 2019-06-07 19:28:34 Jakub Pawlowski

[automerger skipped] Merge changes from topic "am-e3f94184-0df3-403b-b2dc-4ebd50beee32" into oc-dev am: 38535adcd0 -s ours am: 28a8e8b848 -s ours am: c5837d3d81 -s ours am: 5b7daae369 -s ours
am: 4ea1ac1105 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 461f0b4739 is in history

Change-Id: I71b353a5efbc64b10ff787c98157107e30b9b4c0

811fb56 2019-06-07 19:28:13 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: 461f0b4739 -s ours am: 35f2cb15f1 -s ours am: 75384547fb -s ours am: dd59bd4400 -s ours
am: 82398ca371 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 c887dd6ed1 is in history

Change-Id: I52a7a78da40b378f0b20112f759830f75c834813

4ea1ac1 2019-06-07 19:23:30 Jakub Pawlowski

[automerger skipped] Merge changes from topic "am-e3f94184-0df3-403b-b2dc-4ebd50beee32" into oc-dev am: 38535adcd0 -s ours am: 28a8e8b848 -s ours am: c5837d3d81 -s ours
am: 5b7daae369 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 461f0b4739 is in history

Change-Id: I1dba0b8ab2cdb0363f6a53939385d2d6a45d18f7

82398ca 2019-06-07 19:23:04 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: 461f0b4739 -s ours am: 35f2cb15f1 -s ours am: 75384547fb -s ours
am: dd59bd4400 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifbda31c8076491dcf7c583ae6b7a12cf4c82a4f0

5b7daae 2019-06-07 19:18:27 Jakub Pawlowski

[automerger skipped] Merge changes from topic "am-e3f94184-0df3-403b-b2dc-4ebd50beee32" into oc-dev am: 38535adcd0 -s ours am: 28a8e8b848 -s ours
am: c5837d3d81 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 461f0b4739 is in history

Change-Id: Ia742ff3db6e10ecdcfae893a44ed3e766c40cbe6

dd59bd4 2019-06-07 19:18:03 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: 461f0b4739 -s ours am: 35f2cb15f1 -s ours
am: 75384547fb -s ours
am skip reason: subject contains skip directive

Change-Id: I952f4abe93c3f75e9de141727606886ed234b8ad

c5837d3 2019-06-07 19:12:23 Jakub Pawlowski

[automerger skipped] Merge changes from topic "am-e3f94184-0df3-403b-b2dc-4ebd50beee32" into oc-dev am: 38535adcd0 -s ours
am: 28a8e8b848 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 461f0b4739 is in history

Change-Id: I128d6b1fbeccea202ddaaa73e4a1c9032afdfda1

7538454 2019-06-07 19:12:08 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: 461f0b4739 -s ours
am: 35f2cb15f1 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 bdac7b911f is in history

Change-Id: Idd9e3a1ffa28ca0de51f37b043c452b0cde9fcfe

28a8e8b 2019-06-07 19:08:32 Jakub Pawlowski

[automerger skipped] Merge changes from topic "am-e3f94184-0df3-403b-b2dc-4ebd50beee32" into oc-dev
am: 38535adcd0 -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 461f0b4739 is in history

Change-Id: I14e6e0212fd40a7a74cc9f4672cd8ce611763761

35f2cb1 2019-06-07 19:08:09 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size
am: 461f0b4739 -s ours
am skip reason: SHA1 461f0b4739 skipped by user jpawlowski

Change-Id: If029a012222cb9a45a593282524518f30f9f0dc6

38535ad 2019-06-07 04:47:12 Jakub Pawlowski

Merge changes from topic "am-e3f94184-0df3-403b-b2dc-4ebd50beee32" into oc-dev

* changes:
[automerger] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: c5aa5feebf am: 0a76ef0245 am: 20649305ba am: 20f1cf2b81 skipped: cb880ad379
[automerger] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: c5aa5feebf am: 0a76ef0245 am: 20649305ba am: 20f1cf2b81
[automerger] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: c5aa5feebf am: 0a76ef0245 am: 20649305ba
[automerger] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: c5aa5feebf am: 0a76ef0245
[automerger] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: c5aa5feebf
DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size

3ad01f1 2019-06-07 04:01:55 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: bdac7b911f -s ours am: 35f034bb61 -s ours
am: 04d073cb2d -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 c978f86b50 is in history

Change-Id: I15822e529aac0cb7c92f105680bd4f92e80803a5

7462717 2019-06-07 04:01:36 Jakub Pawlowski

[automerger skipped] DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size am: c978f86b50 -s ours
am: 332964b0ad -s ours
am skip reason: change_id Iab0fd9f357d18a6b048b971d0393fbb47fd4d793 with SHA1 c887dd6ed1 is in history

Change-Id: I793f3ff6b902aaedf590ea9c3c7f7060cbf5b8e9

49d1907 2019-06-07 04:01:13 Jakub Pawlowski

Fix for Bluetooth connection being dropped after HCI Read Encryption Key Size
am: c887dd6ed1

Change-Id: I391cfa47c88580d6a18510f2186d8560d023287e