Home
last modified time | relevance | path

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

12345678

/aosp14/frameworks/base/test-base/src/android/test/
H A 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()
H A 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()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
H A DMultiWindowUtils.kt19 import android.app.Instrumentation
29 instrumentation: Instrumentation,
35 fun executeShellCommand(instrumentation: Instrumentation, cmd: String) {
56 fun setSupportsNonResizableMultiWindow(instrumentation: Instrumentation, configValue: Int) =
62 fun resetMultiWindowConfig(instrumentation: Instrumentation) =
H A DAppPairsHelper.kt19 import android.app.Instrumentation
24 instrumentation: Instrumentation,
H A DLaunchBubbleHelper.kt19 import android.app.Instrumentation
24 class LaunchBubbleHelper(instrumentation: Instrumentation) :
/aosp14/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DUtils.java16 import android.app.Instrumentation;
44 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { in waitForActivity()
58 public static UiObject2 waitForElementLayout(Instrumentation instrumentation) { in waitForElementLayout()
65 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { in startElementLayout()
74 public static int getDeviceRotation(Instrumentation instrumentation) { in getDeviceRotation()
92 public static void rotateDevice(Instrumentation instrumentation, int rotationMode) { in rotateDevice()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
H A DMultiWindowUtils.kt19 import android.app.Instrumentation
27 private fun executeShellCommand(instrumentation: Instrumentation, cmd: String) {
48 fun setSupportsNonResizableMultiWindow(instrumentation: Instrumentation, configValue: Int) =
54 fun resetMultiWindowConfig(instrumentation: Instrumentation) =
H A DSplitScreenUtils.kt19 import android.app.Instrumentation
64 fun getPrimary(instrumentation: Instrumentation): StandardAppHelper =
71 fun getSecondary(instrumentation: Instrumentation): StandardAppHelper =
78 fun getNonResizeable(instrumentation: Instrumentation): NonResizeableAppHelper =
81 fun getSendNotification(instrumentation: Instrumentation): NotificationAppHelper =
84 fun getIme(instrumentation: Instrumentation): ImeAppHelper = ImeAppHelper(instrumentation)
160 instrumentation: Instrumentation,
233 instrumentation: Instrumentation,
249 instrumentation: Instrumentation,
349 instrumentation: Instrumentation,
/aosp14/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DInstrumentationAutomationSupport.java18 import android.app.Instrumentation;
30 private Instrumentation mInstrumentation;
32 InstrumentationAutomationSupport(Instrumentation instrumentation) { in InstrumentationAutomationSupport()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A 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()
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A 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()
H A DListEmptyViewTest.java19 import android.app.Instrumentation;
56 Instrumentation inst = getInstrumentation(); in testZeroToOne()
66 Instrumentation inst = getInstrumentation(); in testZeroToOneForwardBack()
88 Instrumentation inst = getInstrumentation(); in testZeroToManyToZero()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A 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()
H A DOrientationUtil.java20 import android.app.Instrumentation;
32 private final Instrumentation mInstrumentation;
54 private OrientationUtil(Activity activity, Instrumentation instrumentation) { in OrientationUtil()
H A DListUtil.java19 import android.app.Instrumentation;
29 private final Instrumentation mInstrumentation;
35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/aosp14/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java24 import android.app.Instrumentation;
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()
735 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in endTest()
775 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest()
779 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); in startTest()
818 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addError()
830 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addFailure()
[all …]
H A 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()
H A DLaunchPerformanceBase.java19 import android.app.Instrumentation;
28 public class LaunchPerformanceBase extends Instrumentation {
/aosp14/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A 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()
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/
H A DATraceRunner.java23 import android.app.Instrumentation;
42 private final Instrumentation mInstrumentation;
48 public ATraceRunner(Instrumentation instrumentation, in ATraceRunner()
/aosp14/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
H A DAtraceUtils.java19 import android.app.Instrumentation;
47 private AtraceUtils(Instrumentation instrumentation) { in AtraceUtils()
51 public static AtraceUtils getInstance(Instrumentation instrumentation) { in getInstance()
/aosp14/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java21 import android.app.Instrumentation;
42 private void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos()
58 Instrumentation inst = getInstrumentation(); in testBackEffectsVideoCapture()
/aosp14/frameworks/base/tests/SystemMemoryTest/device/src/com/android/tests/sysmem/device/
H A DCujs.java20 import android.app.Instrumentation;
28 public class Cujs extends Instrumentation {
/aosp14/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java38 import android.app.Instrumentation;
194 public static List<String> runCommand(Instrumentation instrumentation, String command, in runCommand()
288 public static void overrideConfig(Instrumentation instrumentation, String config) { in overrideConfig()
292 public static void resetConfig(Instrumentation instrumentation) { in resetConfig()
296 public static void resetThrottling(Instrumentation instrumentation) { in resetThrottling()
300 public static void resetAllThrottling(Instrumentation instrumentation) { in resetAllThrottling()
304 public static void clearShortcuts(Instrumentation instrumentation, int userId, in clearShortcuts()
319 public static void enableComponent(Instrumentation instrumentation, ComponentName cn, in enableComponent()
328 public static void appOps(Instrumentation instrumentation, String packageName, in appOps()
333 public static void dumpsysShortcut(Instrumentation instrumentation) { in dumpsysShortcut()
[all …]

12345678