History log of /system/bt/hci/test/hci_layer_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
23546918662bba21937c4f8fb4c3373588710b5c 04-May-2015 Chih-Hung Hsieh <chh@google.com> Work around clang/llvm compilation problems.

These patches will allow us to compile the whole AOSP with clang/llvm
before all the following problems are fixed.
* Suppress warnings on unused variables.
* Remove unused static variables.
* Use only gcc to compile code that requires gcc atomic functions.
They should be converted to standard atomic functions later.
* Suppress warnings on redefined typedefs.

BUG: 20765701
Change-Id: I19bc0a256c19502fabcabd1ca158637a8b5741a2
/system/bt/hci/test/hci_layer_test.cpp
44802768c447ab480d4227b3a852a97d923b816d 24-Dec-2014 Sharvil Nanavati <sharvil@google.com> Add platform-independent logging macros to OSI.

These macros should replace ALOG* and the various trace macros
used throughout bluedroid. This change eliminates all uses of the
ALOG* macros in favor of the new ones.
/system/bt/hci/test/hci_layer_test.cpp
275791f4df2d8b04c48a97da5b2a191511f612ac 11-Nov-2014 Zach Johnson <zachoverflow@google.com> Fixed HAL layer ignore state handling

If the hci layer ever entered the ignore state,
synchronization death was immenent. This patch fixes that.
Also adds additional info print out when entering the ignored state.

Adds tests for the ignored state.

Doesn't solve the problem of why we were getting NULL back from
the buffer allocator, though. (The trigger for the ignored state.)

Bug: 18156298
/system/bt/hci/test/hci_layer_test.cpp
79ecab5d0418fde77e9afcdd451bd713af73e180 31-Oct-2014 Chris Manton <cmanton@google.com> Move controller module to device directory
/system/bt/hci/test/hci_layer_test.cpp
30e58068c1adaac7c5ccb3aa9cfb045d41d2a10e 27-Sep-2014 Zach Johnson <zachoverflow@google.com> Refactor btm_devctl reset sequence

* Controller bring up on blockable thread now
* Removed some duplicate and commands during controller bring up
* The code to make commands for controller bring up is smaller and better
/system/bt/hci/test/hci_layer_test.cpp
093948aaec3d88f3e52cae28b286d694f2645f82 24-Sep-2014 Zach Johnson <zachoverflow@google.com> Modulizification of the HCI layer

Shutdown is managed by the stack manager now, so we don't need to lock
around it. The fetching of the device address is a bit hacky right now,
until it becomes part of its own module.
/system/bt/hci/test/hci_layer_test.cpp
733a06ed9c38fc7f3b00cece9c88ac72b6cc3d98 09-Sep-2014 Zach Johnson <zachoverflow@google.com> Refactor bte_main into more of a shell.

Moves all HCI initialization into hci_layer. Removes superfluous exposed
functionality on the HCI layer (like turning the chip on/off and logging)

Also reorganizes some of hci_layer to group related functions together.
/system/bt/hci/test/hci_layer_test.cpp
bf8193bc81cc077e3acd245cacbe8e3789c4b9ff 08-Sep-2014 Zach Johnson <zachoverflow@google.com> HCI layer cleanup

- x_interface_t started to get annoyingly verbose, changed to x_t
- buffer_allocator is standalone now, no longer part of bte_main
- new controller_t to handle controller start up and hold controller state
- new hci_packet_factory to make packets, and hci_packet_parser
to read information out of packets.
/system/bt/hci/test/hci_layer_test.cpp
218f375e989a6189cd9a3227656be17bf614485b 03-Sep-2014 Zach Johnson <zachoverflow@google.com> Sink all HCI transmission management into the HCI layer

Begins the refactoring of the HCI related code in BTA, corrects some
hacks in the HCI layer (no more concept of internal commands, yay!),
and corrects the handling of multiple commands pending response in the
HCI layer.

This introduce a horrible hack external to the HCI layer to keep BTU HCI
handling of command complete/status events on the BTU task. That hack
will be removed when BTU moves to a reactor model and we have osi
threads to work with.
/system/bt/hci/test/hci_layer_test.cpp
7fa65f7d58903ad0458ebaaf52568ee429e6a893 30-Aug-2014 Zach Johnson <zachoverflow@google.com> Rename init/cleanup to start_up/shut_down in the HCI layer
/system/bt/hci/test/hci_layer_test.cpp
1e0ede7f5522a853fc39d4f183e508ed38f01636 28-Aug-2014 Zach Johnson <zachoverflow@google.com> Move HCI over to the osi allocators, and fix the tests accordingly
/system/bt/hci/test/hci_layer_test.cpp
bb170c1ed53a8c8ed70817cd6ce633cf94c05289 22-Aug-2014 Zach Johnson <zachoverflow@google.com> Modify eager reader to support multi-byte reads
/system/bt/hci/test/hci_layer_test.cpp
fbbd42b1fc1aae7a106f46275ab1fd86452cce78 16-Aug-2014 Zach Johnson <zachoverflow@google.com> Refactor HCI layer

Refactor the HCI layer for better testability.
A future CL will add a HAL implementation for multi channel transport.

Since btsnoop and vendor are modified, it's not easy to incrementally introduce these changes.
/system/bt/hci/test/hci_layer_test.cpp