android/support/test/rule/provider/ProviderTestRule.class
ProviderTestRule.java
package android.support.test.rule.provider
public android.support.test.rule.provider.ProviderTestRule extends java.lang.Object implements org.junit.rules.TestRule {
private static final String TAG
private final java.util.Set mProvidersRef
private final java.util.Set mDatabaseArgsSet
private final android.content.ContentResolver mResolver
private final android.support.test.rule.provider.DelegatingContext mContext
void <init> (java.util.Set, java.util.Set, android.content.ContentResolver, android.support.test.rule.provider.DelegatingContext)
java.util.Set providersRef
java.util.Set databaseArgsSet
android.content.ContentResolver resolver
android.support.test.rule.provider.DelegatingContext context
public android.content.ContentResolver getResolver ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
public transient void runDatabaseCommands (java.lang.String, java.lang.String[])
android.database.sqlite.SQLiteException e
String cmd
android.database.sqlite.SQLiteDatabase database
String dbName
String[] dbCmds
public void revokePermission (java.lang.String)
String permission
protected void beforeProviderSetup ()
protected void afterProviderCleanedUp ()
private void setUpProviders () throws java.io.IOException
android.support.test.rule.provider.DatabaseArgs databaseArgs
private void setUpProvider (android.support.test.rule.provider.DatabaseArgs) throws java.io.IOException
android.support.test.rule.provider.DatabaseArgs databaseArgs
private void restoreDBDataFromFile (android.support.test.rule.provider.DatabaseArgs) throws java.io.IOException
android.support.test.rule.provider.DatabaseArgs databaseArgs
java.io.File dbDataFile
String dbName
private void collectDBCmdsFromFile (android.support.test.rule.provider.DatabaseArgs) throws java.io.IOException
String currentLine
java.io.IOException ioe
android.support.test.rule.provider.DatabaseArgs databaseArgs
java.io.BufferedReader br
java.io.File dbCmdFile
java.util.List cmdsToAdd
private void copyFile (java.io.File, java.io.File) throws java.io.IOException
String errorMessage
java.io.IOException ioe
java.io.File src
java.io.File dest
java.io.File destParent
java.nio.channels.FileChannel in
java.nio.channels.FileChannel out
private void cleanUpProviders ()
android.content.ContentProvider provider
java.lang.ref.WeakReference providerRef
String dbName
android.support.test.rule.provider.DatabaseArgs databaseArgs
static synthetic void access$000 (android.support.test.rule.provider.ProviderTestRule) throws java.io.IOException
android.support.test.rule.provider.ProviderTestRule x0
static synthetic void access$100 (android.support.test.rule.provider.ProviderTestRule)
android.support.test.rule.provider.ProviderTestRule x0
}
android/support/test/rule/provider/ProviderTestRule$ProviderStatement.class
ProviderTestRule.java
package android.support.test.rule.provider
android.support.test.rule.provider.ProviderTestRule$ProviderStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement mBase
final synthetic android.support.test.rule.provider.ProviderTestRule this$0
public void <init> (android.support.test.rule.provider.ProviderTestRule, org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
public void evaluate () throws java.lang.Throwable
}
android/support/test/rule/provider/ProviderTestRule$Builder.class
ProviderTestRule.java
package android.support.test.rule.provider
public android.support.test.rule.provider.ProviderTestRule$Builder extends java.lang.Object {
private static final String DEFAULT_PREFIX
private final java.util.Map mProviderClasses
private final java.util.Map mDatabaseArgsMap
private String mPrefix
public void <init> (java.lang.Class, java.lang.String)
Class providerClass
String providerAuth
public android.support.test.rule.provider.ProviderTestRule$Builder setPrefix (java.lang.String)
String prefix
public android.support.test.rule.provider.ProviderTestRule$Builder setDatabaseFile (java.lang.String, java.io.File)
String dbName
java.io.File dbDataFile
public transient android.support.test.rule.provider.ProviderTestRule$Builder setDatabaseCommands (java.lang.String, java.lang.String[])
String dbName
String[] dbCmds
public android.support.test.rule.provider.ProviderTestRule$Builder setDatabaseCommandsFile (java.lang.String, java.io.File)
String dbName
java.io.File dbCmdFile
public android.support.test.rule.provider.ProviderTestRule$Builder addProvider (java.lang.Class, java.lang.String)
Class providerClass
String providerAuth
public android.support.test.rule.provider.ProviderTestRule build ()
android.content.ContentProvider provider
java.util.Map$Entry entry
java.util.Set mProvidersRef
android.test.mock.MockContentResolver resolver
android.support.test.rule.provider.DelegatingContext context
private android.content.ContentProvider createProvider (java.lang.String, java.lang.Class, android.test.mock.MockContentResolver, android.content.Context)
android.content.ContentProvider provider
NoSuchMethodException me
java.lang.reflect.InvocationTargetException ite
IllegalAccessException iae
InstantiationException ie
String auth
Class clazz
android.test.mock.MockContentResolver resolver
android.content.Context context
android.content.ContentProvider provider
android.content.pm.ProviderInfo providerInfo
private android.support.test.rule.provider.DatabaseArgs getDatabaseArgs (java.lang.String)
android.support.test.rule.provider.DatabaseArgs databaseArgs
String dbName
}
android/support/test/rule/provider/ProviderArgs.class
ProviderArgs.java
package android.support.test.rule.provider
final android.support.test.rule.provider.ProviderArgs extends java.lang.Object {
private static final String TAG
private final String mAuthority
private final Class mProviderClass
private String mDBName
private String[] mDBCmds
private java.io.File mDBCmdFile
private java.io.File mDBDataFile
private java.lang.ref.WeakReference mProviderRef
public void <init> (java.lang.String, java.lang.Class)
String authority
Class providerClass
public void setDBName (java.lang.String)
String dbName
public transient void setDBCmds (java.lang.String[])
String[] dbCmds
public void setDBCmdFile (java.io.File)
java.io.File dbCmdFile
public void setDBDataFile (java.io.File)
java.io.File dbDataFile
public void setProviderRef (android.content.ContentProvider)
android.content.ContentProvider provider
public transient void addDBCmds (java.lang.String[])
String[] newCmds
String[] dbCmds
public boolean hasDBName ()
public boolean hasDBCmds ()
public boolean hasDBCmdFile ()
public boolean hasDBDataFile ()
public java.lang.Class getProviderClass ()
public java.lang.String getAuthority ()
public java.lang.String getDBName ()
public java.lang.String[] getDBCmds ()
public java.io.File getDBCmdFile ()
public java.io.File getDBDataFile ()
public android.content.ContentProvider getProvider ()
}
android/support/test/rule/provider/DelegatingContext.class
DelegatingContext.java
package android.support.test.rule.provider
android.support.test.rule.provider.DelegatingContext extends android.content.ContextWrapper {
private static final String TAG
private static final int NO_OP_UID
private static final int NO_OP_PID
private final String mPrefix
private final android.content.Context mContext
private final android.content.ContentResolver mContentResolver
private java.util.Set mDatabases
private java.util.Set mFiles
private java.util.Set mRevokedPermissions
public void <init> (android.content.Context, java.lang.String, android.content.ContentResolver)
android.content.Context context
String prefix
android.content.ContentResolver contentResolver
public android.content.ContentResolver getContentResolver ()
public java.io.File getDir (java.lang.String, int)
String name
int mode
public android.database.sqlite.SQLiteDatabase openOrCreateDatabase (java.lang.String, int, android.database.sqlite.SQLiteDatabase$CursorFactory)
String prefixName
String name
int mode
android.database.sqlite.SQLiteDatabase$CursorFactory factory
public android.database.sqlite.SQLiteDatabase openOrCreateDatabase (java.lang.String, int, android.database.sqlite.SQLiteDatabase$CursorFactory, android.database.DatabaseErrorHandler)
String prefixName
String name
int mode
android.database.sqlite.SQLiteDatabase$CursorFactory factory
android.database.DatabaseErrorHandler errorHandler
public java.lang.String[] databaseList ()
public boolean deleteDatabase (java.lang.String)
String name
public java.io.File getDatabasePath (java.lang.String)
String name
public java.io.FileInputStream openFileInput (java.lang.String) throws java.io.FileNotFoundException
String name
public java.io.FileOutputStream openFileOutput (java.lang.String, int) throws java.io.FileNotFoundException
String name
int mode
java.io.FileOutputStream fos
public java.lang.String[] fileList ()
public java.io.File getFileStreamPath (java.lang.String)
String name
public boolean deleteFile (java.lang.String)
String name
public java.lang.Object getSystemService (java.lang.String)
String name
public int checkPermission (java.lang.String, int, int)
String permission
int pid
int uid
public int checkCallingPermission (java.lang.String)
String permission
public int checkCallingOrSelfPermission (java.lang.String)
String permission
public int checkSelfPermission (java.lang.String)
String permission
public void enforcePermission (java.lang.String, int, int, java.lang.String)
String permission
int pid
int uid
String message
public void enforceCallingPermission (java.lang.String, java.lang.String)
String permission
String message
public void enforceCallingOrSelfPermission (java.lang.String, java.lang.String)
String permission
String message
public int checkUriPermission (android.net.Uri, int, int, int)
android.net.Uri uri
int pid
int uid
int modeFlags
public int checkCallingUriPermission (android.net.Uri, int)
android.net.Uri uri
int modeFlags
public int checkCallingOrSelfUriPermission (android.net.Uri, int)
android.net.Uri uri
int modeFlags
public int checkUriPermission (android.net.Uri, java.lang.String, java.lang.String, int, int, int)
android.net.Uri uri
String readPermission
String writePermission
int pid
int uid
int modeFlags
public void enforceUriPermission (android.net.Uri, int, int, int, java.lang.String)
android.net.Uri uri
int pid
int uid
int modeFlags
String message
public void enforceCallingUriPermission (android.net.Uri, int, java.lang.String)
android.net.Uri uri
int modeFlags
String message
public void enforceCallingOrSelfUriPermission (android.net.Uri, int, java.lang.String)
android.net.Uri uri
int modeFlags
String message
public void enforceUriPermission (android.net.Uri, java.lang.String, java.lang.String, int, int, int, java.lang.String)
android.net.Uri uri
String readPermission
String writePermission
int pid
int uid
int modeFlags
String message
public android.content.Context getApplicationContext ()
public java.io.File getFilesDir ()
public java.io.File getNoBackupFilesDir ()
public java.io.File getExternalFilesDir (java.lang.String)
String s
public java.io.File getObbDir ()
public java.io.File[] getObbDirs ()
public java.io.File getCacheDir ()
public java.io.File getCodeCacheDir ()
public java.io.File getExternalCacheDir ()
public java.io.File[] getExternalCacheDirs ()
public java.io.File[] getExternalMediaDirs ()
public java.io.File[] getExternalFilesDirs (java.lang.String)
String s
public android.content.pm.PackageManager getPackageManager ()
public android.os.Looper getMainLooper ()
public void setTheme (int)
int resID
public android.content.res.Resources$Theme getTheme ()
public java.lang.ClassLoader getClassLoader ()
public java.lang.String getPackageName ()
public android.content.pm.ApplicationInfo getApplicationInfo ()
public java.lang.String getPackageResourcePath ()
public java.lang.String getPackageCodePath ()
public void sendBroadcast (android.content.Intent, java.lang.String)
android.content.Intent intent
String s
public void sendBroadcast (android.content.Intent)
android.content.Intent intent
public void sendOrderedBroadcast (android.content.Intent, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)
android.content.Intent intent
String s
android.content.BroadcastReceiver broadcastReceiver
android.os.Handler handler
int i
String s1
android.os.Bundle bundle
public void sendOrderedBroadcast (android.content.Intent, java.lang.String)
android.content.Intent intent
String s
public void sendOrderedBroadcastAsUser (android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)
android.content.Intent intent
android.os.UserHandle userHandle
String s
android.content.BroadcastReceiver broadcastReceiver
android.os.Handler handler
int i
String s1
android.os.Bundle bundle
public void sendBroadcastAsUser (android.content.Intent, android.os.UserHandle)
android.content.Intent intent
android.os.UserHandle userHandle
public void sendBroadcastAsUser (android.content.Intent, android.os.UserHandle, java.lang.String)
android.content.Intent intent
android.os.UserHandle userHandle
String s
public void sendStickyBroadcast (android.content.Intent)
android.content.Intent intent
public void sendStickyBroadcastAsUser (android.content.Intent, android.os.UserHandle)
android.content.Intent intent
android.os.UserHandle userHandle
public void sendStickyOrderedBroadcast (android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)
android.content.Intent intent
android.content.BroadcastReceiver broadcastReceiver
android.os.Handler handler
int i
String s
android.os.Bundle bundle
public void sendStickyOrderedBroadcastAsUser (android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)
android.content.Intent intent
android.os.UserHandle userHandle
android.content.BroadcastReceiver broadcastReceiver
android.os.Handler handler
int i
String s
android.os.Bundle bundle
public void removeStickyBroadcast (android.content.Intent)
android.content.Intent intent
public void removeStickyBroadcastAsUser (android.content.Intent, android.os.UserHandle)
android.content.Intent intent
android.os.UserHandle userHandle
public void grantUriPermission (java.lang.String, android.net.Uri, int)
String toPackage
android.net.Uri uri
int modeFlags
public void revokeUriPermission (android.net.Uri, int)
android.net.Uri uri
int modeFlags
public android.content.SharedPreferences getSharedPreferences (java.lang.String, int)
String name
int mode
public android.graphics.drawable.Drawable getWallpaper ()
public android.graphics.drawable.Drawable peekWallpaper ()
public int getWallpaperDesiredMinimumHeight ()
public int getWallpaperDesiredMinimumWidth ()
public void setWallpaper (android.graphics.Bitmap) throws java.io.IOException
android.graphics.Bitmap bitmap
public void setWallpaper (java.io.InputStream) throws java.io.IOException
java.io.InputStream inputStream
public void clearWallpaper () throws java.io.IOException
public void startActivity (android.content.Intent)
android.content.Intent intent
public void startActivity (android.content.Intent, android.os.Bundle)
android.content.Intent intent
android.os.Bundle bundle
public void startActivities (android.content.Intent[])
android.content.Intent[] intents
public void startActivities (android.content.Intent[], android.os.Bundle)
android.content.Intent[] intents
android.os.Bundle bundle
public void startIntentSender (android.content.IntentSender, android.content.Intent, int, int, int) throws android.content.IntentSender$SendIntentException
android.content.IntentSender intentSender
android.content.Intent intent
int i
int i1
int i2
public void startIntentSender (android.content.IntentSender, android.content.Intent, int, int, int, android.os.Bundle) throws android.content.IntentSender$SendIntentException
android.content.IntentSender intentSender
android.content.Intent intent
int i
int i1
int i2
android.os.Bundle bundle
public android.content.Intent registerReceiver (android.content.BroadcastReceiver, android.content.IntentFilter)
android.content.BroadcastReceiver receiver
android.content.IntentFilter filter
public android.content.Intent registerReceiver (android.content.BroadcastReceiver, android.content.IntentFilter, java.lang.String, android.os.Handler)
android.content.BroadcastReceiver broadcastReceiver
android.content.IntentFilter intentFilter
String s
android.os.Handler handler
public void unregisterReceiver (android.content.BroadcastReceiver)
android.content.BroadcastReceiver receiver
public android.content.ComponentName startService (android.content.Intent)
android.content.Intent intent
public boolean stopService (android.content.Intent)
android.content.Intent intent
public boolean bindService (android.content.Intent, android.content.ServiceConnection, int)
android.content.Intent service
android.content.ServiceConnection conn
int flags
public void unbindService (android.content.ServiceConnection)
android.content.ServiceConnection serviceConnection
public boolean startInstrumentation (android.content.ComponentName, java.lang.String, android.os.Bundle)
android.content.ComponentName componentName
String s
android.os.Bundle bundle
public java.lang.String getSystemServiceName (java.lang.Class)
Class aClass
public android.content.Context createPackageContext (java.lang.String, int) throws android.content.pm.PackageManager$NameNotFoundException
String packageName
int flags
public android.content.Context createConfigurationContext (android.content.res.Configuration)
android.content.res.Configuration overrideConfiguration
public android.content.Context createDisplayContext (android.view.Display)
android.view.Display display
public boolean isRestricted ()
boolean addDatabase (java.lang.String)
String name
void addRevokedPermission (java.lang.String)
String permission
private java.lang.String getPrefixName (java.lang.String)
String name
}
android/support/test/rule/provider/DatabaseArgs.class
DatabaseArgs.java
package android.support.test.rule.provider
final android.support.test.rule.provider.DatabaseArgs extends java.lang.Object {
private static final String TAG
private String mDBName
private String[] mDBCmds
private java.io.File mDBCmdFile
private java.io.File mDBDataFile
public void <init> (java.lang.String)
String dbName
public transient void setDBCmds (java.lang.String[])
String[] dbCmds
public void setDBCmdFile (java.io.File)
java.io.File dbCmdFile
public void setDBDataFile (java.io.File)
java.io.File dbDataFile
public transient void addDBCmds (java.lang.String[])
String[] newCmds
String[] dbCmds
public boolean hasDBCmds ()
public boolean hasDBCmdFile ()
public boolean hasDBDataFile ()
public java.lang.String getDBName ()
public java.lang.String[] getDBCmds ()
public java.io.File getDBCmdFile ()
public java.io.File getDBDataFile ()
}
android/support/test/rule/provider/
android/support/test/rule/logging/AtraceLogger.class
AtraceLogger.java
package android.support.test.rule.logging
public android.support.test.rule.logging.AtraceLogger extends java.lang.Object {
private static final String ATRACE_START
private static final String ATRACE_DUMP
private static final String ATRACE_STOP
private static final String ATRACEHELPER_TAG
private static final String CATEGORY_SEPARATOR
private static final int BUFFER_SIZE
private static volatile android.support.test.rule.logging.AtraceLogger mLoggerInstance
private android.app.UiAutomation mUiAutomation
private String mTraceFileName
private java.util.List mAtraceDataList
private Thread mDumpThread
private java.io.File mDestAtraceDirectory
private boolean mAtraceRunning
private java.io.IOException mDumpIOException
private void <init> (android.app.Instrumentation)
android.app.Instrumentation instrumentation
public static android.support.test.rule.logging.AtraceLogger getAtraceLoggerInstance (android.app.Instrumentation)
android.app.Instrumentation instrumentation
public void atraceStart (java.util.Set, int, int, java.io.File, java.lang.String) throws java.io.IOException
String traceCategory
java.util.Set traceCategoriesSet
int atraceBufferSize
int dumpIntervalSecs
java.io.File destDirectory
String traceFileName
StringBuffer traceCategoriesList
String startCommand
java.io.ByteArrayOutputStream outStream
private void writeDataToByteStream (android.os.ParcelFileDescriptor, java.io.ByteArrayOutputStream) throws java.io.IOException
byte[] buffer
int length
android.os.ParcelFileDescriptor pfDescriptor
java.io.ByteArrayOutputStream outputStream
java.io.InputStream inputStream
public void atraceStop () throws java.io.IOException java.lang.InterruptedException
java.io.ByteArrayOutputStream outStream
java.io.ByteArrayOutputStream outStream
private void atraceWrite () throws java.io.IOException
java.io.File file
java.io.OutputStream fileOutputStream
java.io.ByteArrayOutputStream outStream
int count
static synthetic android.app.UiAutomation access$000 (android.support.test.rule.logging.AtraceLogger)
android.support.test.rule.logging.AtraceLogger x0
static synthetic void access$100 (android.support.test.rule.logging.AtraceLogger, android.os.ParcelFileDescriptor, java.io.ByteArrayOutputStream) throws java.io.IOException
android.support.test.rule.logging.AtraceLogger x0
android.os.ParcelFileDescriptor x1
java.io.ByteArrayOutputStream x2
static synthetic java.util.List access$200 (android.support.test.rule.logging.AtraceLogger)
android.support.test.rule.logging.AtraceLogger x0
static synthetic java.io.IOException access$302 (android.support.test.rule.logging.AtraceLogger, java.io.IOException)
android.support.test.rule.logging.AtraceLogger x0
java.io.IOException x1
}
android/support/test/rule/logging/AtraceLogger$DumpTraceRunnable.class
AtraceLogger.java
package android.support.test.rule.logging
android.support.test.rule.logging.AtraceLogger$DumpTraceRunnable extends java.lang.Object implements java.lang.Runnable {
private String mTraceCategories
private int mBufferSize
private int mDumpIntervalInSecs
final synthetic android.support.test.rule.logging.AtraceLogger this$0
void <init> (android.support.test.rule.logging.AtraceLogger, java.lang.String, int, int)
String traceCategories
int bufferSize
int dumpIntervalInSecs
public void run ()
InterruptedException e
String dumpCommand
long startTime
java.io.ByteArrayOutputStream byteArrayOutStream
long endTime
String stopCommand
java.io.ByteArrayOutputStream byteArrayOutStream
java.io.IOException ioe
}
android/support/test/rule/logging/
android/support/test/rule/UiThreadTestRule.class
UiThreadTestRule.java
package android.support.test.rule
public android.support.test.rule.UiThreadTestRule extends java.lang.Object implements org.junit.rules.TestRule {
private static final String TAG
public void <init> ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
protected boolean shouldRunOnUiThread (org.junit.runner.Description)
org.junit.runner.Description description
public void runOnUiThread (java.lang.Runnable) throws java.lang.Throwable
Runnable runnable
}
android/support/test/rule/ServiceTestRule.class
ServiceTestRule.java
package android.support.test.rule
public android.support.test.rule.ServiceTestRule extends java.lang.Object implements org.junit.rules.TestRule {
private static final String TAG
private static final long DEFAULT_TIMEOUT
private android.os.IBinder mBinder
private android.content.Intent mServiceIntent
private android.content.ServiceConnection mServiceConn
private long mTimeout
private java.util.concurrent.TimeUnit mTimeUnit
boolean mServiceStarted
boolean mServiceBound
public void <init> ()
public static android.support.test.rule.ServiceTestRule withTimeout (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit timeUnit
private void <init> (long, java.util.concurrent.TimeUnit)
long timeout
java.util.concurrent.TimeUnit timeUnit
public void startService (android.content.Intent) throws java.util.concurrent.TimeoutException
android.content.Intent intent
public android.os.IBinder bindService (android.content.Intent) throws java.util.concurrent.TimeoutException
android.content.Intent intent
public android.os.IBinder bindService (android.content.Intent, android.content.ServiceConnection, int) throws java.util.concurrent.TimeoutException
android.content.Intent intent
android.content.ServiceConnection connection
int flags
android.content.ServiceConnection c
boolean bindServiceAndWait (android.content.Intent, android.content.ServiceConnection, int) throws java.util.concurrent.TimeoutException
android.content.Intent intent
android.content.ServiceConnection conn
int flags
android.support.test.rule.ServiceTestRule$ProxyServiceConnection serviceConn
boolean isBound
public void unbindService ()
private void waitOnLatch (java.util.concurrent.CountDownLatch, java.lang.String) throws java.util.concurrent.TimeoutException
InterruptedException e
java.util.concurrent.CountDownLatch latch
String actionName
void shutdownService () throws java.util.concurrent.TimeoutException
protected void beforeService ()
protected void afterService ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
static synthetic android.os.IBinder access$102 (android.support.test.rule.ServiceTestRule, android.os.IBinder)
android.support.test.rule.ServiceTestRule x0
android.os.IBinder x1
}
android/support/test/rule/ServiceTestRule$ServiceStatement.class
ServiceTestRule.java
package android.support.test.rule
android.support.test.rule.ServiceTestRule$ServiceStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement mBase
final synthetic android.support.test.rule.ServiceTestRule this$0
public void <init> (android.support.test.rule.ServiceTestRule, org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
public void evaluate () throws java.lang.Throwable
}
android/support/test/rule/ServiceTestRule$ProxyServiceConnection.class
ServiceTestRule.java
package android.support.test.rule
android.support.test.rule.ServiceTestRule$ProxyServiceConnection extends java.lang.Object implements android.content.ServiceConnection {
private android.content.ServiceConnection mCallerConnection
public java.util.concurrent.CountDownLatch mConnectedLatch
final synthetic android.support.test.rule.ServiceTestRule this$0
private void <init> (android.support.test.rule.ServiceTestRule, android.content.ServiceConnection)
android.support.test.rule.ServiceTestRule this$0
android.content.ServiceConnection connection
public void onServiceConnected (android.content.ComponentName, android.os.IBinder)
android.content.ComponentName name
android.os.IBinder service
public void onServiceDisconnected (android.content.ComponentName)
android.content.ComponentName name
synthetic void <init> (android.support.test.rule.ServiceTestRule, android.content.ServiceConnection, android.support.test.rule.ServiceTestRule$1)
android.support.test.rule.ServiceTestRule x0
android.content.ServiceConnection x1
android.support.test.rule.ServiceTestRule$1 x2
}
android/support/test/rule/ServiceTestRule$1.class
ServiceTestRule.java
package android.support.test.rule
synthetic android.support.test.rule.ServiceTestRule$1 extends java.lang.Object {
}
android/support/test/rule/PortForwardingRule.class
PortForwardingRule.java
package android.support.test.rule
public android.support.test.rule.PortForwardingRule extends java.lang.Object implements org.junit.rules.TestRule {
private static final String TAG
public static final int MIN_PORT
public static final int MAX_PORT
static final int DEFAULT_PROXY_PORT
static final String DEFAULT_PROXY_HOST
static final String HTTP_HOST_PROPERTY
static final String HTTPS_HOST_PROPERTY
static final String HTTP_PORT_PROPERTY
static final String HTTPS_PORT_PROPERTY
final String mProxyHost
final int mProxyPort
java.util.Properties mProp
private java.util.Properties mBackUpProp
private void <init> (android.support.test.rule.PortForwardingRule$Builder)
android.support.test.rule.PortForwardingRule$Builder builder
protected void <init> (int)
int proxyPort
void <init> (java.lang.String, int, java.util.Properties)
String proxyHost
int proxyPort
java.util.Properties properties
protected static int getDefaultPort ()
protected void beforePortForwarding ()
protected void afterPortForwarding ()
protected void beforeRestoreForwarding ()
protected void afterRestoreForwarding ()
private void setPortForwarding ()
private void restorePortForwarding ()
private void backUpProperties ()
private void restoreOneProperty (java.util.Properties, java.util.Properties, java.lang.String)
java.util.Properties prop
java.util.Properties backUpProp
String key
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
synthetic void <init> (android.support.test.rule.PortForwardingRule$Builder, android.support.test.rule.PortForwardingRule$1)
android.support.test.rule.PortForwardingRule$Builder x0
android.support.test.rule.PortForwardingRule$1 x1
static synthetic void access$400 (android.support.test.rule.PortForwardingRule)
android.support.test.rule.PortForwardingRule x0
static synthetic void access$500 (android.support.test.rule.PortForwardingRule)
android.support.test.rule.PortForwardingRule x0
}
android/support/test/rule/PortForwardingRule$PortForwardingStatement.class
PortForwardingRule.java
package android.support.test.rule
android.support.test.rule.PortForwardingRule$PortForwardingStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement mBase
final synthetic android.support.test.rule.PortForwardingRule this$0
public void <init> (android.support.test.rule.PortForwardingRule, org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
public void evaluate () throws java.lang.Throwable
}
android/support/test/rule/PortForwardingRule$Builder.class
PortForwardingRule.java
package android.support.test.rule
public android.support.test.rule.PortForwardingRule$Builder extends java.lang.Object {
private String mProxyHost
private int mProxyPort
private java.util.Properties mProp
public void <init> ()
public android.support.test.rule.PortForwardingRule$Builder withProxyHost (java.lang.String)
String proxyHost
public android.support.test.rule.PortForwardingRule$Builder withProxyPort (int)
int proxyPort
public android.support.test.rule.PortForwardingRule$Builder withProperties (java.util.Properties)
java.util.Properties properties
public android.support.test.rule.PortForwardingRule build ()
static synthetic java.lang.String access$100 (android.support.test.rule.PortForwardingRule$Builder)
android.support.test.rule.PortForwardingRule$Builder x0
static synthetic int access$200 (android.support.test.rule.PortForwardingRule$Builder)
android.support.test.rule.PortForwardingRule$Builder x0
static synthetic java.util.Properties access$300 (android.support.test.rule.PortForwardingRule$Builder)
android.support.test.rule.PortForwardingRule$Builder x0
}
android/support/test/rule/PortForwardingRule$1.class
PortForwardingRule.java
package android.support.test.rule
synthetic android.support.test.rule.PortForwardingRule$1 extends java.lang.Object {
}
android/support/test/rule/GrantPermissionRule.class
GrantPermissionRule.java
package android.support.test.rule
public android.support.test.rule.GrantPermissionRule extends java.lang.Object implements org.junit.rules.TestRule {
private android.support.test.runner.permission.PermissionRequester mPermissionRequester
private void <init> ()
private void <init> (android.support.test.runner.permission.PermissionRequester)
android.support.test.runner.permission.PermissionRequester permissionRequester
public static transient android.support.test.rule.GrantPermissionRule grant (java.lang.String[])
String[] permissions
android.support.test.rule.GrantPermissionRule grantPermissionRule
private transient void grantPermissions (java.lang.String[])
String[] permissions
public final org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
protected void setPermissionRequester (android.support.test.runner.permission.PermissionRequester)
android.support.test.runner.permission.PermissionRequester permissionRequester
static synthetic android.support.test.runner.permission.PermissionRequester access$000 (android.support.test.rule.GrantPermissionRule)
android.support.test.rule.GrantPermissionRule x0
}
android/support/test/rule/GrantPermissionRule$RequestPermissionStatement.class
GrantPermissionRule.java
package android.support.test.rule
android.support.test.rule.GrantPermissionRule$RequestPermissionStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement mBase
final synthetic android.support.test.rule.GrantPermissionRule this$0
public void <init> (android.support.test.rule.GrantPermissionRule, org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
public void evaluate () throws java.lang.Throwable
}
android/support/test/rule/DisableOnAndroidDebug.class
DisableOnAndroidDebug.java
package android.support.test.rule
public android.support.test.rule.DisableOnAndroidDebug extends java.lang.Object implements org.junit.rules.TestRule {
private final org.junit.rules.TestRule mRule
public void <init> (org.junit.rules.TestRule)
org.junit.rules.TestRule rule
public final org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
public boolean isDebugging ()
}
android/support/test/rule/ActivityTestRule.class
ActivityTestRule.java
package android.support.test.rule
public android.support.test.rule.ActivityTestRule extends java.lang.Object implements org.junit.rules.TestRule {
private static final String TAG
private static final int NO_FLAGS_SET
public static final String FIELD_RESULT_CODE
public static final String FIELD_RESULT_DATA
private final Class mActivityClass
private final String mTargetPackage
private final int mLaunchFlags
private android.app.Instrumentation mInstrumentation
private boolean mInitialTouchMode
private boolean mLaunchActivity
android.app.Activity mActivity
private android.support.test.runner.intercepting.SingleActivityFactory mActivityFactory
public void <init> (java.lang.Class)
Class activityClass
public void <init> (java.lang.Class, boolean)
Class activityClass
boolean initialTouchMode
public void <init> (java.lang.Class, boolean, boolean)
Class activityClass
boolean initialTouchMode
boolean launchActivity
public void <init> (android.support.test.runner.intercepting.SingleActivityFactory, boolean, boolean)
android.support.test.runner.intercepting.SingleActivityFactory activityFactory
boolean initialTouchMode
boolean launchActivity
public void <init> (java.lang.Class, java.lang.String, int, boolean, boolean)
Class activityClass
String targetPackage
int launchFlags
boolean initialTouchMode
boolean launchActivity
protected android.content.Intent getActivityIntent ()
protected void beforeActivityLaunched ()
protected void afterActivityLaunched ()
protected void afterActivityFinished ()
public android.app.Activity getActivity ()
public org.junit.runners.model.Statement apply (org.junit.runners.model.Statement, org.junit.runner.Description)
org.junit.runners.model.Statement base
org.junit.runner.Description description
public android.app.Activity launchActivity (android.content.Intent)
String errorMessage
android.os.Bundle bundle
android.content.Intent startIntent
void setInstrumentation (android.app.Instrumentation)
android.app.Instrumentation instrumentation
public void finishActivity ()
public android.app.Instrumentation$ActivityResult getActivityResult ()
java.lang.reflect.Field resultCodeField
java.lang.reflect.Field resultDataField
NoSuchFieldException e
IllegalAccessException e
android.app.Activity activity
public void runOnUiThread (java.lang.Runnable) throws java.lang.Throwable
Runnable runnable
static synthetic android.app.Instrumentation access$000 (android.support.test.rule.ActivityTestRule)
android.support.test.rule.ActivityTestRule x0
static synthetic android.support.test.runner.intercepting.SingleActivityFactory access$100 (android.support.test.rule.ActivityTestRule)
android.support.test.rule.ActivityTestRule x0
static synthetic boolean access$200 (android.support.test.rule.ActivityTestRule)
android.support.test.rule.ActivityTestRule x0
}
android/support/test/rule/ActivityTestRule$ActivityStatement.class
ActivityTestRule.java
package android.support.test.rule
android.support.test.rule.ActivityTestRule$ActivityStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement mBase
final synthetic android.support.test.rule.ActivityTestRule this$0
public void <init> (android.support.test.rule.ActivityTestRule, org.junit.runners.model.Statement)
org.junit.runners.model.Statement base
public void evaluate () throws java.lang.Throwable
android.support.test.runner.MonitoringInstrumentation instrumentation
}
android/support/test/rule/
android/support/test/internal/statement/UiThreadStatement.class
UiThreadStatement.java
package android.support.test.internal.statement
public android.support.test.internal.statement.UiThreadStatement extends org.junit.runners.model.Statement {
private final org.junit.runners.model.Statement mBase
private final boolean mRunOnUiThread
public void <init> (org.junit.runners.model.Statement, boolean)
org.junit.runners.model.Statement base
boolean runOnUiThread
public void evaluate () throws java.lang.Throwable
java.util.concurrent.atomic.AtomicReference exceptionRef
Throwable throwable
static synthetic org.junit.runners.model.Statement access$000 (android.support.test.internal.statement.UiThreadStatement)
android.support.test.internal.statement.UiThreadStatement x0
}
android/support/test/internal/statement/UiThreadStatement$1.class
UiThreadStatement.java
package android.support.test.internal.statement
android.support.test.internal.statement.UiThreadStatement$1 extends java.lang.Object implements java.lang.Runnable {
final synthetic java.util.concurrent.atomic.AtomicReference val$exceptionRef
final synthetic android.support.test.internal.statement.UiThreadStatement this$0
void <init> (android.support.test.internal.statement.UiThreadStatement, java.util.concurrent.atomic.AtomicReference)
android.support.test.internal.statement.UiThreadStatement this$0
public void run ()
Throwable throwable
}
android/support/test/internal/statement/
android/support/test/annotation/UiThreadTest.class
UiThreadTest.java
package android.support.test.annotation
public abstract annotation android.support.test.annotation.UiThreadTest extends java.lang.Object implements java.lang.annotation.Annotation {
}