META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/testutils/
com/android/testutils/truth/
com/android/testutils/truth/IndirectSubject.classIndirectSubject.java
package com.android.testutils.truth
public abstract com.android.testutils.truth.IndirectSubject extends java.lang.Object {
public abstract com.google.common.truth.Subject that ()
}
com/android/testutils/truth/DexFileSubject.classDexFileSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.DexFileSubject extends com.google.common.truth.Subject implements com.android.testutils.truth.DexSubject {
public static final com.google.common.truth.SubjectFactory FACTORY
private com.android.testutils.truth.DexBackedDexFileSubject delegate
public void (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy fs
java.io.File that
private com.android.testutils.truth.DexBackedDexFileSubject getDelegate () throws java.io.IOException
public com.android.testutils.truth.IndirectSubject containsClass (java.lang.String) throws java.io.IOException
String className
public transient void containsClasses (java.lang.String[]) throws java.io.IOException
String[] classNames
static void ()
}
com/android/testutils/truth/DexFileSubject$1.classDexFileSubject.java
package com.android.testutils.truth
final com.android.testutils.truth.DexFileSubject$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.DexFileSubject getSubject (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy fs
java.io.File that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/DexClassSubject.classDexClassSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.DexClassSubject extends com.google.common.truth.Subject {
public static final com.google.common.truth.SubjectFactory FACTORY
private void (com.google.common.truth.FailureStrategy, org.jf.dexlib2.dexbacked.DexBackedClassDef)
com.google.common.truth.FailureStrategy failureStrategy
org.jf.dexlib2.dexbacked.DexBackedClassDef subject
public void hasMethod (java.lang.String)
String name
public transient void hasMethods (java.lang.String[])
String name
String[] names
public void hasField (java.lang.String)
String name
public void doesNotHaveField (java.lang.String)
String name
public void doesNotHaveMethod (java.lang.String)
String name
private boolean checkHasMethod (java.lang.String)
org.jf.dexlib2.dexbacked.DexBackedMethod method
String name
private boolean checkHasField (java.lang.String)
org.jf.dexlib2.dexbacked.DexBackedField field
String name
private boolean assertSubjectIsNonNull ()
protected java.lang.String getDisplaySubject ()
String subjectName
void (com.google.common.truth.FailureStrategy, org.jf.dexlib2.dexbacked.DexBackedClassDef, com.android.testutils.truth.DexClassSubject$1)
com.google.common.truth.FailureStrategy x0
org.jf.dexlib2.dexbacked.DexBackedClassDef x1
com.android.testutils.truth.DexClassSubject$1 x2
static void ()
}
com/android/testutils/truth/FileSubject.classFileSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.FileSubject extends com.google.common.truth.Subject {
public static final com.google.common.truth.SubjectFactory FACTORY
public void (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy failureStrategy
java.io.File subject
public void hasName (java.lang.String)
String name
public void exists ()
public void doesNotExist ()
public void isFile ()
public void isDirectory ()
public void contains (java.lang.String)
String expectedContent
public transient void containsAllOf (java.lang.String[])
String expectedContent
String contents
java.io.IOException e
String[] expectedContents
public void contains (byte[])
byte[] contents
java.io.IOException e
byte[] expectedContents
public void doesNotContain (java.lang.String)
String contents
java.io.IOException e
String expectedContent
public void hasContents (java.lang.String)
String expectedContents
public void wasModifiedAt (long)
long timestamp
long lastModified
public void isNewerThan (long)
long timestamp
long lastModified
public void isNewerThan (java.io.File)
java.io.File other
public void contentWithUnixLineSeparatorsIsExactly (java.lang.String) throws java.io.IOException
String expected
static void ()
}
com/android/testutils/truth/PathSubject$1.classPathSubject.java
package com.android.testutils.truth
final com.android.testutils.truth.PathSubject$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.PathSubject getSubject (com.google.common.truth.FailureStrategy, java.nio.file.Path)
com.google.common.truth.FailureStrategy fs
java.nio.file.Path that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/AbstractZipSubject.classAbstractZipSubject.java
package com.android.testutils.truth
public abstract com.android.testutils.truth.AbstractZipSubject extends com.google.common.truth.Subject {
private final java.io.File subject
public void (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy failureStrategy
java.io.File subject
private java.util.zip.ZipFile getZip () throws java.io.IOException
java.util.zip.ZipException e
public void contains (java.lang.String) throws java.io.IOException
java.util.zip.ZipFile zip
String path
public void doesNotContain (java.lang.String) throws java.io.IOException
java.util.zip.ZipFile zip
String path
public com.google.common.truth.IterableSubject entries (java.lang.String) throws java.io.IOException
java.util.zip.ZipEntry zipEntry
java.util.Enumeration zipFileEntries
java.util.zip.ZipFile zipFile
String conformingTo
com.google.common.collect.ImmutableList$Builder entries
java.util.regex.Pattern pattern
public void containsFileWithContent (java.lang.String, java.lang.String)
String path
String content
public void containsFileWithMatch (java.lang.String, java.lang.String)
String path
String pattern
public void containsFileWithContent (java.lang.String, byte[])
String path
byte[] content
public void containsFileWithoutContent (java.lang.String, java.lang.String)
String path
String sub
byte[] contents
int index
protected java.lang.String extractContentAsString (java.lang.String)
java.io.InputStream stream
java.util.zip.ZipFile zip
java.io.IOException e
String path
protected byte[] extractContentAsByte (java.lang.String)
java.io.InputStream stream
java.util.zip.ZipFile zip
java.io.IOException e
String path
protected java.io.InputStream getInputStream (java.util.zip.ZipFile, java.lang.String)
java.util.zip.ZipEntry entry
java.io.IOException e
java.util.zip.ZipFile zip
String path
protected java.lang.Object extractEntryAndRunAction (java.lang.String, com.android.testutils.truth.AbstractZipSubject$ZipEntryAction) throws java.io.IOException
byte[] content
java.io.InputStream classDexStream
java.util.zip.ZipFile zipFile
String path
com.android.testutils.truth.AbstractZipSubject$ZipEntryAction action
}
com/android/testutils/truth/MoreTruth$1.classMoreTruth.java
package com.android.testutils.truth
final com.android.testutils.truth.MoreTruth$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.ZipFileSubject getSubject (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy fs
java.io.File that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/DexClassSubject$1.classDexClassSubject.java
package com.android.testutils.truth
final com.android.testutils.truth.DexClassSubject$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.DexClassSubject getSubject (com.google.common.truth.FailureStrategy, org.jf.dexlib2.dexbacked.DexBackedClassDef)
com.google.common.truth.FailureStrategy failureStrategy
org.jf.dexlib2.dexbacked.DexBackedClassDef subject
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/PathSubject.classPathSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.PathSubject extends com.google.common.truth.Subject {
public static final com.google.common.truth.SubjectFactory FACTORY
public void (com.google.common.truth.FailureStrategy, java.nio.file.Path)
com.google.common.truth.FailureStrategy failureStrategy
java.nio.file.Path subject
public void hasName (java.lang.String)
String name
public void exists ()
public void doesNotExist ()
public void isFile ()
public void isDirectory ()
static void ()
}
com/android/testutils/truth/FileRecordSubject.classFileRecordSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.FileRecordSubject extends com.google.common.truth.Subject {
public static final com.google.common.truth.SubjectFactory FACTORY
public void (com.google.common.truth.FailureStrategy, com.android.testutils.incremental.FileRecord)
com.google.common.truth.FailureStrategy failureStrategy
com.android.testutils.incremental.FileRecord subject
public void hasChanged () throws java.io.IOException
public void hasNotChanged () throws java.io.IOException
static void ()
}
com/android/testutils/truth/MoreTruth$2.classMoreTruth.java
package com.android.testutils.truth
final com.android.testutils.truth.MoreTruth$2 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.Java8OptionalSubject getSubject (com.google.common.truth.FailureStrategy, java.util.Optional)
com.google.common.truth.FailureStrategy fs
java.util.Optional that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/FileSubject$1.classFileSubject.java
package com.android.testutils.truth
final com.android.testutils.truth.FileSubject$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.FileSubject getSubject (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy fs
java.io.File that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/AbstractZipSubject$ZipEntryAction.classAbstractZipSubject.java
package com.android.testutils.truth
public abstract com.android.testutils.truth.AbstractZipSubject$ZipEntryAction extends java.lang.Object {
public abstract java.lang.Object doOnZipEntry (byte[])
}
com/android/testutils/truth/MoreTruth.classMoreTruth.java
package com.android.testutils.truth
public com.android.testutils.truth.MoreTruth extends java.lang.Object {
public void ()
public static com.android.testutils.truth.FileSubject assertThat (java.io.File)
java.io.File file
public static com.android.testutils.truth.PathSubject assertThat (java.nio.file.Path)
java.nio.file.Path path
public static com.android.testutils.truth.FileRecordSubject assertThat (com.android.testutils.incremental.FileRecord)
com.android.testutils.incremental.FileRecord fileRecord
public static com.android.testutils.truth.ZipFileSubject assertThatZip (java.io.File)
java.io.File file
public static com.android.testutils.truth.DexFileSubject assertThatDex (java.io.File)
java.io.File dex
public static com.android.testutils.truth.Java8OptionalSubject assertThat (java.util.Optional)
java.util.Optional optional
}
com/android/testutils/truth/FileSubjectFactory.classFileSubjectFactory.java
package com.android.testutils.truth
public com.android.testutils.truth.FileSubjectFactory extends com.google.common.truth.SubjectFactory {
public static com.android.testutils.truth.FileSubjectFactory factory ()
private void ()
public com.android.testutils.truth.FileSubject getSubject (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy failureStrategy
java.io.File subject
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/DexBackedDexFileSubject$1.classDexBackedDexFileSubject.java
package com.android.testutils.truth
final com.android.testutils.truth.DexBackedDexFileSubject$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.DexBackedDexFileSubject getSubject (com.google.common.truth.FailureStrategy, org.jf.dexlib2.dexbacked.DexBackedDexFile)
com.google.common.truth.FailureStrategy fs
org.jf.dexlib2.dexbacked.DexBackedDexFile that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/truth/DexSubject.classDexSubject.java
package com.android.testutils.truth
public abstract com.android.testutils.truth.DexSubject extends java.lang.Object {
public abstract com.android.testutils.truth.IndirectSubject containsClass (java.lang.String) throws java.io.IOException
public transient abstract void containsClasses (java.lang.String[]) throws java.io.IOException
}
com/android/testutils/truth/ZipFileSubject.classZipFileSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.ZipFileSubject extends com.android.testutils.truth.AbstractZipSubject {
public void (com.google.common.truth.FailureStrategy, java.io.File)
com.google.common.truth.FailureStrategy failureStrategy
java.io.File subject
}
com/android/testutils/truth/DexBackedDexFileSubject.class
com/android/testutils/truth/DexUtils.classDexUtils.java
package com.android.testutils.truth
public final com.android.testutils.truth.DexUtils extends java.lang.Object {
private static final org.jf.dexlib2.Opcodes DEX_LIB_OPCODES
private void ()
public static org.jf.dexlib2.dexbacked.DexBackedDexFile loadDex (byte[])
byte[] bytes
public static org.jf.dexlib2.dexbacked.DexBackedDexFile loadDex (java.nio.file.Path) throws java.io.IOException
java.nio.file.Path path
public static org.jf.dexlib2.dexbacked.DexBackedDexFile loadDex (java.io.File) throws java.io.IOException
java.io.File file
static void ()
}
com/android/testutils/truth/Java8OptionalSubject.classJava8OptionalSubject.java
package com.android.testutils.truth
public com.android.testutils.truth.Java8OptionalSubject extends com.google.common.truth.Subject {
public void (com.google.common.truth.FailureStrategy, java.util.Optional)
com.google.common.truth.FailureStrategy failureStrategy
java.util.Optional subject
public void isPresent ()
public void hasValueEqualTo (java.lang.Object)
Object value
Object actual
public void isAbsent ()
}
com/android/testutils/truth/FileRecordSubject$1.classFileRecordSubject.java
package com.android.testutils.truth
final com.android.testutils.truth.FileRecordSubject$1 extends com.google.common.truth.SubjectFactory {
void ()
public com.android.testutils.truth.FileRecordSubject getSubject (com.google.common.truth.FailureStrategy, com.android.testutils.incremental.FileRecord)
com.google.common.truth.FailureStrategy fs
com.android.testutils.incremental.FileRecord that
public volatile com.google.common.truth.Subject getSubject (com.google.common.truth.FailureStrategy, java.lang.Object)
}
com/android/testutils/VirtualTimeScheduler.class
com/android/testutils/VirtualTimeScheduler$VirtualFuturesComparator.classVirtualTimeScheduler.java
package com.android.testutils
com.android.testutils.VirtualTimeScheduler$VirtualFuturesComparator extends java.lang.Object implements java.util.Comparator {
private void ()
public int compare (com.android.testutils.VirtualTimeFuture, com.android.testutils.VirtualTimeFuture)
com.android.testutils.VirtualTimeFuture o1
com.android.testutils.VirtualTimeFuture o2
long tickDiff
public volatile int compare (java.lang.Object, java.lang.Object)
void (com.android.testutils.VirtualTimeScheduler$1)
com.android.testutils.VirtualTimeScheduler$1 x0
}
com/android/testutils/JarTestSuiteRunner$ExcludeClasses.classJarTestSuiteRunner.java
package com.android.testutils
public abstract com.android.testutils.JarTestSuiteRunner$ExcludeClasses extends java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.Class[] value ()
}
com/android/testutils/MockLog.classMockLog.java
package com.android.testutils
public com.android.testutils.MockLog extends java.lang.Object implements com.android.utils.ILogger {
private java.util.ArrayList mMessages
public void ()
private transient void add (java.lang.String, java.lang.String, java.lang.Object[])
String code
String format
Object[] args
java.util.Formatter formatter
public transient void warning (java.lang.String, java.lang.Object[])
String format
Object[] args
public transient void info (java.lang.String, java.lang.Object[])
String format
Object[] args
public transient void verbose (java.lang.String, java.lang.Object[])
String format
Object[] args
public transient void error (java.lang.Throwable, java.lang.String, java.lang.Object[])
Throwable t
String format
Object[] args
public java.lang.String toString ()
char type
String s
StringBuilder sb
char lastType
public java.util.List getMessages ()
public void clear ()
}
com/android/testutils/VirtualTimeFuture.classVirtualTimeFuture.java
package com.android.testutils
public com.android.testutils.VirtualTimeFuture extends java.lang.Object implements java.util.concurrent.ScheduledFuture {
private static final java.util.concurrent.atomic.AtomicLong sCounter
private final com.android.testutils.VirtualTimeScheduler mScheduler
private final Runnable mRunnable
private final java.util.concurrent.Callable mCallable
private final long mOffset
private final com.android.testutils.VirtualTimeRepeatKind mRepeatKind
private final java.util.concurrent.CountDownLatch mIsDone
private final long mId
private volatile long mTick
private volatile long mTimeoutTick
private boolean mIsCancelled
private Object mValue
private Exception mException
void (com.android.testutils.VirtualTimeScheduler, java.lang.Runnable, long, long, com.android.testutils.VirtualTimeRepeatKind)
com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
Runnable runnable
long tick
long offset
com.android.testutils.VirtualTimeRepeatKind repeatKind
void (com.android.testutils.VirtualTimeScheduler, java.util.concurrent.Callable, long, long, com.android.testutils.VirtualTimeRepeatKind)
com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
java.util.concurrent.Callable callable
long tick
long offset
com.android.testutils.VirtualTimeRepeatKind repeatKind
public long getDelay (java.util.concurrent.TimeUnit)
java.util.concurrent.TimeUnit unit
long diff
public int compareTo (java.util.concurrent.Delayed)
java.util.concurrent.Delayed o
public boolean cancel (boolean)
boolean mayInterruptIfRunning
public boolean isCancelled ()
public boolean isDone ()
public java.lang.Object get () throws java.lang.InterruptedException java.util.concurrent.ExecutionException
public java.lang.Object get (long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException java.util.concurrent.ExecutionException java.util.concurrent.TimeoutException
long timeout
java.util.concurrent.TimeUnit unit
long end
public long getTick ()
void setmTick (long)
long mTick
public java.lang.Runnable getRunnable ()
public java.util.concurrent.Callable getCallable ()
public com.android.testutils.VirtualTimeScheduler getOwningScheduler ()
public long getOffset ()
public com.android.testutils.VirtualTimeRepeatKind getRepeatKind ()
void run ()
Exception e
public long getId ()
void setTimeoutTick (long)
long timeoutTick
public volatile int compareTo (java.lang.Object)
static void ()
}
com/android/testutils/SystemPropertyOverrides.classSystemPropertyOverrides.java
package com.android.testutils
public com.android.testutils.SystemPropertyOverrides extends java.lang.Object implements java.lang.AutoCloseable {
private final java.util.Map mOriginals
public void ()
public void setProperty (java.lang.String, java.lang.String)
String originalValue
String key
String value
public void close () throws java.lang.Exception
java.util.Map$Entry original
}
com/android/testutils/TestUtils$1.classTestUtils.java
package com.android.testutils
final com.android.testutils.TestUtils$1 extends java.lang.Thread {
final java.io.File val$tempDir
void (java.io.File)
public void run ()
}
com/android/testutils/VirtualTimeDateProvider.classVirtualTimeDateProvider.java
package com.android.testutils
public com.android.testutils.VirtualTimeDateProvider extends java.lang.Object implements com.android.utils.DateProvider {
private final com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
public void (com.android.testutils.VirtualTimeScheduler)
com.android.testutils.VirtualTimeScheduler virtualTimeScheduler
public java.util.Date now ()
}
com/android/testutils/JarTestSuiteRunner.class
com/android/testutils/concurrency/
com/android/testutils/concurrency/InterProcessConcurrencyTester.class
com/android/testutils/concurrency/ConcurrencyTester$RunningPattern.classConcurrencyTester.java
package com.android.testutils.concurrency
final com.android.testutils.concurrency.ConcurrencyTester$RunningPattern extends java.lang.Enum {
public static final com.android.testutils.concurrency.ConcurrencyTester$RunningPattern CONCURRENT
public static final com.android.testutils.concurrency.ConcurrencyTester$RunningPattern SEQUENTIAL
public static final com.android.testutils.concurrency.ConcurrencyTester$RunningPattern MIXED
private static final com.android.testutils.concurrency.ConcurrencyTester$RunningPattern[] $VALUES
public static com.android.testutils.concurrency.ConcurrencyTester$RunningPattern[] values ()
public static com.android.testutils.concurrency.ConcurrencyTester$RunningPattern valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/testutils/concurrency/InterProcessConcurrencyTester$MainProcessNotifier.classInterProcessConcurrencyTester.java
package com.android.testutils.concurrency
public com.android.testutils.concurrency.InterProcessConcurrencyTester$MainProcessNotifier extends java.lang.Object {
private final int serverSocketPort
public void (int)
int serverSocketPort
public void processStarted () throws java.io.IOException
java.net.Socket socket
public void actionStarted () throws java.io.IOException
java.net.Socket socket
}
com/android/testutils/concurrency/ConcurrencyTester.class
com/android/testutils/concurrency/InterProcessConcurrencyTester$RunningPattern.classInterProcessConcurrencyTester.java
package com.android.testutils.concurrency
final com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern extends java.lang.Enum {
public static final com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern CONCURRENT
public static final com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern SEQUENTIAL
public static final com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern MIXED
private static final com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern[] $VALUES
public static com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern[] values ()
public static com.android.testutils.concurrency.InterProcessConcurrencyTester$RunningPattern valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/testutils/VirtualTimeRepeatKind.classVirtualTimeRepeatKind.java
package com.android.testutils
public final com.android.testutils.VirtualTimeRepeatKind extends java.lang.Enum {
public static final com.android.testutils.VirtualTimeRepeatKind NONE
public static final com.android.testutils.VirtualTimeRepeatKind RATE
public static final com.android.testutils.VirtualTimeRepeatKind DELAY
private static final com.android.testutils.VirtualTimeRepeatKind[] $VALUES
public static com.android.testutils.VirtualTimeRepeatKind[] values ()
public static com.android.testutils.VirtualTimeRepeatKind valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/testutils/JarTestSuite.classJarTestSuite.java
package com.android.testutils
public com.android.testutils.JarTestSuite extends java.lang.Object {
public void ()
}
com/android/testutils/OsType.classOsType.java
package com.android.testutils
public final com.android.testutils.OsType extends java.lang.Enum {
public static final com.android.testutils.OsType UNKNOWN
public static final com.android.testutils.OsType DARWIN
public static final com.android.testutils.OsType LINUX
public static final com.android.testutils.OsType WINDOWS
private static final com.android.testutils.OsType[] $VALUES
public static com.android.testutils.OsType[] values ()
public static com.android.testutils.OsType valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public static java.lang.String getOsName ()
public static com.android.testutils.OsType getHostOs ()
String os
public java.lang.String getFolderName ()
static void ()
}
com/android/testutils/TestResources.class
com/android/testutils/TestUtils.classTestUtils.java
package com.android.testutils
public com.android.testutils.TestUtils extends java.lang.Object {
private static final java.time.Duration DEFAULT_EVENTUALLY_TIMEOUT
private static final long EVENTUALLY_CHECK_CYCLE_TIME_MS
static final boolean $assertionsDisabled
public void ()
public static transient java.io.File getRoot (java.lang.String[])
java.io.File r
String name
String[] names
java.io.File root
public static transient java.io.File getCanonicalRoot (java.lang.String[]) throws java.io.IOException
String[] names
java.io.File root
public static void deleteFile (java.io.File)
java.io.File f
java.io.File[] files
java.io.File dir
public static java.io.File createTempDirDeletedOnExit ()
java.io.File tempDir
public static java.io.File getWorkspaceRoot ()
String workspace
String workspaceParent
java.io.File pwd
java.io.File currDir
public static java.io.File getWorkspaceFile (java.lang.String)
String path
java.io.File f
public static java.io.File getPlatformFile (java.lang.String)
String path
String latestAndroidPlatform
java.io.File file
public static java.io.File getSdk ()
com.android.testutils.OsType osType
String hostDir
public static java.lang.String getLatestAndroidPlatform ()
public static void waitForFileSystemTick () throws java.lang.InterruptedException java.io.IOException
public static void waitForFileSystemTick (long) throws java.lang.InterruptedException java.io.IOException
long currentTimestamp
private static long getFreshTimestamp () throws java.io.IOException
java.io.File notUsed
long freshTimestamp
public static java.lang.String getDiff (java.lang.String, java.lang.String)
String before
String after
public static java.lang.String getDiff (java.lang.String[], java.lang.String[])
int j
int i
String[] before
String[] after
StringBuilder sb
int n
int m
int[][] lcs
int i
int j
public static void eventually (java.lang.Runnable)
Runnable runnable
public static void eventually (java.lang.Runnable, java.time.Duration)
AssertionError e
InterruptedException e
Runnable runnable
java.time.Duration duration
AssertionError lastError
java.time.Instant timeoutTime
static void ()
}
com/android/testutils/internal/
com/android/testutils/internal/CopyOfTester.class
com/android/testutils/VirtualTimeScheduler$1.classVirtualTimeScheduler.java
package com.android.testutils
com.android.testutils.VirtualTimeScheduler$1 extends java.lang.Object {
}
com/android/testutils/incremental/
com/android/testutils/incremental/FileRecord.classFileRecord.java
package com.android.testutils.incremental
public com.android.testutils.incremental.FileRecord extends java.lang.Object {
private final java.io.File file
private final String hash
public static com.android.testutils.incremental.FileRecord of (java.io.File) throws java.io.IOException
java.io.File file
private void (java.io.File) throws java.io.IOException
java.io.File file
public java.io.File getFile ()
public java.lang.String getHash ()
public java.lang.String toString ()
}
com/android/testutils/NoErrorsOrWarningsLogger.classNoErrorsOrWarningsLogger.java
package com.android.testutils
public com.android.testutils.NoErrorsOrWarningsLogger extends com.android.utils.StdLogger {
public void ()
public transient void error (java.lang.Throwable, java.lang.String, java.lang.Object[])
Throwable t
String errorFormat
Object[] args
public transient void warning (java.lang.String, java.lang.Object[])
String warningFormat
Object[] args
}
com/android/testutils/classloader/
com/android/testutils/classloader/SingleClassLoader.classSingleClassLoader.java
package com.android.testutils.classloader
public final com.android.testutils.classloader.SingleClassLoader extends java.lang.ClassLoader {
private final String classToLoad
public void (java.lang.String)
String classToLoad
public java.lang.Class load () throws java.lang.ClassNotFoundException
public java.lang.Class loadClass (java.lang.String) throws java.lang.ClassNotFoundException
String name
private java.lang.Class defineClass (java.lang.String) throws java.lang.ClassNotFoundException
byte[] bytes
java.io.IOException e
String name
String classFile
java.io.InputStream stream
byte[] bytes
private byte[] convertStreamToBytes (java.io.InputStream) throws java.io.IOException
java.io.InputStream stream
byte[] bytes
java.io.DataInputStream dataInputStream
}
NOTICE