Home
last modified time | relevance | path

Searched refs:mInstrumentation (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/test/
DInstrumentationTestSuite.java31 private final Instrumentation mInstrumentation; field in InstrumentationTestSuite
38 mInstrumentation = instr; in InstrumentationTestSuite()
44 mInstrumentation = instr; in InstrumentationTestSuite()
54 mInstrumentation = instr; in InstrumentationTestSuite()
60 addTest(new InstrumentationTestSuite(testClass, mInstrumentation)); in addTestSuite()
68 ((InstrumentationTestCase) test).injectInstrumentation(mInstrumentation); in runTest()
DInstrumentationTestCase.java38 private Instrumentation mInstrumentation; field in InstrumentationTestCase
47 mInstrumentation = instrumentation; in injectInstrumentation()
69 return mInstrumentation; in getInstrumentation()
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java51 protected Instrumentation mInstrumentation; field in GridWidgetTest
353 mInstrumentation = getInstrumentation(); in testThreeRowHorizontalBasic()
354 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testThreeRowHorizontalBasic()
371 mInstrumentation = getInstrumentation(); in testThreeColumnVerticalBasic()
372 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testThreeColumnVerticalBasic()
388 mInstrumentation = getInstrumentation(); in testRedundantAppendRemove()
389 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testRedundantAppendRemove()
417 mInstrumentation = getInstrumentation(); in testRedundantAppendRemove2()
418 Intent intent = new Intent(mInstrumentation.getContext(), GridActivity.class); in testRedundantAppendRemove2()
460 mInstrumentation = getInstrumentation(); in testItemMovedHorizontal()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DListUtil.java31 private final Instrumentation mInstrumentation; field in ListUtil
39 mInstrumentation = instrumentation; in ListUtil()
52 mInstrumentation.waitForIdleSync(); in setSelectedPosition()
85 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in arrowDownToSelectedPosition()
96 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP); in arrowUpToSelectedPosition()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DInstrumentationAutomationSupport.java30 private Instrumentation mInstrumentation; field in InstrumentationAutomationSupport
33 mInstrumentation = instrumentation; in InstrumentationAutomationSupport()
38 mInstrumentation.sendStatus(resultCode, status); in sendStatus()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java45 private Instrumentation mInstrumentation; field in AndroidTestRunner
186 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); in runTest()
189 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation); in runTest()
221 mInstrumentation = instrumentation; in setInstrumentation()
/frameworks/base/core/java/android/app/
DActivityThread.java204 Instrumentation mInstrumentation; field in ActivityThread
1862 return mInstrumentation; in getInstrumentation()
2317 activity = mInstrumentation.newActivity( in performLaunchActivity()
2326 if (!mInstrumentation.onException(activity, e)) { in performLaunchActivity()
2334 Application app = r.packageInfo.makeApplication(false, mInstrumentation); in performLaunchActivity()
2367 mInstrumentation.callActivityOnCreate(activity, r.state, r.persistentState); in performLaunchActivity()
2369 mInstrumentation.callActivityOnCreate(activity, r.state); in performLaunchActivity()
2385 mInstrumentation.callActivityOnRestoreInstanceState(activity, r.state, in performLaunchActivity()
2389 mInstrumentation.callActivityOnRestoreInstanceState(activity, r.state); in performLaunchActivity()
2395 mInstrumentation.callActivityOnPostCreate(activity, r.state, in performLaunchActivity()
[all …]
DActivity.java702 private Instrumentation mInstrumentation; field in Activity
3917 mInstrumentation.execStartActivity( in startActivityForResult()
3979 Instrumentation.ActivityResult ar = mInstrumentation.execStartActivity( in startActivityForResultAsUser()
4015 mInstrumentation.execStartActivity( in startActivityAsUser()
4047 mInstrumentation.execStartActivityAsCaller( in startActivityAsCaller()
4244 mInstrumentation.execStartActivities(this, mMainThread.getApplicationThread(), in startActivities()
4484 mInstrumentation.execStartActivity( in startActivityFromChild()
4549 mInstrumentation.execStartActivity( in startActivityForResult()
6192 mInstrumentation = instr; in attach()
6253 mInstrumentation.callActivityOnStart(this); in performStart()
[all …]
DLoadedApk.java573 app = mActivityThread.mInstrumentation.newApplication( in makeApplication()
577 if (!mActivityThread.mInstrumentation.onException(app, e)) { in makeApplication()
831 final Instrumentation mInstrumentation; field in LoadedApk.ReceiverDispatcher
888 if (mInstrumentation == null || in run()
889 !mInstrumentation.onException(mReceiver, e)) { in run()
915 mInstrumentation = instrumentation; in ReceiverDispatcher()
/frameworks/base/docs/html/tools/testing/
Dactivity_testing.jd269 mInstrumentation = getInstrumentation();
292 mInstrumentation.waitForIdleSync();
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java548 final ArrayMap<ComponentName, PackageParser.Instrumentation> mInstrumentation = field in PackageManagerService
5527 final PackageParser.Instrumentation i = mInstrumentation.get(name); in getInstrumentationInfo()
5540 final Iterator<PackageParser.Instrumentation> i = mInstrumentation.values().iterator(); in queryInstrumentation()
7511 mInstrumentation.put(a.getComponentName(), a); in scanPackageDirtyLI()
8204 mInstrumentation.remove(a.getComponentName()); in cleanPackageDataStructuresLILPw()