Searched defs:mInstrumentation (Results 26 - 48 of 48) sorted by relevance

12

/frameworks/support/media-widget/src/androidTest/java/androidx/media/widget/
H A DVideoView2Test.java86 private Instrumentation mInstrumentation; field in class:VideoView2Test
99 mInstrumentation = InstrumentationRegistry.getInstrumentation();
101 mInstrumentation.getTargetContext().getSystemService(KEYGUARD_SERVICE);
123 mInstrumentation.waitForIdleSync();
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DSearchViewTest.java55 private Instrumentation mInstrumentation; field in class:SearchViewTest
65 mInstrumentation = InstrumentationRegistry.getInstrumentation();
131 mInstrumentation.waitForIdleSync();
160 mInstrumentation.waitForIdleSync();
190 mInstrumentation.waitForIdleSync();
219 mInstrumentation.waitForIdleSync();
229 mInstrumentation.waitForIdleSync();
H A DSearchView_CursorTest.java60 private Instrumentation mInstrumentation; field in class:SearchView_CursorTest
130 mInstrumentation = InstrumentationRegistry.getInstrumentation();
200 mInstrumentation.waitForIdleSync();
206 TestUtils.emulateTapOnView(mInstrumentation, mSearchView,
H A DAppCompatBaseAutoSizeTest.java68 protected Instrumentation mInstrumentation; field in class:AppCompatBaseAutoSizeTest
77 mInstrumentation = InstrumentationRegistry.getInstrumentation();
106 mInstrumentation.waitForIdleSync();
117 mInstrumentation.waitForIdleSync();
129 mInstrumentation.waitForIdleSync();
143 mInstrumentation.waitForIdleSync();
155 mInstrumentation.waitForIdleSync();
177 mInstrumentation.waitForIdleSync();
186 mInstrumentation.waitForIdleSync();
209 mInstrumentation
[all...]
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayoutTest.java77 private Instrumentation mInstrumentation; field in class:CoordinatorLayoutTest
85 mInstrumentation = getInstrumentation();
437 mInstrumentation.waitForIdleSync();
467 mInstrumentation.waitForIdleSync();
485 mInstrumentation.waitForIdleSync();
500 mInstrumentation.waitForIdleSync();
709 mInstrumentation.waitForIdleSync();
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
H A DBaseNavControllerTest.java60 private Instrumentation mInstrumentation; field in class:BaseNavControllerTest
64 mInstrumentation = InstrumentationRegistry.getInstrumentation();
202 .setComponent(new ComponentName(mInstrumentation.getContext(),
226 mInstrumentation.waitForIdleSync();
236 TaskStackBuilder intents = new NavDeepLinkBuilder(mInstrumentation.getTargetContext())
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityTest.java110 private Instrumentation mInstrumentation; field in class:TextViewActivityTest
115 mInstrumentation = InstrumentationRegistry.getInstrumentation();
308 mInstrumentation.waitForIdleSync();
368 mInstrumentation.waitForIdleSync();
386 UiDevice device = UiDevice.getInstance(mInstrumentation);
413 mInstrumentation.waitForIdleSync();
802 mInstrumentation.waitForIdleSync();
813 mInstrumentation.waitForIdleSync();
822 mInstrumentation.waitForIdleSync();
832 mInstrumentation
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DScreenDecorWindowTests.java83 private final Instrumentation mInstrumentation = InstrumentationRegistry.getInstrumentation(); field in class:ScreenDecorWindowTests
316 mInstrumentation.waitForIdleSync();
324 final Activity activity = mInstrumentation.startActivitySync(intent, options.toBundle());
/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java50 private Instrumentation mInstrumentation; field in class:AndroidTestRunner
191 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext();
194 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation);
218 mInstrumentation = instrumentation;
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java87 private Instrumentation mInstrumentation; field in class:AppCompatibility
94 mInstrumentation = InstrumentationRegistry.getInstrumentation();
117 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0);
130 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE);
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DAutomator.java82 private Instrumentation mInstrumentation; field in class:Automator.AutomatorHandler
95 mInstrumentation = new Instrumentation();
164 mInstrumentation.sendKeyDownUpSync(code);
172 mInstrumentation.sendPointerSync(event);
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
H A DFontsContractCompatTest.java102 private Instrumentation mInstrumentation; field in class:FontsContractCompatTest
107 mInstrumentation = InstrumentationRegistry.getInstrumentation();
108 mContext = mInstrumentation.getTargetContext();
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
H A DDragStartHelperTest.java59 private Instrumentation mInstrumentation; field in class:DragStartHelperTest
103 mInstrumentation.sendPointerSync(obtainTouchEvent(action, anchor, offsetX, offsetY));
130 mInstrumentation.sendPointerSync(obtainMouseEvent(
163 mInstrumentation = InstrumentationRegistry.getInstrumentation();
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentAnimationTest.java70 private Instrumentation mInstrumentation; field in class:FragmentAnimationTest
74 mInstrumentation = InstrumentationRegistry.getInstrumentation();
383 mInstrumentation.runOnMainSync(new Runnable() {
393 mInstrumentation.runOnMainSync(new Runnable() {
H A DFragmentViewTests.java52 private Instrumentation mInstrumentation; field in class:FragmentViewTests
56 mInstrumentation = InstrumentationRegistry.getInstrumentation();
162 mInstrumentation.runOnMainSync(new Runnable() {
879 mInstrumentation.runOnMainSync(new Runnable() {
H A DPostponedTransitionTest.java55 private Instrumentation mInstrumentation; field in class:PostponedTransitionTest
60 mInstrumentation = InstrumentationRegistry.getInstrumentation();
179 mInstrumentation.runOnMainSync(new Runnable() {
571 mInstrumentation.runOnMainSync(new Runnable() {
623 mInstrumentation.runOnMainSync(new Runnable() {
763 mInstrumentation.runOnMainSync(new Runnable() {
H A DFragmentTransitionTest.java70 private Instrumentation mInstrumentation; field in class:FragmentTransitionTest
81 mInstrumentation = InstrumentationRegistry.getInstrumentation();
184 mInstrumentation.runOnMainSync(new Runnable() {
1080 mInstrumentation.runOnMainSync(new Runnable() {
/frameworks/support/room/testing/src/main/java/androidx/room/testing/
H A DMigrationTestHelper.java85 private Instrumentation mInstrumentation; field in class:MigrationTestHelper
108 mInstrumentation = instrumentation;
134 File dbPath = mInstrumentation.getTargetContext().getDatabasePath(name);
146 mInstrumentation.getTargetContext(), name, mOpenFactory, container, null, true,
182 File dbPath = mInstrumentation.getTargetContext().getDatabasePath(name);
192 mInstrumentation.getTargetContext(), name, mOpenFactory, container, null, true,
206 .builder(mInstrumentation.getTargetContext())
271 return loadSchema(mInstrumentation.getContext(), version);
276 return loadSchema(mInstrumentation.getTargetContext(), version);
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DMediaPlayer2TestBase.java89 protected Instrumentation mInstrumentation; field in class:MediaPlayer2TestBase
288 mInstrumentation = InstrumentationRegistry.getInstrumentation();
290 mInstrumentation.getTargetContext().getSystemService(KEYGUARD_SERVICE);
302 mInstrumentation.waitForIdleSync();
/frameworks/base/core/java/android/app/
H A DLoadedApk.java1061 app = mActivityThread.mInstrumentation.newApplication(
1065 if (!mActivityThread.mInstrumentation.onException(app, e)) {
1330 final Instrumentation mInstrumentation; field in class:LoadedApk.ReceiverDispatcher
1398 if (mInstrumentation == null ||
1399 !mInstrumentation.onException(mReceiver, e)) {
1426 mInstrumentation = instrumentation;
H A DActivity.java771 private Instrumentation mInstrumentation; field in class:Activity
4586 mInstrumentation.execStartActivity(
4680 Instrumentation.ActivityResult ar = mInstrumentation.execStartActivity(
4717 mInstrumentation.execStartActivity(
4750 mInstrumentation.execStartActivityAsCaller(
4949 mInstrumentation.execStartActivities(this, mMainThread.getApplicationThread(),
5192 mInstrumentation.execStartActivity(
5275 mInstrumentation.execStartActivity(
7069 mInstrumentation = instr;
7157 mInstrumentation
[all...]
H A DActivityThread.java280 Instrumentation mInstrumentation; field in class:ActivityThread
2104 return mInstrumentation;
2831 activity = mInstrumentation.newActivity(
2840 if (!mInstrumentation.onException(activity, e)) {
2848 Application app = r.packageInfo.makeApplication(false, mInstrumentation);
2891 mInstrumentation.callActivityOnCreate(activity, r.state, r.persistentState);
2893 mInstrumentation.callActivityOnCreate(activity, r.state);
2910 if (!mInstrumentation.onException(activity, e)) {
2949 mInstrumentation.callActivityOnRestoreInstanceState(activity, r.state,
2953 mInstrumentation
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java943 final ArrayMap<ComponentName, PackageParser.Instrumentation> mInstrumentation = field in class:PackageManagerService
4196 mInstrumentation.get(component);
8361 final PackageParser.Instrumentation i = mInstrumentation.get(component);
8384 final Iterator<PackageParser.Instrumentation> i = mInstrumentation.values().iterator();
11620 mInstrumentation.put(a.getComponentName(), a);
12353 mInstrumentation.remove(a.getComponentName());
[all...]

Completed in 782 milliseconds

12