/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/tests/ |
MultiDexAndroidJUnitRunner.java | 27 MultiDex.installInstrumentation(getContext(), getTargetContext());
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/src/com/android/multidexlegacytestapp/test2/ |
MultiDexAndroidJUnitRunner.java | 11 MultiDex.installInstrumentation(getContext(), getTargetContext());
|
/frameworks/multidex/instrumentation/src/com/android/test/runner/ |
MultiDexTestRunner.java | 35 MultiDex.installInstrumentation(getContext(), getTargetContext());
|
/development/apps/launchperf/src/com/android/launchperf/ |
HelloWorldLaunchPerformance.java | 40 mIntent.setClassName(getTargetContext(), "com.example.android.apis.app.HelloWorld");
|
NotePadLaunchPerformance.java | 40 mIntent.setClassName(getTargetContext(), "com.android.notepad.NotesList");
|
PhoneLaunchPerformance.java | 40 mIntent.setClassName(getTargetContext(), "com.android.phone.CallLogList");
|
/external/robolectric-shadows/integration_tests/android_support_test/src/test/java/org/robolectric/integration_tests/atsl/ |
InstrumentationRegistryTest.java | 30 public void getTargetContext() { 31 assertThat(InstrumentationRegistry.getTargetContext()).isNotNull(); 33 assertThat(InstrumentationRegistry.getTargetContext().getPackageName()).isEqualTo( 54 priorContext = InstrumentationRegistry.getTargetContext(); 57 assertThat(priorContext).isNotEqualTo(InstrumentationRegistry.getTargetContext());
|
/packages/apps/Gallery/tests/src/com/android/camera/ |
CameraLaunchPerformance.java | 33 mIntent.setClassName(getTargetContext(), "com.android.camera.Camera");
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/ |
CameraLaunchPerformance.java | 33 mIntent.setClassName(getTargetContext(), "com.android.camera.Camera");
|
/packages/apps/Music/tests/src/com/android/music/ |
MusicPlayerLaunchPerformance.java | 40 mIntent.setClassName(getTargetContext(), "com.android.music.MusicBrowserActivity");
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ContactsFilterInstrumentation.java | 50 intent.setClassName(getTargetContext(),
|
ContactsSelectInstrumentation.java | 52 intent.setClassName(getTargetContext(),
|
LocalSampleInstrumentation.java | 57 intent.setClass(getTargetContext(), SaveRestoreState.class);
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
BatterySettingsUITest.java | 68 InstrumentationRegistry.getTargetContext(), Intent.ACTION_POWER_USAGE_SUMMARY);
|
SecuritySettingsLaunchTest.java | 69 InstrumentationRegistry.getTargetContext(), Settings.ACTION_SECURITY_SETTINGS);
|
StorageSettingsUITest.java | 72 InstrumentationRegistry.getTargetContext(),
|
WirelessNetworkSettingsTests.java | 71 Settings.Global.putString(InstrumentationRegistry.getTargetContext().getContentResolver(), 106 InstrumentationRegistry.getTargetContext().getContentResolver(), 117 WifiManager wifiManager = (WifiManager) InstrumentationRegistry.getTargetContext() 120 SettingsHelper.launchSettingsPage(InstrumentationRegistry.getTargetContext(),
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
InstrumentationUtils.java | 73 public static Context getTargetContext() { 74 return getInstrumentation().getTargetContext();
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/ |
BatteryChargingTrackerTest.java | 143 InstrumentationRegistry.getTargetContext(),
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
TelephonyProviderTestable.java | 112 super(InstrumentationRegistry.getTargetContext(),
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaPlayerStressTest.java | 173 intent.setClass(inst.getTargetContext(), MediaFrameworkTest.class);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceActivityFlowLandscapeTest.java | 194 intent.setClass(InstrumentationRegistry.getTargetContext(),
|
PreferenceActivityFlowPortraitTest.java | 194 intent.setClass(InstrumentationRegistry.getTargetContext(),
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
BaseDroidDriverTest.java | 85 protected Context getTargetContext() { 86 return getInstrumentation().getTargetContext();
|
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
WebViewCompatTest.java | 121 new MockContext(InstrumentationRegistry.getTargetContext().getApplicationContext()); 138 WebViewCompat.startSafeBrowsing(InstrumentationRegistry.getTargetContext(), null); 147 InstrumentationRegistry.getTargetContext().getApplicationContext(), 238 InstrumentationRegistry.getTargetContext())); 242 InstrumentationRegistry.getTargetContext()));
|