HomeSort by relevance Sort by last modified time
    Searched defs:getInstrumentation (Results 1 - 25 of 146) sorted by null

1 2 3 4 5 6

  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
BaseInstrumentationTestCase.java 44 public Instrumentation getInstrumentation() {
45 return InstrumentationRegistry.getInstrumentation();
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PrimaryUserTest.java 50 injectInstrumentation(InstrumentationRegistry.getInstrumentation());
ManagedProfileTest.java 50 injectInstrumentation(InstrumentationRegistry.getInstrumentation());
  /cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
ShortcutManagerPostUpgradeTest.java 54 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
ShortcutManagerPreUpgradeTest.java 61 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
  /cts/tests/tests/location/src/android/location/cts/
BaseMockLocationTest.java 32 LocationUtils.registerMockLocationProvider(getInstrumentation(), true);
37 LocationUtils.registerMockLocationProvider(getInstrumentation(), false);
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerMaxCountTest.java 275 setDefaultLauncher(getInstrumentation(), mLauncherContext1);
ShortcutManagerMultiLauncherTest.java 82 setDefaultLauncher(getInstrumentation(), mLauncherContext1);
93 setDefaultLauncher(getInstrumentation(), mLauncherContext2);
171 setDefaultLauncher(getInstrumentation(), mLauncherContext1);
221 setDefaultLauncher(getInstrumentation(), mLauncherContext2);
ShortcutManagerRequestPinTest.java 40 setDefaultLauncher(getInstrumentation(), mLauncherContext1);
47 setDefaultLauncher(getInstrumentation(), mLauncherContext4);
58 setDefaultLauncher(getInstrumentation(), mLauncherContext1);
ShortcutManagerSpoofingTest.java 92 setDefaultLauncher(getInstrumentation(), mLauncherContext2);
94 dumpsysShortcut(getInstrumentation());
  /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
PerfStatusReporter.java 89 mState.sendFullStatusReport(InstrumentationRegistry.getInstrumentation(),
  /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
FullscreenRotationTest.java 34 Utils.startElementLayout(getInstrumentation(), 100);
40 Utils.rotateDevice(getInstrumentation(), Utils.ROTATION_MODE_NATURAL);
48 Utils.rotateDevice(getInstrumentation(),
49 Utils.getDeviceRotation(getInstrumentation()) == Utils.ROTATION_MODE_LEFT ?
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
WebActivityTest.java 44 Intent intent = WebActivity.createIntent(getInstrumentation().getTargetContext(), null,
50 startActivityOnMainSync(WebActivity.createIntent(getInstrumentation().getTargetContext(),
54 getInstrumentation().runOnMainSync(() ->
62 getInstrumentation().runOnMainSync(() -> startActivity(intent, null, null));
66 public Instrumentation getInstrumentation() {
67 return InstrumentationRegistry.getInstrumentation();
  /external/droiddriver/src/io/appium/droiddriver/util/
InstrumentationUtils.java 64 init(InstrumentationRegistry.getInstrumentation(), InstrumentationRegistry.getArguments());
68 public static Instrumentation getInstrumentation() {
74 return getInstrumentation().getTargetContext();
108 getInstrumentation().waitForIdle(emptyTask);
195 getInstrumentation().runOnMainSync(this);
  /cts/tests/filesystem/src/android/filesystem/cts/
RandomRWTest.java 48 report.submit(getInstrumentation());
66 report.submit(getInstrumentation());
  /cts/tests/sample/src/android/sample/cts/
SampleDeviceResultTest.java 93 reportLog.submit(getInstrumentation());
SampleDeviceReportLogTest.java 75 reportLog.submit(getInstrumentation());
123 reportLog.submit(getInstrumentation());
  /external/droiddriver/src/io/appium/droiddriver/base/
DroidDriverContext.java 40 public Instrumentation getInstrumentation() {
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
RecyclerViewTest.java 74 getInstrumentation().waitForIdleSync();
146 private Instrumentation getInstrumentation() {
147 return InstrumentationRegistry.getInstrumentation();
  /cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
ShortcutManagerManagedUserTest.java 34 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
66 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
100 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
ShortcutManagerSecondaryUserTest.java 36 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
75 Launcher.setAsDefaultLauncher(getInstrumentation(), getContext());
  /cts/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityServiceInfoTest.java 39 ServiceControlUtils.enableSpeakingAndVibratingServices(getInstrumentation());
44 ServiceControlUtils.turnAccessibilityOff(getInstrumentation());
55 getInstrumentation().getContext().getSystemService(Service.ACCESSIBILITY_SERVICE);
79 getInstrumentation().getContext().getPackageManager()));
81 getInstrumentation().getContext().getPackageManager()));
  /cts/tests/app/src/android/app/cts/
ListActivityTest.java 73 runOnMainAndDrawSync(getInstrumentation(), mActivity.getListView(), new Runnable() {
  /cts/tests/jank/src/android/jank/cts/
CtsJankTestBase.java 57 mDevice = UiDevice.getInstance(getInstrumentation());
63 mLog.submit(getInstrumentation());
  /cts/tests/openglperf2/src/android/opengl2/cts/reference/
GLReferenceBenchmark.java 78 report.submit(getInstrumentation());

Completed in 740 milliseconds

1 2 3 4 5 6