/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | NetworkMonitorTest.java | 163 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/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/ |
D | BlacklistedApis.java | 60 Context context = InstrumentationRegistry.getTargetContext(); in isDebuggable() 70 Context targetContext = InstrumentationRegistry.getTargetContext(); in callBlacklistedPublicMethodRealMethod() 101 Context targetContext = InstrumentationRegistry.getTargetContext(); in copyBlacklistedFields() 124 spy(new View(InstrumentationRegistry.getTargetContext(), null)); in cannotCallBlackListedAfterSpying()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalActivityInvoker.java | 4 import static androidx.test.InstrumentationRegistry.getTargetContext; 34 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivity() 191 Intent intent = Intent.makeMainActivity(new ComponentName(getTargetContext(), activityClass)); in getIntentForActivity() 192 if (getTargetContext().getPackageManager().resolveActivity(intent, 0) != null) { in getIntentForActivity()
|
D | LocalPermissionGranter.java | 25 (Application) InstrumentationRegistry.getInstrumentation().getTargetContext(); in requestPermissions()
|
/external/grpc-grpc-java/android-interop-testing/app/src/androidTest/java/io/grpc/android/integrationtest/ |
D | InteropInstrumentationTest.java | 72 ProviderInstaller.installIfNeeded(InstrumentationRegistry.getTargetContext()); in setUp() 123 testCa = InstrumentationRegistry.getTargetContext().getResources().openRawResource(R.raw.ca); in runTest()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | InstrumentationUtils.java | 76 public static Context getTargetContext() { in getTargetContext() method in InstrumentationUtils 77 return getInstrumentation().getTargetContext(); in getTargetContext()
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
D | BaseDroidDriverTest.java | 85 protected Context getTargetContext() { in getTargetContext() method in BaseDroidDriverTest 86 return getInstrumentation().getTargetContext(); in getTargetContext()
|
/external/droiddriver/src/io/appium/droiddriver/duo/ |
D | DuoDriver.java | 43 targetApkPackage = InstrumentationUtils.getTargetContext().getPackageName(); in DuoDriver()
|
/external/droiddriver/src/io/appium/droiddriver/actions/view/ |
D | CloseKeyboardAction.java | 58 InputMethodManager imm = (InputMethodManager) InstrumentationUtils.getTargetContext() in perform()
|
/external/grpc-grpc/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/ |
D | InteropTest.java | 48 Context ctx = InstrumentationRegistry.getTargetContext(); in setUp()
|
/external/droiddriver/src/io/appium/droiddriver/base/ |
D | BaseUiDevice.java | 48 (PowerManager) getContext().getInstrumentation().getTargetContext() in isScreenOn()
|
/external/droiddriver/src/io/appium/droiddriver/uiautomation/ |
D | UiAutomationDriver.java | 151 (AccessibilityManager) driver.context.getInstrumentation().getTargetContext() in clearAccessibilityNodeInfoCache()
|
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/ |
D | MockStatic.java | 93 ContentResolver resolver = InstrumentationRegistry.getTargetContext().getContentResolver(); in spyStatic() 137 ContentResolver resolver = InstrumentationRegistry.getTargetContext().getContentResolver(); in mockStatic()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/ |
D | RoboMonitoringInstrumentation.java | 42 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivitySync()
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
D | DeqpInstrumentation.java | 74 final RemoteAPI remoteApi = new RemoteAPI(getTargetContext(), m_logFileName); in onStart()
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | By.java | 62 Context targetContext = InstrumentationUtils.getInstrumentation().getTargetContext(); in resourceId()
|
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQPRunner.java | 45 Context context = InstrumentationRegistry.getTargetContext(); in SkQPRunner()
|
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQPRunner.java | 45 Context context = InstrumentationRegistry.getTargetContext(); in SkQPRunner()
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AnnotationIdTest.java | 362 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir; in getDataDirectory()
|
D | DexMakerTest.java | 2249 String dataDir = InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir;
|