Add vpn hide xposed module

This commit is contained in:
世界
2026-01-10 21:31:04 +08:00
parent 8a8686b3df
commit cd83cbfe9e
152 changed files with 12994 additions and 2782 deletions
@@ -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;