Searched refs:InstrumentationUtils (Results 1 – 9 of 9) sorted by relevance
27 import io.appium.droiddriver.util.InstrumentationUtils;72 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in newDriver()73 String driverClass = InstrumentationUtils.getD2Option("driver"); in newDriver()98 if (InstrumentationUtils.getInstrumentation().getUiAutomation() == null) { in checkUiAutomation()
31 import io.appium.droiddriver.util.InstrumentationUtils;53 InstrumentationUtils.init(this, arguments); in onCreate()72 return InstrumentationUtils.runOnMainSyncWithTimeout(GET_RUNNING_ACTIVITY); in onStart()
38 public class InstrumentationUtils { class55 if (InstrumentationUtils.instrumentation != null) { in init()58 InstrumentationUtils.instrumentation = instrumentation; in init()
42 import io.appium.droiddriver.util.InstrumentationUtils;69 InstrumentationUtils.init(this, arguments); in onCreate()94 InstrumentationUtils.runOnMainSyncWithTimeout(new Runnable() { in onStart()
34 import io.appium.droiddriver.util.InstrumentationUtils;58 InputMethodManager imm = (InputMethodManager) InstrumentationUtils.getTargetContext() in perform()
31 import io.appium.droiddriver.util.InstrumentationUtils;44 return InstrumentationUtils.runOnMainSyncWithTimeout(new GetScreenshot( in takeScreenshot()
32 import io.appium.droiddriver.util.InstrumentationUtils;83 return InstrumentationUtils.runOnMainSyncWithTimeout(FIND_ROOT_VIEW); in findRootView()
40 import io.appium.droiddriver.util.InstrumentationUtils;224 InstrumentationUtils.runOnMainSyncWithTimeout(attributesSnapshot); in ViewElement()273 InstrumentationUtils.tryWaitForIdleSync(timeoutMillis); in doPerformAndWait()
23 import io.appium.droiddriver.util.InstrumentationUtils;52 Context targetContext = InstrumentationUtils.getInstrumentation().getTargetContext(); in resourceId()