9e030fde05352ec4385d7baf6cc2af89e95e039c |
|
25-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Rename bt_bdaddr_t into RawAddress (3/3) Test: compilation test Change-Id: I4571721a0c6165a66450ee157a53d8d15bfc45d0
/system/bt/bta/hh/bta_hh_act.cc
|
c752e135d66f80c0b2efc35292ab8ddfd8227d61 |
|
16-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Replace BT_ADDR with bd_addr_t in bta_sys related code Test: compilation test Change-Id: Idab6e9c03621c5540b4a3a7fa537dff71a25ce3f
/system/bt/bta/hh/bta_hh_act.cc
|
135b7f68e4404872b9c5541146702c079e987877 |
|
16-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Replace BD_ADDR with bt_bdaddr_t in SDP and A2DP related code Test: compilation test Change-Id: I59a69d56377d38f349def6b24aa5c7d5a3d4f859
/system/bt/bta/hh/bta_hh_act.cc
|
011a61951975849b23a10d2be87e5268008d3407 |
|
10-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Use bt_bdaddr_t instead of BD_ADDR in HID related code Test: compilation test, sl4a GattReadTest Change-Id: I4e91375746fbd966608a830ff71de79be2b99e6c
/system/bt/bta/hh/bta_hh_act.cc
|
14d08604848a430871d30853894add7a3facee7b |
|
31-May-2017 |
jruthe <jruthe@google.com> |
bta: Update APPL_TRACE_* logs and call parameter Also update messages to use __func__ rather than hard-coding function names in log messages. Test: Pair two devices Change-Id: I8d3a9e293c71775caee420b8da6bc3e4385a46dd
/system/bt/bta/hh/bta_hh_act.cc
|
f11e42b1c2a1c185bf83b1d08e033c4e5aec54c2 |
|
24-Feb-2017 |
Ajay Panicker <apanicke@google.com> |
Revert "HID: Fix scroll issue with Apple Magic Mouse" Reverting due to the fact that this causes many HID issues with fugu. The general problem seems to be that this patch requires kernel 3.18 while fugu is currently on 3.10. Will investigate further later but reverting for now to fix fugu. This reverts commit 3e2201163b609aab6dcc0778158e790c3201353b. Fixes: 35667962 Fixes: 35712367 Change-Id: I536da368fc9796b26dc52892eda6501772683330
/system/bt/bta/hh/bta_hh_act.cc
|
3e2201163b609aab6dcc0778158e790c3201353b |
|
25-Oct-2016 |
Hemant Gupta <hemantg@codeaurora.org> |
HID: Fix scroll issue with Apple Magic Mouse Usecase 1) Pair and connect with Apple Magic Mouse 2) Scroll over HID mouse and see if pointer moves up or down on DUT. Observation: Scroll functionality does not work on DUT and mouse pointer stays still. Root Cause: From kernel 3.18 onwards, UHID flags are updated and following new flags are added. Support for handling same is missing in user space hid driver (bta_hh_co.cc) UHID_GET_REPORT UHID_GET_REPORT_REPLY UHID_SET_REPORT UHID_SET_REPORT_REPLY Fix: Add support for set report and get report in HID user space because of changes in uhid kernel driver with kernel changes for kernel 3.18. Apple Magic Mouse scroll functionality does not work without this fix, as Apple Mouse requires set report from HID host for it to start working properly wrt Scroll functionality. Bug: 35306202 Change-Id: I90230b76d68e9275dcacd9f46f03e312ddf2fa30
/system/bt/bta/hh/bta_hh_act.cc
|
f33b6f434f086b20fabe5913016bc423ac975057 |
|
23-Nov-2016 |
Marie Janssen <jamuraa@google.com> |
readability fix: No assigns in if conditionals Coccinelle-assisted: @@ variable i; expression E; statement S1, S2; @@ + i = E; if ( ( - (i = E) + i != ... | - (i = E) + i == ... | - (i = E) + i < ... | - (i = E) + i > ... | - (i = E) + i <= ... | - (i = E) + i >= ... | - (i = E) + i ) ) S1 else S2 for file in $(find . -name "*.cc"); do spatch --sp no-if-assigns.cocci --in-place $file done clang-format --style=file -i bta/**/*.cc Test: mma -j37 and basic sanity testing on angler, sailfish Change-Id: I41a2964afac347c24e13869b6c172e321e646091
/system/bt/bta/hh/bta_hh_act.cc
|
1baaae3f34a667058e7f0c5f778357d98320cf38 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Fix comment formatting after clang-format Test: mma -j32 Change-Id: Ic945ac421b1918527105c59674eda89afd3d4126
/system/bt/bta/hh/bta_hh_act.cc
|
cd1fd07f1306e08fe048682dd5918987e579f937 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Apply clang-format clang-format -i --style=file bta/*/* (twice) Test: mma -j32 Change-Id: Ib118b1dfb6a34f9a5bfe153d65841e9041165264
/system/bt/bta/hh/bta_hh_act.cc
|
8af480e24549ba51a3f6858d9d9af504715e0bea |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Remove double asterisks in comments Double asterisks at the beginning of the line sed -i s,"^[*][*]"," *", bta/*/* Double asterisks after a space sed -i s,"^ [*][*]\([^*]\)"," *\1", bta/*/* sed -i s,"^ [*][*]$"," *", bta/*/* Test: mma -j32 Change-Id: Ib83b802c7000176683b4e7f24d1255b3c2c6c01c
/system/bt/bta/hh/bta_hh_act.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/bta/hh/bta_hh_act.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/bta/hh/bta_hh_act.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/bta/hh/bta_hh_act.cc
|
e9e58ced195ec2c983c7723c9cbdabd45eb0f2fd |
|
17-Jun-2016 |
Marie Janssen <jamuraa@google.com> |
bta: use standard types 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__ Fix some debug statements to use __func__ Change-Id: Ib86de4de9f14529ecaa4f71597260e3b5785360b
/system/bt/bta/hh/bta_hh_act.cc
|
b7938c1866dd8b92977e3ba3632de77fd877bace |
|
27-May-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Convert HID and Device Manager BTA code to C++ These are the only places that use BTA GATTC API. After this change it's possible to change GATT API to use C++ types as arguments. Bug: 28485365 Change-Id: Idf83396f4bc3a2cc8a9b41f69da5d033af1be678
/system/bt/bta/hh/bta_hh_act.cc
|