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

1 2 3 4 5 6 7 8 91011>>

  /cts/libs/deviceutil/src/android/cts/util/
CtsAndroidTestCase.java 33 return getInstrumentation().getContext();
  /frameworks/base/core/tests/coretests/src/android/view/
RunQueueTest.java 35 getInstrumentation().waitForIdleSync();
42 getInstrumentation().waitForIdleSync();
49 getInstrumentation().waitForIdleSync();
56 getInstrumentation().waitForIdleSync();
  /frameworks/testing/androidtestlib/tests/src/com/android/test/
MyInstrumentationTestCase.java 33 assertNotNull("instrumentation was not injected", getInstrumentation());
  /cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/
InstrumentationFailToRunTest.java 31 Context myContext = getInstrumentation().getContext();
37 getInstrumentation().getContext().startInstrumentation(appDiffCertInstrumentation,
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityActivityTestCase.java 53 AccessibilityServiceInfo info = getInstrumentation().getUiAutomation().getServiceInfo();
56 getInstrumentation().getUiAutomation().setServiceInfo(info);
58 getInstrumentation().getUiAutomation().waitForIdle(
69 return getInstrumentation().getContext().getString(resId);
78 getInstrumentation().getUiAutomation().executeAndWaitForEvent(
83 getInstrumentation().waitForIdleSync();
AccessibilityViewTreeReportingTest.java 36 AccessibilityNodeInfo firstFrameLayout = getInstrumentation().getUiAutomation()
43 AccessibilityNodeInfo firstTextView = getInstrumentation().getUiAutomation()
49 AccessibilityNodeInfo firstEditText = getInstrumentation().getUiAutomation()
55 AccessibilityNodeInfo firstButton = getInstrumentation().getUiAutomation()
63 AccessibilityNodeInfo secondFrameLayout = getInstrumentation().getUiAutomation()
70 AccessibilityNodeInfo secondTextView = getInstrumentation().getUiAutomation()
76 AccessibilityNodeInfo secondEditText = getInstrumentation().getUiAutomation()
82 AccessibilityNodeInfo secondButton = getInstrumentation().getUiAutomation()
90 AccessibilityNodeInfo rootLinearLayout = getInstrumentation().getUiAutomation()
97 AccessibilityNodeInfo firstFrameLayout = getInstrumentation().getUiAutomation(
    [all...]
AccessibilityWindowQueryTest.java 57 List<AccessibilityNodeInfo> buttons = getInstrumentation().getUiAutomation()
65 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation()
74 AccessibilityServiceInfo info = getInstrumentation().getUiAutomation().getServiceInfo();
76 getInstrumentation().getUiAutomation().setServiceInfo(info);
98 fringe.add(getInstrumentation().getUiAutomation().getRootInActiveWindow());
119 AccessibilityServiceInfo info = getInstrumentation().getUiAutomation().getServiceInfo();
121 getInstrumentation().getUiAutomation().setServiceInfo(info);
128 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation()
137 button = getInstrumentation().getUiAutomation().getRootInActiveWindow()
145 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation(
    [all...]
AccessibilityFocusAndInputFocusSyncTest.java 46 final AccessibilityNodeInfo expected = getInstrumentation().getUiAutomation()
53 getInstrumentation().getUiAutomation().executeAndWaitForEvent(new Runnable() {
67 AccessibilityNodeInfo received = getInstrumentation().getUiAutomation()
79 AccessibilityNodeInfo focused = getInstrumentation().getUiAutomation()
87 final AccessibilityNodeInfo rootLinearLayout = getInstrumentation().getUiAutomation()
93 getInstrumentation().getUiAutomation().executeAndWaitForEvent(new Runnable() {
116 final AccessibilityNodeInfo rootLinearLayout = getInstrumentation().getUiAutomation()
121 getInstrumentation().getUiAutomation().executeAndWaitForEvent(new Runnable() {
140 getInstrumentation().getUiAutomation().executeAndWaitForEvent(new Runnable() {
164 final AccessibilityNodeInfo firstEditText = getInstrumentation().getUiAutomation(
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
ClearHistoryTest.java 46 HistoryUtils.goBackSync(getInstrumentation(), contentViewCore, onPageFinishedHelper);
48 HistoryUtils.canGoBackOnUiThread(getInstrumentation(), contentViewCore));
50 HistoryUtils.canGoForwardOnUiThread(getInstrumentation(), contentViewCore));
52 HistoryUtils.clearHistoryOnUiThread(getInstrumentation(), contentViewCore);
54 HistoryUtils.canGoBackOnUiThread(getInstrumentation(), contentViewCore));
56 HistoryUtils.canGoForwardOnUiThread(getInstrumentation(), contentViewCore));
AwContentsClientFullScreenVideoTest.java 32 getInstrumentation().getTargetContext());
41 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
  /packages/apps/Camera/tests/src/com/android/camera/activity/
CameraActivityTest.java 43 getInstrumentation().waitForIdleSync();
47 getInstrumentation().waitForIdleSync();
51 getInstrumentation().waitForIdleSync();
  /development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson5/
SenderActivityTest.java 72 Instrumentation.ActivityMonitor receiverActivityMonitor = getInstrumentation()
76 getInstrumentation().runOnMainSync(new Runnable() {
83 getInstrumentation().waitForIdleSync();
86 getInstrumentation().sendStringSync(TEST_MESSAGE);
87 getInstrumentation().waitForIdleSync();
110 getInstrumentation().removeMonitor(receiverActivityMonitor);
  /cts/tests/tests/app/src/android/app/cts/
SearchManagerTest.java 27 intent.setClass(getInstrumentation().getTargetContext(), SearchManagerStubActivity.class);
28 getInstrumentation().getTargetContext().startActivity(intent);
  /frameworks/testing/androidtestlib/src/com/android/test/runner/listener/
InstrumentationRunListener.java 37 public Instrumentation getInstrumentation() {
42 * Convenience method for {@link #getInstrumentation()#sendStatus()}
45 getInstrumentation().sendStatus(code, bundle);
  /development/samples/ApiDemos/tests/src/com/example/android/apis/app/
ForwardingTest.java 107 getInstrumentation().callActivityOnStart(activity);
108 getInstrumentation().callActivityOnResume(activity);
114 getInstrumentation().callActivityOnPause(activity);
119 getInstrumentation().callActivityOnStop(activity);
  /frameworks/base/core/tests/coretests/src/android/app/
InstrumentationTest.java 32 getInstrumentation().sendStatus(-1, bundle);
  /frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
UiAutomatorTestCase.java 67 mAutomationSupport = new InstrumentationAutomationSupport(getInstrumentation());
85 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal));
89 getInstrumentation().getContext(),
90 getInstrumentation().getUiAutomation()));
  /cts/tests/tests/widget/src/android/widget/cts/
ExpandableListViewBasicTest.java 57 mListUtil = new ListUtil(mExpandableListView, getInstrumentation());
72 getInstrumentation().waitForIdleSync();
74 getInstrumentation().waitForIdleSync();
90 getInstrumentation().waitForIdleSync();
99 getInstrumentation().waitForIdleSync();
105 getInstrumentation().waitForIdleSync();
125 getInstrumentation().waitForIdleSync();
  /packages/apps/Camera/tests/src/com/android/camera/functional/
CameraTest.java 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
43 getInstrumentation().startActivitySync(intent).finish();
60 intent.setClass(getInstrumentation().getTargetContext(),
65 Activity activity = getInstrumentation().startActivitySync(intent);
68 getInstrumentation().waitForIdleSync();
  /packages/apps/Camera2/tests/src/com/android/camera/functional/
CameraTest.java 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
43 getInstrumentation().startActivitySync(intent).finish();
60 intent.setClass(getInstrumentation().getTargetContext(),
65 Activity activity = getInstrumentation().startActivitySync(intent);
68 getInstrumentation().waitForIdleSync();
  /cts/tests/tests/media/src/android/media/cts/
FaceDetectorTest.java 36 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class);
39 mActivity = (FaceDetectorStub) getInstrumentation().startActivitySync(intent);
  /external/chromium_org/net/android/javatests/src/org/chromium/net/
NetworkChangeNotifierTest.java 111 Context context = getInstrumentation().getTargetContext();
131 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent);
136 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent);
141 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent);
145 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent);
150 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent);
154 receiver.onReceive(getInstrumentation().getTargetContext(), connectivityIntent);
161 receiver.onReceive(getInstrumentation().getTargetContext(), noConnectivityIntent);
  /frameworks/base/test-runner/src/android/test/
ActivityInstrumentationTestCase.java 76 getInstrumentation().setInTouchMode(mInitialTouchMode);
77 final String targetPackageName = getInstrumentation().getTargetContext().getPackageName();
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
FrameworkPerfTest.java 18 getInstrumentation().runOnMainSync(new Runnable() {
39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult);
  /packages/apps/Launcher2/tests/stress/src/com/android/launcher2/stress/
LauncherRotationStressTest.java 54 getInstrumentation().waitForIdleSync();
58 getInstrumentation().waitForIdleSync();

Completed in 4284 milliseconds

1 2 3 4 5 6 7 8 91011>>