e39606565035a103562d0485a90b18962592ae97 |
|
29-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
LE scanner BTA layer simplification BTA layer for scanner is very complicated. This patch simplifies it: * get rid of type redeclarations for BTM types * get rid of trivial *_act methods and call BTM API directly where possible Bug: 30622771 Test: slra FilterTest Change-Id: I3899b30074b2abc4a3945c5cc14f1bb40a504876
/system/bt/btif/src/btif_gatt_util.cc
|
ee96a3c60fca590d38025925c072d264e06493c4 |
|
23-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Fix asterisks in block quotes Remove double asterisks from block quotes. git grep -lP '^[*][*]' | xargs sed 's/^[*][*]/ \*/' -i Fix asterisk line lengths git grep -l '^[ /][*]\{79,\}[*/]' | \ xargs sed -i s,"^\([ /]\)[*]\([*]\{78\}\)[*]*\([*/]\)","\1\2\3", Test: mma -j32 Change-Id: Ie3fd375ac2f804cb0f53bf1314a005e85973b3d7
/system/bt/btif/src/btif_gatt_util.cc
|
9008888d24407541aa383aa4bd363a40abbf954b |
|
16-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Fix formatting after removing defines clang-format -i --style=file bta/*/* btif/*/* include/* Test: mma -j32 Change-Id: I9ebb32f0cc5bd24a7cb2ae25699999aab5036b13
/system/bt/btif/src/btif_gatt_util.cc
|
9979121f0865e07432215529f9b157792ae3ef21 |
|
18-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Remove BTA_GATT_INCLUDED Test: Connect to a BLE Keyboard Change-Id: I00393e2bf09fb65533e953896563e69aab5a22dc
/system/bt/btif/src/btif_gatt_util.cc
|
d7ffd64accbd50a27289a388856e56244ccbb5da |
|
27-Oct-2016 |
Myles Watson <mylesgw@google.com> |
Remove deprecated UNUSED macro (5/5) Include osi.h for UNUSED_ATTR. Test: mma -j32 Change-Id: I43260669dc1f54639e46cc9620093d727ee86276
/system/bt/btif/src/btif_gatt_util.cc
|
d628a0695e73973e0bd54dd026bfed900b69f804 |
|
27-Oct-2016 |
Myles Watson <mylesgw@google.com> |
Remove deprecated UNUSED macro (3/5) These were caused by ifdefs, so they had to be done by hand. TEST: mma -j32 Change-Id: I183f3ee82e8744fed2b65dc96dc492b5bf079243
/system/bt/btif/src/btif_gatt_util.cc
|
d35a648d39710bbc5ac59f8add85166455af5af7 |
|
27-Oct-2016 |
Myles Watson <mylesgw@google.com> |
Remove deprecated UNUSED macro (1/5) Generated automatically with coccinelle /* This rule matches functions with arguments * that have an UNUSED(arg) in the body. */ @r1@ identifier arg; identifier fn; type t; parameter list[n] P; @@ fn(P, const t arg) { ... UNUSED(arg); ... } /* This rule removes the UNUSED line, and adds * UNUSED_ATTR to the parameter list. */ @depends on r1@ identifier r1.arg; identifier r1.fn; type r1.t; parameter list[r1.n] r1.P; typedef UNUSED_ATTR; @@ fn(P, - const t arg + UNUSED_ATTR GETRIDOFTHISCOMMA, const t arg ) { ... -UNUSED(arg); ... } Test: mma -j32 Change-Id: Idcaadd688d669d484e557becd050e69454508f3c
/system/bt/btif/src/btif_gatt_util.cc
|
6bd442f543972b072ef2cbbcf2f7c91202de1045 |
|
19-Oct-2016 |
Myles Watson <mylesgw@google.com> |
btif: Apply clang-format clang-format doesn't understand block quotes of this form: /* This is not handled well ** because there are two asterisks **/ cd btif/ # Replace '**' at the beginning of the line with ' *' sed 's/^[*][*]/ \*/' -i include/* src/* test/* co/* clang-format --style=file -i src/* include/* test/* co/* Test: mma -j32 Change-Id: I2477eae5480602d5b2fee5ec89c9ed7888022341
/system/bt/btif/src/btif_gatt_util.cc
|
96d078b59d2df937caad491a234fab7b1a414546 |
|
24-Aug-2015 |
Subramanian Srinivasan <subrsrin@codeaurora.org> |
Fixes setting of service uuid mask during BLE APCF scan Fixes setting of incorrect service uuid mask bytes in vendor specific command when service uuid mask length is less than the length of service uuid APCF filter. eg:ServiceUuid:12131215-0000-1000-8000-00805F9B34FB SvcMaskUuid:0000FFFF-0000-1000-8000-00805F9B34FB In the above eg, user is trying to apply 32 bit service uuid mask on 32 bit service uuid. But the stack treats the service uuid mask as 16 bits and inserts garbage values for the first 16 bits of service uuid mask in the VS command since the MSB bits of the mask are zeroes. This change fixes the scenario where service uuid mask length is less than service uuid length. Change-Id: Ie1aece1162b1ba7f4b7a3e9eea7eb5a074f85d62
/system/bt/btif/src/btif_gatt_util.cc
|
3c5451da9db18062af1c19e1f780c1de5bd88b31 |
|
25-Jun-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Simplify GATT characteristic read memory handling Pass read result in a fixed sized array instead of a pointer. This eliminates the need for any special memory management in btif. Change-Id: I2a33d74b12f3059050855c9fc90fff785cc985ba
/system/bt/btif/src/btif_gatt_util.cc
|
b7f64bc45dec7f7fec74ceb04874f322b9434bbf |
|
22-Jun-2016 |
Marie Janssen <jamuraa@google.com> |
btif: standardize types, #ifs Use standard types everywhere. Use standard style for #if statements: - #if (VAR_NAME == TRUE) - #if (VAR_NAME1 == TRUE && VAR_NAME2 == TRUE) Use __func__ instead of __FUNCTION__ Change-Id: Ic29d1d0b32c3ca9953752a4e5da6c28f45ec8895
/system/bt/btif/src/btif_gatt_util.cc
|
904aefe1a9c2808a7460ebb9896391acdaa39f4e |
|
04-May-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Rewrite btif_gattc_scan_filter_add_remove to new style Bug: 28485365 Change-Id: I618644b08ecffbb8d22186a7dc70189fb8e50a53
/system/bt/btif/src/btif_gatt_util.cc
|
713993d1784ab7c23aee1fa3cf1ab8676cc0aa69 |
|
21-Apr-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Convert BTIF code from C to C++ Modifications required: * added proper casting * moved variable definitions before goto statements * added 'extern "C"' markers where needed * renamed 'operator' to 'operator_name' Bug: 28485365 Change-Id: I903357967387207e678866c02e008f047f8263f6
/system/bt/btif/src/btif_gatt_util.cc
|