Home
last modified time | relevance | path

Searched refs:Instrumentation (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/legacy-test/src/android/test/
DInstrumentationTestSuite.java19 import android.app.Instrumentation;
37 private final Instrumentation mInstrumentation;
43 public InstrumentationTestSuite(Instrumentation instr) { in InstrumentationTestSuite()
48 public InstrumentationTestSuite(String name, Instrumentation instr) { in InstrumentationTestSuite()
58 public InstrumentationTestSuite(final Class theClass, Instrumentation instr) { in InstrumentationTestSuite()
DInstrumentationTestCase.java20 import android.app.Instrumentation;
44 private Instrumentation mInstrumentation;
52 public void injectInstrumentation(Instrumentation instrumentation) { in injectInstrumentation()
66 public void injectInsrumentation(Instrumentation instrumentation) { in injectInsrumentation()
74 public Instrumentation getInstrumentation() { in getInstrumentation()
257 final Instrumentation instrumentation = getInstrumentation(); in sendKeys()
307 final Instrumentation instrumentation = getInstrumentation(); in sendKeys()
336 final Instrumentation instrumentation = getInstrumentation(); in sendRepeatedKeys()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java16 import android.app.Instrumentation;
43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { in waitForActivity()
57 public static UiObject2 waitForElementLayout(Instrumentation instrumentation) { in waitForElementLayout()
64 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { in startElementLayout()
73 public static int getDeviceRotation(Instrumentation instrumentation) { in getDeviceRotation()
91 public static void rotateDevice(Instrumentation instrumentation, int rotationMode) { in rotateDevice()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DInstrumentationAutomationSupport.java18 import android.app.Instrumentation;
30 private Instrumentation mInstrumentation;
32 InstrumentationAutomationSupport(Instrumentation instrumentation) { in InstrumentationAutomationSupport()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java19 import android.app.Instrumentation;
31 public static void tapView(Instrumentation inst, RecyclerView recyclerView, in tapView()
63 public static void touchAndCancelView(Instrumentation inst, View v) { in touchAndCancelView()
90 public static void clickView(Instrumentation inst, View v) { in clickView()
127 public static void longClickView(Instrumentation inst, View v) { in longClickView()
164 public static void dragViewToTop(Instrumentation inst, View v) { in dragViewToTop()
168 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { in dragViewToTop()
215 public static int dragViewTo(Instrumentation inst, View v, int gravity, int toX, in dragViewTo()
233 public static int dragViewToX(Instrumentation inst, View v, int gravity, int toX) { in dragViewToX()
248 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { in dragViewToY()
[all …]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DKeyboardUtil.java18 import android.app.Instrumentation;
77 public static void setComposingTextInBatch(final Instrumentation instrumentation, in setComposingTextInBatch()
95 public static void deleteSurroundingText(final Instrumentation instrumentation, in deleteSurroundingText()
112 public static void setSelection(Instrumentation instrumentation, final Spannable spannable, in setSelection()
117 public static void setSelection(Instrumentation instrumentation, final Spannable spannable, in setSelection()
131 public static InputConnection initTextViewForSimulatedIme(Instrumentation instrumentation, in initTextViewForSimulatedIme()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java19 import android.app.Instrumentation;
48 final Instrumentation instrumentation = getInstrumentation(); in testPopupSetListSelection()
80 final Instrumentation instrumentation = getInstrumentation(); in testPopupGetListSelection()
107 final Instrumentation instrumentation = getInstrumentation(); in testPopupClearListSelection()
140 final Instrumentation instrumentation = getInstrumentation(); in testPopupNavigateNoAdapter()
174 final Instrumentation instrumentation = getInstrumentation(); in testPopupShow()
DAutoCompleteTextViewCallbacks.java19 import android.app.Instrumentation;
39 final Instrumentation instrumentation = getInstrumentation(); in testPopupNoSelection()
64 final Instrumentation instrumentation = getInstrumentation(); in testPopupEnterSelection()
113 final Instrumentation instrumentation = getInstrumentation(); in testPopupLeaveSelection()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java19 import android.app.Instrumentation;
59 Instrumentation inst = getInstrumentation(); in testKeyScrolling()
77 Instrumentation inst = getInstrumentation(); in testKeyScrollingToTouchMode()
90 public int arrowScroll(Instrumentation inst) { in arrowScroll()
DListEmptyViewTest.java19 import android.app.Instrumentation;
55 Instrumentation inst = getInstrumentation(); in testZeroToOne()
65 Instrumentation inst = getInstrumentation(); in testZeroToOneForwardBack()
87 Instrumentation inst = getInstrumentation(); in testZeroToManyToZero()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DNestedFragmentTest.java24 import android.app.Instrumentation;
51 private Instrumentation mInstrumentation;
81 Instrumentation.ActivityResult activityResult = new Instrumentation.ActivityResult( in testNestedFragmentStartActivityForResult()
84 Instrumentation.ActivityMonitor activityMonitor = in testNestedFragmentStartActivityForResult()
DFragmentTestUtil.java22 import android.app.Instrumentation;
93 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in popBackStackImmediate()
106 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in popBackStackImmediate()
120 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in popBackStackImmediate()
134 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setContentView()
220 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in waitForAnimationEnd()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java19 import android.app.Instrumentation;
46 final Instrumentation inst = test.getInstrumentation(); in tapMenuKey()
59 final Instrumentation inst = test.getInstrumentation(); in chordMenuKey()
78 final Instrumentation inst = test.getInstrumentation(); in longClick()
DOrientationUtil.java20 import android.app.Instrumentation;
33 private final Instrumentation mInstrumentation;
55 private OrientationUtil(Activity activity, Instrumentation instrumentation) { in OrientationUtil()
DListUtil.java19 import android.app.Instrumentation;
31 private final Instrumentation mInstrumentation;
37 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/
DSettingsDrawerActivityTest.java25 import android.app.Instrumentation;
53 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in startActivityWithNoExtra_showNoNavUp()
63 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in startActivityWithExtraToHideMenu_showNavUp()
74 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in startActivityWithExtraToShowMenu_showNavUp()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java23 import android.app.Instrumentation;
178 public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider {
544 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
570 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
619 Instrumentation.REPORT_KEY_STREAMRESULT); in generateCoverageReport()
620 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
654 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
732 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in endTest()
758 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
775 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest()
[all …]
DLaunchPerformanceBase.java19 import android.app.Instrumentation;
30 public class LaunchPerformanceBase extends Instrumentation {
DAndroidTestRunner.java19 import android.app.Instrumentation;
52 private Instrumentation mInstrumentation;
214 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase()
227 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation()
236 public void setInstrumentaiton(Instrumentation instrumentation) { in setInstrumentaiton()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java21 import android.app.Instrumentation;
191 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); in instrumentationStatus()
214 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); in instrumentationFinished()
264 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
286 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest()
290 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); in startTest()
319 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addError()
331 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addFailure()
341 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "."); in endTest()
351 testOutput.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in print()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiBaseFragmentTest.java21 import android.app.Instrumentation;
41 private Instrumentation mRealInstrumentation;
55 Instrumentation inst = spy(mRealInstrumentation); in SysuiSetup()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DEditTextTypeActivity.java18 import android.app.Instrumentation;
60 final Instrumentation instrumentation = new Instrumentation(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java19 import android.app.Instrumentation;
61 Instrumentation inst = getInstrumentation(); in testKeyScrolling()
93 Instrumentation inst = getInstrumentation(); in testTouchScrolling()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java21 import android.app.Instrumentation;
42 private void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos()
58 Instrumentation inst = getInstrumentation(); in testBackEffectsVideoCapture()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java35 import android.app.Instrumentation;
163 public static List<String> runCommand(Instrumentation instrumentation, String command) { in runCommand()
166 public static List<String> runCommand(Instrumentation instrumentation, String command, in runCommand()
182 public static void runCommandForNoOutput(Instrumentation instrumentation, String command) { in runCommandForNoOutput()
186 public static List<String> runShortcutCommand(Instrumentation instrumentation, String command, in runShortcutCommand()
191 public static List<String> runShortcutCommandForSuccess(Instrumentation instrumentation, in runShortcutCommandForSuccess()
196 public static String getDefaultLauncher(Instrumentation instrumentation) { in getDefaultLauncher()
210 public static void setDefaultLauncher(Instrumentation instrumentation, String component) { in setDefaultLauncher()
216 public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) { in setDefaultLauncher()
221 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig()
[all …]

1234