Skip navigation links
C G S T V 

C

com.linkedin.android.testbutler - package com.linkedin.android.testbutler
 

G

grantPermission(Context, String) - Static method in class com.linkedin.android.testbutler.TestButler
A helper method for granting runtime permissions to apps under test on API 23+

S

setAccessibilityServiceState(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Enable TestButler's dummy accessibility service.
setAlwaysFinishActivities(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Enable or disable always finish activities setting on the emulator
setGsmState(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Enable/disable the GSM connection on the emulator
setImmersiveModeConfirmation(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Enable or disable immersive mode confirmation
setLocale(String, String, Context) - Static method in class com.linkedin.android.testbutler.TestButler
Set the locale for the application under test.
setLocationMode(int) - Static method in class com.linkedin.android.testbutler.TestButler
Change the location services mode on the emulator
setRotation(int) - Static method in class com.linkedin.android.testbutler.TestButler
Change the screen rotation of the emulator
setShowImeWithHardKeyboardState(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Tell the system to prefer the hardware IME This method has no effect on api levels below API 22 You must have your emulator configured with a hardware IME, or this method has no effect
setSpellCheckerState(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Enable or disable the system spell checker
setup(Context) - Static method in class com.linkedin.android.testbutler.TestButler
Start the remote ButlerService to prepare for running tests
setWifiState(boolean) - Static method in class com.linkedin.android.testbutler.TestButler
Enable/disable the Wifi connection on the emulator

T

teardown(Context) - Static method in class com.linkedin.android.testbutler.TestButler
Stop the remote ButlerService to indicate the test run has completed.
TestButler - Class in com.linkedin.android.testbutler
Main entry point for test code to interface with the Test Butler app running on the emulator.
TestButler() - Constructor for class com.linkedin.android.testbutler.TestButler
 
TestButler.LocationMode - Annotation Type in com.linkedin.android.testbutler
 
TestButler.Rotation - Annotation Type in com.linkedin.android.testbutler
AOSP has an IntDef for this, but it's hidden, so we create our own here

V

verifyAnimationsDisabled(Context) - Static method in class com.linkedin.android.testbutler.TestButler
Validate that all animations have been disabled during the TestButler.setup(Context) call.
C G S T V 
Skip navigation links