summaryrefslogtreecommitdiffhomepage
path: root/mullvad-jni/src/daemon_interface.rs
AgeCommit message (Collapse)AuthorFilesLines
2024-06-24Refactor daemon init and deinit on AndroidDavid Lönnhager1-13/+0
2024-05-29Migrate to gRPCDavid Göransson1-425/+5
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-03-19Implement JNI support for Server IP overridesDavid Göransson1-2/+45
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-11/+10
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-08Add support for custom lists in jniJonatan Rhodin1-0/+31
2024-01-04Rename Android enum variants to conform to lint rulesLinus Färnstrand1-2/+2
2023-12-21Support new tunnel state API in the Android frontend.David Göransson1-8/+0
Remove `get_current_location` from jni.
2023-12-21Handle am.i.mullvad.net with internal daemon eventSebastian Holmin1-1/+0
Add `geoip::GeoIpHandler`, which sends an `InternalDaemonEvent::LocationEvent` when the location arrives. It also handles aborting in-flight requests and retries.
2023-10-31Replace UpdateRelaySettings with SetRelaySettingsDavid Lönnhager1-3/+3
2023-10-16Add piping for google play payment API requestsJonathan1-1/+21
This commit adds all of the basic piping in order to let Android use the JNI interface in order to make requests to our API pertaining to google play payment initialization and status.
2023-06-07Add android support for quantum tunneling in the daemonJonatan Rhodin1-0/+17
2023-05-24Fix warnings pointed out by ClippyLinus Färnstrand1-17/+17
2023-05-09Propagate udp2tcp settings between app and daemonCubxity1-1/+11
Co-authored-by: Albin <albin@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net> Co-authored-by: Odd Stranne <odd@mullvad.net>
2022-09-22Remove shutdown daemon commandEmīls Piņķis1-1/+1
2022-05-12Adapt new device event/state to AndroidAlbin1-2/+2
2022-05-05Hide private device type in `mullvad-daemon`David Lönnhager1-2/+2
2022-03-31Add update_device to Android interfaceDavid Lönnhager1-0/+10
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-1/+1
2022-03-14Update Rust-end JNI and Android IPCDavid Lönnhager1-17/+45
2021-06-18Update account history RPCsDavid Lönnhager1-4/+4
2021-01-28Update Android daemon interfaceDavid Lönnhager1-13/+49
2021-01-22Start without version cache instead of using incorrect defaultsDavid Lönnhager1-1/+3
2020-12-04Implement `DaemonInterface::set_dns_options`Janito Vaqueiro Ferreira Filho1-1/+9
2020-10-09Update Android daemon interface with new daemon command dataOskar Nyberg1-3/+5
2020-09-25Add `DaemonInterface::remove_account_from_history`Janito Vaqueiro Ferreira Filho1-0/+8
2020-09-01Update Android daemon interfaceDavid Lönnhager1-29/+22
2020-05-11Implement `DaemonInterface::submit_voucher`Janito Vaqueiro Ferreira Filho1-1/+12
2020-04-28Implement `DaemonInterface::create_new_account`Janito Vaqueiro Ferreira Filho1-0/+10
2020-04-27Adjust android code for new mullvad-rpcEmīls1-1/+1
2020-03-30Implement `DaemonInterface::set_wireguard_mtu`Janito Vaqueiro Ferreira Filho1-0/+8
2020-02-24Rename `ManagementCommand` into `DaemonCommand`Janito Vaqueiro Ferreira Filho1-25/+22
2020-02-15Implement `MullvadDaemon.reconnect()`Janito Vaqueiro Ferreira Filho1-7/+6
2020-02-13Add setAutoConnect to mullvad-jniEmīls1-0/+8
2020-02-11Fetch account history from daemonEmīls1-0/+8
Add JNI functions to call into the daemon to fetch the account history.
2020-02-10Implement `DaemonInterface::set_allow_lan` methodJanito Vaqueiro Ferreira Filho1-0/+8
2019-12-09Always have a command sender in `DaemonInterface`Janito Vaqueiro Ferreira Filho1-16/+4
2019-11-27Add reconnect to android-jniLinus Färnstrand1-0/+7
2019-10-24Add getWwwAuthToken to mullvad-jniEmīls Piņķis1-0/+11
2019-10-17Upgrade err-derive to 0.2.1Linus Färnstrand1-2/+2
2019-10-07Update `get_version_info` API in `DaemonInterface`Janito Vaqueiro Ferreira Filho1-4/+1
2019-09-05Adjust mullvad-jni to support new public key structureEmīls Piņķis1-2/+1
2019-08-19Add method for validating wireguard keyEmīls Piņķis1-0/+7
2019-07-31Implement `DaemonInterface::shutdown`Janito Vaqueiro Ferreira Filho1-0/+4
2019-07-31Implement `DaemonInterface::get_version_info`Janito Vaqueiro Ferreira Filho1-0/+12
2019-07-30Implement `DaemonInterface::get_current_version`Janito Vaqueiro Ferreira Filho1-0/+8
2019-06-28Use `TunnelState` in `mullvad-jni`Janito Vaqueiro Ferreira Filho1-4/+9
2019-06-26Add KeygenEvent to mullvad-jniEmīls Piņķis1-5/+3
2019-06-18Refactor daemon interface locksJanito Vaqueiro Ferreira Filho1-5/+9
Reduce the amount of time threads are blocked.
2019-06-13Implement `DaemonInterface::get_current_location`Janito Vaqueiro Ferreira Filho1-2/+10
2019-06-11Implement `DaemonInterface::get_state`Janito Vaqueiro Ferreira Filho1-1/+9