Codota Logo
QueryRedirectCursor
Code IndexAdd Codota to your IDE (free)

How to use
QueryRedirectCursor
in
com.lody.virtual.client.hook.providers

Best Java code snippets using com.lody.virtual.client.hook.providers.QueryRedirectCursor (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: android-hacker/VirtualXposed

  @Override
  public Cursor query(MethodBox methodBox, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, Bundle originQueryArgs) throws InvocationTargetException {
    Cursor cursor = super.query(methodBox, url, projection, selection, selectionArgs, sortOrder, originQueryArgs);
    return new QueryRedirectCursor(cursor, COLUMN_NAME);
  }
}
origin: android-hacker/VirtualXposed

@Override
public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) {
  if (columnIndex < 0 || columnIndex != this.dataIndex || buffer == null) {
    super.copyStringToBuffer(columnIndex, buffer);
    return;
  }
  String path = getString(columnIndex);
  if (path == null) {
    super.copyStringToBuffer(columnIndex, buffer);
    return;
  }
  char[] chars = path.toCharArray();
  int v1 = Math.min(chars.length, buffer.data.length);
  System.arraycopy(chars, 0, buffer.data, 0, v1);
  buffer.sizeCopied = v1;
}
origin: android-hacker/VirtualXposed

  @Override
  public Cursor query(MethodBox methodBox, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, Bundle originQueryArgs) throws InvocationTargetException {
    Cursor cursor = super.query(methodBox, url, projection, selection, selectionArgs, sortOrder, originQueryArgs);
    return new QueryRedirectCursor(cursor, DownloadManager.COLUMN_LOCAL_FILENAME);
  }
}
origin: darkskygit/VirtualApp

@Override
public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) {
  if (columnIndex < 0 || columnIndex != this.dataIndex || buffer == null) {
    super.copyStringToBuffer(columnIndex, buffer);
    return;
  }
  String path = getString(columnIndex);
  if (path == null) {
    super.copyStringToBuffer(columnIndex, buffer);
    return;
  }
  char[] chars = path.toCharArray();
  int v1 = Math.min(chars.length, buffer.data.length);
  System.arraycopy(chars, 0, buffer.data, 0, v1);
  buffer.sizeCopied = v1;
}
origin: darkskygit/VirtualApp

  @Override
  public Cursor query(MethodBox methodBox, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, Bundle originQueryArgs) throws InvocationTargetException {
    Cursor cursor = super.query(methodBox, url, projection, selection, selectionArgs, sortOrder, originQueryArgs);
    return new QueryRedirectCursor(cursor, COLUMN_NAME);
  }
}
origin: darkskygit/VirtualApp

  @Override
  public Cursor query(MethodBox methodBox, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, Bundle originQueryArgs) throws InvocationTargetException {
    Cursor cursor = super.query(methodBox, url, projection, selection, selectionArgs, sortOrder, originQueryArgs);
    return new QueryRedirectCursor(cursor, DownloadManager.COLUMN_LOCAL_FILENAME);
  }
}
com.lody.virtual.client.hook.providersQueryRedirectCursor

Most used methods

  • <init>
    Creates a cross process cursor wrapper.
  • getString

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now