Searched refs:InstrumentationUtils (Results 1 – 11 of 11) 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()
28 import io.appium.droiddriver.util.InstrumentationUtils;42 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in DuoDriver()43 targetApkPackage = InstrumentationUtils.getTargetContext().getPackageName(); in DuoDriver()
29 import io.appium.droiddriver.util.InstrumentationUtils;40 InstrumentationUtils.checkMainThread();97 View view = InstrumentationUtils.runOnMainSyncWithTimeout(FIND_ROOT_VIEW); in findRootView()
31 import io.appium.droiddriver.util.InstrumentationUtils;44 return InstrumentationUtils.runOnMainSyncWithTimeout(new GetScreenshot( in takeScreenshot()
31 import io.appium.droiddriver.util.InstrumentationUtils;61 InstrumentationUtils.runOnMainSyncWithTimeout(attributesSnapshot); in ViewElement()110 InstrumentationUtils.tryWaitForIdleSync(timeoutMillis); in doPerformAndWait()
34 public class InstrumentationUtils { class51 if (InstrumentationUtils.instrumentation != null) { in init()54 InstrumentationUtils.instrumentation = instrumentation; in init()
50 return InstrumentationUtils.runOnMainSyncWithTimeout(GET_RUNNING_ACTIVITY);81 if (InstrumentationUtils.tryWaitForIdleSync(timeoutMillis)) { in getRunningActivity()
34 import io.appium.droiddriver.util.InstrumentationUtils;58 InputMethodManager imm = (InputMethodManager) InstrumentationUtils.getTargetContext() in perform()
29 import io.appium.droiddriver.util.InstrumentationUtils;58 InstrumentationUtils.tryWaitForIdleSync(POWER_ON.getTimeoutMillis()); in wakeUp()
28 import io.appium.droiddriver.util.InstrumentationUtils;62 Context targetContext = InstrumentationUtils.getInstrumentation().getTargetContext(); in resourceId()
2336 "test/android/javatests/src/org/chromium/base/test/util/InstrumentationUtils.java",