Commit Graph

75 Commits

Author SHA1 Message Date
topjohnwu
9d245f0587 Update ShellImpl task scheduling
- Prevent execTask starvation: tasks scheduled through execTask are
  now queued along with submitted tasks, executing in order of
  submission
- waitAndClose now properly waits for all tasks to complete, including
  both synchronous and asynchronous tasks
2024-06-26 19:01:04 -07:00
topjohnwu
c084ef5d32 Deprecate FLAG_REDIRECT_STDERR 2024-06-24 18:06:49 -07:00
vvb2060
ee17e20a4d Update gradle 2023-09-03 23:03:12 -07:00
topjohnwu
697db8d8ce Update AGP 2023-05-26 00:31:34 -07:00
topjohnwu
cca5732f2e Update copyright notice 2023-01-09 00:25:22 +08:00
topjohnwu
cae7a272fe Update Android Studio 2022-05-18 01:40:48 -07:00
topjohnwu
691af9e6d4 Implement I/O optimized for streaming 2022-05-03 22:13:05 -07:00
topjohnwu
17c67a57dd Update Javadoc and Example 2022-05-02 04:04:09 -07:00
topjohnwu
37523ceec6 Cleanup example code 2022-05-01 00:41:51 -07:00
topjohnwu
f8610b8bf6 Remove the busybox module 2022-04-30 23:59:51 -07:00
topjohnwu
1325e6b2db Final API adjustments 2022-04-29 03:28:03 -07:00
topjohnwu
af263905d6 Make OpenMode part of the API 2022-04-29 00:52:34 -07:00
topjohnwu
d14c711955 FileSystemApi -> FileSystemManager 2022-04-26 23:54:09 -07:00
topjohnwu
74d7d23e4b Cleanup API surface 2022-04-23 15:58:13 -07:00
topjohnwu
3eaeea1403 Rename module to nio 2022-04-22 04:37:43 -07:00
topjohnwu
b6a4d3e95b Make ExtendedFile part of public API 2022-04-22 00:34:00 -07:00
topjohnwu
1e0f5300ca Implement RemoteFileChannel 2022-04-21 03:36:15 -07:00
topjohnwu
47c8d2c9c2 Replace su(...)/sh(...) with cmd(...) 2022-02-27 14:47:06 -08:00
topjohnwu
715bb8f2a4 Update RootServiceServer to meet spec 2022-02-27 03:58:37 -08:00
topjohnwu
a458697a43 Bump the minSdk of io module to 21 2022-02-26 22:00:26 -08:00
topjohnwu
9f2fff6095 Bump minSdkVersion to 19 2022-02-26 04:10:25 -08:00
topjohnwu
99e9b1deed Multiuser daemon service support 2022-02-25 05:03:20 -08:00
topjohnwu
00a56225ec Update AGP 2022-02-22 18:52:21 -08:00
topjohnwu
93f1131a66 Fix build errors 2021-12-09 04:01:22 -08:00
topjohnwu
4f01d47906 Properly handle stopSelf() 2021-12-05 06:11:00 -08:00
topjohnwu
aa3a33143e Several minor changes 2021-12-03 04:13:07 -08:00
topjohnwu
23659fa64e Update Android Studio 2021-08-07 04:33:26 -07:00
topjohnwu
cfcf77a3e9 More graceful cleanup 2021-02-01 06:08:05 -08:00
topjohnwu
f1bb9bd722 Add stress test into example 2021-02-01 05:46:00 -08:00
topjohnwu
42c3104bd8 Refresh project 2021-01-30 13:00:44 -08:00
topjohnwu
6eab4e54ed Use Builder pattern for Shell construction 2020-08-02 05:47:38 -07:00
topjohnwu
74c02bca4b Update CallbackList implementation 2020-08-01 05:46:22 -07:00
topjohnwu
d3c4d4998e Update examples and Javadoc
Demo RootService with Messenger
2020-07-29 00:07:30 -07:00
topjohnwu
9d79469457 Some cleanup touches 2020-07-28 04:58:41 -07:00
topjohnwu
1a327c8ab6 Update proguard rules for the service module 2020-07-28 03:44:49 -07:00
topjohnwu
73bdd51dfa Add daemon mode support 2020-07-27 06:53:48 -07:00
topjohnwu
e73cbfb3b3 Properly format test.cpp 2020-07-26 05:52:15 -07:00
topjohnwu
19461ab3b9 Add native JNI to root service to example 2020-07-26 05:41:19 -07:00
topjohnwu
6d9f30e81b Introduce RootService
Remote root services using Binder IPC
2020-07-26 02:06:08 -07:00
topjohnwu
5b63c1213e Deprecate classes/methods 2020-07-19 03:13:30 -07:00
topjohnwu
5363a79819 Kotlin DSL! 2020-07-17 22:41:15 -07:00
topjohnwu
d053c3fa8c Refresh the project 2020-07-17 16:27:24 -07:00
topjohnwu
a0b20a0106 Add nullability annotations 2019-09-11 22:02:10 -04:00
topjohnwu
9f15a6d879 Introduce DefaultContainer 2019-02-03 09:30:47 -05:00
topjohnwu
d0a75d1f80 Move I/O to separate module 2019-01-04 03:58:21 +08:00
topjohnwu
ada088e572 Move busybox to separate module 2019-01-04 02:43:58 +08:00
topjohnwu
fd41abec31 Rename module to core 2019-01-04 01:06:32 +08:00
topjohnwu
0fb498af9b Support multiple initializers 2019-01-03 19:10:23 +08:00
topjohnwu
28f1f97944 Revert "Deprecate ContainerApp"
This reverts commit 9e1beacec0.
2018-11-25 03:14:39 -05:00
topjohnwu
9e1beacec0 Deprecate ContainerApp
Instead of asking developers to extend Application for storing the global shell,
libsu is updated to have the ability to inject the root shell directly into
the Application's context. This auto injection feature is used by default
unless the developer explicitly override the Container with a new instance.

This means we do not need ContainerApp anymore. Deprecate it so developers
no longer uses the useless class.
2018-11-25 02:15:46 -05:00