-
- All Implemented Interfaces:
-
android.os.IBinder,android.os.IInterface,com.topjohnwu.superuser.internal.IRootServiceManager,java.lang.Runnable
@RestrictTo(value = RestrictTo.Scope.LIBRARY) public class RootServiceServer extends IRootServiceManager.Stub implements Runnable
Runs in the root (server) process. Manages the lifecycle of RootServices and the root process.
-
-
Method Summary
Modifier and Type Method Description static RootServiceServergetInstance(Context context)voidrun()voidconnect(IBinder binder)voidbroadcast(int uid)IBinderbind(Intent intent)voidunbind(ComponentName name)voidstop(ComponentName name, int uid)voidselfStop(ComponentName name)voidregister(RootService service)-
Methods inherited from class com.topjohnwu.superuser.internal.IRootServiceManager.Stub
asBinder, asInterface, onTransact -
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, clearCallingWorkSource, dump, dumpAsync, flushPendingCommands, getCallingPid, getCallingUid, getCallingUidOrThrow, getCallingUserHandle, getCallingWorkSourceUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, restoreCallingWorkSource, setCallingWorkSourceUid, transact, unlinkToDeath -
Methods inherited from class android.os.IBinder
getSuggestedMaxIpcSizeBytes -
Methods inherited from class com.topjohnwu.superuser.internal.IRootServiceManager
bind, connect, stop, unbind -
Methods inherited from class android.os.IInterface
asBinder -
Methods inherited from class java.lang.Runnable
run -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getInstance
static RootServiceServer getInstance(Context context)
-
run
void run()
-
broadcast
void broadcast(int uid)
-
unbind
void unbind(ComponentName name)
-
stop
void stop(ComponentName name, int uid)
-
selfStop
void selfStop(ComponentName name)
-
register
void register(RootService service)
-
-
-
-