Home
last modified time | relevance | path

Searched refs:getTargetContext (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DNetworkMonitorTest.java163 Context context = getInstrumentation().getTargetContext(); in createTestMonitor()
200 Context context = getInstrumentation().getTargetContext(); in testNetworkMonitorRegistersInConstructor()
218 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
223 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
228 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
233 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
239 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
244 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent); in testNetworkMonitorJavaObservers()
250 receiver.onReceive(getInstrumentation().getTargetContext(), noConnectivityIntent); in testNetworkMonitorJavaObservers()
263 new ConnectivityManagerDelegate(getInstrumentation().getTargetContext()); in testConnectivityManagerDelegateDoesNotCrash()
[all …]
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java73 public static Context getTargetContext() { in getTargetContext() method in InstrumentationUtils
74 return getInstrumentation().getTargetContext(); in getTargetContext()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DBaseDroidDriverTest.java85 protected Context getTargetContext() { in getTargetContext() method in BaseDroidDriverTest
86 return getInstrumentation().getTargetContext(); in getTargetContext()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/
DMojoTestCase.java29 Context appContext = getInstrumentation().getTargetContext().getApplicationContext(); in setUp()
/external/droiddriver/src/io/appium/droiddriver/duo/
DDuoDriver.java43 targetApkPackage = InstrumentationUtils.getTargetContext().getPackageName(); in DuoDriver()
/external/libmojo/base/android/javatests/src/org/chromium/base/
DAdvancedMockContextTest.java47 Context targetContext = getInstrumentation().getTargetContext(); in testComponentCallbacksForTargetContext()
/external/droiddriver/src/io/appium/droiddriver/actions/view/
DCloseKeyboardAction.java58 InputMethodManager imm = (InputMethodManager) InstrumentationUtils.getTargetContext() in perform()
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiDevice.java48 (PowerManager) getContext().getInstrumentation().getTargetContext() in isScreenOn()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationDriver.java151 (AccessibilityManager) driver.context.getInstrumentation().getTargetContext() in clearAccessibilityNodeInfoCache()
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DDeqpInstrumentation.java74 final RemoteAPI remoteApi = new RemoteAPI(getTargetContext(), m_logFileName); in onStart()
/external/droiddriver/src/io/appium/droiddriver/finders/
DBy.java62 Context targetContext = InstrumentationUtils.getInstrumentation().getTargetContext(); in resourceId()
/external/libmojo/base/android/javatests/src/org/chromium/base/metrics/
DRecordHistogramTest.java24 .ensureInitialized(getInstrumentation().getTargetContext()); in setUp()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java2070 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir;