OSDN Git Service
Chris Manton [Sun, 4 Oct 2020 01:04:30 +0000 (01:04 +0000)]
Re-log btif/src/btif_sdp_server:: am:
2d423fbf1d am:
b6b0afdd11 am:
502ae07c02 am:
afccb644be
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446768
Change-Id: I805780745e12ebd7dd8cb2d4b9276c2a23b224bc
Chris Manton [Sun, 4 Oct 2020 01:04:28 +0000 (01:04 +0000)]
Remove unused decls stack/btm/btm_int am:
ef095485d2 am:
5a22251a7c am:
daf125a6c2 am:
d2d9a46b10
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446767
Change-Id: Iefa0e49f5321c20bdf02a9d6da17dc29e5a5f63c
Chris Manton [Sun, 4 Oct 2020 01:04:26 +0000 (01:04 +0000)]
enum-ify BTM_SEC_ and BTM_SEC_LE am:
6a231f9b75 am:
5e4c2d1d90 am:
b0ce312c74 am:
b1db423c4b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446766
Change-Id: I8cc5f03b578ca996e8271b8d3da3101532739440
Chris Manton [Sun, 4 Oct 2020 01:04:24 +0000 (01:04 +0000)]
Remove unused var tBTM_CB::state_temp_buffer am:
ea115fe4f9 am:
8355ea5411 am:
b0f5baeb2e am:
f61be5a352
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446765
Change-Id: I3c70bd83162ce8c63329ecc27e4d81b0fdfc1a16
Chris Manton [Sun, 4 Oct 2020 01:04:21 +0000 (01:04 +0000)]
Encapsulate tBTM_CB::btm_scn am:
d6e3ce8d7b am:
48da3842f9 am:
3388a2b755 am:
a757b66b77
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446764
Change-Id: I1caa8e70c88e53d8f8ebbed5dec7caff77fc2eb7
Chris Manton [Sun, 4 Oct 2020 01:04:19 +0000 (01:04 +0000)]
Encapsulate tBTM_CB::enc_rand, ediv, key_size am:
829451f652 am:
f9757fd5b3 am:
4d8d759494 am:
215088b7e3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446763
Change-Id: I153cbc37830fa1476230b886f08efab24c0e892a
Chris Manton [Sun, 4 Oct 2020 01:04:17 +0000 (01:04 +0000)]
Encapsulate tBTM_CB::enc_handle am:
ddf998bdd8 am:
08b983a655 am:
74501a19f8 am:
c2d45c25e8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446762
Change-Id: I091b20996dabe544382db065e01426460ca9176b
Chris Manton [Sun, 4 Oct 2020 01:04:16 +0000 (01:04 +0000)]
L2CA_SetFlushTimeout does nothing. am:
928e707151 am:
b94da5c908 am:
c6bb2cceec am:
e93ed78a96
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446771
Change-Id: Iba472229dc47275f05ff69362ff4d4fbf8c08d09
Chris Manton [Sun, 4 Oct 2020 01:04:12 +0000 (01:04 +0000)]
Re-align read remote version information on legacy am:
2c0a6c7825 am:
0ed186f937 am:
5a09376f10 am:
accabd0cd3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446761
Change-Id: I0f1470b1635838b1f6a8511c212c84a36ed1da6b
Chris Manton [Sun, 4 Oct 2020 00:34:58 +0000 (00:34 +0000)]
Re-log btif/src/btif_sdp_server:: am:
2d423fbf1d am:
b6b0afdd11 am:
502ae07c02
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446768
Change-Id: Iddf9538027c13fb124caffe87fbc9ecf7f7fbbb9
Chris Manton [Sun, 4 Oct 2020 00:34:56 +0000 (00:34 +0000)]
Remove unused decls stack/btm/btm_int am:
ef095485d2 am:
5a22251a7c am:
daf125a6c2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446767
Change-Id: Iffec1a0c67af3419f9b9bf4ce89c10302bf0ae3c
Chris Manton [Sun, 4 Oct 2020 00:34:54 +0000 (00:34 +0000)]
enum-ify BTM_SEC_ and BTM_SEC_LE am:
6a231f9b75 am:
5e4c2d1d90 am:
b0ce312c74
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446766
Change-Id: Ie1827393fa2fe59113142bcb23d22b42f9410b5c
Chris Manton [Sun, 4 Oct 2020 00:34:52 +0000 (00:34 +0000)]
Remove unused var tBTM_CB::state_temp_buffer am:
ea115fe4f9 am:
8355ea5411 am:
b0f5baeb2e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446765
Change-Id: Idb5911848668643f7ed38ef35d7712f18d5dd5dd
Chris Manton [Sun, 4 Oct 2020 00:34:50 +0000 (00:34 +0000)]
Encapsulate tBTM_CB::btm_scn am:
d6e3ce8d7b am:
48da3842f9 am:
3388a2b755
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446764
Change-Id: Ibfd8ae6cb19dd7fe50c0a19d9f8100fd9b6cccce
Chris Manton [Sun, 4 Oct 2020 00:34:48 +0000 (00:34 +0000)]
Encapsulate tBTM_CB::enc_rand, ediv, key_size am:
829451f652 am:
f9757fd5b3 am:
4d8d759494
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446763
Change-Id: Iab4d11888495ef0f8eba83b24eef55c02225ab0b
Chris Manton [Sun, 4 Oct 2020 00:34:46 +0000 (00:34 +0000)]
Encapsulate tBTM_CB::enc_handle am:
ddf998bdd8 am:
08b983a655 am:
74501a19f8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446762
Change-Id: I9595ee41d07e95ca8095d20c26c8d0e22e106565
Chris Manton [Sun, 4 Oct 2020 00:34:44 +0000 (00:34 +0000)]
L2CA_SetFlushTimeout does nothing. am:
928e707151 am:
b94da5c908 am:
c6bb2cceec
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446771
Change-Id: I47ecd8baa9a3c45b3ddf7cef927eb7b7a0e30846
Chris Manton [Sun, 4 Oct 2020 00:34:42 +0000 (00:34 +0000)]
Re-align read remote version information on legacy am:
2c0a6c7825 am:
0ed186f937 am:
5a09376f10
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446761
Change-Id: Ie1a064cabb7f728d99555a9464aa8666b68114f4
Chris Manton [Sun, 4 Oct 2020 00:01:29 +0000 (00:01 +0000)]
Re-log btif/src/btif_sdp_server:: am:
2d423fbf1d am:
b6b0afdd11
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446768
Change-Id: I9f228b171851f8679825b2938f5006d5821d2575
Chris Manton [Sun, 4 Oct 2020 00:01:27 +0000 (00:01 +0000)]
Remove unused decls stack/btm/btm_int am:
ef095485d2 am:
5a22251a7c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446767
Change-Id: Ib33119412faf5e6e6a03eed5901ab1b1716c37f8
Chris Manton [Sun, 4 Oct 2020 00:01:25 +0000 (00:01 +0000)]
enum-ify BTM_SEC_ and BTM_SEC_LE am:
6a231f9b75 am:
5e4c2d1d90
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446766
Change-Id: I77a6584781d086de7b620244d66c49dfca4be2c4
Chris Manton [Sun, 4 Oct 2020 00:01:23 +0000 (00:01 +0000)]
Remove unused var tBTM_CB::state_temp_buffer am:
ea115fe4f9 am:
8355ea5411
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446765
Change-Id: I3f75fd5cbc59f88a93b9fe986c0bb9ebde0ebe5b
Chris Manton [Sun, 4 Oct 2020 00:01:20 +0000 (00:01 +0000)]
Encapsulate tBTM_CB::btm_scn am:
d6e3ce8d7b am:
48da3842f9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446764
Change-Id: I09fbaf4d3d6db459a01ec4cfaf8a1a00a5fdadc1
Chris Manton [Sun, 4 Oct 2020 00:01:18 +0000 (00:01 +0000)]
Encapsulate tBTM_CB::enc_rand, ediv, key_size am:
829451f652 am:
f9757fd5b3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446763
Change-Id: I90a56480adcad63e213dc741f0318b0c49d90936
Chris Manton [Sun, 4 Oct 2020 00:01:16 +0000 (00:01 +0000)]
Encapsulate tBTM_CB::enc_handle am:
ddf998bdd8 am:
08b983a655
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446762
Change-Id: Ic83e1477ce42cef3b565cd84b7b8ff9997cafeeb
Chris Manton [Sun, 4 Oct 2020 00:01:14 +0000 (00:01 +0000)]
L2CA_SetFlushTimeout does nothing. am:
928e707151 am:
b94da5c908
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446771
Change-Id: Ia16675f89e3ca84c97b1f72d8e24b02b5163a602
Chris Manton [Sun, 4 Oct 2020 00:01:12 +0000 (00:01 +0000)]
Re-align read remote version information on legacy am:
2c0a6c7825 am:
0ed186f937
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446761
Change-Id: I039ee6270e231dc5d4d97d47493c5a3cc501ad48
Chris Manton [Sat, 3 Oct 2020 23:44:13 +0000 (23:44 +0000)]
Re-log btif/src/btif_sdp_server:: am:
2d423fbf1d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446768
Change-Id: I02a280c1869ad6e0c109dbe272471f9591992242
Chris Manton [Sat, 3 Oct 2020 23:44:10 +0000 (23:44 +0000)]
Remove unused decls stack/btm/btm_int am:
ef095485d2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446767
Change-Id: I9290826abfe601ad31ea35125a0d11eb48d50c27
Chris Manton [Sat, 3 Oct 2020 23:44:07 +0000 (23:44 +0000)]
enum-ify BTM_SEC_ and BTM_SEC_LE am:
6a231f9b75
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446766
Change-Id: I4218c4dc168fb954f2e41a76243f12470cc9680b
Chris Manton [Sat, 3 Oct 2020 23:44:04 +0000 (23:44 +0000)]
Remove unused var tBTM_CB::state_temp_buffer am:
ea115fe4f9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446765
Change-Id: If0893c1acdc32b705f1079baabe3df8846e62fb7
Chris Manton [Sat, 3 Oct 2020 23:44:01 +0000 (23:44 +0000)]
Encapsulate tBTM_CB::btm_scn am:
d6e3ce8d7b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446764
Change-Id: I8ab322ab8de370a948d02c013f7ed653a9da75b1
Chris Manton [Sat, 3 Oct 2020 23:43:58 +0000 (23:43 +0000)]
Encapsulate tBTM_CB::enc_rand, ediv, key_size am:
829451f652
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446763
Change-Id: I9dfdee968a86275055b72df5080e69859bc977e2
Chris Manton [Sat, 3 Oct 2020 23:43:54 +0000 (23:43 +0000)]
Encapsulate tBTM_CB::enc_handle am:
ddf998bdd8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446762
Change-Id: I33c4b30837443b28da57fd176c3bb6bac5a7a917
Chris Manton [Sat, 3 Oct 2020 23:43:51 +0000 (23:43 +0000)]
L2CA_SetFlushTimeout does nothing. am:
928e707151
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446771
Change-Id: I94343d6e59b0f43f2ae2ad816c2ac5635fb8bb5b
Chris Manton [Sat, 3 Oct 2020 23:43:11 +0000 (23:43 +0000)]
Re-align read remote version information on legacy am:
2c0a6c7825
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446761
Change-Id: Id708d38839dbf2d8e7187f24930aefc2bd4f6acb
Chris Manton [Thu, 24 Sep 2020 18:15:58 +0000 (11:15 -0700)]
Re-log btif/src/btif_sdp_server::
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: Ia57c281cc844a4c254c53324a4c4bd1eaf7af1c3
Chris Manton [Sun, 20 Sep 2020 22:20:48 +0000 (15:20 -0700)]
Remove unused decls stack/btm/btm_int
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: If3c47ffa09fa458a381a381cddc6f37a9835f7a4
Chris Manton [Sun, 20 Sep 2020 20:10:11 +0000 (13:10 -0700)]
enum-ify BTM_SEC_ and BTM_SEC_LE
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: Ifde2b62d2e368188d3454236b616adc2ca9dfcce
Chris Manton [Sun, 20 Sep 2020 20:14:00 +0000 (13:14 -0700)]
Remove unused var tBTM_CB::state_temp_buffer
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: I2b6ffcae31b3b6fea84e59fac01962609557217b
Chris Manton [Sun, 20 Sep 2020 19:46:31 +0000 (12:46 -0700)]
Encapsulate tBTM_CB::btm_scn
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: Ic947434651ba3312342507ac1ff4da92e176b0bb
Chris Manton [Sun, 20 Sep 2020 16:13:26 +0000 (09:13 -0700)]
Encapsulate tBTM_CB::enc_rand, ediv, key_size
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: I7e5962356b64b52011e370deb03b53a2ca4b42ad
Chris Manton [Sun, 20 Sep 2020 16:01:13 +0000 (09:01 -0700)]
Encapsulate tBTM_CB::enc_handle
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: I735a002c545f62ae75676e72d068a2f3d097eda9
Chris Manton [Sat, 3 Oct 2020 20:19:51 +0000 (13:19 -0700)]
L2CA_SetFlushTimeout does nothing.
aosp/
1443546
Bug:
159815595
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: Ib18923477830f5f5bf2c8748da5a817a9871ec1e
Chris Manton [Sat, 3 Oct 2020 17:01:53 +0000 (10:01 -0700)]
Re-align read remote version information on legacy
Bug:
166280067
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink
Change-Id: I7be1ecba73234431194ad9702ec3ea06b09c60bc
Treehugger Robot [Sat, 3 Oct 2020 02:18:20 +0000 (02:18 +0000)]
Merge changes Ib1f71d7e,I917ba220,Ic58e879c,If152037d,I063d0092 am:
75710e9095 am:
e55d8e607d am:
2e9ab14058 am:
d3844f71c0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443581
Change-Id: I3df16624bc34baff60de7f02e555551482519385
Treehugger Robot [Sat, 3 Oct 2020 02:04:00 +0000 (02:04 +0000)]
Merge changes Ib1f71d7e,I917ba220,Ic58e879c,If152037d,I063d0092 am:
75710e9095 am:
e55d8e607d am:
2e9ab14058
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443581
Change-Id: I7451d8863a50098073e803577ee084d541c2d490
Treehugger Robot [Sat, 3 Oct 2020 01:15:13 +0000 (01:15 +0000)]
Merge changes Ib1f71d7e,I917ba220,Ic58e879c,If152037d,I063d0092 am:
75710e9095 am:
e55d8e607d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443581
Change-Id: I42767803a1f0c1dd9b605fe8332fa3d31d0b94dc
Treehugger Robot [Sat, 3 Oct 2020 01:12:38 +0000 (01:12 +0000)]
Merge "Convert mask types from uint32_t to enum type" am:
23536aebcb am:
646c2db933 am:
3b20f802e9 am:
86305dcb48
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446998
Change-Id: Iea05b230aebf9a1439594dfb06d401f701252c90
Treehugger Robot [Sat, 3 Oct 2020 01:01:18 +0000 (01:01 +0000)]
Merge changes Ib1f71d7e,I917ba220,Ic58e879c,If152037d,I063d0092 am:
75710e9095
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443581
Change-Id: I2bb6be2e34529f6df81a531dc4ed7e86f614b18e
Treehugger Robot [Sat, 3 Oct 2020 00:55:12 +0000 (00:55 +0000)]
Merge "Convert mask types from uint32_t to enum type" am:
23536aebcb am:
646c2db933 am:
3b20f802e9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446998
Change-Id: I9067e3d991b54a28f871f01a52ab14d53fb77952
Treehugger Robot [Sat, 3 Oct 2020 00:46:19 +0000 (00:46 +0000)]
Merge changes Ib1f71d7e,I917ba220,Ic58e879c,If152037d,I063d0092
* changes:
Precise naming match => is_in_security_db
enum-ify _SCAN both classic and ble
enum-ify _INQUIRY both classic and ble
enum-ify _CONNECTABLE both classic and ble
enum-ify _DISCOVERABLE both classic and ble
Treehugger Robot [Sat, 3 Oct 2020 00:36:00 +0000 (00:36 +0000)]
Merge "Convert mask types from uint32_t to enum type" am:
23536aebcb am:
646c2db933
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446998
Change-Id: I59c1da34a7107db0342484a31171856e0beda024
Hansong Zhang [Sat, 3 Oct 2020 00:35:32 +0000 (00:35 +0000)]
SMP: Assume L2cap tx completes immediately am:
8326b49c4c am:
e97dd91039 am:
d8262faed1 am:
a761e9213e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446136
Change-Id: I59e2bbc91c9afe0e7d89c5815fd3070fcdf727f4
Hansong Zhang [Sat, 3 Oct 2020 00:35:25 +0000 (00:35 +0000)]
L2cap: LE address type is not used am:
08a28c0cb7 am:
c3b821e919 am:
eeb9094cbf am:
8c45208ea2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443308
Change-Id: I0399e2d1bcbc7c39b4bdef251d42096297d7c6bc
Hansong Zhang [Sat, 3 Oct 2020 00:35:21 +0000 (00:35 +0000)]
Link flush timeout is unused am:
12a0975cd7 am:
3a9ff02ce7 am:
e7f5ba8eb5 am:
330ca7fa5a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443307
Change-Id: I9337eed95fc6c3792f5f06b73e31386ac4e23842
Hansong Zhang [Sat, 3 Oct 2020 00:20:28 +0000 (00:20 +0000)]
SMP: Assume L2cap tx completes immediately am:
8326b49c4c am:
e97dd91039 am:
d8262faed1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446136
Change-Id: Ib53d88e40af2c8414c003ccf7cc2e226a9ca29d5
Treehugger Robot [Sat, 3 Oct 2020 00:20:18 +0000 (00:20 +0000)]
Merge "Convert mask types from uint32_t to enum type" am:
23536aebcb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446998
Change-Id: Ibd9ca304fde7ba2b3865bda0812208f50276551a
Hansong Zhang [Sat, 3 Oct 2020 00:20:14 +0000 (00:20 +0000)]
L2cap: LE address type is not used am:
08a28c0cb7 am:
c3b821e919 am:
eeb9094cbf
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443308
Change-Id: I224ae0f2b624e07e51046d826672f1e80858bdfd
Hansong Zhang [Sat, 3 Oct 2020 00:20:12 +0000 (00:20 +0000)]
Link flush timeout is unused am:
12a0975cd7 am:
3a9ff02ce7 am:
e7f5ba8eb5
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443307
Change-Id: I8abaf28b92d085c37287d8c97c8d03f81abc6a49
Hansong Zhang [Fri, 2 Oct 2020 23:36:24 +0000 (23:36 +0000)]
SMP: Assume L2cap tx completes immediately am:
8326b49c4c am:
e97dd91039
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446136
Change-Id: I286d312edb3cbdf0f67bf569bb21caf3025163da
Hansong Zhang [Fri, 2 Oct 2020 23:36:20 +0000 (23:36 +0000)]
L2cap: LE address type is not used am:
08a28c0cb7 am:
c3b821e919
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443308
Change-Id: I772391fe5bc80a71b94ee11a18617d2495ee40d3
Hansong Zhang [Fri, 2 Oct 2020 23:36:19 +0000 (23:36 +0000)]
Link flush timeout is unused am:
12a0975cd7 am:
3a9ff02ce7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443307
Change-Id: I9fdaf1a2fa3e6837e172108e2ef2056401ba929b
Myles Watson [Fri, 2 Oct 2020 23:36:05 +0000 (23:36 +0000)]
HIDH: Don't set a minimum MTU am:
85ef9c4772 am:
c58fba31a3 am:
9c28d5e388 am:
d9e3237d2f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446995
Change-Id: I57909e16b68496c21465fcefb0357036b380fc3f
Treehugger Robot [Fri, 2 Oct 2020 23:30:05 +0000 (23:30 +0000)]
Merge "Convert mask types from uint32_t to enum type"
Hansong Zhang [Fri, 2 Oct 2020 23:16:31 +0000 (23:16 +0000)]
SMP: Assume L2cap tx completes immediately am:
8326b49c4c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446136
Change-Id: I257fd78f2b5413d0858ccd3f1c073297e61f70bd
Hansong Zhang [Fri, 2 Oct 2020 23:16:22 +0000 (23:16 +0000)]
L2cap: LE address type is not used am:
08a28c0cb7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443308
Change-Id: I41fe290dec074238a22c01100afd664640ffed16
Hansong Zhang [Fri, 2 Oct 2020 23:15:40 +0000 (23:15 +0000)]
Link flush timeout is unused am:
12a0975cd7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1443307
Change-Id: Ie633a77db877c5e3e99528680b790fd886f90cd6
Myles Watson [Fri, 2 Oct 2020 23:13:59 +0000 (23:13 +0000)]
HIDH: Don't set a minimum MTU am:
85ef9c4772 am:
c58fba31a3 am:
9c28d5e388
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446995
Change-Id: I66ce7b6a772a11df61e5c50e1d150522b821d79d
Myles Watson [Fri, 2 Oct 2020 22:53:40 +0000 (22:53 +0000)]
HIDH: Don't set a minimum MTU am:
85ef9c4772 am:
c58fba31a3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446995
Change-Id: I3259a49b9e02cc8162bc0cf9cb7418e67fec52e1
Hansong Zhang [Fri, 2 Oct 2020 00:47:03 +0000 (17:47 -0700)]
SMP: Assume L2cap tx completes immediately
Bug:
159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I5bf5c5067f3ad3d48716fdc65f73920107d034cf
Hansong Zhang [Thu, 1 Oct 2020 07:03:59 +0000 (00:03 -0700)]
L2cap: LE address type is not used
Bug:
159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ie13f6e7cda6feb23d25ae661abeb7221757e9da7
Hansong Zhang [Thu, 1 Oct 2020 06:53:46 +0000 (23:53 -0700)]
Link flush timeout is unused
Bug:
159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Icf6fec9bd038210a31eb8ab38a96f44d3ce2ffd2
Myles Watson [Fri, 2 Oct 2020 22:37:04 +0000 (22:37 +0000)]
HIDH: Don't set a minimum MTU am:
85ef9c4772
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446995
Change-Id: I75f73aead0b8661c7897b222c77077e84d572477
Mikhail Naganov [Fri, 2 Oct 2020 01:08:16 +0000 (18:08 -0700)]
Convert mask types from uint32_t to enum type
This applies to the following types:
- audio_gain_mode_t;
- audio_flags_mask_t;
- audio_channel_representation_t;
- audio_channel_mask_t;
- audio_devices_t.
Enum types are distinct thus proper overloading on the type
is possible in C++. Also, assignments to enum types are
less prone to errors.
Bug:
169889714
Test: basic audio functionality
Tag: #refactor
Change-Id: I7b064b282ce9f533f91ef13a4852b3e9f308f6c0
Chris Manton [Sun, 20 Sep 2020 15:43:57 +0000 (08:43 -0700)]
Precise naming match => is_in_security_db
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Change-Id: Ib1f71d7e94ab471a04c25b74cfb8cda5fab3cef5
Chris Manton [Sun, 20 Sep 2020 06:29:24 +0000 (23:29 -0700)]
enum-ify _SCAN both classic and ble
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Change-Id: I917ba2204a79af800afefe1b7e046a9510316030
Chris Manton [Sun, 20 Sep 2020 06:21:23 +0000 (23:21 -0700)]
enum-ify _INQUIRY both classic and ble
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Change-Id: Ic58e879c9b62fcba510111b178e0aa092873bcac
Chris Manton [Sun, 20 Sep 2020 05:50:58 +0000 (22:50 -0700)]
enum-ify _CONNECTABLE both classic and ble
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Change-Id: If152037d43646197b456dfe6174bb897f4911c3a
Chris Manton [Sun, 20 Sep 2020 05:36:56 +0000 (22:36 -0700)]
enum-ify _DISCOVERABLE both classic and ble
Towards readable code
Bug:
163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Change-Id: I063d0092569663c25166f15d369b57e6bf88388d
Chris Manton [Fri, 2 Oct 2020 17:54:35 +0000 (17:54 +0000)]
Add ACL shim event registration - with deps am:
2f01df7224 am:
c2a6ac2aad am:
03b237f8b7 am:
a1a42c7221
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446135
Change-Id: I1450c371cee095044001143d32a94f36e499f576
Chris Manton [Fri, 2 Oct 2020 17:54:32 +0000 (17:54 +0000)]
Single out Register events LE_META_EVENT as special am:
f58215f418 am:
44f0621643 am:
79715495b1 am:
7341dff11e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1439640
Change-Id: Iccf50a763e42d9576aebd393c35e817863cbe576
Chris Manton [Fri, 2 Oct 2020 17:16:59 +0000 (17:16 +0000)]
Add ACL shim event registration - with deps am:
2f01df7224 am:
c2a6ac2aad am:
03b237f8b7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446135
Change-Id: Ie141de370ea513fb481c7937691d727180ea6213
Chris Manton [Fri, 2 Oct 2020 17:16:56 +0000 (17:16 +0000)]
Single out Register events LE_META_EVENT as special am:
f58215f418 am:
44f0621643 am:
79715495b1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1439640
Change-Id: I8521707e91c9b0db373de9238652c4434f4ff0d4
Chris Manton [Fri, 2 Oct 2020 16:51:59 +0000 (16:51 +0000)]
Add ACL shim event registration - with deps am:
2f01df7224 am:
c2a6ac2aad
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446135
Change-Id: Ibd7dd24dd86e606a793b413ef307d8a9e5ff822c
Chris Manton [Fri, 2 Oct 2020 16:51:57 +0000 (16:51 +0000)]
Single out Register events LE_META_EVENT as special am:
f58215f418 am:
44f0621643
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1439640
Change-Id: Ib78883c601a0d2b78c60485c95cd3375689ddf62
Myles Watson [Fri, 2 Oct 2020 16:49:50 +0000 (09:49 -0700)]
HIDH: Don't set a minimum MTU
Bug:
169780397
Test: Pair with a logitech 557 mouse
Tag: #gd-refactor
Change-Id: I5ad88645ea45e3ae016f5a6f54017558ae2b8049
Chris Manton [Fri, 2 Oct 2020 16:32:29 +0000 (16:32 +0000)]
Add ACL shim event registration - with deps am:
2f01df7224
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1446135
Change-Id: Id5691b65ae6198a10f33791dce20775d8b72f43d
Chris Manton [Fri, 2 Oct 2020 16:31:46 +0000 (16:31 +0000)]
Single out Register events LE_META_EVENT as special am:
f58215f418
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1439640
Change-Id: Ib9d443e9048851b34ef33b5f5ecce62180301f3c
Chris Manton [Mon, 28 Sep 2020 20:15:06 +0000 (13:15 -0700)]
Add ACL shim event registration - with deps
Bug:
166280067
Tag: #refactor
Test: gd/cert/run --host
Test: ble paired 2 phones
Test: act.py -tc BleCocTest
Change-Id: I6494212c0f61d478792fc2948c12ae4187576cd1
Chris Manton [Sat, 26 Sep 2020 23:07:41 +0000 (16:07 -0700)]
Single out Register events LE_META_EVENT as special
LE_META_EVENT is a special event that multiplexes LE
events underneath and should not be exposed.
Test Parameters: INIT_gd_hci=true
Bug:
166280067
Tag: #refactor
Test: gd/cert/run --host
Test: ble paired 2 phones
Test: act.py -tc BleCocTest
Change-Id: Idf8dd9fa9e13fc9e2d1d7d89d6af0a16ec574b89
Jakub Pawlowski [Fri, 2 Oct 2020 08:50:02 +0000 (08:50 +0000)]
Merge "Store LE device keys when bonded" am:
63a115e407 am:
ed1935c9e6 am:
d1c25e2857 am:
0bad21a79d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1442942
Change-Id: Ib3f54a486a6099b8c778de6d75f05c91e7c1991a
Jakub Pawlowski [Fri, 2 Oct 2020 08:35:23 +0000 (08:35 +0000)]
Merge "Store LE device keys when bonded" am:
63a115e407 am:
ed1935c9e6 am:
d1c25e2857
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1442942
Change-Id: Ic1cfbf438d83ab9a9bcc829ab18590816551ed07
Jakub Pawlowski [Fri, 2 Oct 2020 07:51:59 +0000 (07:51 +0000)]
Merge "Store LE device keys when bonded" am:
63a115e407 am:
ed1935c9e6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1442942
Change-Id: I780dcf310001ef1118ea0198471ff006dbc9384f
Jakub Pawlowski [Fri, 2 Oct 2020 07:13:58 +0000 (07:13 +0000)]
Merge "Store LE device keys when bonded" am:
63a115e407
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1442942
Change-Id: I3017c883fce238567ddb4bcac940962e6633e720
Jakub Pawlowski [Fri, 2 Oct 2020 06:41:13 +0000 (06:41 +0000)]
Merge "Store LE device keys when bonded"
Treehugger Robot [Fri, 2 Oct 2020 04:05:07 +0000 (04:05 +0000)]
Merge "HIDH: Register for HID_PSM_CONTROL" am:
0978770013 am:
b6328e08f8 am:
42046ba53a am:
fae879bb33
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1445756
Change-Id: I8ed048e66c5b9ec35b6e924a0abe379e538dd006
Treehugger Robot [Fri, 2 Oct 2020 03:12:28 +0000 (03:12 +0000)]
Merge "HIDH: Register for HID_PSM_CONTROL" am:
0978770013 am:
b6328e08f8 am:
42046ba53a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1445756
Change-Id: Ief84e6f58d62b76b894a143aeecdb75c19fb6c15
Treehugger Robot [Fri, 2 Oct 2020 02:50:11 +0000 (02:50 +0000)]
Merge "HIDH: Register for HID_PSM_CONTROL" am:
0978770013 am:
b6328e08f8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1445756
Change-Id: Ia084b3eb5096bb6280c6dde2d75cb7fa21273a3c
Treehugger Robot [Fri, 2 Oct 2020 02:27:12 +0000 (02:27 +0000)]
Merge "HIDH: Register for HID_PSM_CONTROL" am:
0978770013
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1445756
Change-Id: Ia0290a8bed8f07f510717f1fcb66548cf545d65e