Tabnine Logo
VJobScheduler
Code IndexAdd Tabnine to your IDE (free)

How to use
VJobScheduler
in
com.lody.virtual.client.ipc

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

origin: android-hacker/VirtualXposed

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    int jobId = (int) args[0];
    VJobScheduler.get().cancel(jobId);
    return 0;
  }
}
origin: android-hacker/VirtualXposed

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    VJobScheduler.get().cancelAll();
    return 0;
  }
}
origin: android-hacker/VirtualXposed

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return VJobScheduler.get().getAllPendingJobs();
  }
}
origin: android-hacker/VirtualXposed

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    JobInfo jobInfo = (JobInfo) args[0];
    return VJobScheduler.get().schedule(jobInfo);
  }
}
origin: android-hacker/VirtualXposed

  @TargetApi(Build.VERSION_CODES.O)
  public int enqueue(JobInfo job, Object workItem) {
    if (workItem == null) {
      return -1;
    }
    try {
      return getRemote().enqueue(job, (JobWorkItem) workItem);
    } catch (RemoteException e) {
      return (Integer) VirtualRuntime.crash(e);
    }
  }
}
origin: android-hacker/VirtualXposed

public Object call(Object who, Method method, Object... args) throws Throwable {
  return VJobScheduler.get().getPendingJob((Integer) args[0]);
}
public String getMethodName() {
origin: android-hacker/VirtualXposed

public Object call(Object who, Method method, Object... args) throws Throwable {
  return VJobScheduler.get().enqueue(
      (JobInfo) args[0],
      JobServiceStub.this.redirect(args[1], MethodProxy.getAppPkg())
  );
}
public String getMethodName() {
origin: android-hacker/VirtualXposed

public IJobScheduler getRemote() {
  if (mRemote == null ||
      (!mRemote.asBinder().pingBinder() && !VirtualCore.get().isVAppProcess())) {
    synchronized (this) {
      Object remote = getRemoteInterface();
      mRemote = LocalProxyUtils.genProxy(IJobScheduler.class, remote);
    }
  }
  return mRemote;
}
origin: darkskygit/VirtualApp

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    JobInfo jobInfo = (JobInfo) args[0];
    return VJobScheduler.get().schedule(jobInfo);
  }
}
origin: android-hacker/VirtualXposed

public JobInfo getPendingJob(int jobId) {
  try {
    return getRemote().getPendingJob(jobId);
  } catch (RemoteException e) {
    return (JobInfo) VirtualRuntime.crash(e);
  }
}
origin: darkskygit/VirtualApp

public IJobScheduler getRemote() {
  if (mRemote == null ||
      (!mRemote.asBinder().pingBinder() && !VirtualCore.get().isVAppProcess())) {
    synchronized (this) {
      Object remote = getRemoteInterface();
      mRemote = LocalProxyUtils.genProxy(IJobScheduler.class, remote);
    }
  }
  return mRemote;
}
origin: bzsome/VirtualApp-x326

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    VJobScheduler.get().cancelAll();
    return 0;
  }
}
origin: bzsome/VirtualApp-x326

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    JobInfo jobInfo = (JobInfo) args[0];
    return VJobScheduler.get().schedule(jobInfo);
  }
}
origin: bzsome/VirtualApp-x326

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return VJobScheduler.get().getAllPendingJobs();
  }
}
origin: bzsome/VirtualApp-x326

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    int jobId = (int) args[0];
    VJobScheduler.get().cancel(jobId);
    return 0;
  }
}
origin: android-hacker/VirtualXposed

public void cancelAll() {
  try {
    getRemote().cancelAll();
  } catch (RemoteException e) {
    e.printStackTrace();
  }
}
origin: darkskygit/VirtualApp

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    VJobScheduler.get().cancelAll();
    return 0;
  }
}
origin: darkskygit/VirtualApp

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    return VJobScheduler.get().getAllPendingJobs();
  }
}
origin: darkskygit/VirtualApp

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    int jobId = (int) args[0];
    VJobScheduler.get().cancel(jobId);
    return 0;
  }
}
origin: android-hacker/VirtualXposed

public List<JobInfo> getAllPendingJobs() {
  try {
    return getRemote().getAllPendingJobs();
  } catch (RemoteException e) {
    return VirtualRuntime.crash(e);
  }
}
com.lody.virtual.client.ipcVJobScheduler

Most used methods

  • cancel
  • cancelAll
  • get
  • getAllPendingJobs
  • schedule
  • getRemote
  • getRemoteInterface
  • enqueue
  • getPendingJob
  • getService

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • JComboBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for WebStorm
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