HomeSort by relevance Sort by last modified time
    Searched defs:mTargetContext (Results 1 - 10 of 10) sorted by null

  /frameworks/base/test-runner/src/android/test/
SyncBaseInstrumentation.java 38 private Context mTargetContext;
45 mTargetContext = getInstrumentation().getTargetContext();
46 mContentResolver = mTargetContext.getContentResolver();
  /cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java 37 private Context mTargetContext;
46 mTargetContext = getInstrumentation().getTargetContext();
51 new Spinner(mTargetContext);
53 new Spinner(mTargetContext, null);
55 new Spinner(mTargetContext, null, android.R.attr.spinnerStyle);
57 new Spinner(mTargetContext, Spinner.MODE_DIALOG);
59 new Spinner(mTargetContext, null, android.R.attr.spinnerStyle,
62 new Spinner(mTargetContext, null, android.R.attr.spinnerStyle, 0,
65 new Spinner(mTargetContext, null, android.R.attr.spinnerStyle, 0,
66 Spinner.MODE_DIALOG, mTargetContext.getTheme())
    [all...]
ScrollerTest.java 31 private Context mTargetContext;
36 mTargetContext = getInstrumentation().getTargetContext();
37 mScroller = new Scroller(mTargetContext);
41 new Scroller(mTargetContext);
43 new Scroller(mTargetContext, new LinearInterpolator());
65 mScroller = new Scroller(mTargetContext);
326 mScroller = new Scroller(mTargetContext, new LinearInterpolator());
TableLayout_LayoutParamsTest.java 36 private Context mTargetContext;
41 mTargetContext = getInstrumentation().getTargetContext();
45 new TableLayout.LayoutParams(mTargetContext, null);
76 TypedArray a = mTargetContext.obtainStyledAttributes(attrs,
92 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
107 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
143 parser = mTargetContext.getResources().getXml(R.xml.base_attributes);
TableRow_LayoutParamsTest.java 42 Context mTargetContext;
51 mTargetContext = getInstrumentation().getTargetContext();
56 new TableRow.LayoutParams(mTargetContext, null);
119 TypedArray a = mTargetContext.obtainStyledAttributes(attrs,
135 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
150 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
189 parser = mTargetContext.getResources().getXml(R.xml.base_attributes);
TableRowTest.java 44 Context mTargetContext;
54 mTargetContext = getInstrumentation().getTargetContext();
134 Resources resources = mTargetContext.getResources();
  /packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
LauncherInstrumentationTestCase.java 48 protected Context mTargetContext;
56 mTargetContext = getInstrumentation().getTargetContext();
57 mTargetPackage = mTargetContext.getPackageName();
61 Utilities.getPrefs(mTargetContext)
89 if (mTargetContext.getPackageManager().checkPermission(
110 By.desc(mTargetContext.getString(R.string.all_apps_button_label))),
122 By.text(mTargetContext.getString(R.string.widget_button_text)
188 LauncherSettings.Settings.call(mTargetContext.getContentResolver(),
190 LauncherSettings.Settings.call(mTargetContext.getContentResolver(),
192 LauncherClings.markFirstRunClingDismissed(mTargetContext);
    [all...]
  /packages/apps/Settings/tests/app/src/com/android/settings/gesture/
GestureSettingsTest.java 47 private Context mTargetContext;
54 mTargetContext = getInstrumentation().getTargetContext();
55 mTargetPackage = mTargetContext.getPackageName();
71 mTargetContext.getResources().getString(R.string.gesture_preference_title)));
78 assertSwitchToggle(mTargetContext.getResources().getString(
85 assertSwitchToggle(mTargetContext.getResources().getString(
92 assertSwitchToggle(mTargetContext.getResources().getString(
99 assertSwitchToggle(mTargetContext.getResources().getString(
106 assertSwitchToggle(mTargetContext.getResources().getString(
124 mTargetContext.getResources().getString(R.string.gesture_preference_title)
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/
InstrumentationTestRunnerTest.java 203 private Context mTargetContext;
215 this.mTargetContext = targetContext;
228 return mTargetContext;
  /packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/
TaskSchedulerServiceTestBase.java 59 public Context mTargetContext;
79 mTargetContext = InstrumentationRegistry.getTargetContext();
85 .bindService(new Intent(mTargetContext, TaskSchedulerService.class));
88 mTestContext = createTestContext(mTargetContext, mService);

Completed in 243 milliseconds