History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLoggerHal.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
70b4f7f1b8f57c5ae449dedb48edc0d07b6b5c41 14-Apr-2016 Samuel Tan <samueltan@google.com> Add FrameParser

Add FrameParser, a utility class that parses the contents
of a network frame, and stores it in its public member fields.
This utility will be used to print out summarized versions of
the contents of packet fate report frames.

In this initial implementation of FrameParser, we only parse out
the information we are interested in printing (i.e. the most specific
networking protocol, and the type of packet within this protocol).

BUG: 28150622
Change-Id: Ice7dad5a7800736605043688955027893fadffc7
TEST: 'runtest frameworks-wifi -c \
com.android.server.wifi.util.FrameParserTest' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLoggerHal.java
09b1d0786d05436d524d7556c269e665a0962ee6 01-Apr-2016 mukesh agrawal <quiche@google.com> WifiNative: add infrastructure for packet fates

1) Define the Java classes that the C++ code will
copy packet fate information into.
2) Define the constants that will be used to represent
fates. (This is needed to write readable tests for
item 1.)
3) Declare the native methods on the Java side.
(This is required for registerNatives to continue
to work, after we add the new methods on the C++
side.)

BUG=27528124
TEST=unit tests

Change-Id: If0930f645f95e60c8cb471b10fcb740273159e05
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLoggerHal.java