OSDN Git Service
Jakub Pawlowski [Thu, 12 May 2016 17:31:00 +0000 (17:31 +0000)]
Rewrite btif_gattc_scan_filter_add_remove to new style am:
904aefe1a9
am:
d6499fd55b
* commit '
d6499fd55ba04f12fb5e44b5cfdb0c7ea54e217a':
Rewrite btif_gattc_scan_filter_add_remove to new style
Change-Id: Id3c5d0a17e9d836800d375e889e38ebcadaca308
Jakub Pawlowski [Thu, 12 May 2016 17:30:59 +0000 (17:30 +0000)]
Rewrite register/unregister app to new style am:
c8b5185a5d
am:
170a381bc6
* commit '
170a381bc64c97a66f372e17c64f7de1a7eeeb1d':
Rewrite register/unregister app to new style
Change-Id: I8867fc17d6add5d6eacfd15b34c715b65cf31435
Jakub Pawlowski [Thu, 12 May 2016 17:30:58 +0000 (17:30 +0000)]
Rewrite scan start/stop to new style am:
955ff4e88e
am:
b166b55e8e
* commit '
b166b55e8e8b83613eaa5df81f757cba499f343b':
Rewrite scan start/stop to new style
Change-Id: I47287018f7d5eeebe14ed9a05660b75f95c103b3
Jakub Pawlowski [Thu, 12 May 2016 17:30:58 +0000 (17:30 +0000)]
Rewrite btif_gattc_open to new style am:
26e51cb185
am:
116c2505ae
* commit '
116c2505ae05cf4e1468ac26c7d737b198fd08b0':
Rewrite btif_gattc_open to new style
Change-Id: Iaefb5604f992acecd1cbf20382f7010b9cbb9250
Jakub Pawlowski [Thu, 12 May 2016 17:30:57 +0000 (17:30 +0000)]
Rewrite btif_gattc_close to new style am:
b454953bb6
am:
9a2b7dd12a
* commit '
9a2b7dd12a8ed691430d5f5b3bb38ba98161b976':
Rewrite btif_gattc_close to new style
Change-Id: Iafda7dfed0c1fa092788724713bfebf926975699
Jakub Pawlowski [Thu, 12 May 2016 17:30:56 +0000 (17:30 +0000)]
Rewrite btif_gattc_search_service to new style am:
d05e50e7df
am:
fca26015e8
* commit '
fca26015e881b3cb9beb10703a2ad812fddb1a1b':
Rewrite btif_gattc_search_service to new style
Change-Id: I921a1ab160a5ecebeb2b186090112de665bcb52d
Jakub Pawlowski [Thu, 12 May 2016 17:30:55 +0000 (17:30 +0000)]
Rewrite btif_gattc_execute_write to new style am:
a684a52231
am:
3a3f19df0c
* commit '
3a3f19df0c9834383c421a964ad73d6f694f9913':
Rewrite btif_gattc_execute_write to new style
Change-Id: Idd059d905310b3ece4e5d984603fe8ae0189fc76
Jakub Pawlowski [Thu, 12 May 2016 17:30:54 +0000 (17:30 +0000)]
Rewrite btif_gattc_write_char to new style am:
39a3361288
am:
62a6dca052
* commit '
62a6dca0522fd1ce9a93f6bc27c3abf9604fcf52':
Rewrite btif_gattc_write_char to new style
Change-Id: I2faee40de20e962cefb17b49ab0f9fdc7b7c0290
Jakub Pawlowski [Thu, 12 May 2016 17:30:53 +0000 (17:30 +0000)]
Rewrite btif_gattc_reg_for_notification to new style am:
ca9d889000
am:
f83575636b
* commit '
f83575636b4f8eeddfb373086435f0882022a480':
Rewrite btif_gattc_reg_for_notification to new style
Change-Id: I326569e6fc228e17efe1bd8ae7ab98f6cc1bdfa8
Jakub Pawlowski [Thu, 12 May 2016 17:28:26 +0000 (17:28 +0000)]
Rewrite btif_gattc_listen to new style am:
144998f689
am:
9f08e0d22f
* commit '
9f08e0d22f390c75fd850ea720d9abe1f268a1bd':
Rewrite btif_gattc_listen to new style
Change-Id: I2bfebbd6714b89bcc16674b4b4c14c0cedbb79aa
Jakub Pawlowski [Thu, 12 May 2016 17:28:26 +0000 (17:28 +0000)]
Rewrite btif_gattc_set_adv_data to new style am:
1ce0819a83
am:
6589d2c20c
* commit '
6589d2c20c5a6cf1736dcd1515d846fcae1f6f1a':
Rewrite btif_gattc_set_adv_data to new style
Change-Id: I7563bcb9e2d54f8674f51e0e0cb5d76258510506
Jakub Pawlowski [Thu, 12 May 2016 17:28:25 +0000 (17:28 +0000)]
Rewrite read RSSI and set MTU to new style am:
c9fe4b6f62
am:
c3aa23972a
* commit '
c3aa23972af0e2278036613a039b000ec35eb163':
Rewrite read RSSI and set MTU to new style
Change-Id: I3191da9dbe04707c67a4425b7ef37e822a010453
Jakub Pawlowski [Thu, 12 May 2016 17:28:25 +0000 (17:28 +0000)]
Rewrite btif_gattc_conn_parameter_update to new style am:
7cb29a3802
am:
4cf705a171
* commit '
4cf705a17103cc920c8e4bd98c23a3b385bdf007':
Rewrite btif_gattc_conn_parameter_update to new style
Change-Id: Iaca228bcb523818ac993eef45d3b74e9b2f1ae90
Jakub Pawlowski [Thu, 12 May 2016 17:28:24 +0000 (17:28 +0000)]
Rewrite btif_gattc_scan_filter_param_setup to new style am:
1a9e2ac4da
am:
942ce983a5
* commit '
942ce983a54e898d3a6da26a18a83a60948abeef':
Rewrite btif_gattc_scan_filter_param_setup to new style
Change-Id: I81892b3d48e95f0b7710fb5c03689ca1185a9c2a
Jakub Pawlowski [Thu, 12 May 2016 17:28:23 +0000 (17:28 +0000)]
Rewrite scan filter related methods to new style am:
71d4e33a08
am:
857f1abdae
* commit '
857f1abdaea638880a982308027e4b3d4cce9beb':
Rewrite scan filter related methods to new style
Change-Id: Ic75f887585d6778719ab16c9b2f1f18efdaf7a06
Jakub Pawlowski [Thu, 12 May 2016 17:28:23 +0000 (17:28 +0000)]
Rewrite btif_gattc_multi_adv_enable to new style am:
3a70173f66
am:
3891abc52e
* commit '
3891abc52e9fd97514b8499c534d71aac19fb0ec':
Rewrite btif_gattc_multi_adv_enable to new style
Change-Id: I7754cfb59a453366c10652921ff7ac7cef008159
Jakub Pawlowski [Thu, 12 May 2016 17:28:22 +0000 (17:28 +0000)]
Rewrite btif_gattc_multi_adv_update to new style am:
5dfe8ba500
am:
8fa612b8fe
* commit '
8fa612b8fe7f78618abe498f2777ab002b5eaf17':
Rewrite btif_gattc_multi_adv_update to new style
Change-Id: I31aa2cd693553d1c18ea5ddb3250fed0f7f31675
Jakub Pawlowski [Thu, 12 May 2016 17:28:21 +0000 (17:28 +0000)]
Rewrite multi adv set data to new style. am:
ed8aefe613
am:
33e4ad3081
* commit '
33e4ad308162a6af3bcf98bfe13c93bb2a9c69b7':
Rewrite multi adv set data to new style.
Change-Id: Ia648e95dc414f2405befb8b611c2bc53b4df3ae3
Jakub Pawlowski [Thu, 12 May 2016 17:28:21 +0000 (17:28 +0000)]
Rewrite btif_gattc_multi_adv_disable to new style am:
772fc669dc
am:
72fecda805
* commit '
72fecda8055587162b1d56116e1bf0c96f264eb8':
Rewrite btif_gattc_multi_adv_disable to new style
Change-Id: I7f5e371f6adb62ba77f5ad5576173703d8df48a9
Jakub Pawlowski [Thu, 12 May 2016 17:28:20 +0000 (17:28 +0000)]
Rewrite btif batch scan methods to new style. am:
2af2129df7
am:
aa473eb236
* commit '
aa473eb23698d617e690dccb640749369ba20d35':
Rewrite btif batch scan methods to new style.
Change-Id: Ib3798aafe5fcbca0730dfa9ae9522117fbf94ac0
Jakub Pawlowski [Thu, 12 May 2016 17:28:19 +0000 (17:28 +0000)]
Rewrite btif_get_gatt_db to new style am:
61a98132c3
am:
bfc5ee763c
* commit '
bfc5ee763c8539d1ec036fb996381f1be9a1940a':
Rewrite btif_get_gatt_db to new style
Change-Id: Id1262b05b7871af7008b710a4ef6245da54de464
Jakub Pawlowski [Thu, 12 May 2016 17:28:18 +0000 (17:28 +0000)]
Rewrite btif_gattc_set_scan_parameters to new style am:
4c634eeafc
am:
7dc964f516
* commit '
7dc964f51693fac3aee1c85ec8b45eb390d321b6':
Rewrite btif_gattc_set_scan_parameters to new style
Change-Id: I04d450daeb3c2c0459c97f53d02f842b190cb440
Jakub Pawlowski [Thu, 12 May 2016 17:28:17 +0000 (17:28 +0000)]
Rewrite GATT read operations to use new style am:
61a112e488
am:
985601906e
* commit '
985601906e9bf47cebc7d975efff9be0ab51f5f1':
Rewrite GATT read operations to use new style
Change-Id: Ic96acab3b272a9e378f0cf48e5f2deef1e8fca39
Jakub Pawlowski [Thu, 12 May 2016 17:28:16 +0000 (17:28 +0000)]
Use MessageLoop in bt_jni_workqueue thread am:
140645f6b8
am:
1d9d738f2f
* commit '
1d9d738f2f6592a81b0caf51525f47ddc540b3a3':
Use MessageLoop in bt_jni_workqueue thread
Change-Id: Ia5d9789dbb5bef63372692cf74bb1e9f0718037f
Jakub Pawlowski [Thu, 12 May 2016 17:27:39 +0000 (17:27 +0000)]
Rewrite btif_gattc_scan_filter_add_remove to new style
am:
904aefe1a9
* commit '
904aefe1a9c2808a7460ebb9896391acdaa39f4e':
Rewrite btif_gattc_scan_filter_add_remove to new style
Change-Id: Ied31fc699158e732404a4b0784b84c47310af96f
Jakub Pawlowski [Thu, 12 May 2016 17:27:37 +0000 (17:27 +0000)]
Rewrite register/unregister app to new style
am:
c8b5185a5d
* commit '
c8b5185a5d4c4c9c15f3ec5df4acd37c1d46f1f1':
Rewrite register/unregister app to new style
Change-Id: Iefb9ce04cf30bcf1615f3bd3c744856d1f65c83c
Jakub Pawlowski [Thu, 12 May 2016 17:27:34 +0000 (17:27 +0000)]
Rewrite scan start/stop to new style
am:
955ff4e88e
* commit '
955ff4e88ef7391632e19d1b0234cae40b6f42c1':
Rewrite scan start/stop to new style
Change-Id: I19b1cc577701849d2d86b8d54f21b791d869ba17
Jakub Pawlowski [Thu, 12 May 2016 17:27:31 +0000 (17:27 +0000)]
Rewrite btif_gattc_open to new style
am:
26e51cb185
* commit '
26e51cb18509e7e04755b4fa4250c60f105ab9d2':
Rewrite btif_gattc_open to new style
Change-Id: I3545e59f8913cd69703e311d327d49f58636b87b
Jakub Pawlowski [Thu, 12 May 2016 17:27:29 +0000 (17:27 +0000)]
Rewrite btif_gattc_close to new style
am:
b454953bb6
* commit '
b454953bb6620cbafba86351b91d58b47dda107d':
Rewrite btif_gattc_close to new style
Change-Id: If0be0f67d14230a2ee0886ad7f8d033a211657bc
Jakub Pawlowski [Thu, 12 May 2016 17:27:26 +0000 (17:27 +0000)]
Rewrite btif_gattc_search_service to new style
am:
d05e50e7df
* commit '
d05e50e7df462c928041bf565821d77fb493bc28':
Rewrite btif_gattc_search_service to new style
Change-Id: I2fda5393fc407799f2e3b025fcd8f3a5609d7ed9
Jakub Pawlowski [Thu, 12 May 2016 17:27:23 +0000 (17:27 +0000)]
Rewrite btif_gattc_execute_write to new style
am:
a684a52231
* commit '
a684a52231bf0422d991fb16e4dcfc88e4584680':
Rewrite btif_gattc_execute_write to new style
Change-Id: Ib01994744d50b6b2bf737ad95f0d2fb4f7a78776
Jakub Pawlowski [Thu, 12 May 2016 17:27:21 +0000 (17:27 +0000)]
Rewrite btif_gattc_write_char to new style
am:
39a3361288
* commit '
39a33612889a562da5c919f14df24707ba3e6007':
Rewrite btif_gattc_write_char to new style
Change-Id: I8bbead7e38bb8755663ce48b924244814dbe3a28
Jakub Pawlowski [Thu, 12 May 2016 17:27:19 +0000 (17:27 +0000)]
Rewrite btif_gattc_reg_for_notification to new style
am:
ca9d889000
* commit '
ca9d889000b087ddb9bedaa716176be986be158f':
Rewrite btif_gattc_reg_for_notification to new style
Change-Id: I171687aa0f7398317f4c34aae624c7192de610ab
Jakub Pawlowski [Thu, 12 May 2016 17:26:01 +0000 (17:26 +0000)]
Rewrite btif_gattc_listen to new style
am:
144998f689
* commit '
144998f68990205ba711e701be6be8325dd6e820':
Rewrite btif_gattc_listen to new style
Change-Id: I151ca8a21d468adcd0180373337c4774ccd84506
Jakub Pawlowski [Thu, 12 May 2016 17:26:00 +0000 (17:26 +0000)]
Rewrite btif_gattc_set_adv_data to new style
am:
1ce0819a83
* commit '
1ce0819a83f47f3bec3c16c46befd1e7faddf0ff':
Rewrite btif_gattc_set_adv_data to new style
Change-Id: I45c99c023d75a7af08b54db0a650c73981b43fa0
Jakub Pawlowski [Thu, 12 May 2016 17:25:59 +0000 (17:25 +0000)]
Rewrite read RSSI and set MTU to new style
am:
c9fe4b6f62
* commit '
c9fe4b6f62c95b195fa99c4fbb75863e547929bf':
Rewrite read RSSI and set MTU to new style
Change-Id: Iea321bd4e8aa6462564a323797cded2e10c4ef9c
Jakub Pawlowski [Thu, 12 May 2016 17:25:58 +0000 (17:25 +0000)]
Rewrite btif_gattc_conn_parameter_update to new style
am:
7cb29a3802
* commit '
7cb29a38027f9cb24fc30eefb389f848cfc17082':
Rewrite btif_gattc_conn_parameter_update to new style
Change-Id: Ifad5e8babdc6eff78f0c532aa5a924062ce3a310
Jakub Pawlowski [Thu, 12 May 2016 17:25:56 +0000 (17:25 +0000)]
Rewrite btif_gattc_scan_filter_param_setup to new style
am:
1a9e2ac4da
* commit '
1a9e2ac4dab5a74139613f4ff5dde1b979522f0e':
Rewrite btif_gattc_scan_filter_param_setup to new style
Change-Id: I054ccfefa0e12d55305dba0e0c25c745fcb54bb4
Jakub Pawlowski [Thu, 12 May 2016 17:25:55 +0000 (17:25 +0000)]
Rewrite scan filter related methods to new style
am:
71d4e33a08
* commit '
71d4e33a08a5eaf458c4cd3de1ca65a542be81e3':
Rewrite scan filter related methods to new style
Change-Id: I9da69f4300b888b0cc4f21c855f64df3fa8f60f9
Jakub Pawlowski [Thu, 12 May 2016 17:25:54 +0000 (17:25 +0000)]
Rewrite btif_gattc_multi_adv_enable to new style
am:
3a70173f66
* commit '
3a70173f66b9ca3c5ad6260ca963180c479c5d0d':
Rewrite btif_gattc_multi_adv_enable to new style
Change-Id: I2b27b9a8691b8db10026c6d6f82e194f1d6fe38a
Jakub Pawlowski [Thu, 12 May 2016 17:25:53 +0000 (17:25 +0000)]
Rewrite btif_gattc_multi_adv_update to new style
am:
5dfe8ba500
* commit '
5dfe8ba500ad0594c787a0b905369f36de7da38b':
Rewrite btif_gattc_multi_adv_update to new style
Change-Id: I37dd5cd7a3605ee621352228ad73d6cd2033b002
Jakub Pawlowski [Thu, 12 May 2016 17:25:51 +0000 (17:25 +0000)]
Rewrite multi adv set data to new style.
am:
ed8aefe613
* commit '
ed8aefe6134359cc70b127a23bac3a6d4c24065e':
Rewrite multi adv set data to new style.
Change-Id: Iea27f1f0c783a2f74bf487e265358fe5c97fd338
Jakub Pawlowski [Thu, 12 May 2016 17:25:50 +0000 (17:25 +0000)]
Rewrite btif_gattc_multi_adv_disable to new style
am:
772fc669dc
* commit '
772fc669dcf1221df03377e5c16507f2f7caa91b':
Rewrite btif_gattc_multi_adv_disable to new style
Change-Id: I82f7092afc59bf24e21ebccb2ecef95636741ac7
Jakub Pawlowski [Thu, 12 May 2016 17:25:49 +0000 (17:25 +0000)]
Rewrite btif batch scan methods to new style.
am:
2af2129df7
* commit '
2af2129df720baee246d4ff9a0f1a02884da856e':
Rewrite btif batch scan methods to new style.
Change-Id: I9280ad6c5b4417c0c0262ea668a04f93d1cf56e6
Jakub Pawlowski [Thu, 12 May 2016 17:25:48 +0000 (17:25 +0000)]
Rewrite btif_get_gatt_db to new style
am:
61a98132c3
* commit '
61a98132c39d3181a0ea23988ac36fbfef8194b4':
Rewrite btif_get_gatt_db to new style
Change-Id: I0431c64890aa823f679c33fe98260b3c3d2450e2
Jakub Pawlowski [Thu, 12 May 2016 17:25:47 +0000 (17:25 +0000)]
Rewrite btif_gattc_set_scan_parameters to new style
am:
4c634eeafc
* commit '
4c634eeafc79e68b40ff1ade0d96ba7b1c34f85f':
Rewrite btif_gattc_set_scan_parameters to new style
Change-Id: I51ea085022cba4ff8c9aa221d6cb523a1b6cb5bc
Jakub Pawlowski [Thu, 12 May 2016 17:25:45 +0000 (17:25 +0000)]
Rewrite GATT read operations to use new style
am:
61a112e488
* commit '
61a112e488a7686e5cc9680434c42895ef9db878':
Rewrite GATT read operations to use new style
Change-Id: I981bfd27a7010da48b204f22f7854055665497e4
Jakub Pawlowski [Thu, 12 May 2016 17:25:44 +0000 (17:25 +0000)]
Use MessageLoop in bt_jni_workqueue thread
am:
140645f6b8
* commit '
140645f6b8d87464c08f082bd14740eecab23f71':
Use MessageLoop in bt_jni_workqueue thread
Change-Id: I0d60049b62c4295bea9f2fa5f12bcbee81a5c962
Jakub Pawlowski [Wed, 4 May 2016 19:32:18 +0000 (12:32 -0700)]
Rewrite btif_gattc_scan_filter_add_remove to new style
Bug:
28485365
Change-Id: I618644b08ecffbb8d22186a7dc70189fb8e50a53
Jakub Pawlowski [Tue, 3 May 2016 23:00:08 +0000 (16:00 -0700)]
Rewrite register/unregister app to new style
Bug:
28485365
Change-Id: I9e709cc54990769bb5e3cee4328ce36ee992927d
Jakub Pawlowski [Tue, 3 May 2016 22:49:53 +0000 (15:49 -0700)]
Rewrite scan start/stop to new style
Bug:
28485365
Change-Id: I1b659d063181adef85cc835a350717bbb7bfe483
Jakub Pawlowski [Tue, 3 May 2016 22:47:50 +0000 (15:47 -0700)]
Rewrite btif_gattc_open to new style
Bug:
28485365
Change-Id: Idc0e12a00f155a128806b1c2a7f3f71daf6cd23f
Jakub Pawlowski [Tue, 3 May 2016 22:44:44 +0000 (15:44 -0700)]
Rewrite btif_gattc_close to new style
Bug:
28485365
Change-Id: Ic82a28cc3659b4ac9936861310578ee07f46ee31
Jakub Pawlowski [Tue, 3 May 2016 21:34:57 +0000 (14:34 -0700)]
Rewrite btif_gattc_search_service to new style
Bug:
28485365
Change-Id: I80ad14db9cfa69cbbfeee3cf362017ca0da70c8e
Jakub Pawlowski [Tue, 3 May 2016 21:33:06 +0000 (14:33 -0700)]
Rewrite btif_gattc_execute_write to new style
Bug:
28485365
Change-Id: Id93cf6e3ee1d2c9eded20d98ba791c462ff0b5af
Jakub Pawlowski [Tue, 3 May 2016 21:23:37 +0000 (14:23 -0700)]
Rewrite btif_gattc_write_char to new style
Bug:
28485365
Change-Id: Ibe0c1386befb77ddb55d20effd7ba1fda6135d7b
Jakub Pawlowski [Tue, 3 May 2016 21:08:45 +0000 (14:08 -0700)]
Rewrite btif_gattc_reg_for_notification to new style
Bug:
28485365
Change-Id: I227634b11be381977135f7c6668c4d15b7cca31b
Jakub Pawlowski [Tue, 3 May 2016 21:00:12 +0000 (14:00 -0700)]
Rewrite btif_gattc_listen to new style
Bug:
28485365
Change-Id: I63c677262b316210ab5f59908fd2e30fb9d5eebc
Jakub Pawlowski [Tue, 3 May 2016 20:48:20 +0000 (13:48 -0700)]
Rewrite btif_gattc_set_adv_data to new style
Bug:
28485365
Change-Id: Id3868d321226bc3c251bb15f3176c6e2d4b66e82
Jakub Pawlowski [Tue, 3 May 2016 20:43:58 +0000 (13:43 -0700)]
Rewrite read RSSI and set MTU to new style
Bug:
28485365
Change-Id: Ife20d1ce569a1feff561a1b7b3e7b22560a4f108
Jakub Pawlowski [Tue, 3 May 2016 19:06:36 +0000 (12:06 -0700)]
Rewrite btif_gattc_conn_parameter_update to new style
Bug:
28485365
Change-Id: Ibc5e085d381855ec139383545cfbec2750efb33f
Jakub Pawlowski [Tue, 3 May 2016 18:59:28 +0000 (11:59 -0700)]
Rewrite btif_gattc_scan_filter_param_setup to new style
Bug:
28485365
Change-Id: I290af35e0de35f4fbb7fa18ffc40eb5349027343
Jakub Pawlowski [Tue, 3 May 2016 18:50:08 +0000 (11:50 -0700)]
Rewrite scan filter related methods to new style
Bug:
28485365
Change-Id: I68e270e4d7bceee6a9a67ef2a7c50a047cf2d574
Jakub Pawlowski [Tue, 3 May 2016 18:33:36 +0000 (11:33 -0700)]
Rewrite btif_gattc_multi_adv_enable to new style
Bug:
28485365
Change-Id: I7e055c4930fc39dd3b83ea0086f0c0e12f7d815f
Jakub Pawlowski [Tue, 3 May 2016 18:20:01 +0000 (11:20 -0700)]
Rewrite btif_gattc_multi_adv_update to new style
Bug:
28485365
Change-Id: I59a908560856eff0b46b2bf5040c2ecb990ae350
Jakub Pawlowski [Tue, 3 May 2016 18:12:49 +0000 (11:12 -0700)]
Rewrite multi adv set data to new style.
Bug:
28485365
Change-Id: I28f1fd875998b039b5df969771e7b07c08d7fd3e
Jakub Pawlowski [Tue, 3 May 2016 16:11:29 +0000 (09:11 -0700)]
Rewrite btif_gattc_multi_adv_disable to new style
Bug:
28485365
Change-Id: Ifa5e4b4812ec236cc9a41a2129eaa43c328fa28f
Jakub Pawlowski [Tue, 3 May 2016 16:03:11 +0000 (09:03 -0700)]
Rewrite btif batch scan methods to new style.
Bug:
28485365
Change-Id: I62dfa6911ca0e26d490a9702d391aa30a09829a9
Jakub Pawlowski [Tue, 3 May 2016 15:55:11 +0000 (08:55 -0700)]
Rewrite btif_get_gatt_db to new style
Bug:
28485365
Change-Id: Iec63e595bfb82a4ac33564f3095cf0e7c4c37e39
Jakub Pawlowski [Tue, 3 May 2016 01:12:11 +0000 (18:12 -0700)]
Rewrite btif_gattc_set_scan_parameters to new style
Bug:
28485365
Change-Id: I29cb2e11b3e407676e312fe83248fc8b551e60ad
Jakub Pawlowski [Tue, 3 May 2016 00:50:25 +0000 (17:50 -0700)]
Rewrite GATT read operations to use new style
Bug:
28485365
Change-Id: I3c5918abdf79da7d6b566506ad53fa38656bcb65
Jakub Pawlowski [Sat, 30 Apr 2016 21:37:40 +0000 (14:37 -0700)]
Use MessageLoop in bt_jni_workqueue thread
Up till now, to execute anyting on bt_jni_workqueue thread, we were
sending events to workqueue associated with this thread. Flow was:
btif_transfer_context -> btif_sendmsg -> thread_post.
Events were containing defined action, i.e. BTIF_GATTC_SCAN_START and
pointer to struct that contained all required data to execute it.
This was very cumbersome - figuring out what is executed when event is
send was hard. Also everything have to be packed into structure which
means that
we have to define lots of structures, or have one big super-structure
holding data for all events (like in btif_gatt_client.cc). Event sending
and receiving
logic is a huge percent of all code.
From now on, there will be a MessageLoop running inside bt_jni_workqueue
that will execute all tasks that will be posted with PostTask. The
benefit of having PostTask method, is that we can simply create Closure
that will be run in bt_jni_workqueue thread. It will take care of
transferring all associated values, and their cleanup. It will also do
compile-time check of all parameters. We no longer have to create
events, structs, and separate call logic from execution logic.
Bug:
28485365
Change-Id: I5014ef680757c0d3c6c69781aadc5139c8e1c3c4
Andre Eisenbach [Wed, 11 May 2016 20:39:13 +0000 (20:39 +0000)]
Add additional VW car kits to absolute volume blacklist am:
29e7944184
am:
e68974630b
* commit '
e68974630bc5f88b2d110a6157ba9c7964736026':
Add additional VW car kits to absolute volume blacklist
Change-Id: I9fa51d668eb0ffd8f52db6a79cc1593f09bb21f5
Andre Eisenbach [Wed, 11 May 2016 20:34:13 +0000 (20:34 +0000)]
Add additional VW car kits to absolute volume blacklist
am:
29e7944184
* commit '
29e794418452c8b35c2d42fe0cda81acd86bbf43':
Add additional VW car kits to absolute volume blacklist
Change-Id: If5c53e050f667e1042748809d04c48d5c7bb108d
Andre Eisenbach [Wed, 11 May 2016 20:34:13 +0000 (20:34 +0000)]
Merge "Add additional VW car kits to absolute volume blacklist" into nyc-dev
am:
b65b26c699
* commit '
b65b26c699c762aca1dc4d9daac6d4c8af92b48e':
Add additional VW car kits to absolute volume blacklist
Change-Id: I52be95fde5460763a322dcfbb5657c77ca47a7f2
TreeHugger Robot [Wed, 11 May 2016 20:29:53 +0000 (20:29 +0000)]
Merge "Add additional VW car kits to absolute volume blacklist" into nyc-dev
Andre Eisenbach [Wed, 11 May 2016 19:21:41 +0000 (12:21 -0700)]
Add additional VW car kits to absolute volume blacklist
Change-Id: I8b0b73595e9183b9c1540b06e9e0378312c6a63d
Fixes:
25613423
Andre Eisenbach [Wed, 11 May 2016 19:20:23 +0000 (12:20 -0700)]
Add additional VW car kits to absolute volume blacklist
Change-Id: I8b0b73595e9183b9c1540b06e9e0378312c6a63d
Fixes:
25613423
Andre Eisenbach [Wed, 11 May 2016 19:14:34 +0000 (19:14 +0000)]
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition am:
d7ec6c9c59 -s ours am:
2e2ef67bcf -s ours
am:
8c9d6e636e -s ours
* commit '
8c9d6e636e037dc6d669891db0fa5412a6c44219':
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition
Change-Id: Ia147b21ef389344a1fbc799bec09222f39e32030
Nitin Arora [Wed, 11 May 2016 19:14:31 +0000 (19:14 +0000)]
Merge changes I693b0596,Ib5a05c47,I1da213fd,I32cd6412,If62f334d, ... into nyc-dev
am:
c04eb3d3bc -s ours
* commit '
c04eb3d3bc80e056af87bc3a82037d145d99937e':
PTS: Read SMP pairing options from bt_stack.conf
PTS: Avoid BR SDP after LE pairing
PTS: Allow disabling connection updates
PTS: Add a Secure Only mode.
Changes to allow LE key upgrade
Allow C++ code to check bt_stack_config options
Change-Id: Iafddfd4d05da9a33edaf52d3bdbf21f50b7b710a
Andre Eisenbach [Wed, 11 May 2016 19:06:17 +0000 (19:06 +0000)]
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition am:
d7ec6c9c59 -s ours
am:
2e2ef67bcf -s ours
* commit '
2e2ef67bcfe9eff2e24bd336a589c17392ec9ba6':
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition
Change-Id: Ife87fe9a7bb266daddf4407d1ec5adaf4eba3e22
Andre Eisenbach [Wed, 11 May 2016 19:01:31 +0000 (19:01 +0000)]
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition
am:
d7ec6c9c59 -s ours
* commit '
d7ec6c9c59aab205a1e90fd1db3f98431e983dfd':
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition
Change-Id: Ida3953705286386634d27d00ceef540090ecc533
Andre Eisenbach [Wed, 11 May 2016 03:27:20 +0000 (20:27 -0700)]
DO NOT MERGE ANYWHERE Fix double mutex unlock and if() condition
Commit "L2CAP and SDP Search API for BT profiles (2/2)" introduced two
separate issues in btsock_rfc_signaled():
1. The "slot_lock" potentially gets unlocked twice, causing
undefined behaviour.
2. The call to BTA_JvRfcommWrite() was incorrectly taken outside
of the conditional if() block that only executes the code if
data is available.
This patch reverts the relevant locking change and fixes the if()
condition.
Bug:
27204458
Change-Id: I63b1257d21ca7bdd248858ec67e28f64e37a7895
(cherry picked from commit
2d7ddd09c163c84eacddd101cf08fd8021a35370)
Andre Eisenbach [Wed, 11 May 2016 18:36:39 +0000 (18:36 +0000)]
Fix double mutex unlock and if() condition am:
0403dcd262
am:
3f90226b45
* commit '
3f90226b451a55df8eacc58a80aec14cd88b1503':
Fix double mutex unlock and if() condition
Change-Id: Iaded560e3011c19ca4610d102ac2df6ab0a5f4e4
Andre Eisenbach [Wed, 11 May 2016 18:34:08 +0000 (18:34 +0000)]
Fix double mutex unlock and if() condition
am:
0403dcd262
* commit '
0403dcd262980110ef2a24ac9c0a72d0dc3d96bb':
Fix double mutex unlock and if() condition
Change-Id: Ib81d74eb8940060149509bcae7c8f289b3bf0f9c
Andre Eisenbach [Wed, 11 May 2016 03:27:20 +0000 (20:27 -0700)]
Fix double mutex unlock and if() condition
Commit "L2CAP and SDP Search API for BT profiles (2/2)" introduced two
separate issues in btsock_rfc_signaled():
1. The "slot_lock" potentially gets unlocked twice, causing
undefined behaviour.
2. The call to BTA_JvRfcommWrite() was incorrectly taken outside
of the conditional if() block that only executes the code if
data is available.
This patch reverts the relevant locking change and fixes the if()
condition.
Bug:
27204458
Change-Id: I63b1257d21ca7bdd248858ec67e28f64e37a7895
Bryce Lee [Wed, 11 May 2016 18:25:47 +0000 (18:25 +0000)]
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR. am:
3d6accfcc0
am:
42f3fda2f3
* commit '
42f3fda2f3b638c64d936dd2997a926b0e0b1c71':
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR.
Change-Id: Ic858d35c8cfb4d9241c06e843d48aefc14963907
Bryce Lee [Wed, 11 May 2016 18:23:10 +0000 (18:23 +0000)]
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR.
am:
3d6accfcc0
* commit '
3d6accfcc0bdc5c7a8713320c9bb069cbf253348':
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR.
Change-Id: I0850e31cd573afb2ef6d625cbe8c6ae78ab3a000
Andre Eisenbach [Wed, 11 May 2016 18:20:26 +0000 (18:20 +0000)]
Merge changes I693b0596,Ib5a05c47,I1da213fd,I32cd6412,If62f334d, ... into nyc-dev
* changes:
PTS: Read SMP pairing options from bt_stack.conf
PTS: Avoid BR SDP after LE pairing
PTS: Allow disabling connection updates
PTS: Add a Secure Only mode.
Changes to allow LE key upgrade
Allow C++ code to check bt_stack_config options
Bryce Lee [Wed, 11 May 2016 00:10:09 +0000 (17:10 -0700)]
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR.
Previously, extern "C" was placed in various locations within the header
files, sometimes below actual struct declarations. Doing so would lead to
alignment issues between C and C++ code.
tBTA_HF_CLIENT_HDR was removed from bta_hf_client_api since it was
extraneous and empty - leading to alignment issues.
Change-Id: Icdd338f1affe4c3a70c7bbd716249be6a16443d2
Andre Eisenbach [Wed, 11 May 2016 17:32:15 +0000 (17:32 +0000)]
Merge "Fix double mutex unlock and if() condition" into nyc-dev
am:
7de96b9846
* commit '
7de96b9846e9efabb5447ed4d7e806576fe84eeb':
Fix double mutex unlock and if() condition
Change-Id: I119771005b03c736888d586f872dec490b788017
Sharvil Nanavati [Wed, 11 May 2016 17:23:52 +0000 (17:23 +0000)]
Merge "Fix double mutex unlock and if() condition" into nyc-dev
Jakub Pawlowski [Wed, 11 May 2016 16:45:22 +0000 (16:45 +0000)]
Change initial order of commands after establishing an LE connection am:
9376f77974
am:
b280ffa123
* commit '
b280ffa123defda6f1d284d815b6114324608996':
Change initial order of commands after establishing an LE connection
Change-Id: I79f31859b17d46a2e19973aaade00ecc99819930
Jakub Pawlowski [Wed, 11 May 2016 16:45:22 +0000 (16:45 +0000)]
Change initial order of commands after establishing an LE connection am:
272c9711bc
am:
55adc02665
* commit '
55adc02665bdaf8f2a5cb5fd44033d7bae3b8e79':
Change initial order of commands after establishing an LE connection
Change-Id: If344934cf1e3403da55c0455627ac1133532e74d
Jakub Pawlowski [Wed, 11 May 2016 16:42:16 +0000 (16:42 +0000)]
Change initial order of commands after establishing an LE connection
am:
9376f77974
* commit '
9376f7797412447a7a00aabafafc53f06232405f':
Change initial order of commands after establishing an LE connection
Change-Id: I3cbf6a6f338085f6cf71ebbd757f24af17e51357
Jakub Pawlowski [Wed, 11 May 2016 16:42:14 +0000 (16:42 +0000)]
Change initial order of commands after establishing an LE connection
am:
272c9711bc
* commit '
272c9711bc6363f0b32c48a86d71726bdd9abfd9':
Change initial order of commands after establishing an LE connection
Change-Id: Ia1d2d01da3f34efeefe17f61d7f82cb4d32f6cb3
Jakub Pawlowski [Tue, 10 May 2016 23:43:41 +0000 (16:43 -0700)]
Change initial order of commands after establishing an LE connection
This patch changes order of commands send to LE device after connecting.
This will cause update connection parameters to be send after read
remote version. Having it other way around cause some problems with
broadcom chips, even though it should work both ways.
Bug:
28435172
Change-Id: I8ecf76217b036842e1d9ec7df714da94a99df7d5
Jakub Pawlowski [Wed, 11 May 2016 16:20:11 +0000 (16:20 +0000)]
Merge "Change initial order of commands after establishing an LE connection" into nyc-dev
am:
e91924a7d3 -s ours
* commit '
e91924a7d3979605224d4718bcb34b8a19af10d9':
Change initial order of commands after establishing an LE connection
Change-Id: I46a5d064ff0036f40d005ef361848eec142c6bee
Jakub Pawlowski [Wed, 11 May 2016 16:08:02 +0000 (16:08 +0000)]
Merge "Change initial order of commands after establishing an LE connection" into nyc-dev
Nitin Arora [Sat, 12 Mar 2016 00:37:51 +0000 (16:37 -0800)]
PTS: Read SMP pairing options from bt_stack.conf
Use Case:
A number of cenrtification test cases require the host
to change the pairing options including auth request,
I/O capabilities, key distribution mask, key length
and Out of band capability.
Test Case: TP/PKE/BV-02-C
Failure:
Host currently only supports fixed SMP options and only
a few test cases involving pairing, are executed due
to that limitation.
Fix:
Added changes to read the SMP options from the bt_stack.conf
file at run time.
The pairing options are entered as a comma separated list eg:
SMPOptions=0xD,0x4,0xf,0xf,0x10
where the included hex values are in the following order:
\#auth, io, ikey, rkey, ksize
If all 5 options are not present, the host falls back to the
default values
Bug:
27852645
Change-Id: I693b05966695cf4660c5da10249c5f7c0663e53a