OSDN Git Service
Jakub Pawlowski [Fri, 13 May 2016 21:21:00 +0000 (21:21 +0000)]
Fail gracioulsy when GATT_MAX_APPS reached
am:
ae5066bc32
* commit '
ae5066bc3293c9ca6953659fe661316c750f631d':
Fail gracioulsy when GATT_MAX_APPS reached
Change-Id: I79fc0f58718524624e8c7bebdfa8fe4993438bc5
Jakub Pawlowski [Fri, 13 May 2016 20:09:08 +0000 (13:09 -0700)]
Fail gracioulsy when GATT_MAX_APPS reached
Bug:
28677905
Change-Id: I092494ab3f9e9ae4330d5d2a6f6ef010c61fe2a4
Eric Laurent [Fri, 13 May 2016 20:28:05 +0000 (20:28 +0000)]
audio HAL: improve control socket error handling am:
7a599b44bf
am:
afb22626a6
* commit '
afb22626a6b8ca6907a4fe29bbf4d825395ca881':
audio HAL: improve control socket error handling
Change-Id: I189e08200d40d771607254b0d1d7e14badcd8531
Eric Laurent [Fri, 13 May 2016 20:25:23 +0000 (20:25 +0000)]
audio HAL: improve control socket error handling
am:
7a599b44bf
* commit '
7a599b44bfd5ccc751445989807692bad78d9491':
audio HAL: improve control socket error handling
Change-Id: I5988d5d0249d98746d2cf4d0be69a2043348df5a
Ajay Panicker [Fri, 13 May 2016 19:39:03 +0000 (19:39 +0000)]
Merge "Merge commit '
9eb556804ae753b6fabc66329952dae596f378b7' into manual_merge_27cdeb9" into nyc-dev-plus-aosp
Ajay Panicker [Fri, 13 May 2016 19:34:37 +0000 (12:34 -0700)]
Merge commit '
9eb556804ae753b6fabc66329952dae596f378b7' into manual_merge_27cdeb9
Change-Id: I71046e0f0c4bfb24fc7ddf32a45e515d6cb21b24
Eric Laurent [Thu, 12 May 2016 01:18:54 +0000 (18:18 -0700)]
audio HAL: improve control socket error handling
Implement retry upon control socket receive error
in a2dp_ctrl_receive() if EAGAIN or EINTR.
Implement recovery from previous socket error in
a2dp_command().
Increase socket receive timeout to account for
headsets will long activation time.
Fixed state update error in start_audio_datapath()
in case the data socket is already opened.
Added missing mutex around state updated in oput_write()
and in_read()
Made read and write code symmetric.
Bug:
28727517
Change-Id: I68d7fe63f298bbd1e387ec42fdb1277b2dcdfef5
Pavlin Radoslavov [Fri, 13 May 2016 19:14:13 +0000 (12:14 -0700)]
resolve merge conflicts of
2810aed to nyc-dev-plus-aosp
Change-Id: I18d9434f0921a1297436859a0b2b284b5750f9b1
Pavlin Radoslavov [Fri, 13 May 2016 18:34:48 +0000 (18:34 +0000)]
Restart failed system calls interrupted with errno of EINTR
am:
d6121a37c5
* commit '
d6121a37c579731b89348e618a823c53b938449a':
Restart failed system calls interrupted with errno of EINTR
Change-Id: Ia6348e07b24bb22c03ed07cace2b4614a66bfcae
Ajay Panicker [Thu, 12 May 2016 18:03:39 +0000 (11:03 -0700)]
Add config logging, make parsing stricter, and move sync
The functions that parse the config file will report failure if
the config file is improperly formatted or is missing the necessary
Adapter section. Also moved sync to sync the filesystem after the
config file is saved.
Bug:
27354612
Change-Id: Ia75ff628d83bdc933c4bc16761d6c55eef19b757
Pavlin Radoslavov [Thu, 12 May 2016 18:36:44 +0000 (11:36 -0700)]
Restart failed system calls interrupted with errno of EINTR
In number of places we don't handle properly system calls failures
when the errno is EINTR (i.e., the system call was interrupted
by a signal). In all our use cases, the system calls should be
restarted. The handling of the following system calls (as used in the code)
has been updated/fixed:
poll, send, recv, sendmsg, nanosleep, epoll_wait
read - mostly (e.g., socket-like fds)
write - mostly (e.g., socket-like fds)
select, accept, connect
Bug:
28471477
Bug:
28658141
Change-Id: I03e6f0f67e33876780fb6d02c33eb84547ba8f95
Eric Laurent [Fri, 13 May 2016 01:46:07 +0000 (01:46 +0000)]
audio HAL: improve control socket error handling
am:
f56308e42d
* commit '
f56308e42dc38699111b416fe68da300bf41dfbf':
audio HAL: improve control socket error handling
Change-Id: I170a29804c26477fa4ed9fa754cb41b9618c8c9d
TreeHugger Robot [Thu, 12 May 2016 23:59:39 +0000 (23:59 +0000)]
Merge "resolve merge conflicts of
49196d0 to nyc-dev-plus-aosp" into nyc-dev-plus-aosp
Ajay Panicker [Thu, 12 May 2016 23:57:56 +0000 (23:57 +0000)]
Add sync to write the backup file to the filesystem am:
f24f5eff41
am:
aca3fee0b8
* commit '
aca3fee0b80d3657825e3beec8cf69ac1f34090d':
Add sync to write the backup file to the filesystem
Change-Id: I7c72679e04ceeed8bf4cea32b43622e2e3fd58dc
Ajay Panicker [Thu, 12 May 2016 23:55:27 +0000 (23:55 +0000)]
Add sync to write the backup file to the filesystem
am:
f24f5eff41
* commit '
f24f5eff41968dda6f97333c9b4c09ec4c5a8597':
Add sync to write the backup file to the filesystem
Change-Id: Ifc375fd3443ef07def960cd702f3cf5c4f20bb3d
Pavlin Radoslavov [Thu, 12 May 2016 23:53:17 +0000 (16:53 -0700)]
resolve merge conflicts of
49196d0 to nyc-dev-plus-aosp
Change-Id: I10f8ad6eb5584c6d381afd1fbafd66a4fb57246d
Eric Laurent [Thu, 12 May 2016 01:18:54 +0000 (18:18 -0700)]
audio HAL: improve control socket error handling
Implement retry upon control socket receive error
in a2dp_ctrl_receive() if EAGAIN or EINTR.
Implement recovery from previous socket error in
a2dp_command().
Increase socket receive timeout to account for
headsets will long activation time.
Fixed state update error in start_audio_datapath()
in case the data socket is already opened.
Added missing mutex around state updated in oput_write()
and in_read()
Made read and write code symmetric.
Bug:
28727517
Change-Id: I68d7fe63f298bbd1e387ec42fdb1277b2dcdfef5
TreeHugger Robot [Thu, 12 May 2016 23:30:32 +0000 (23:30 +0000)]
Merge "Restart failed system calls interrupted with errno of EINTR" into nyc-dev
Marie Janssen [Thu, 12 May 2016 23:02:31 +0000 (23:02 +0000)]
btif: only save config when bonded devices change
am:
86453b65c6
* commit '
86453b65c60aec465f8e32cf515944f3f69db809':
btif: only save config when bonded devices change
Change-Id: I9397b87927fdc9d11e3de5c1175049a90caa3c2d
Ajay Panicker [Thu, 12 May 2016 22:52:01 +0000 (15:52 -0700)]
Add sync to write the backup file to the filesystem
Bug:
27354612
Change-Id: I5a7751b6f08831d43647391774501f211336e9eb
Jakub Pawlowski [Thu, 12 May 2016 22:12:17 +0000 (22:12 +0000)]
Build fix for feldspar-dev am:
aa39d20a60
am:
68f6491572
* commit '
68f6491572a83c14d2a41d2a3d35a8b3f5ede90b':
Build fix for feldspar-dev
Change-Id: I981e30dd336a108e0c52c8abaed9f49e3c5ed590
Jakub Pawlowski [Thu, 12 May 2016 22:09:52 +0000 (22:09 +0000)]
Build fix for feldspar-dev
am:
aa39d20a60
* commit '
aa39d20a60a56a1528af0ed726e2effa90e08fb5':
Build fix for feldspar-dev
Change-Id: I48fbf993a87aefd245e14a6e765955212017a4af
Jakub Pawlowski [Thu, 12 May 2016 22:02:55 +0000 (15:02 -0700)]
Build fix for feldspar-dev
Bug:
28485365
Change-Id: I25db2fe7577e98715eb10e105176c536fddb043a
Pavlin Radoslavov [Thu, 12 May 2016 18:36:44 +0000 (11:36 -0700)]
Restart failed system calls interrupted with errno of EINTR
In number of places we don't handle properly system calls failures
when the errno is EINTR (i.e., the system call was interrupted
by a signal). In all our use cases, the system calls should be
restarted. The handling of the following system calls (as used in the code)
has been updated/fixed:
poll, send, recv, sendmsg, nanosleep, epoll_wait
read - mostly (e.g., socket-like fds)
write - mostly (e.g., socket-like fds)
select, accept, connect
Bug:
28471477
Bug:
28658141
Change-Id: I03e6f0f67e33876780fb6d02c33eb84547ba8f95
Ajay Panicker [Thu, 12 May 2016 21:17:01 +0000 (21:17 +0000)]
Add config logging, make parsing stricter, and move sync am:
72a183d00c
am:
db617bae20
* commit '
db617bae206437bba453bf70dcdebdd01e3e2a54':
Add config logging, make parsing stricter, and move sync
Change-Id: I2194f3b4d03b2662db35b4048730d95c55c63153
Ajay Panicker [Thu, 12 May 2016 21:14:17 +0000 (21:14 +0000)]
Add config logging, make parsing stricter, and move sync
am:
72a183d00c
* commit '
72a183d00c7534c80a4deb9fb41d38fd9e9455f6':
Add config logging, make parsing stricter, and move sync
Change-Id: I45b6ee7a6956a0359ebe9ccfa9d9023096893b09
Ajay Panicker [Thu, 12 May 2016 18:03:39 +0000 (11:03 -0700)]
Add config logging, make parsing stricter, and move sync
The functions that parse the config file will report failure if
the config file is improperly formatted or is missing the necessary
Adapter section. Also moved sync to sync the filesystem after the
config file is saved.
Bug:
27354612
Change-Id: Ia75ff628d83bdc933c4bc16761d6c55eef19b757
Marie Janssen [Wed, 11 May 2016 21:58:48 +0000 (14:58 -0700)]
btif: only save config when bonded devices change
Bug:
27354612
Change-Id: I15f816c85d3ab1991abf076f7c1ae2914d773d54
Marie Janssen [Thu, 12 May 2016 21:00:48 +0000 (21:00 +0000)]
Merge "btif: only save config when bonded devices change" am:
c12ef5607a
am:
c0a6e61726
* commit '
c0a6e61726abbefb8f1720676b2dde9dd782bf81':
btif: only save config when bonded devices change
Change-Id: Iac4f18c4102d06acc734d9875fb479ff71d64c67
Marie Janssen [Thu, 12 May 2016 20:58:11 +0000 (20:58 +0000)]
Merge "btif: only save config when bonded devices change"
am:
c12ef5607a
* commit '
c12ef5607a2a78201f282d551e8dfe7ee5763942':
btif: only save config when bonded devices change
Change-Id: I33f8d9a69e60e1f10230c903b070b67c67e07acf
Treehugger Robot [Thu, 12 May 2016 20:51:59 +0000 (20:51 +0000)]
Merge "btif: only save config when bonded devices change"
Jakub Pawlowski [Thu, 12 May 2016 20:11:17 +0000 (20:11 +0000)]
Remove dead HID code am:
c3fe5a04a9
am:
47c618e2eb
* commit '
47c618e2eb3bd1b8793b2f649f3261e806fe0c0d':
Remove dead HID code
Change-Id: I3110cccd417ef0ac7bea6266e57be58281b35af1
Jakub Pawlowski [Thu, 12 May 2016 20:08:48 +0000 (20:08 +0000)]
Remove dead HID code
am:
c3fe5a04a9
* commit '
c3fe5a04a926672d3b363d88e6bd67eb46ba230c':
Remove dead HID code
Change-Id: I2b2838c8d17b80242724fd6e3617f971650807df
Jakub Pawlowski [Thu, 12 May 2016 16:24:38 +0000 (09:24 -0700)]
Remove dead HID code
This patch removes dead code in HID related to setting scan parameters
on remote device.
Change-Id: I96e0036b65d2ebb3b099d817683ed3d5a11b6bb7
Jakub Pawlowski [Thu, 12 May 2016 20:00:15 +0000 (20:00 +0000)]
Rename all *.cpp files to *.cc to follow new style am:
e6d1202990
am:
e9d39784e7
* commit '
e9d39784e7b47b8d6ecf189e4b29ce74a23e3d47':
Rename all *.cpp files to *.cc to follow new style
Change-Id: I2d98b9a0fdc5f8e89d5981ea8f78cc35631f8812
Jakub Pawlowski [Thu, 12 May 2016 19:57:12 +0000 (19:57 +0000)]
Rename all *.cpp files to *.cc to follow new style
am:
e6d1202990
* commit '
e6d1202990e0ede65db4470b4eaa20fc4b1f791e':
Rename all *.cpp files to *.cc to follow new style
Change-Id: I6075f783e4bc7d708aa83f07d3be8b21f7a5401c
Marie Janssen [Wed, 11 May 2016 21:58:48 +0000 (14:58 -0700)]
btif: only save config when bonded devices change
Bug:
27354612
Change-Id: I15f816c85d3ab1991abf076f7c1ae2914d773d54
Jacky Cheung [Thu, 12 May 2016 18:43:21 +0000 (18:43 +0000)]
DO NOT MERGE ANYWHERE SMP: Delay authorization complete. am:
8c519caec3 -s ours am:
731684b29a -s ours
am:
42e54009d7 -s ours
* commit '
42e54009d789b5cae6df4599013852a52c1079a1':
DO NOT MERGE ANYWHERE SMP: Delay authorization complete.
Change-Id: I53d95ce7d347cb1d11a0107e052ce70f68f8b0b1
Jacky Cheung [Thu, 12 May 2016 18:40:44 +0000 (18:40 +0000)]
DO NOT MERGE ANYWHERE SMP: Delay authorization complete. am:
8c519caec3 -s ours
am:
731684b29a -s ours
* commit '
731684b29a6603e3c6b22e80229d49f46c44a56c':
DO NOT MERGE ANYWHERE SMP: Delay authorization complete.
Change-Id: I01ba378fc44a2e273ef2cd53787ddc6504de38b8
Jacky Cheung [Thu, 12 May 2016 18:38:06 +0000 (18:38 +0000)]
DO NOT MERGE ANYWHERE SMP: Delay authorization complete.
am:
8c519caec3 -s ours
* commit '
8c519caec3908ce20832ce4c756f2514158da132':
DO NOT MERGE ANYWHERE SMP: Delay authorization complete.
Change-Id: I1dbfbc0b3f5cddecd18f604f5d4d0271777ce02a
Jakub Pawlowski [Thu, 12 May 2016 18:16:46 +0000 (11:16 -0700)]
Rename all *.cpp files to *.cc to follow new style
Change-Id: Ia79ee09348e67ff4a1712ee11a1e8480180a2623
Jakub Pawlowski [Thu, 12 May 2016 17:33:29 +0000 (17:33 +0000)]
Rewrite btif_gatts_register_app to new style am:
d71bc1732f
am:
bf23d07033
* commit '
bf23d070335acd88d570f5d5a44a95f5a551091c':
Rewrite btif_gatts_register_app to new style
Change-Id: I25c650ea67cc07a3027628a45f49cba1e1f82f5e
Jakub Pawlowski [Thu, 12 May 2016 17:33:28 +0000 (17:33 +0000)]
Rewrite btif_gatts_open to new style am:
3c79a3b7ca
am:
e40283136f
* commit '
e40283136f35a6ef3343d19365cab0213f25ec52':
Rewrite btif_gatts_open to new style
Change-Id: Ia70fc9e07b2390844770b8de46a4fc68b9fc29c2
Jakub Pawlowski [Thu, 12 May 2016 17:33:28 +0000 (17:33 +0000)]
Rewrite btif_gatts_close to new style am:
b333ae2e69
am:
0ba23c5e7a
* commit '
0ba23c5e7a8c77f78fdc1daa4f47ea5e46e60158':
Rewrite btif_gatts_close to new style
Change-Id: I0678cea0f73a080f9c5237b00ec3688af0b8249b
Jakub Pawlowski [Thu, 12 May 2016 17:33:27 +0000 (17:33 +0000)]
Rewrite btif_gatts_add_included_service to new style am:
0cd448fe8f
am:
2720f51e34
* commit '
2720f51e34eae6f210ef7f4fc9329c85cf2ebc51':
Rewrite btif_gatts_add_included_service to new style
Change-Id: I7f382ab002534261071ac75a0c48f119e0a15967
Jakub Pawlowski [Thu, 12 May 2016 17:33:26 +0000 (17:33 +0000)]
Rewrite btif_gatts_start_service to new style am:
b14f76be6e
am:
de2d622e30
* commit '
de2d622e304b376d5e16fc944574737cf2b284bc':
Rewrite btif_gatts_start_service to new style
Change-Id: Ie9c4342b1d54219091ba67be0231db59def2a476
Jakub Pawlowski [Thu, 12 May 2016 17:33:25 +0000 (17:33 +0000)]
Rewrite btif_gatts_stop_service to new style am:
7ce14cc65e
am:
76747a9f5d
* commit '
76747a9f5db9274817ddaafa46868fb9346b5b82':
Rewrite btif_gatts_stop_service to new style
Change-Id: I0162276c76e684eb3649695bb51ba3c01a7344df
Jakub Pawlowski [Thu, 12 May 2016 17:33:24 +0000 (17:33 +0000)]
Rewrite btif_gatts_send_indication to new style am:
858cf9468b
am:
6b41d1dc31
* commit '
6b41d1dc316e51333396c0337949bbdaf239319a':
Rewrite btif_gatts_send_indication to new style
Change-Id: If97f1266ef55bd5c95aca724a503fec419520096
Jakub Pawlowski [Thu, 12 May 2016 17:33:23 +0000 (17:33 +0000)]
Rewrite btif_gatts_send_response to new style am:
757109e314
am:
fcca32f467
* commit '
fcca32f4675d4fdc1c346319b114699b47a30b59':
Rewrite btif_gatts_send_response to new style
Change-Id: I33ea2d9965dfbdc5bce7e334d89d069248aa5575
Jakub Pawlowski [Thu, 12 May 2016 17:33:22 +0000 (17:33 +0000)]
Use unnamed namespace in btif_gatt_client am:
44be0690a1
am:
8bff214047
* commit '
8bff2140472eedf58bdb789f514ecb0436b7b14d':
Use unnamed namespace in btif_gatt_client
Change-Id: Idd459399f77c88407378fbc6dbc560028184567f
Jakub Pawlowski [Thu, 12 May 2016 17:33:21 +0000 (17:33 +0000)]
Use unordered_set to keep p_dev_cb am:
ce7d46a263
am:
ef7987750e
* commit '
ef7987750ea7df5d582ac5d39147aecd0a4144d0':
Use unordered_set to keep p_dev_cb
Change-Id: If293506d303d6e438a3efae23b3e76c51879a60d
Jakub Pawlowski [Thu, 12 May 2016 17:33:20 +0000 (17:33 +0000)]
Remove unused structures from btif_gatt_client am:
d635ab3102
am:
9d0f1ba41f
* commit '
9d0f1ba41f60c430c6f70c72e26e3bb0a6195347':
Remove unused structures from btif_gatt_client
Change-Id: Id834cbfdfb3b44bde1ac4cdc81e3d4c90f3487ed
Jakub Pawlowski [Thu, 12 May 2016 17:31:03 +0000 (17:31 +0000)]
Rewrite bta_scan_results_cb to new style am:
92519cc7f1
am:
c453d18033
* commit '
c453d18033fd9fb4561490edbf3988f4b14dbb22':
Rewrite bta_scan_results_cb to new style
Change-Id: I2266b10d9a35b200d9503cd8f893eec22b35686e
Jakub Pawlowski [Thu, 12 May 2016 17:31:03 +0000 (17:31 +0000)]
Rewrite multi adv callbacks to new style am:
845b49d255
am:
75116bcbb1
* commit '
75116bcbb1c606699fa306a4cd7dc27cb4a70cf5':
Rewrite multi adv callbacks to new style
Change-Id: I7eefac1b4e2bb9094a274a07f21ca4312b900185
Jakub Pawlowski [Thu, 12 May 2016 17:31:02 +0000 (17:31 +0000)]
Rewrite batch scan related functions to new style am:
5f848b4d24
am:
cbe9161db6
* commit '
cbe9161db631d07dbe426cc8340df942b5013a22':
Rewrite batch scan related functions to new style
Change-Id: I6d4fd896223f85ccae8ce2d0c47a692441c925aa
Jakub Pawlowski [Thu, 12 May 2016 17:31:02 +0000 (17:31 +0000)]
Rewrite bta_track_adv_event_cb to new style am:
4ed8924e9d
am:
fe7fecbc9d
* commit '
fe7fecbc9d870cb5196602194347b8b9d0102bc5':
Rewrite bta_track_adv_event_cb to new style
Change-Id: Iea8d294853f0f5a96a2c53ac3a0633965a209ba4
Jakub Pawlowski [Thu, 12 May 2016 17:31:01 +0000 (17:31 +0000)]
Rewrite btm_read_rssi_cb to new style am:
c171ac407c
am:
bd8db6f6cd
* commit '
bd8db6f6cd191abbfc5f20575dd8cc8b683c2b84':
Rewrite btm_read_rssi_cb to new style
Change-Id: Iebbcbda7521d199acf9c417180640686b0b62246
Jakub Pawlowski [Thu, 12 May 2016 17:31:00 +0000 (17:31 +0000)]
Rewrite scan filter related callbacks to new style am:
da5b59b5bf
am:
064f330b38
* commit '
064f330b383296daf495527624e00cf2ef30ee5e':
Rewrite scan filter related callbacks to new style
Change-Id: I4d36ac453f19894cb9835212a0afa5dfae4bae86
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:30:09 +0000 (17:30 +0000)]
Rewrite btif_gatts_register_app to new style
am:
d71bc1732f
* commit '
d71bc1732fc0ed095a95dd625ff4080a0a1b44f3':
Rewrite btif_gatts_register_app to new style
Change-Id: Id387cb8e9ba5ef05f55e96e5957bddfa5f0e91c4
Jakub Pawlowski [Thu, 12 May 2016 17:30:06 +0000 (17:30 +0000)]
Rewrite btif_gatts_open to new style
am:
3c79a3b7ca
* commit '
3c79a3b7caf12d9b182afc2da071be3a5615a0dd':
Rewrite btif_gatts_open to new style
Change-Id: I0be50ae5dc763554665f901a236fbebcd5fdb0c2
Jakub Pawlowski [Thu, 12 May 2016 17:30:04 +0000 (17:30 +0000)]
Rewrite btif_gatts_close to new style
am:
b333ae2e69
* commit '
b333ae2e69d652b42a7c02500f35ec781df4178c':
Rewrite btif_gatts_close to new style
Change-Id: I9dd7bcda53f618828d00c6d4c70e6fb10100ffb5
Jakub Pawlowski [Thu, 12 May 2016 17:30:01 +0000 (17:30 +0000)]
Rewrite btif_gatts_add_included_service to new style
am:
0cd448fe8f
* commit '
0cd448fe8f7bf57bb1530d0216b2e18e322e3b3c':
Rewrite btif_gatts_add_included_service to new style
Change-Id: I676dd5a6b9b10db3eddce2ffacad20f25ec07597
Jakub Pawlowski [Thu, 12 May 2016 17:29:59 +0000 (17:29 +0000)]
Rewrite btif_gatts_start_service to new style
am:
b14f76be6e
* commit '
b14f76be6e859a796d64d083b78e6816f415de20':
Rewrite btif_gatts_start_service to new style
Change-Id: I95917a0243aac10250d740d819d29d5174e3c7a6
Jakub Pawlowski [Thu, 12 May 2016 17:29:56 +0000 (17:29 +0000)]
Rewrite btif_gatts_stop_service to new style
am:
7ce14cc65e
* commit '
7ce14cc65ea3796da3e12811e7bc07b529a2f9fa':
Rewrite btif_gatts_stop_service to new style
Change-Id: Ib39f38544c5fb34d090c4e73562db52511b01720
Jakub Pawlowski [Thu, 12 May 2016 17:29:54 +0000 (17:29 +0000)]
Rewrite btif_gatts_send_indication to new style
am:
858cf9468b
* commit '
858cf9468bb402ddf806087461aed5f4ea865f6b':
Rewrite btif_gatts_send_indication to new style
Change-Id: Iac5c2a93f5c52f805e204c5dc0a473eb12ffe1ea
Jakub Pawlowski [Thu, 12 May 2016 17:29:52 +0000 (17:29 +0000)]
Rewrite btif_gatts_send_response to new style
am:
757109e314
* commit '
757109e31404689f1769522637425bcc11edc074':
Rewrite btif_gatts_send_response to new style
Change-Id: I1fe226e89603e826f72e1595f2c3af26579cb747
Jakub Pawlowski [Thu, 12 May 2016 17:29:50 +0000 (17:29 +0000)]
Use unnamed namespace in btif_gatt_client
am:
44be0690a1
* commit '
44be0690a1d15d1ffc97e4c7560d8aee5bb86062':
Use unnamed namespace in btif_gatt_client
Change-Id: I3323ea4938ea4f82fadaf7923161ab345d57a662
Jakub Pawlowski [Thu, 12 May 2016 17:29:48 +0000 (17:29 +0000)]
Use unordered_set to keep p_dev_cb
am:
ce7d46a263
* commit '
ce7d46a263d8e0e7877b62b99b046c7e08ee75f8':
Use unordered_set to keep p_dev_cb
Change-Id: I6e93bf2f0d215c9208a7b4978098f9dcb19674fd
Jakub Pawlowski [Thu, 12 May 2016 17:29:47 +0000 (17:29 +0000)]
Remove unused structures from btif_gatt_client
am:
d635ab3102
* commit '
d635ab31023396ed2a33634303c4aa5d074f890c':
Remove unused structures from btif_gatt_client
Change-Id: Ie635eae8cc0200d6d0f824da6c0b0624e508cfb9
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:55 +0000 (17:27 +0000)]
Rewrite bta_scan_results_cb to new style
am:
92519cc7f1
* commit '
92519cc7f18867e9e1897f63f212c8e0a221bdf7':
Rewrite bta_scan_results_cb to new style
Change-Id: Id862aec6bf50b30206f7068fe0910952ca267aaf
Jakub Pawlowski [Thu, 12 May 2016 17:27:53 +0000 (17:27 +0000)]
Rewrite multi adv callbacks to new style
am:
845b49d255
* commit '
845b49d2559bae6e8084672c6b7020f2820aea9e':
Rewrite multi adv callbacks to new style
Change-Id: Ibb571b3834166abce6b0940d3e718d0e3b1a5caf
Jakub Pawlowski [Thu, 12 May 2016 17:27:50 +0000 (17:27 +0000)]
Rewrite batch scan related functions to new style
am:
5f848b4d24
* commit '
5f848b4d24f596d56da335ee07dd976b3101cfd2':
Rewrite batch scan related functions to new style
Change-Id: I1b783c927eff45c0255403a7a79701725044a4bc
Jakub Pawlowski [Thu, 12 May 2016 17:27:47 +0000 (17:27 +0000)]
Rewrite bta_track_adv_event_cb to new style
am:
4ed8924e9d
* commit '
4ed8924e9d820df37f03230dece6fd68eb1fc4df':
Rewrite bta_track_adv_event_cb to new style
Change-Id: I18f0d83f99e1daf5e2713770523edbbc0ac6de37
Jakub Pawlowski [Thu, 12 May 2016 17:27:45 +0000 (17:27 +0000)]
Rewrite btm_read_rssi_cb to new style
am:
c171ac407c
* commit '
c171ac407cfc6d30a11af6b12ead39688eb897f7':
Rewrite btm_read_rssi_cb to new style
Change-Id: I08c5364b5112ade6a660a0d36bfeec45a5bf8655
Jakub Pawlowski [Thu, 12 May 2016 17:27:41 +0000 (17:27 +0000)]
Rewrite scan filter related callbacks to new style
am:
da5b59b5bf
* commit '
da5b59b5bf9cb34574c16ba784c1484055fcb1e3':
Rewrite scan filter related callbacks to new style
Change-Id: Ifeb575fd0310c1d57ec60f50a449ff667f7ee896
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