Tabnine Logo
FileListingService.doLsAndThrow
Code IndexAdd Tabnine to your IDE (free)

How to use
doLsAndThrow
method
in
com.android.ddmlib.FileListingService

Best Java code snippets using com.android.ddmlib.FileListingService.doLsAndThrow (Showing top 2 results out of 315)

origin: com.android.tools.ddms/ddmlib

private void doLs(FileEntry entry) {
  try {
    doLsAndThrow(entry);
  } catch (Exception e) {
    // do nothing
  }
}
origin: com.android.tools.ddms/ddmlib

/**
 * Returns the children of a {@link FileEntry}.
 * <p>
 * This method is the explicit synchronous version of
 * {@link #getChildren(FileEntry, boolean, IListingReceiver)}. It is roughly equivalent to
 * calling
 * getChildren(FileEntry, false, null)
 *
 * @param entry The parent entry.
 * @return The list of children
 * @throws TimeoutException in case of timeout on the connection when sending the command.
 * @throws AdbCommandRejectedException if adb rejects the command.
 * @throws ShellCommandUnresponsiveException in case the shell command doesn't send any output
 *            for a period longer than <var>maxTimeToOutputResponse</var>.
 * @throws IOException in case of I/O error on the connection.
 */
public FileEntry[] getChildrenSync(final FileEntry entry) throws TimeoutException,
    AdbCommandRejectedException, ShellCommandUnresponsiveException, IOException {
  doLsAndThrow(entry);
  return entry.getCachedChildren();
}
com.android.ddmlibFileListingServicedoLsAndThrow

Popular methods of FileListingService

  • getChildren
    Returns the children of a FileEntry. This method supports a cache mechanism and synchronous and asyn
  • getRoot
    Returns the root element.
  • <init>
    Creates a File Listing Service for a specified Device.
  • doLs

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Option (scala)
  • 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