Home
last modified time | relevance | path

Searched refs:getInstrumentation (Results 1 – 17 of 17) 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 …]
DVideoCapturerAndroidTest.java46 getInstrumentation().getContext(), true, true, true)); in setUp()
60 new Camera2Enumerator(getInstrumentation().getContext()); in testCamera2Enumerator()
169 capturer, cameraEvents, getInstrumentation().getContext()); in testCameraEvents()
179 getInstrumentation().getContext()); in testCameraCallsAfterStop()
190 getInstrumentation().getContext()); in testCameraCallsAfterStopUsingTextures()
219 getInstrumentation().getContext()); in testStartStopWithDifferentResolutions()
229 getInstrumentation().getContext()); in testStartStopWithDifferentResolutionsUsingTextures()
241 capturer, getInstrumentation().getContext()); in testStartWhileCameraAlreadyOpened()
252 capturer, getInstrumentation().getContext()); in testStartWhileCameraIsAlreadyOpenAndCloseCamera()
263 capturer, getInstrumentation().getContext()); in startWhileCameraIsAlreadyOpenAndStop()
[all …]
DPeerConnectionAndroidTest.java38 getInstrumentation().getContext(), true, true, true)); in setUp()
DSurfaceViewRendererOnMeasureTest.java95 new SurfaceViewRenderer(getInstrumentation().getContext()); in testNoFrame()
134 new SurfaceViewRenderer(getInstrumentation().getContext()); in testFrame1280x720()
/external/droiddriver/src/io/appium/droiddriver/util/
DInstrumentationUtils.java64 init(InstrumentationRegistry.getInstrumentation(), InstrumentationRegistry.getArguments()); in checkInitialized()
68 public static Instrumentation getInstrumentation() { in getInstrumentation() method in InstrumentationUtils
74 return getInstrumentation().getTargetContext(); in getTargetContext()
108 getInstrumentation().waitForIdle(emptyTask); in tryWaitForIdleSync()
195 getInstrumentation().runOnMainSync(this); in runOnMainSyncNoThrow()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DDroidDrivers.java72 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in newDriver()
98 if (InstrumentationUtils.getInstrumentation().getUiAutomation() == null) { in checkUiAutomation()
DBaseDroidDriverTest.java86 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/manualtest/src/io/appium/droiddriver/manualtest/
DManualTest.java33 DroidDriversInitializer.get(new UiAutomationDriver(getInstrumentation())).singleRun(); in classSetUp()
/external/droiddriver/src/io/appium/droiddriver/duo/
DDuoDriver.java42 Instrumentation instrumentation = InstrumentationUtils.getInstrumentation(); in DuoDriver()
/external/droiddriver/src/io/appium/droiddriver/base/
DDroidDriverContext.java40 public Instrumentation getInstrumentation() { in getInstrumentation() method in DroidDriverContext
DBaseUiDevice.java48 (PowerManager) getContext().getInstrumentation().getTargetContext() in isScreenOn()
/external/libmojo/base/android/javatests/src/org/chromium/base/
DAdvancedMockContextTest.java47 Context targetContext = getInstrumentation().getTargetContext(); in testComponentCallbacksForTargetContext()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationDriver.java151 (AccessibilityManager) driver.context.getInstrumentation().getTargetContext() in clearAccessibilityNodeInfoCache()
/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/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java242 getInstrumentation().getContext(), peerConnectionParameters, this); in createPeerConnectionClient()