History log of /system/bt/vendor_libs/test_vendor_lib/include/command_packet.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3c4f59fc27e36e4489c7f7fd6e330819b16fbc4f 17-Sep-2016 Jorge E. Moreira <jemoreira@google.com> test_vendor: Refactor scheduling of dual_mode_controller event handling

Moved all controller actions out of read callbacks to task callbacks to
avoid race conditions when modifying internal controller state.

Change-Id: Ie8bb762992755db2dddb6b7bb6a4fe52ab2d0020
/system/bt/vendor_libs/test_vendor_lib/include/command_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/command_packet.h
83cf95e0a1f79c2e18aa3f5fc65c71ecb2665dbc 05-Aug-2016 Jorge E. Moreira <jemoreira@google.com> No longer uses the macro DISALLOW_COPY_AND_ASSIGN

Change-Id: I3403cdfa38fabf56ffe0854064eeb0ae38eb5a4a
/system/bt/vendor_libs/test_vendor_lib/include/command_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/command_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/command_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/command_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/command_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/command_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/command_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/command_packet.h