History log of /system/bt/hci/test/hci_hal_h4_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b9757ee3c9f1bb4d521624606db5b2e7ba722eeb 20-Nov-2015 Andre Eisenbach <eisenbach@google.com> Remove "block" parameter from eager_reader_read()

Setting this parameter to true did not work and did not behave as
expected. The functionality provided by this parameter is also not
necessary, thus removing code.

Change-Id: I29e60da4adf1d1fc84d8ec9a590de89e94bb7900
/system/bt/hci/test/hci_hal_h4_test.cpp
bdd19e0873854567bb6bd9bc8905a87a3a4744c4 11-Sep-2015 Andre Eisenbach <eisenbach@google.com> Workaround for H4 HCI stream corruption during LE scans

Sometimes, during result-heavy LE scans, the UART byte stream can become
corrupted, leading to assertions caused by mis-interpreting the bytes
following the corruption.

This workaround looks for tell-tale signs of a BLE event and attempts to
skip the correct amount of bytes in the stream to re-synchronize onto a
packet boundary.

Bug: 23934838
Change-Id: Ifadaecf8077cb1defc7134c59c97302fca660f81
/system/bt/hci/test/hci_hal_h4_test.cpp
c196f214c5ae349ec2022f8d3cbaf56910b3b9f8 24-Sep-2015 Pavlin Radoslavov <pavlin@google.com> GKI cleanup - Moved GKI_get_os_tick_count() to OSI

* Renamed function GKI_get_os_tick_count() to time_get_os_boottime_ms()
and moved it to the OSI module: to the new file osi/src/time.c .
The corresponding header file is osi/include/time.h

* Added unit tests for function time_get_os_boottime_ms() in file
osi/test/time_test.cpp

* Removed "osi/include" from the list of paths to search for include
files. This is needed, because file name collision of "time.h"
in osi/include and the system <time.h>

Change-Id: I934be0c8f392150a352947326546bcf8aa070f97
/system/bt/hci/test/hci_hal_h4_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_hal_h4_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_hal_h4_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_hal_h4_test.cpp
bb170c1ed53a8c8ed70817cd6ce633cf94c05289 22-Aug-2014 Zach Johnson <zachoverflow@google.com> Modify eager reader to support multi-byte reads
/system/bt/hci/test/hci_hal_h4_test.cpp
b7ddf13bca40c04aacf1ee086501389896cc2072 21-Aug-2014 Zach Johnson <zachoverflow@google.com> Implement an HCI HAL for MCT

Unit tested. Needs verification on actual device (i.e. HDP profile).
/system/bt/hci/test/hci_hal_h4_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_hal_h4_test.cpp