Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | android: Migrate to the Gradle build system | Tobias Brunner | 2015-11-12 | 1 | -159/+0 |
| | | | | | This uses a manual way to trigger the NDK build (the default with on-the-fly Android.mk files does not work for us). | ||||
* | android: Fix kernel-net implementation on Android 4.3 and earlier | Tobias Brunner | 2015-07-28 | 1 | -0/+2 |
| | | | | | | | | | | Before fwmarks were used protected sockets were bound to the outbound interface via SO_BINDTODEVICE. This does not always seem to work well together with our connect()/getsockname() trick if the server is covered by the traffic selectors. Calling protect() again after disconnecting the socket seems to help, but if there is no connectivity at all we still get the virtual IP back (maybe protect() does not bind the socket to any interface then). | ||||
* | android: Moved chunk_from_byte_array and byte_array_from_chunk helper functions | Tobias Brunner | 2013-01-14 | 1 | -0/+32 |
| | |||||
* | android: Added a global variable to check the current SDK version | Tobias Brunner | 2012-09-24 | 1 | -0/+18 |
| | |||||
* | android: Fix conversion of actual Unicode strings (i.e. bytes!=chars) | Tobias Brunner | 2012-09-17 | 1 | -5/+6 |
| | |||||
* | android: Make sure NULL jstrings are converted properly | Tobias Brunner | 2012-08-31 | 1 | -5/+8 |
| | |||||
* | Moved Java to C string conversion function to android_jni header file | Tobias Brunner | 2012-08-13 | 1 | -0/+19 |
| | |||||
* | Native counterpart of VpnService.Builder added, exposed by charonservice | Tobias Brunner | 2012-08-13 | 1 | -0/+1 |
| | |||||
* | Helper function added to handle Java exceptions in native code | Tobias Brunner | 2012-08-13 | 1 | -0/+18 |
| | |||||
* | Moved CharonVpnService to logic sub-package | Tobias Brunner | 2012-08-08 | 1 | -2/+2 |
| | |||||
* | Added functions to attach/detach native threads to the JVM | Tobias Brunner | 2012-08-08 | 1 | -0/+19 |
| | | | | | | Even though native threads are automatically detached from the JVM with help of a thread-local destructor it is recommended to detach as soon as possible as local JNI references are not freed until a thread detaches. | ||||
* | Moved JNI helper macros to a separate file | Tobias Brunner | 2012-08-08 | 1 | -0/+46 |
Also initialize a reference to the CharonVpnService class during JNI_OnLoad, which allows us later to call methods from C to Java. |