Add vpn hide xposed module
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package io.github.libxposed.service;
|
||||
|
||||
interface IXposedScopeCallback {
|
||||
oneway void onScopeRequestPrompted(String packageName) = 1;
|
||||
oneway void onScopeRequestApproved(String packageName) = 2;
|
||||
oneway void onScopeRequestDenied(String packageName) = 3;
|
||||
oneway void onScopeRequestTimeout(String packageName) = 4;
|
||||
oneway void onScopeRequestFailed(String packageName, String message) = 5;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package io.github.libxposed.service;
|
||||
import io.github.libxposed.service.IXposedScopeCallback;
|
||||
|
||||
interface IXposedService {
|
||||
const int API = 100;
|
||||
|
||||
const int FRAMEWORK_PRIVILEGE_ROOT = 0;
|
||||
const int FRAMEWORK_PRIVILEGE_CONTAINER = 1;
|
||||
const int FRAMEWORK_PRIVILEGE_APP = 2;
|
||||
const int FRAMEWORK_PRIVILEGE_EMBEDDED = 3;
|
||||
|
||||
const String AUTHORITY_SUFFIX = ".XposedService";
|
||||
const String SEND_BINDER = "SendBinder";
|
||||
|
||||
// framework details
|
||||
int getAPIVersion() = 1;
|
||||
String getFrameworkName() = 2;
|
||||
String getFrameworkVersion() = 3;
|
||||
long getFrameworkVersionCode() = 4;
|
||||
int getFrameworkPrivilege() = 5;
|
||||
|
||||
// scope utilities
|
||||
List<String> getScope() = 10;
|
||||
oneway void requestScope(String packageName, IXposedScopeCallback callback) = 11;
|
||||
String removeScope(String packageName) = 12;
|
||||
|
||||
// remote preference utilities
|
||||
Bundle requestRemotePreferences(String group) = 20;
|
||||
void updateRemotePreferences(String group, in Bundle diff) = 21;
|
||||
void deleteRemotePreferences(String group) = 22;
|
||||
|
||||
// remote file utilities
|
||||
String[] listRemoteFiles() = 30;
|
||||
ParcelFileDescriptor openRemoteFile(String name) = 31;
|
||||
boolean deleteRemoteFile(String name) = 32;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import io.nekohasekai.sfa.bg.ParceledListSlice;
|
||||
|
||||
interface IRootService {
|
||||
void destroy() = 16777114; // Destroy method defined by Shizuku server
|
||||
|
||||
ParceledListSlice getInstalledPackages(int flags, int userId) = 1;
|
||||
|
||||
void installPackage(in ParcelFileDescriptor apk, long size, int userId) = 2;
|
||||
|
||||
String exportDebugInfo(String outputPath) = 3;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import io.nekohasekai.sfa.bg.ParceledListSlice;
|
||||
|
||||
interface IShizukuService {
|
||||
void destroy() = 16777114; // Destroy method defined by Shizuku server
|
||||
|
||||
ParceledListSlice getInstalledPackages(int flags, int userId) = 1;
|
||||
|
||||
void installPackage(in ParcelFileDescriptor apk, long size, int userId) = 2;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
parcelable LogEntry;
|
||||
@@ -0,0 +1,3 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
parcelable PackageEntry;
|
||||
@@ -0,0 +1,3 @@
|
||||
package io.nekohasekai.sfa.bg;
|
||||
|
||||
parcelable ParceledListSlice;
|
||||
Reference in New Issue
Block a user