Home
last modified time | relevance | path

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

1234

/frameworks/base/test-base/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/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;
40 final Instrumentation instrumentation = getInstrumentation(); in testPopupNoSelection()
65 final Instrumentation instrumentation = getInstrumentation(); in testPopupEnterSelection()
114 final Instrumentation instrumentation = getInstrumentation(); in testPopupLeaveSelection()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java19 import android.app.Instrumentation;
40 final Instrumentation inst = test.getInstrumentation(); in tapMenuKey()
53 final Instrumentation inst = test.getInstrumentation(); in chordMenuKey()
72 final Instrumentation inst = test.getInstrumentation(); in longClick()
DOrientationUtil.java20 import android.app.Instrumentation;
32 private final Instrumentation mInstrumentation;
54 private OrientationUtil(Activity activity, Instrumentation instrumentation) { in OrientationUtil()
DListUtil.java19 import android.app.Instrumentation;
29 private final Instrumentation mInstrumentation;
35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java19 import android.app.Instrumentation;
60 Instrumentation inst = getInstrumentation(); in testKeyScrolling()
78 Instrumentation inst = getInstrumentation(); in testKeyScrollingToTouchMode()
91 public int arrowScroll(Instrumentation inst) { in arrowScroll()
DListEmptyViewTest.java19 import android.app.Instrumentation;
56 Instrumentation inst = getInstrumentation(); in testZeroToOne()
66 Instrumentation inst = getInstrumentation(); in testZeroToOneForwardBack()
88 Instrumentation inst = getInstrumentation(); in testZeroToManyToZero()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java24 import android.app.Instrumentation;
177 public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider {
547 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
573 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
622 Instrumentation.REPORT_KEY_STREAMRESULT); in generateCoverageReport()
623 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
657 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
735 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 …]
DAndroidTestRunner.java19 import android.app.Instrumentation;
50 private Instrumentation mInstrumentation;
211 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase()
217 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation()
226 public void setInstrumentaiton(Instrumentation instrumentation) { in setInstrumentaiton()
DLaunchPerformanceBase.java19 import android.app.Instrumentation;
28 public class LaunchPerformanceBase extends Instrumentation {
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DImeAppHelper.java21 import android.app.Instrumentation;
28 ImeAppHelper(Instrumentation instr, String launcherName) { in ImeAppHelper()
32 public ImeAppHelper(Instrumentation instr) { in ImeAppHelper()
DImeAppAutoFocusHelper.java19 import android.app.Instrumentation;
24 public ImeAppAutoFocusHelper(Instrumentation instr) { in ImeAppAutoFocusHelper()
DFlickerAppHelper.java19 import android.app.Instrumentation;
28 public FlickerAppHelper(Instrumentation instr, String launcherName) { in FlickerAppHelper()
/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/tests/GamePerformance/src/android/gameperformance/
DATraceRunner.java23 import android.app.Instrumentation;
42 private final Instrumentation mInstrumentation;
48 public ATraceRunner(Instrumentation instrumentation, in ATraceRunner()
/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/packages/SystemUI/tests/src/com/android/systemui/
DSysuiBaseFragmentTest.java21 import android.app.Instrumentation;
47 private Instrumentation mRealInstrumentation;
60 Instrumentation inst = spy(mRealInstrumentation); in SysuiSetup()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java36 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()
211 public static void setDefaultLauncher(Instrumentation instrumentation, String component) { in setDefaultLauncher()
220 public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) { in setDefaultLauncher()
225 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig()
[all …]
/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/tests/SystemMemoryTest/device/src/com/android/tests/sysmem/device/
DCujs.java20 import android.app.Instrumentation;
28 public class Cujs extends Instrumentation {
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java19 import android.app.Instrumentation;
60 Instrumentation inst = getInstrumentation(); in testKeyScrolling()
100 Instrumentation inst = getInstrumentation(); in testTouchScrolling()

1234