Tabnine Logo
com.lody.virtual.server
Code IndexAdd Tabnine to your IDE (free)

How to use com.lody.virtual.server

Best Java code snippets using com.lody.virtual.server (Showing top 20 results out of 315)

origin: android-hacker/VirtualXposed

@Override
public void addService(String name, IBinder service) throws RemoteException {
  if (name != null && service != null) {
    ServiceCache.addService(name, service);
  }
}
origin: android-hacker/VirtualXposed

/**
 * Construct the stub at attach it to the interface.
 */
public Stub() {
  this.attachInterface(this, DESCRIPTOR);
}
origin: android-hacker/VirtualXposed

  @Override
  public void removeService(String name) throws RemoteException {
    if (name != null) {
      ServiceCache.removeService(name);
    }
  }
}
origin: android-hacker/VirtualXposed

public INotificationManager getService() {
  if (mRemote == null ||
      (!mRemote.asBinder().pingBinder() && !VirtualCore.get().isVAppProcess())) {
    synchronized (VNotificationManager.class) {
      final IBinder pmBinder = ServiceManagerNative.getService(ServiceManagerNative.NOTIFICATION);
      mRemote = INotificationManager.Stub.asInterface(pmBinder);
    }
  }
  return mRemote;
}
origin: android-hacker/VirtualXposed

@Override
public IBinder getService(String name) throws RemoteException {
  if (name != null) {
    return ServiceCache.getService(name);
  }
  return null;
}
origin: android-hacker/VirtualXposed

@Override
public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException {
  try {
    return super.onTransact(code, data, reply, flags);
  } catch (Throwable e) {
    e.printStackTrace();
    throw e;
  }
}
origin: android-hacker/VirtualXposed

@Override
public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException {
  try {
    return super.onTransact(code, data, reply, flags);
  } catch (Throwable e) {
    e.printStackTrace();
    throw e;
  }
}
origin: android-hacker/VirtualXposed

@Override
public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException {
  try {
    return super.onTransact(code, data, reply, flags);
  } catch (Throwable e) {
    e.printStackTrace();
    throw e;
  }
}
origin: android-hacker/VirtualXposed

public boolean uninstallPackage(String pkgName) {
  try {
    return getService().uninstallPackage(pkgName);
  } catch (RemoteException e) {
    // Ignore
  }
  return false;
}
origin: android-hacker/VirtualXposed

public void scanApps() {
  try {
    getService().scanApps();
  } catch (RemoteException e) {
    // Ignore
  }
}
origin: android-hacker/VirtualXposed

public boolean uninstallPackageAsUser(String pkgName, int userId) {
  try {
    return getService().uninstallPackageAsUser(pkgName, userId);
  } catch (RemoteException e) {
    // Ignore
  }
  return false;
}
origin: android-hacker/VirtualXposed

private Object getRemoteInterface() {
  final IBinder binder = ServiceManagerNative.getService(ServiceManagerNative.VIRTUAL_LOC);
  return IVirtualLocationManager.Stub.asInterface(binder);
}
origin: android-hacker/VirtualXposed

private Object getRemoteInterface() {
  return IActivityManager.Stub
      .asInterface(ServiceManagerNative.getService(ServiceManagerNative.ACTIVITY));
}
origin: android-hacker/VirtualXposed

private Object getRemoteInterface() {
  final IBinder binder = ServiceManagerNative.getService(ServiceManagerNative.VS);
  return IVirtualStorageService.Stub.asInterface(binder);
}
origin: android-hacker/VirtualXposed

private Object getRemoteInterface() {
  final IBinder binder = ServiceManagerNative.getService(ServiceManagerNative.DEVICE);
  return IDeviceInfoManager.Stub.asInterface(binder);
}
origin: android-hacker/VirtualXposed

private Object getRemoteInterface() {
  final IBinder binder = ServiceManagerNative.getService(ServiceManagerNative.JOB);
  return IJobScheduler.Stub.asInterface(binder);
}
origin: android-hacker/VirtualXposed

private Object getStubInterface() {
  return IAppManager.Stub
      .asInterface(ServiceManagerNative.getService(ServiceManagerNative.APP));
}
origin: android-hacker/VirtualXposed

private Object getStubInterface() {
  return IAccountManager.Stub
      .asInterface(ServiceManagerNative.getService(ServiceManagerNative.ACCOUNT));
}
origin: android-hacker/VirtualXposed

private Object getRemoteInterface() {
  final IBinder pmBinder = ServiceManagerNative.getService(ServiceManagerNative.PACKAGE);
  return IPackageManager.Stub.asInterface(pmBinder);
}
origin: android-hacker/VirtualXposed

private void addService(String name, IBinder service) {
  ServiceCache.addService(name, service);
}
com.lody.virtual.server

Most used classes

  • BinderProvider
  • IBinderDelegateService$Stub
  • IBinderDelegateService
  • IPackageInstaller
  • ServiceCache
  • VAccount,
  • VAccountManagerService$1,
  • VAccountManagerService$2,
  • VAccountManagerService$3,
  • VAccountManagerService$4,
  • VAccountManagerService$5,
  • VAccountManagerService$6,
  • VAccountManagerService$7,
  • VAccountManagerService$8,
  • VAccountManagerService$AuthTokenRecord,
  • VAccountManagerService$AuthenticatorInfo,
  • VAccountManagerService$GetAccountsByTypeAndFeatureSession,
  • VAccountManagerService$Session,
  • VAccountManagerService
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now