akwizgran
|
9603ff93e9
|
Don't sign out when panic button is triggered if configured not to.
|
2020-08-13 10:19:33 +01:00 |
|
akwizgran
|
e7ac6aef8c
|
Improve readability.
|
2020-08-13 10:14:13 +01:00 |
|
akwizgran
|
196a2b7e22
|
Fix constructor arguments in unit test.
|
2020-08-12 17:19:13 +01:00 |
|
akwizgran
|
37712203d7
|
Hold a wake lock while signing out.
|
2020-08-12 16:47:02 +01:00 |
|
akwizgran
|
cc67237893
|
Don't redundantly use wakeful IO executor.
|
2020-08-12 16:47:02 +01:00 |
|
akwizgran
|
79f3a77e1a
|
Annotate methods that should be called with a wake lock.
|
2020-08-12 16:47:02 +01:00 |
|
akwizgran
|
3ecec61c25
|
Hold a wake lock while starting plugins.
|
2020-08-12 16:47:02 +01:00 |
|
akwizgran
|
1e2dc862ef
|
Hold a wake lock during app startup and shutdown.
|
2020-08-12 16:47:02 +01:00 |
|
akwizgran
|
452c3afbb3
|
Merge branch '1142-inject-plugin-factories' into 'master'
Use injection to create plugin factories
See merge request briar/briar!1270
|
2020-08-12 15:46:02 +00:00 |
|
akwizgran
|
9d60fbe957
|
Merge branch '1142-wakeful-polling' into 'master'
Hold a wake lock while polling
See merge request briar/briar!1269
|
2020-08-12 15:45:08 +00:00 |
|
akwizgran
|
434b8a37f3
|
Use wakeful IO executor for polling, reconnection tasks.
|
2020-08-10 17:24:04 +01:00 |
|
akwizgran
|
5e6a382b4b
|
Merge branch '1142-wakeful-tasks' into 'master'
Hold a wake lock while running scheduled tasks
See merge request briar/briar!1268
|
2020-08-10 12:54:00 +00:00 |
|
akwizgran
|
b5bb4aff7f
|
Merge branch 'master' into '1142-wakeful-tasks'
# Conflicts:
# bramble-android/src/main/java/org/briarproject/bramble/system/AndroidTaskScheduler.java
|
2020-08-10 12:37:50 +00:00 |
|
akwizgran
|
b0bf9d5a8c
|
Merge branch '1142-wake-lock-refactoring' into 'master'
Share a single wake lock among all holders
See merge request briar/briar!1267
|
2020-08-10 12:36:06 +00:00 |
|
akwizgran
|
1e6fd8bb74
|
Merge branch '1142-scheduler-interface' into 'master'
Use TaskScheduler for scheduling tasks
See merge request briar/briar!1266
|
2020-08-10 10:36:56 +00:00 |
|
akwizgran
|
eac93f43d3
|
Add comments for wake lock handling.
|
2020-08-10 11:36:05 +01:00 |
|
akwizgran
|
23f22af6e4
|
Add a comment, wrap logging in an if.
|
2020-08-10 11:26:29 +01:00 |
|
akwizgran
|
6e8e955dc2
|
Update javadocs.
|
2020-08-07 16:16:31 +01:00 |
|
akwizgran
|
2e2bc2d82f
|
Remove @Immutable annotation, which is no longer true.
|
2020-08-07 15:51:15 +01:00 |
|
akwizgran
|
1af951f8b4
|
Use injection to create plugin factories.
|
2020-08-07 15:11:03 +01:00 |
|
akwizgran
|
086c10abc0
|
Hold wake lock while polling.
|
2020-08-07 15:10:18 +01:00 |
|
akwizgran
|
b5341700be
|
Add wakeful IO executor.
|
2020-08-07 15:10:18 +01:00 |
|
akwizgran
|
d8be340120
|
Use a unique log tag for each wake lock instance.
|
2020-08-07 15:09:14 +01:00 |
|
akwizgran
|
7e0d21de38
|
Add tags for wake lock holders.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
1bab15baaf
|
Add fine logging for wake locks.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
af1a91c819
|
Fix circular dependency between scheduler and wake lock manager.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
e6c3f82fe2
|
Fix test expectations.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
b2840c1b00
|
Add method for executing a task on an executor wakefully.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
942bb28701
|
Hold a wake lock while running due tasks.
|
2020-08-07 15:09:11 +01:00 |
|
akwizgran
|
94dd0a2661
|
Hold a wake lock while scheduled tasks are running.
|
2020-08-07 15:08:53 +01:00 |
|
akwizgran
|
3aa00ecb3d
|
Pass executor to scheduler.
|
2020-08-07 15:08:53 +01:00 |
|
akwizgran
|
d5395d3d01
|
Shared wake lock must be a singleton.
|
2020-08-07 15:07:48 +01:00 |
|
akwizgran
|
b6b721e3b1
|
Use a wider safety margin to allow for scheduler delays.
|
2020-08-07 15:02:50 +01:00 |
|
akwizgran
|
7cdd05fd67
|
Log a warning if the wake lock expires before it's renewed.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
286f6f492c
|
Share a single OS wake lock among all holders.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
eb6b4aa850
|
Move wake lock properties into factory.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
adb657a5b6
|
Ensure we only call openOutputStream() once.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
d794777eb2
|
Refactor wake lock creation.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
090123579d
|
Use elapsed time since boot rather than wall clock time.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
f1bde4e75c
|
Fixed delay is easier to reconcile with sleeps than fixed rate.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
ac80a90ef3
|
Add Android task scheduler.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
dfefb88b32
|
Allow Android and headless to use different task schedulers.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
86641741a0
|
Wrap scheduler in an interface.
|
2020-08-07 15:02:05 +01:00 |
|
Torsten Grote
|
280f87065e
|
Merge branch 'reflected-bt-address' into 'master'
Use reflected BT address if we don't know our own address
See merge request briar/briar!1265
|
2020-08-07 13:59:00 +00:00 |
|
akwizgran
|
cbe645a4a3
|
Merge branch 'reflected-transport-properties' into 'master'
Reflect discovered transport properties back to the remote peer
See merge request briar/briar!1264
|
2020-08-07 13:46:52 +00:00 |
|
akwizgran
|
f4e9e10245
|
Remove unused constants.
|
2020-07-21 17:07:37 +01:00 |
|
akwizgran
|
e9f78bc486
|
Avoid redundantly storing unchanged properties and settings.
|
2020-07-21 17:06:02 +01:00 |
|
akwizgran
|
a4091be6f7
|
Ignore reflected address until we've made a Bluetooth connection.
This reduces the opportunities for contacts to reflect a false address.
|
2020-07-21 17:06:02 +01:00 |
|
akwizgran
|
49f0640278
|
Use reflected Bluetooth address if we don't know our own address.
|
2020-07-21 17:06:02 +01:00 |
|
akwizgran
|
d617e67006
|
Add method for plugins to get remote properties.
|
2020-07-21 17:06:02 +01:00 |
|