OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getTargetContext
(Results
1 - 25
of
637
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/os/src/android/os/health/cts/
SystemHealthManagerTest.java
38
final Context context = getInstrumentation().
getTargetContext
();
49
final Context context = getInstrumentation().
getTargetContext
();
60
final Context context = getInstrumentation().
getTargetContext
();
78
final Context context = getInstrumentation().
getTargetContext
();
90
final Context context = getInstrumentation().
getTargetContext
();
107
final Context context = getInstrumentation().
getTargetContext
();
/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
());
/packages/apps/TV/tests/unit/src/com/android/tv/util/
UtilsTest_GetMultiAudioString.java
19
import static android.support.test.InstrumentationRegistry.
getTargetContext
;
38
Context context =
getTargetContext
();
52
Context context =
getTargetContext
();
78
Utils.getMultiAudioString(
getTargetContext
(),
81
Utils.getMultiAudioString(
getTargetContext
(),
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/
SwiperThemeMatcherTest.java
19
import static android.support.test.InstrumentationRegistry.
getTargetContext
;
33
getTargetContext
(), new ColorMatcher());
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
BugleActivityTest.java
39
new ActivityInstrumentationTestCaseIntent(getInstrumentation().
getTargetContext
(),
43
FakeFactory.register(getInstrumentation().
getTargetContext
())
BugleActivityUnitTestCase.java
44
TestUtil.testSetup(getInstrumentation().
getTargetContext
(), this);
46
setActivityContext(new ContextThemeWrapper(getInstrumentation().
getTargetContext
(),
BugleActivityInstrumentationTestCase.java
44
TestUtil.testSetup(getInstrumentation().
getTargetContext
(), this);
/packages/apps/TV/tests/unit/src/com/android/tv/tests/
TvActivityTest.java
19
import static android.support.test.InstrumentationRegistry.
getTargetContext
;
40
assertTrue("TvActivity should be enabled.", Utils.isTvActivityEnabled(
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");
/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");
/packages/apps/Settings/tests/app/src/com/android/settings/tests/
SettingsLaunchPerformance.java
40
mIntent.setClassName(
getTargetContext
(), "com.android.settings.Settings");
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/androidTest/java/com/example/simpleperf/simpleperfexamplepurejava/
ExampleInstrumentedTest.java
22
Context appContext = InstrumentationRegistry.
getTargetContext
();
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/androidTest/java/com/example/simpleperf/simpleperfexamplewithnative/
ExampleInstrumentedTest.java
22
Context appContext = InstrumentationRegistry.
getTargetContext
();
/cts/tests/app/src/android/app/cts/
SearchManagerTest.java
33
intent.setClass(getInstrumentation().
getTargetContext
(), SearchManagerStubActivity.class);
34
getInstrumentation().
getTargetContext
().startActivity(intent);
65
Context context = getInstrumentation().
getTargetContext
();
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
NetworkMonitorTest.java
163
Context context = getInstrumentation().
getTargetContext
();
200
Context context = getInstrumentation().
getTargetContext
();
218
receiver.onReceive(getInstrumentation().
getTargetContext
(), connectivityIntent);
223
receiver.onReceive(getInstrumentation().
getTargetContext
(), connectivityIntent);
228
receiver.onReceive(getInstrumentation().
getTargetContext
(), connectivityIntent);
233
receiver.onReceive(getInstrumentation().
getTargetContext
(), connectivityIntent);
239
receiver.onReceive(getInstrumentation().
getTargetContext
(), connectivityIntent);
244
receiver.onReceive(getInstrumentation().
getTargetContext
(), connectivityIntent);
250
receiver.onReceive(getInstrumentation().
getTargetContext
(), noConnectivityIntent);
263
new ConnectivityManagerDelegate(getInstrumentation().
getTargetContext
());
[
all
...]
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
HeaderRecyclerViewTest.java
86
mHeaderAdapter.setHeader(new View(InstrumentationRegistry.
getTargetContext
()));
108
mHeaderAdapter.setHeader(new View(InstrumentationRegistry.
getTargetContext
()));
130
mHeaderAdapter.setHeader(new View(InstrumentationRegistry.
getTargetContext
()));
152
mHeaderAdapter.setHeader(new View(InstrumentationRegistry.
getTargetContext
()));
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/
ServiceLifecycleTest.java
68
Context context = InstrumentationRegistry.
getTargetContext
();
84
Context context = InstrumentationRegistry.
getTargetContext
();
93
Context context = InstrumentationRegistry.
getTargetContext
();
104
InstrumentationRegistry.
getTargetContext
().unbindService(connection);
110
Context context = InstrumentationRegistry.
getTargetContext
();
132
Context context = InstrumentationRegistry.
getTargetContext
();
155
Context context = InstrumentationRegistry.
getTargetContext
();
179
Context context = InstrumentationRegistry.
getTargetContext
();
202
Context context = InstrumentationRegistry.
getTargetContext
();
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
MediaNowPlayingViewTest.java
38
mContext = InstrumentationRegistry.
getTargetContext
();
/packages/apps/Contacts/tests/src/com/android/contacts/
ContactsLaunchPerformance.java
35
mIntent.setComponent(new ComponentName(
getTargetContext
(),
Completed in 312 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>