Home
last modified time | relevance | path

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

12345678910>>...23

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/instrumentation/
DInstrumentation.java20 public final class Instrumentation { class
21 public static final Instrumentation sInstance = new Instrumentation();
23 private Instrumentation() { in Instrumentation() method in Instrumentation
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DPermissionHelper.java19 import android.app.Instrumentation;
22 private final Instrumentation mInstrumentation;
24 private PermissionHelper(Instrumentation instrumentation, String... permissions) { in PermissionHelper()
38 Instrumentation instrumentation, String... permissions) { in adoptShellPermissionIdentity()
/cts/tests/tests/security/src/android/security/cts/
DStartForFutureActivity.kt20 import android.app.Instrumentation
27 future: CompletableFuture<Instrumentation.ActivityResult> in startActivityForFuture()
35 future!!.complete(Instrumentation.ActivityResult(resultCode, data)) in onActivityResult()
41 private var future: CompletableFuture<Instrumentation.ActivityResult>? = null
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java19 import android.app.Instrumentation;
65 public void sendString(Instrumentation instrumentation, View targetView, String text) { in sendString()
75 public void sendString(Instrumentation instrumentation, String text) { in sendString()
106 public void sendKeys(Instrumentation instrumentation, View targetView, int...keys) { in sendKeys()
117 public void sendKeys(Instrumentation instrumentation, int...keys) { in sendKeys()
142 public void sendKeys(Instrumentation instrumentation, View targetView, String keysSequence) { in sendKeys()
156 public void sendKeys(Instrumentation instrumentation, String keysSequence) { in sendKeys()
208 public void sendKeyDownUp(Instrumentation instrumentation, View targetView, int key) { in sendKeyDownUp()
218 public void sendKeyDownUp(Instrumentation instrumentation, int key) { in sendKeyDownUp()
233 public void sendKey(Instrumentation instrumentation, View targetView, KeyEvent event) { in sendKey()
[all …]
DCtsTouchUtils.java19 import android.app.Instrumentation;
91 public void emulateTapOnViewCenter(Instrumentation instrumentation, in emulateTapOnViewCenter()
106 public void emulateTapOnView(Instrumentation instrumentation, in emulateTapOnView()
138 public void emulateDoubleTapOnViewCenter(Instrumentation instrumentation, in emulateDoubleTapOnViewCenter()
153 public void emulateDoubleTapOnView(Instrumentation instrumentation, in emulateDoubleTapOnView()
189 public void emulateDragGesture(Instrumentation instrumentation, in emulateDragGesture()
197 private void emulateDragGesture(Instrumentation instrumentation, in emulateDragGesture()
216 public void emulateDragGesture(Instrumentation instrumentation, in emulateDragGesture()
239 public void emulateDragGesture(Instrumentation instrumentation, in emulateDragGesture()
274 public void emulateDragGesture(Instrumentation instrumentation, in emulateDragGesture()
[all …]
/cts/tests/input/InputInjectionApp/src/com/android/test/inputinjection/
DInputInjectionActivity.kt19 import android.app.Instrumentation in <lambda>()
48 Instrumentation().sendPointerSync(getMotionDownInView(view)) in <lambda>()
51 Instrumentation().sendTrackballEventSync(getMotionDownInView(view)) in <lambda>()
54 Instrumentation().sendKeySync(getKeyDown()) in <lambda>()
57 Instrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_A) in <lambda>()
60 Instrumentation().sendCharacterSync(KeyEvent.KEYCODE_A) in <lambda>()
63 Instrumentation().sendStringSync("Hello World!") in <lambda>()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DShellCommandExecutor.java19 import android.app.Instrumentation;
52 public static String executeShellCommand(Instrumentation instrumentation, in executeShellCommand()
85 public static void dumpTelecom(Instrumentation instrumentation) throws Exception { in dumpTelecom()
89 public static String setDefaultDialer(Instrumentation instrumentation, String packageName) in setDefaultDialer()
94 public static String getDefaultDialer(Instrumentation instrumentation) throws Exception { in getDefaultDialer()
98 public static void enablePhoneAccount(Instrumentation instrumentation, in enablePhoneAccount()
107 private static long getUserSerialNumber(Instrumentation instrumentation, UserHandle handle) { in getUserSerialNumber()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DWindowCreationUtils.java24 import android.app.Instrumentation;
50 Instrumentation instrumentation, Activity activity, CharSequence windowTitle) { in layoutParamsForWindowOnTop()
65 Instrumentation instrumentation, Activity activity, CharSequence windowTitle, in layoutParamsForWindowOnTop()
84 Instrumentation instrumentation, Activity activity) { in layoutParamsForTestWindow()
99 Instrumentation instrumentation, Activity activity, int width, int height) { in layoutParamsForTestWindow()
127 Instrumentation instrumentation, Activity activity, View view, in addWindowAndWaitForEvent()
145 public static void removeWindow(UiAutomation uiAutomation, Instrumentation instrumentation, in removeWindow()
/cts/tests/tests/display/src/android/display/cts/
DTestBase.java20 import android.app.Instrumentation;
44 Instrumentation.ActivityResult result = in launchScreenOnActivity()
45 new Instrumentation.ActivityResult(0, new Intent()); in launchScreenOnActivity()
46 Instrumentation.ActivityMonitor monitor = in launchScreenOnActivity()
47 new Instrumentation.ActivityMonitor(clazz.getName(), result, false); in launchScreenOnActivity()
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/
DInstrumentationFailToRunTest.java21 import android.app.Instrumentation;
37 new ComponentName(myContext, Instrumentation.class); in testInstrumentationNotAllowed_exception()
51 new ComponentName(myContext, Instrumentation.class); in testInstrumentationNotAllowed_fail()
/cts/tests/app/shared/src/android/app/cts/
DCtsAppTestUtils.java19 import android.app.Instrumentation;
31 public static String executeShellCmd(Instrumentation instrumentation, String cmd) in executeShellCmd()
50 public static void turnScreenOn(Instrumentation instrumentation, Context context) in turnScreenOn()
61 public static String makeUidIdle(Instrumentation instrumentation, String packageName) in makeUidIdle()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListUtil.java19 import android.app.Instrumentation;
29 private final Instrumentation mInstrumentation;
35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java18 import android.app.Instrumentation;
465 public static String setCallDiagnosticService(Instrumentation instrumentation, in setCallDiagnosticService()
472 public static String setDefaultDialer(Instrumentation instrumentation, String packageName) in setDefaultDialer()
477 public static String setSystemDialerOverride(Instrumentation instrumentation) throws Exception { in setSystemDialerOverride()
482 Instrumentation instrumentation, String incallComponent) throws Exception { in setSystemDialerOverride()
487 Instrumentation instrumentation) throws Exception { in clearSystemDialerOverride()
491 public static String setCtsPhoneAccountSuggestionService(Instrumentation instrumentation, in setCtsPhoneAccountSuggestionService()
498 public static String getDefaultDialer(Instrumentation instrumentation) throws Exception { in getDefaultDialer()
502 public static String getSystemDialer(Instrumentation instrumentation) throws Exception { in getSystemDialer()
506 public static void enablePhoneAccount(Instrumentation instrumentation, in enablePhoneAccount()
[all …]
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/
DAbstractCarBuiltinTestCase.java19 import android.app.Instrumentation;
30 protected final Instrumentation mInstrumentation = InstrumentationRegistry.getInstrumentation();
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestUtils.java19 import android.app.Instrumentation;
53 public static void assertRunAnimation(final Instrumentation instrumentation, in assertRunAnimation()
70 public static void assertRunAnimation(final Instrumentation instrumentation, in assertRunAnimation()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerComponentUtils.java22 import android.app.Instrumentation;
53 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in enableAndGetOldState()
75 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in setState()
84 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in updateComponentEnabledSetting()
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DLauncher.java21 import android.app.Instrumentation;
25 public static void setAsDefaultLauncher(Instrumentation instrumentation, Context context) { in setAsDefaultLauncher()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DLauncher.java21 import android.app.Instrumentation;
25 public static void setAsDefaultLauncher(Instrumentation instrumentation, Context context) { in setAsDefaultLauncher()
/cts/libs/input/src/com/android/cts/input/
DUinputKeyboard.kt19 import android.app.Instrumentation
46 class UinputKeyboard(instrumentation: Instrumentation) : UinputDevice(
DUinputGamepad.kt19 import android.app.Instrumentation
43 class UinputGamepad(instrumentation: Instrumentation) : UinputDevice(
DUinputBluetoothStylus.kt19 import android.app.Instrumentation
44 class UinputBluetoothStylus(instrumentation: Instrumentation) : UinputDevice(
/cts/tests/app/src/android/app/cts/
DTestContextTest.java19 import android.app.Instrumentation;
25 Instrumentation instrumentation = getInstrumentation(); in testTestOpPackageName()
DBroadcastOptionsIntegrationTest.java31 import android.app.Instrumentation;
49 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setUp()
56 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in tearDown()
62 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in assertBroadcastSuccess()
73 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in assertBroadcastFailure()
/cts/hostsidetests/packagemanager/domainverification/apps/declaring/src/com/android/cts/packagemanager/verify/domain/declaringapp/
DDomainVerificationDeclaringAppTests.kt19 import android.app.Instrumentation
28 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation()
/cts/hostsidetests/packagemanager/domainverification/apps/calling/src/com/android/cts/packagemanager/verify/domain/callingapp/
DDomainVerificationCallingAppTests.kt19 import android.app.Instrumentation
28 private val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation()

12345678910>>...23