aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/android/app
Commit message (Collapse)AuthorAgeFilesLines
* libipsec: Pass the same data to del_policy() as to add_policy()Tobias Brunner2016-02-041-2/+3
| | | | | | We already do this for the other kernel interfaces. Fixes e1e88d5adde0 ("libipsec: Don't attempt deletion of any non-IPsec policies")
* android: Suppress compiler warnings about missing field initializersTobias Brunner2015-11-131-0/+1
| | | | | Triggered by -Wextra for many INIT usages where we only partially initialize a struct.
* android: Add some (older) unit testsTobias Brunner2015-11-123-0/+381
|
* android: Properly handle shorter types in BufferedByteWriterTobias Brunner2015-11-121-0/+86
| | | | | | | | In Java all integer types are signed, when a negative integer is casted to a larger type (e.g. int to long) then due to sign extension the upper bytes are not 0. So writing that value to a byte array does not produce the expected result. By overloading the putX() methods we make sure to upcast the values correctly.
* android: Migrate to the Gradle build systemTobias Brunner2015-11-12128-0/+16488
This uses a manual way to trigger the NDK build (the default with on-the-fly Android.mk files does not work for us).