History log of /system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
015834df156be6b7365ce1cf00e31ddf72f2c67b 30-Sep-2016 Myles Watson <mylesgw@google.com> vendor_lib: Apply clang-format with the new config

cd vendor_libs/test_vendor_lib/
clang-format ../linux/bt_vendor_linux.c -style=file -i
clang-format include/* test/* src/* -style=file -i

Update the style guide since clang-format help uses the
-style=file option.

Test: mm -j32
Change-Id: I166adfb2bb9a87fefa1242c91e5f180011caa2ad
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
354a9bf886b2100f484cd0217d00aa4ef008759f 14-Sep-2016 Myles Watson <mylesgw@google.com> test_vendor: Remove unnecessary const from params

Change-Id: I6502e3e78f139722bb887640dcc00ee79f1b0044
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
b7d64b20717e3f597bb4e3881f08cb5d07fa1b02 29-Aug-2016 Myles Watson <mylesgw@google.com> test_vendor: Remove using directives from headers

Change-Id: I83358cbb68b10e80e4e553a6657fcb38cfcb928f
Signed-off-by: Myles Watson <mylesgw@google.com>
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
3be0c20a70a0891d495916e6b733f7805300db25 29-Aug-2016 Myles Watson <mylesgw@google.com> test_vendor: Use BtAddress instead of vectors

Change-Id: I229f2a4f93a9219a502960e6d91f514738f3b3c8
Signed-off-by: Myles Watson <mylesgw@google.com>
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
5dc0d15e7865104d13be75c06de4b9158ce7dff4 17-Aug-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy warnings in bt.

* Add explicit keyword to conversion constructors,
or add NOLINT to implicit conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters,
or add NOLINT to keep same callback function signature.
Bug: 30407689
* Use const reference type for loop index variables to avoid unnecessary copy.
Bug: 30413223
* Use const reference type to avoid unnecessary copy.
Bug: 30413862
Test: build with WITH_TIDY=1

Change-Id: I8237d332f32d7be09ab72a8de82160fdb776dcd1
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
65ee728284db16e1562fbbd879f6ccae3ef7d0fa 10-Aug-2016 Jorge E. Moreira <jemoreira@google.com> Added missing #include directives

Change-Id: Ia26cd6775699c65a75d94003c09730926835f7a3
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
ea3ede2474a8980387b67bc7db2b661e7219b468 05-Aug-2016 Jorge E. Moreira <jemoreira@google.com> Using include paths relative to vendor library dir

Change-Id: I6b5dfa4098cdf2eda21d3fae60729b765532c2f9
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
3398730eac95049f01da0da53629ae77d212857a 01-Jul-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings in system/bt.

* Declare conversion constructors as 'explicit'.
* Add NOLINT to implicit converters.

Bug: 28341362
Change-Id: I81fecf19c0ee2e64dd6778b3dea78e04f111bfb4
Test: build with clang-tidy
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
99195bc17fe1f7c4a7e43590d9bce550b177a931 26-May-2016 Myles Watson <mylesgw@google.com> test_vendor_lib: refactor packet constructors

Make it simpler to append bytes to payloads, since that's a common
operation.

Change-Id: I7fc975fb999add8e1a360b91bdae869d6d7d2029
Signed-off-by: Myles Watson <mylesgw@google.com>
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
e49120d722142f593687856a71cbffadc3caa530 25-May-2016 Myles Watson <mylesgw@google.com> test_vendor_lib: run clang-format with brillo opts

Change-Id: Ie2ead0a020e2358696a2f0e26f3c76a9dd29e266
Signed-off-by: Myles Watson <mylesgw@google.com>
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
6f5f0540f1557c87349d9f3378a90979c175ed1d 21-Aug-2015 Dennis Cheng <dennischeng@google.com> test_vendor_lib: Clean up controller documentation and address style
issues

This upload cleans up the command documentation in the controller's
header file and also fixes a few logical errors related to command
status event packets. Some style fixes are also included, such as
removing braces for single line conditionals to conform to remain
consistent with the rest of the project.

Bug: 21586676
Change-Id: Ife5e608e43c3030e76eff8ea79ce6cad0b2c10a3
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
b2d45eb7cbd4f2de5f0101915981a87392ccf625 29-Jul-2015 Dennis Cheng <dennischeng@google.com> test_vendor_lib: Use base::Thread

This upload starts the replacement of the event loop in HciTransport
with libbase's MessageLoopForIO. A global instance of the new
VendorManager class now manages the trio of previously global objects
(i.e. HciTransport, HciHandler, and BREDRController). Note that the new
libbase event loop structure doesn't actually handle anything right now
and the functionality will come in a future change.

Bug: 21586676
Change-Id: Id74392e2a566e06445eb65269f0142265087d47d
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
a7077ee9b7482708fa7272837a527f64bb470988 28-Jul-2015 Dennis Cheng <dennischeng@google.com> test_vendor_lib: Use libbase's CHECK/DCHECK

This upload pulls in libchrome to the test vendor library and uses CHECK
and DCHECK from base/logging.h.

Bug: 21586676
Change-Id: Ia88b4aa3728493d798e8d36076a351a00fad7c6b
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
5f8a46aae144f416d695010ae61c47116562a615 24-Jul-2015 Dennis Cheng <dennischeng@google.com> test_vendor_lib: Dummy inquiry result

This upload mainly consists of stub command implementations to get
Bluetooth into the enabled state. The last command handled is the
inquiry command. Upon inquiry, the controller currently sends back a
dummy inquiry result for a fake device. This fake device appears under
the "Available devices" list in the UI. Bluetooth is able to be toggled
off and on from the UI as well (i.e. it doesn't crash after switching to
on for a few seconds).

Bug: 21586676
Change-Id: Ifd42a6ab4b9338afd461d2ef4f809bdd62fcf79f
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h
f3b1820e1676261886a6537e1f6abac6a35ed6d4 16-Jun-2015 Dennis Cheng <dennischeng@google.com> test_vendor_lib: Initial commit

Basic vendor library for a test Bluetooth controller. Currently consists
of mostly stub functions and objects and can only handle the reset
command (by immediately responding with a command complete event).
Implemented through a global EventDispatcher object which waits for data
from the HCI and directly returns the appropriate response.

Eventually, the dispatcher will manage a fake controller object that
will provide callbacks to be executed whenever events are processed by
the dispatcher. Unit tests are still in progress and will be in the next
upload.

Bug: 21586676
Change-Id: I1c6746f8b0f1732b89a1da13facecdd49b5ac1b6
/system/bt/vendor_libs/test_vendor_lib/include/event_packet.h