4 Commits

Author SHA1 Message Date
Robert Quattlebaum
a7e68a6fd4 Revert "lowpan: Introduce new unit tests for data classes"
This reverts commit 93ea3ce9b8bd53f97df2171b3e3fbc70fa1b096d.

Reason for revert: Build failure in build 4190632 on branch `git_wear-master`.
Not all branches based on master include platform/frameworks/opt/net/lowpan.

Change-Id: I70fe6be8d71424e11a537daaa69c3f6cfae8e49d
2017-07-18 11:51:20 -07:00
Robert Quattlebaum
6cfc490ccd lowpan: AIDL refactor to no longer use property design pattern
After doing a considerable amount of thinking on the subject,
I decided that attempting to directly port wpantund's property-based
API over to Binder was a mistake, so this commit contains the required
changes to abandon that approach and go with a more traditional
Binder interface.

Bug: b/63708348
Change-Id: I685cd066fabe8470ef4bb456aea7d3bb515c3969
Test: Compiled and ran unit tests, manually confirmed lowpanctl
      and lowpan-service (with related changes) appeared to be
      working properly.
2017-07-18 00:42:18 -07:00
Robert Quattlebaum
93ea3ce9b8 lowpan: Introduce new unit tests for data classes
This change introduces new unit tests which confirm that
various data classes are being property marshalled
between their Java and C++ implementations.

Bug: b/63707448 b/63708348
Change-Id: I41d590b1e77dc41873c4b9e9bf1b7f1bf859f74e
Test: These tests both compile and pass
2017-07-18 00:42:17 -07:00
Robert Quattlebaum
03ffec0969 android.net.lowpan: Added basic unit tests.
This change has all of the bits for supporting LoWPAN unit tests.
Additional tests are being written to improve code coverage, but this
seems like a good start.

Bug: b/33073713
Test: Successfully ran enclosed unit tests
Change-Id: Ib3750be5052bf1a90bf871756e9121b047d3871f
2017-07-10 11:08:29 -07:00