- get() - Method in class com.android.testutils.VirtualTimeFuture
-
- get(long, TimeUnit) - Method in class com.android.testutils.VirtualTimeFuture
-
- getActionsExecuted() - Method in class com.android.testutils.VirtualTimeScheduler
-
- getActionsQueued() - Method in class com.android.testutils.VirtualTimeScheduler
-
- getCallable() - Method in class com.android.testutils.VirtualTimeFuture
-
Gets the Callable this future is created for.
- getCanonicalRoot(String...) - Static method in class com.android.testutils.TestUtils
-
returns a File for the subfolder of the test resource data.
- getCurrentTimeNanos() - Method in class com.android.testutils.VirtualTimeScheduler
-
- getDelay(TimeUnit) - Method in class com.android.testutils.VirtualTimeFuture
-
- getDiff(String, String) - Static method in class com.android.testutils.TestUtils
-
- getDiff(String[], String[]) - Static method in class com.android.testutils.TestUtils
-
- getDirectory(String) - Static method in class com.android.testutils.TestResources
-
- getDirectory(Class<?>, String) - Static method in class com.android.testutils.TestResources
-
Returns a file that is a directory from resources.
- getDisplaySubject() - Method in class com.android.testutils.truth.DexBackedDexFileSubject
-
- getDisplaySubject() - Method in class com.android.testutils.truth.DexClassSubject
-
- getFile() - Method in class com.android.testutils.incremental.FileRecord
-
- getFile(String) - Static method in class com.android.testutils.TestResources
-
- getFile(Class<?>, String) - Static method in class com.android.testutils.TestResources
-
Returns a file from class resources.
- getFileInDirectory(Class<?>, String, String) - Static method in class com.android.testutils.TestResources
-
Given a resourceName
relative to clazz
, copies the resource to a new file
at filePath
and registers that to be deleted when the JVM exits.
- getFolderName() - Method in enum com.android.testutils.OsType
-
The name of this OS as it appears on disk.
- getFurthestScheduledTimeNanos() - Method in class com.android.testutils.VirtualTimeScheduler
-
- getHash() - Method in class com.android.testutils.incremental.FileRecord
-
- getHostOs() - Static method in enum com.android.testutils.OsType
-
- getId() - Method in class com.android.testutils.VirtualTimeFuture
-
Helper used by the scheduler's Comparator to distinguish/order futures scheduled for the same time.
- getInputStream(ZipFile, String) - Method in class com.android.testutils.truth.AbstractZipSubject
-
- getLatestAndroidPlatform() - Static method in class com.android.testutils.TestUtils
-
- getMessages() - Method in class com.android.testutils.MockLog
-
- getOffset() - Method in class com.android.testutils.VirtualTimeFuture
-
Gets the Offset between invocations of the action behind this future, for repeated actions only.
- getOsName() - Static method in enum com.android.testutils.OsType
-
Get the display-friendly name of the current system's OS.
- getOwningScheduler() - Method in class com.android.testutils.VirtualTimeFuture
-
Gets the VirtualTimeScheduler this future is associated with.
- getPlatformFile(String) - Static method in class com.android.testutils.TestUtils
-
- getQueue() - Method in class com.android.testutils.VirtualTimeScheduler
-
- getRepeatKind() - Method in class com.android.testutils.VirtualTimeFuture
-
Describes if this future is repeated and if so how.
- getRoot(String...) - Static method in class com.android.testutils.TestUtils
-
returns a File for the subfolder of the test resource data.
- getRunnable() - Method in class com.android.testutils.VirtualTimeFuture
-
Gets the Runnable this future is created for.
- getSdk() - Static method in class com.android.testutils.TestUtils
-
Return the SDK directory.
- getSubject(FailureStrategy, File) - Method in class com.android.testutils.truth.FileSubjectFactory
-
- getTick() - Method in class com.android.testutils.VirtualTimeFuture
-
Gets the virtual time in nano seconds that this future is scheduled to execute at.
- getWorkspaceFile(String) - Static method in class com.android.testutils.TestUtils
-
Given a full path to a file from the base of the current workspace, return the file.
- getWorkspaceRoot() - Static method in class com.android.testutils.TestUtils
-
Returns the root of the entire Android Studio codebase.