Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
U
W
Z
A
addContact(String, String)
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
Armser
- Class in
com.baidu.cafe.remote
Armser(Context)
- Constructor for class com.baidu.cafe.remote.
Armser
B
beginRecordCode()
- Method in class com.baidu.cafe.local.
LocalLib
add listeners on all views for generating Cafe code automatically
bind(Context)
- Method in class com.baidu.cafe.remote.
Armser
C
changeLanguage(String)
- Method in class com.baidu.cafe.remote.
Armser
change language
checkProcessAlive(String)
- Method in class com.baidu.cafe.remote.
Armser
check the given processname alive or not
clearApplicationUserData(String)
- Method in class com.baidu.cafe.remote.
Armser
clear application's user data same as click SystemSettings->Applications->Manage Applications->XXXX application->Clear Data; suggest to use this function in teardown
clearLog()
- Method in class com.baidu.cafe.remote.
Armser
clear (flush) the entire log, by calling "logcat -c"
clickInListWithFamilyString(int, String)
- Method in class com.baidu.cafe.local.
LocalLib
clickOn(String, String, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
Clicks on a
View
of a specific class, with a certain familyString.
clickOnExpandableListView(String, int)
- Method in class com.baidu.cafe.local.
LocalLib
clickOnScreenDown()
- Method in class com.baidu.cafe.local.
LocalLib
click on screen, the point is on the down
clickOnScreenLeft()
- Method in class com.baidu.cafe.local.
LocalLib
click on screen, the point is on the left
clickOnScreenRight()
- Method in class com.baidu.cafe.local.
LocalLib
click on screen, the point is on the right
clickOnScreenUp()
- Method in class com.baidu.cafe.local.
LocalLib
click on screen, the point is on the up
clickOnTab(int, int)
- Method in class com.baidu.cafe.local.
LocalLib
Click on a tab with a certain item
clickOnViewWithoutScroll(View, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
clickOnWebElementByFamilyString(String)
- Method in class com.baidu.cafe.local.
LocalLib
Clicks on the WebElement by the given family string.
clickScreen(int, int)
- Method in class com.baidu.cafe.remote.
Armser
click on screen
clickViaPerformClick(View, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
clickView(String, String, int, int, int, int, int, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click a view
clickViewById(String)
- Method in class com.baidu.cafe.local.
LocalLib
click a specified view
clickViewById(String, int)
- Method in class com.baidu.cafe.local.
LocalLib
clickViewById(String)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by id without auto-scroll and xOffset = 0, yOffset = 0, timeout = 10000, index = 0
clickViewById(String, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by id and xOffset = 0, yOffset = 0, timeout = 10000, index = 0
clickViewById(String, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by id and xOffset = 0, yOffset = 0, timeout = 10000
clickViewById(String, int, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by id and xOffset = 0, yOffset = 0
clickViewById(String, int, int, int, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by id
clickViewByText(String)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by text without auto-scroll and xOffset=0, yOffset = 0, timeout=10000, index = 0, searchMode = LocalLib.SEARCHMODE_INCLUDE_MATCHING
clickViewByText(String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by text without auto-scroll and xOffset=0, yOffset = 0, timeout=10000, index = 0
clickViewByText(String, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by text without offset and timeout = 10000, index = 0
clickViewByText(String, int, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by text without offset and timeout = 10000
clickViewByText(String, int, int, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by text without offset
clickViewByText(String, int, int, int, int, int, String, int)
- Method in class com.baidu.cafe.remote.
Armser
click on a view by text
clickViewWithoutAssert(View)
- Method in class com.baidu.cafe.local.
LocalLib
com.baidu.cafe.local
- package com.baidu.cafe.local
com.baidu.cafe.remote
- package com.baidu.cafe.remote
copyAssets(String)
- Method in class com.baidu.cafe.remote.
Armser
countLevelFromViewToFather(View, Class<?>)
- Method in class com.baidu.cafe.local.
LocalLib
find parent until parent is father or java.lang.Object(to the end)
D
deleteAccount(String, String)
- Method in class com.baidu.cafe.remote.
Armser
deleteContact(String)
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
diffLog(String[], String[])
- Method in class com.baidu.cafe.remote.
Armser
diff log
drag(float, float, float, float, int)
- Method in class com.baidu.cafe.remote.
Armser
dragHalfScreenDown(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenHeight * 0.5f) to (mScreenHeight)
dragHalfScreenLeft(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenWidth * 0.5f) to (0)
dragHalfScreenRight(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenWidth * 0.5f) to (mScreenWidth)
dragHalfScreenUp(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenHeight * 0.5f) to (0)
dragPercent(float, float, float, float, int)
- Method in class com.baidu.cafe.local.
LocalLib
Simulate touching a specific location and dragging to a new location.
dragQuarterScreenDown(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenHeight * 0.5f) to (mScreenHeight * 0.75f)
dragQuarterScreenLeft(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenWidth * 0.5f) to (mScreenWidth * 0.25f)
dragQuarterScreenRight(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenWidth * 0.5f) to (mScreenWidth * 0.75f)
dragQuarterScreenUp(int)
- Method in class com.baidu.cafe.remote.
Armser
drag from (mScreenHeight * 0.5f) to (mScreenHeight * 0.25f)
dragScreenToDown(int)
- Method in class com.baidu.cafe.local.
LocalLib
drag on screen to Down
dragScreenToLeft(int)
- Method in class com.baidu.cafe.local.
LocalLib
drag on screen to Left
dragScreenToRight(int)
- Method in class com.baidu.cafe.local.
LocalLib
drag on screen to right
dragScreenToUp(int)
- Method in class com.baidu.cafe.local.
LocalLib
drag on screen to up
dumpActivityText(boolean)
- Method in class com.baidu.cafe.local.
LocalLib
dump text of activity including webview
dumpPage()
- Method in class com.baidu.cafe.local.
LocalLib
E
enterText(String, String, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
Sets an
EditText
text
enterText(String)
- Method in class com.baidu.cafe.remote.
Armser
enter a string
enterTextInWebElementByFamilyString(String, String)
- Method in class com.baidu.cafe.local.
LocalLib
Enters text in a WebElement by family string
executeOnDevice(String, String)
- Static method in class com.baidu.cafe.local.
LocalLib
run shell command with tested app's permission
executeOnDevice(String, String, long)
- Static method in class com.baidu.cafe.local.
LocalLib
run shell command with tested app's permission
expandStatusBar()
- Method in class com.baidu.cafe.remote.
Armser
F
factoryResetWithEraseSD()
- Method in class com.baidu.cafe.remote.
Armser
factory reset with erase sd card
findViewsByText(String)
- Method in class com.baidu.cafe.local.
LocalLib
Deprecated.
formatSD()
- Method in class com.baidu.cafe.remote.
Armser
format sd card
formatSize(long)
- Method in class com.baidu.cafe.remote.
Armser
formats a content size to be in the form of bytes, kilobytes, megabytes, etc
G
getAccountName()
- Method in class com.baidu.cafe.remote.
Armser
get account name
getAccountType()
- Method in class com.baidu.cafe.remote.
Armser
get account type
getActivitiesFromPackage(String)
- Method in class com.baidu.cafe.local.
LocalLib
getActivityAsync(String)
- Method in class com.baidu.cafe.local.
LocalLib
you can use this function when getActivtiy is hang.
getActualValue()
- Method in interface com.baidu.cafe.local.
LocalLib.WaitCallBack
getAllClassNamesFromPackage(String)
- Method in class com.baidu.cafe.local.
LocalLib
get all class names from a package via its dex file
getAllRunningActivities()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
getAllRunningServices()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
getAppNameByPID(int)
- Method in class com.baidu.cafe.local.
LocalLib
getAudioMode()
- Method in class com.baidu.cafe.remote.
Armser
get the current audio mode
getAudioVolume(int)
- Method in class com.baidu.cafe.remote.
Armser
get the audio volume
getAutoTimeState()
- Method in class com.baidu.cafe.remote.
Armser
getBackgroundDataState()
- Method in class com.baidu.cafe.remote.
Armser
getBaseBandVersion()
- Method in class com.baidu.cafe.remote.
Armser
get baseband version e.g.
getBatteryHealth()
- Method in class com.baidu.cafe.remote.
Armser
get battery status
getBatteryIconsmall()
- Method in class com.baidu.cafe.remote.
Armser
get resource id of battery small icon
getBatteryLevel()
- Method in class com.baidu.cafe.remote.
Armser
get battery level
getBatteryPlugged()
- Method in class com.baidu.cafe.remote.
Armser
get battery plugged category
getBatteryPresent()
- Method in class com.baidu.cafe.remote.
Armser
get battery present
getBatteryScale()
- Method in class com.baidu.cafe.remote.
Armser
get battery scale
getBatteryStatus()
- Method in class com.baidu.cafe.remote.
Armser
get battery status
getBatteryTechnology()
- Method in class com.baidu.cafe.remote.
Armser
get battery technology
getBatteryTemperature()
- Method in class com.baidu.cafe.remote.
Armser
get battery temperature
getBatteryVoltage()
- Method in class com.baidu.cafe.remote.
Armser
get battery voltage
getBlueToothAddress()
- Method in class com.baidu.cafe.remote.
Armser
get bluetooth address
getBuildNumber()
- Method in class com.baidu.cafe.remote.
Armser
get build number
getBuildVersion()
- Method in class com.baidu.cafe.remote.
Armser
get build version
getCurrentTabs()
- Method in class com.baidu.cafe.local.
LocalLib
Returns an ArrayList with the Tab located in the current activity
getCurrentTaskActivitiesNumber()
- Method in class com.baidu.cafe.remote.
Armser
getCurrentViewIndex(View)
- Method in class com.baidu.cafe.local.
LocalLib
get view index by its class at current activity
getCurrentViews(Class<T>, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
getDataState()
- Method in class com.baidu.cafe.remote.
Armser
get current data state
getDeviceModel()
- Method in class com.baidu.cafe.remote.
Armser
get device model Full BMOS on Passion
getDisplayX()
- Method in class com.baidu.cafe.local.
LocalLib
getDisplayX()
- Method in class com.baidu.cafe.remote.
Armser
get width of screen
getDisplayY()
- Method in class com.baidu.cafe.local.
LocalLib
getDisplayY()
- Method in class com.baidu.cafe.remote.
Armser
get height of screen
getDistance(float, float, float, float)
- Static method in class com.baidu.cafe.local.
LocalLib
getFamilyString(View)
- Method in class com.baidu.cafe.local.
LocalLib
getFocusedWindow()
- Method in class com.baidu.cafe.remote.
Armser
get focused window name
getFocusView(ArrayList<View>)
- Method in class com.baidu.cafe.local.
LocalLib
getInputMethodStatus()
- Method in class com.baidu.cafe.remote.
Armser
get status of input method
getInstrumentation()
- Method in class com.baidu.cafe.local.
LocalLib
getKernelVersion()
- Method in class com.baidu.cafe.remote.
Armser
get kernel version
getListener(View, Class<?>, String)
- Method in class com.baidu.cafe.local.
LocalLib
Get listener from view.
getLog()
- Method in class com.baidu.cafe.remote.
Armser
get log information, by calling logcat with parameters "-d -v -time"
getLog(String)
- Method in class com.baidu.cafe.remote.
Armser
get log information, by calling logcat with parameters "-d -v -time" and filterSpecs
getLog(String[])
- Method in class com.baidu.cafe.remote.
Armser
get log information, by calling logcat with specified parameters
getMasterSyncAutomatically()
- Method in class com.baidu.cafe.remote.
Armser
getMemoryInternalAvail()
- Method in class com.baidu.cafe.remote.
Armser
get available internal memory
getMyPhoneNumber()
- Method in class com.baidu.cafe.remote.
Armser
get my phone number
getNetworkType()
- Method in class com.baidu.cafe.remote.
Armser
get current network type
getNewViewsBegin()
- Method in class com.baidu.cafe.local.
LocalLib
call this function before new views appear
getNewViewsEnd()
- Method in class com.baidu.cafe.local.
LocalLib
call this function after new views appear
getNonMarketAppsAllowed()
- Method in class com.baidu.cafe.remote.
Armser
check nomarketappsallowed is available
getObjectProperty(Object, int, String)
- Static method in class com.baidu.cafe.local.
LocalLib
get object's private property
getPackageRcv(String)
- Static method in class com.baidu.cafe.local.
LocalLib
count how many bytes from tcp app received until now
getPackageSnd(String)
- Static method in class com.baidu.cafe.local.
LocalLib
count how many bytes from tcp app sent until now
getPermissionsForPackage(String)
- Method in class com.baidu.cafe.remote.
Armser
get package's pemissions
getPropertyNameByType(Object, int, Class<?>)
- Static method in class com.baidu.cafe.local.
LocalLib
get object's private property by type
getPropertyNameByValue(Object, int, Class<?>, Object)
- Static method in class com.baidu.cafe.local.
LocalLib
getRecentDecorView()
- Method in class com.baidu.cafe.local.
LocalLib
getRecentDecorView(View[])
- Static method in class com.baidu.cafe.local.
LocalLib
Returns the most recent DecorView
getRIdNameByValue(String, int)
- Method in class com.baidu.cafe.local.
LocalLib
getRingtoneMode()
- Method in class com.baidu.cafe.remote.
Armser
get the current ringtone mode
getScreenBrightness()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
getScreenBrightnessMode()
- Method in class com.baidu.cafe.remote.
Armser
getServerIP()
- Method in class com.baidu.cafe.remote.
Armser
get server ip
getSimCardState()
- Method in class com.baidu.cafe.remote.
Armser
get current sim card state
getSmsState()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
getStatusBarIconState(int)
- Method in class com.baidu.cafe.remote.
Armser
get icon state on statusbar
getStorageCardAvail()
- Method in class com.baidu.cafe.remote.
Armser
get storage card total size
getStorageCardSize()
- Method in class com.baidu.cafe.remote.
Armser
getStringByName(String)
- Method in class com.baidu.cafe.remote.
Armser
getStringFromArguments(String)
- Method in class com.baidu.cafe.local.
LocalLib
getSystemProperties(String)
- Method in class com.baidu.cafe.remote.
Armser
get system property same as "adb shell get prop"
getSystemTime()
- Method in class com.baidu.cafe.remote.
Armser
get system time e.g.
getTab(int)
- Method in class com.baidu.cafe.local.
LocalLib
This method returns a tab with a certain index.
getTestedRString(String)
- Method in class com.baidu.cafe.local.
LocalLib
Deprecated.
getTestRString(String)
- Method in class com.baidu.cafe.local.
LocalLib
get R.string.yourTargetString from test package
getTopActivity()
- Method in class com.baidu.cafe.remote.
Armser
get top activity
getTopPackage()
- Method in class com.baidu.cafe.remote.
Armser
getViewByFamilyString(String, String)
- Method in class com.baidu.cafe.local.
LocalLib
This method is protected by assert.
getViewById(String)
- Method in class com.baidu.cafe.local.
LocalLib
Get view by ID
getViewById(String, int)
- Method in class com.baidu.cafe.local.
LocalLib
Get view by ID
getViewById(String, int, int)
- Method in class com.baidu.cafe.local.
LocalLib
Get View By Id
getViewByRString(String)
- Method in class com.baidu.cafe.local.
LocalLib
getViewCenter(View)
- Static method in class com.baidu.cafe.local.
LocalLib
getViewCenterPointById(String)
- Method in class com.baidu.cafe.remote.
Armser
get view's center point coordinate by id
getViewCenterPointByText(String)
- Method in class com.baidu.cafe.remote.
Armser
get view's center point coordinate by id
getViewProperties(String, String, int, int, String[], boolean)
- Method in class com.baidu.cafe.remote.
Armser
get view's properties from focused window
getViews(Class<T>, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
getViewText(View)
- Method in class com.baidu.cafe.local.
LocalLib
getWebElementsString()
- Method in class com.baidu.cafe.local.
LocalLib
getWifiState()
- Method in class com.baidu.cafe.remote.
Armser
get current wifi state
getWindowDecorViews()
- Static method in class com.baidu.cafe.local.
LocalLib
Returns the WindorDecorViews shown on the screen
getWindowList()
- Method in class com.baidu.cafe.remote.
Armser
Lists all of the available windows in the system
getWlanMacAddress()
- Method in class com.baidu.cafe.remote.
Armser
get current wifi mac address
goBack()
- Method in class com.baidu.cafe.remote.
Armser
press back key
goHome()
- Method in class com.baidu.cafe.remote.
Armser
press home key
goToSleep()
- Method in class com.baidu.cafe.remote.
Armser
force the devcie to go to sleep
GPS_PROVIDER
- Static variable in class com.baidu.cafe.remote.
Armser
H
hasAppsAccessingStorage()
- Method in class com.baidu.cafe.remote.
Armser
check if any app is accessing storage card
hideInputMethod()
- Method in class com.baidu.cafe.local.
LocalLib
hideInputMethod(EditText)
- Method in class com.baidu.cafe.local.
LocalLib
I
ICON_ALARM_CLOCK
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_BATTERY
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_BLUETOOTH
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_CDMA_ERI
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_COM_ANDROID_SYSTEMUI
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_COM_BAIDU_INPUT
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_COM_BAIDU_SYNC
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_DATA_CONNECTION
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_GPS
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_HEADSET
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_MORE
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_PHONE_SIGNAL
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_SYNC_ACTIVE
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_SYNC_FAILING
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_TTY
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_VOLUME
- Static variable in class com.baidu.cafe.remote.
Armser
ICON_WIFI
- Static variable in class com.baidu.cafe.remote.
Armser
iconName
- Static variable in class com.baidu.cafe.remote.
Armser
installApk(String)
- Method in class com.baidu.cafe.remote.
Armser
you must use "isPackageInstalled(String)" to judge if it is installed finish.
installApkSync(String, long)
- Method in class com.baidu.cafe.remote.
Armser
install a apk in sdcard, return until it install finish.
invokeObjectMethod(Object, int, String, Class<?>[], Object[])
- Method in class com.baidu.cafe.local.
LocalLib
invoke object's private method
isAccelerometerRotationEnabled()
- Method in class com.baidu.cafe.remote.
Armser
isBluetoothEnabled()
- Method in class com.baidu.cafe.remote.
Armser
check bluetooth state
isHome()
- Method in class com.baidu.cafe.remote.
Armser
Judge whether top activity is home.
isInputMethodShown()
- Method in class com.baidu.cafe.local.
LocalLib
isInScreen(View)
- Method in class com.baidu.cafe.local.
LocalLib
isLocationProviderEnabled(int)
- Method in class com.baidu.cafe.remote.
Armser
isMenu(View)
- Method in class com.baidu.cafe.local.
LocalLib
isMusicActive()
- Method in class com.baidu.cafe.remote.
Armser
check if any music is active
isNetworkEnable()
- Method in class com.baidu.cafe.remote.
Armser
ping 8.8.8.8
isPackageInstalled(String)
- Method in class com.baidu.cafe.remote.
Armser
check a package is installed or not.
isScreenLocked()
- Method in class com.baidu.cafe.remote.
Armser
check if screen is locked
isScreenOn()
- Method in class com.baidu.cafe.remote.
Armser
check if screen is currently on
isScrollStoped(ScrollView)
- Method in class com.baidu.cafe.local.
LocalLib
This method will cost 100ms to judge whether scrollview stoped.
isSize0(View)
- Method in class com.baidu.cafe.local.
LocalLib
isStorageCardReadOnly()
- Method in class com.baidu.cafe.remote.
Armser
check if storage card is currently readonly
isStorageCardValid()
- Method in class com.baidu.cafe.remote.
Armser
check if storage card is currently valid
isViewCovered(View)
- Method in class com.baidu.cafe.local.
LocalLib
isViewServerOpen()
- Method in class com.baidu.cafe.remote.
Armser
isWifiEnabled()
- Method in class com.baidu.cafe.remote.
Armser
check if wifi is currently enabled
K
killBackgroundProcesses(String)
- Method in class com.baidu.cafe.remote.
Armser
Have the system immediately kill all background processes associated with the given package.
L
launchActivity(String)
- Method in class com.baidu.cafe.remote.
Armser
launchActivity(String, int)
- Method in class com.baidu.cafe.remote.
Armser
launch a activity via sent intent
LocalLib
- Class in
com.baidu.cafe.local
It can help you as below.
LocalLib(Instrumentation, Activity)
- Constructor for class com.baidu.cafe.local.
LocalLib
LocalLib.WaitCallBack
- Interface in
com.baidu.cafe.local
longClickScreen(int, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on screen
longClickViewById(String, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0, timeout=10000, index = 0
longClickViewById(String, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0, timeout=10000
longClickViewById(String, int, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0
longClickViewById(String, int, int, int, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll
longClickViewByText(String, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0, timeout=10000, index = 0, searchMode = LocalLib.SEARCHMODE_INCLUDE_MATCHING
longClickViewByText(String, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0, timeout=10000, index = 0
longClickViewByText(String, int, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0, timeout=10000
longClickViewByText(String, int, int, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll and xOffset=0, yOffset = 0
longClickViewByText(String, int, int, int, int, int, int)
- Method in class com.baidu.cafe.remote.
Armser
long click on a view without auto-scroll
longPressKey(int)
- Method in class com.baidu.cafe.remote.
Armser
send a key evnet of long press
M
mInstrumentation
- Static variable in class com.baidu.cafe.local.
LocalLib
mount()
- Method in class com.baidu.cafe.remote.
Armser
mount storage card
mPackageName
- Static variable in class com.baidu.cafe.local.
LocalLib
mTestCaseName
- Static variable in class com.baidu.cafe.local.
LocalLib
mTheLastClick
- Static variable in class com.baidu.cafe.local.
LocalLib
N
NETWORK_PROVIDER
- Static variable in class com.baidu.cafe.remote.
Armser
P
pressKey(int)
- Method in class com.baidu.cafe.remote.
Armser
send a key evnet
R
reboot()
- Method in class com.baidu.cafe.remote.
Armser
reboot device
rebootToBootloader()
- Method in class com.baidu.cafe.remote.
Armser
reboot device to bootloader
rebootToRecoveryMode()
- Method in class com.baidu.cafe.remote.
Armser
reboot device to recovery mode
recordVideo()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
recovery()
- Method in class com.baidu.cafe.remote.
Armser
removeInvisibleViews(ArrayList<T>)
- Method in class com.baidu.cafe.local.
LocalLib
removeOutOfScreenViews(ArrayList<T>)
- Method in class com.baidu.cafe.local.
LocalLib
requestFocus(View)
- Method in class com.baidu.cafe.local.
LocalLib
runCmdOnServer(String)
- Method in class com.baidu.cafe.remote.
Armser
Deprecated.
runOnMainSync(Runnable)
- Method in class com.baidu.cafe.local.
LocalLib
runOnUiThread(Runnable)
- Method in class com.baidu.cafe.local.
LocalLib
S
SCREEN_BRIGHTNESS_MODE_AUTOMATIC
- Static variable in class com.baidu.cafe.remote.
Armser
SCREEN_BRIGHTNESS_MODE_MANUAL
- Static variable in class com.baidu.cafe.remote.
Armser
screenCap(String)
- Method in class com.baidu.cafe.remote.
Armser
take full screen cap,the function use /system/bin/screencap cmd
screenShot(String)
- Method in class com.baidu.cafe.local.
LocalLib
screenShotNamedCaseName(String)
- Method in class com.baidu.cafe.local.
LocalLib
screenShotNamedSuffix(String)
- Method in class com.baidu.cafe.local.
LocalLib
screenShotNamedTimeStamp()
- Method in class com.baidu.cafe.local.
LocalLib
Take an activity snapshot named 'timestamp', and you can get it by adb pull /data/data/
/xxxxx.jpg .
scrollListToLineWithFamilyString(int, String)
- Method in class com.baidu.cafe.local.
LocalLib
scrollScrollViewToWithFamilyString(String, int, int)
- Method in class com.baidu.cafe.local.
LocalLib
SEARCHMODE_COMPLETE_MATCHING
- Static variable in class com.baidu.cafe.local.
LocalLib
SEARCHMODE_DEFAULT
- Static variable in class com.baidu.cafe.local.
LocalLib
SEARCHMODE_INCLUDE_MATCHING
- Static variable in class com.baidu.cafe.local.
LocalLib
searchTextFromParent(View, String, int)
- Method in class com.baidu.cafe.local.
LocalLib
Search text from parent view
sendKeyEvent(int)
- Method in class com.baidu.cafe.remote.
Armser
Deprecated.
sendMultiTouchMotionEvent(int, int[], int[], int, int, int, int)
- Method in class com.baidu.cafe.local.
LocalLib
send a Multi-Touch Motion Event
setAccelerometerRotationEnabled(boolean)
- Method in class com.baidu.cafe.remote.
Armser
setAirplaneMode(boolean)
- Method in class com.baidu.cafe.remote.
Armser
set airplane mode
setAudioMuteOff(int)
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
setAudioMuteOn(int)
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
setAudioVolumeDown(int)
- Method in class com.baidu.cafe.remote.
Armser
set the audio volume down
setAudioVolumeUp(int)
- Method in class com.baidu.cafe.remote.
Armser
set the audio volume up
setAutoTimeDisabled()
- Method in class com.baidu.cafe.remote.
Armser
setAutoTimeEnabled()
- Method in class com.baidu.cafe.remote.
Armser
setBackgroundDataSetting(boolean)
- Method in class com.baidu.cafe.remote.
Armser
setBluetoothState(boolean)
- Method in class com.baidu.cafe.remote.
Armser
set bluetooth state
setCheckedTextView(int, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
set CheckedTextView checked or not
setDataConnectionDisabled()
- Method in class com.baidu.cafe.remote.
Armser
set mobile data disabled
setDataConnectionEnabled()
- Method in class com.baidu.cafe.remote.
Armser
set mobile data enalbed
setInputMethodShowOff()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
setInputMethodShowOn()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
setListener(View, Class<?>, String, Object)
- Method in class com.baidu.cafe.local.
LocalLib
This method is used to replace listener.setOnListener().
setLocationProviderEnabled(int, boolean)
- Method in class com.baidu.cafe.remote.
Armser
setMasterSyncAutomatically(boolean)
- Method in class com.baidu.cafe.remote.
Armser
setNonMarketAppsAllowed(boolean)
- Method in class com.baidu.cafe.remote.
Armser
set nomarketappsallowed is available
setObjectProperty(Object, int, String, Object)
- Method in class com.baidu.cafe.local.
LocalLib
set object's private property with custom value
setScreenBrightness(int)
- Method in class com.baidu.cafe.remote.
Armser
set screen brightness
setScreenBrightnessMode(int)
- Method in class com.baidu.cafe.remote.
Armser
setScreenLocked()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
setScreenOn()
- Method in class com.baidu.cafe.remote.
Armser
set screen still light
setScreenStayAwake(boolean)
- Method in class com.baidu.cafe.remote.
Armser
set the screen stay awake
setScreenTimeOut(int)
- Method in class com.baidu.cafe.remote.
Armser
set the timeout to lock screen
setScreenUnlocked()
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
setScreenUnlockSecurityNone()
- Method in class com.baidu.cafe.remote.
Armser
set the screen unlock mode is none
setStatusBarHeight(int)
- Method in class com.baidu.cafe.remote.
Armser
setSystemProperties(String, String)
- Method in class com.baidu.cafe.remote.
Armser
set system property same as "adb shell set prop"
setSystemTime(String)
- Method in class com.baidu.cafe.remote.
Armser
set system time
setWifiDisabled()
- Method in class com.baidu.cafe.remote.
Armser
set wifi disabled
setWifiDisconnect()
- Method in class com.baidu.cafe.remote.
Armser
set wifi disconnect
setWifiEnabled()
- Method in class com.baidu.cafe.remote.
Armser
set wifi enabled
setWifiReconnect()
- Method in class com.baidu.cafe.remote.
Armser
set wifi reconnect
setWifiStartScan()
- Method in class com.baidu.cafe.remote.
Armser
set wifi starting scan now
showInputMethod(EditText)
- Method in class com.baidu.cafe.local.
LocalLib
sleep(int)
- Method in class com.baidu.cafe.remote.
Armser
SystemClock.sleep(time);
sleepMini()
- Method in class com.baidu.cafe.remote.
Armser
sleep 200ms
T
takeActivitySnapshot(String)
- Method in class com.baidu.cafe.local.
LocalLib
Take an activity snapshot.
takeWebViewSnapshot(WebView, String)
- Method in class com.baidu.cafe.local.
LocalLib
toPercentX(float)
- Method in class com.baidu.cafe.local.
LocalLib
toPercentY(float)
- Method in class com.baidu.cafe.local.
LocalLib
toScreenX(float)
- Method in class com.baidu.cafe.local.
LocalLib
toScreenY(float)
- Method in class com.baidu.cafe.local.
LocalLib
traceFPS()
- Method in class com.baidu.cafe.local.
LocalLib
print FPS of current activity at logcat with TAG FPS
travel(int, String, String)
- Method in class com.baidu.cafe.local.
LocalLib
travel(int)
- Method in class com.baidu.cafe.local.
LocalLib
travel()
- Method in class com.baidu.cafe.local.
LocalLib
U
unbind(Context)
- Method in class com.baidu.cafe.remote.
Armser
uninstallApk(String)
- Method in class com.baidu.cafe.remote.
Armser
uninstall an apk.
unmount()
- Method in class com.baidu.cafe.remote.
Armser
unmount storage card
updatePackagePermission(String, String, int)
- Method in class com.baidu.cafe.remote.
Armser
change package's pemission state for dynamic permission
W
WAIT_INTERVAL
- Static variable in class com.baidu.cafe.local.
LocalLib
waitEqual(String, LocalLib.WaitCallBack)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for value from WaitCallBack.getActualVaule() equaling to expect value until time is out.
waitEqual(String, LocalLib.WaitCallBack, long)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for value from WaitCallBack.getActualVaule() equaling to expect value until time is out.
waitForActivity(String, long)
- Method in class com.baidu.cafe.remote.
Armser
waitForAllDumpCompleted()
- Method in class com.baidu.cafe.remote.
Armser
only for CafeTestCase.tearDown() or testcase that doesn't inherit CafeTestCase and should be called only one time
waitForTextByFamilyString(String, String)
- Method in class com.baidu.cafe.local.
LocalLib
This method is protected by assert.
waitForTextVanish(String)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a text to vanish.
waitForTextVanish(String, int)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a text to vanish.
waitForTextVanish(String, int, long)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a text to vanish.
waitForTextVanish(String, int, long, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a text to vanish.
waitforTopActivity(String, long)
- Method in class com.baidu.cafe.remote.
Armser
waitForView(String, int, int, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
waitForView(String, String, int, int, long)
- Method in class com.baidu.cafe.remote.
Armser
wait for view appearing
waitForViewByFamilyString(String, String)
- Method in class com.baidu.cafe.local.
LocalLib
This method is protected by assert.
waitforViewById(String)
- Method in class com.baidu.cafe.local.
LocalLib
wait for a specified view
waitforViewById(String, long)
- Method in class com.baidu.cafe.local.
LocalLib
wait for a specified view
waitforViewById(String, long, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
wait for a specified view
waitforViewById(String, long, boolean, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
wait for a specified view
waitForViewById(String, long)
- Method in class com.baidu.cafe.remote.
Armser
wait for view appearing by id and use LocalLib.SEARCHMODE_COMPLETE_MATCHING and index=0
waitForViewById(String, int, long)
- Method in class com.baidu.cafe.remote.
Armser
wait for view appearing by id and use LocalLib.SEARCHMODE_COMPLETE_MATCHING
waitForViewByText(String, long)
- Method in class com.baidu.cafe.remote.
Armser
wait for view appearing by text and use LocalLib.SEARCHMODE_INCLUDE_MATCHING and index=0
waitForViewByText(String, int, long)
- Method in class com.baidu.cafe.remote.
Armser
wait for view appearing by text and use LocalLib.SEARCHMODE_INCLUDE_MATCHING
waitForViewByText(String, int, int, long)
- Method in class com.baidu.cafe.remote.
Armser
wait for view appearing by text
waitForViewVanishById(String)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a view to vanish
waitForViewVanishById(String, long)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a view to vanish
waitForViewVanishById(String, long, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a view to vanish
waitForViewVanishById(String, long, boolean, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a view vanished
waitForWebElementByFamilyString(String, int, boolean)
- Method in class com.baidu.cafe.local.
LocalLib
Waits for a WebElement by family string.
writeLineToSdcard(String, String)
- Method in class com.baidu.cafe.remote.
Armser
NOT READY YET, COMING SOON...
Z
zoom(int[], int[])
- Method in class com.baidu.cafe.local.
LocalLib
zoom screen
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
U
W
Z
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes