Tabnine Logo
QueryRedirectCursor
Code IndexAdd Tabnine 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)

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

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text plugins
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