Home
last modified time | relevance | path

Searched defs:instrumentation (Results 1 – 25 of 248) sorted by relevance

12345678910

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java65 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()
243 public void sendKey(Instrumentation instrumentation, KeyEvent event) { in sendKey()
[all …]
DCtsTouchUtils.java91 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()
324 private void emulateDragGesture(Instrumentation instrumentation, in emulateDragGesture()
[all …]
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DShellCommandExecutor.java52 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.java50 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()
DRunOnMainUtils.java32 Instrumentation instrumentation, Callable<T> callable) { in getOnMain()
/cts/tests/app/src/android/app/cts/
DBroadcastOptionsIntegrationTest.java49 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() local
56 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in tearDown() local
62 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in assertBroadcastSuccess() local
73 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in assertBroadcastFailure() local
DInstrumentation_ActivityMonitorTest.java48 Instrumentation instrumentation = getInstrumentation(); in testActivityMonitor() local
94 final Instrumentation instrumentation = getInstrumentation(); in testActivityMonitor_onStartActivity() local
134 final Instrumentation instrumentation = getInstrumentation(); in testActivityMonitor_onStartActivityBlocks() local
183 final Instrumentation instrumentation = getInstrumentation(); in testActivityMonitor_onStartActivityAndIntentFilter() local
235 final Instrumentation instrumentation = getInstrumentation(); in testActivityMonitor_onStartActivityAndActivityClass() local
DTestContextTest.java25 Instrumentation instrumentation = getInstrumentation(); in testTestOpPackageName() local
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DPermissionHelper.java24 private PermissionHelper(Instrumentation instrumentation, String... permissions) { in PermissionHelper()
38 Instrumentation instrumentation, String... permissions) { in adoptShellPermissionIdentity()
/cts/tests/app/shared/src/android/app/cts/
DCtsAppTestUtils.java31 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/inputmethod/src/android/view/inputmethod/cts/
DInputMethodSubtypeEndToEndTest.java123 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testGetCurrentInputMethodSubtypeNull() local
137 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testGetCurrentInputMethodSubtype() local
154 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testNoOnCurrentInputMethodSubtypeChangedForColdStartup() local
181 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testSubtypeSwitchingInTheSameIme() local
214 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testSetExplicitlyEnabledInputMethodSubtypes() local
293 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testSetAdditionalInputMethodSubtypesForAlreadyEnabledSubtype() local
333 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in testSetAdditionalInputMethodSubtypeDoesNotRemoveImesInvisibleFromCaller() local
DImeSwitchingTest.java59 final var instrumentation = InstrumentationRegistry.getInstrumentation(); in testSwitchingIme() local
102 final var instrumentation = InstrumentationRegistry.getInstrumentation(); in testImeRemainsVisibleAfterSwitchingIme() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java465 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()
515 public static void disablePhoneAccount(Instrumentation instrumentation, in disablePhoneAccount()
[all …]
/cts/tests/tests/media/common/src/android/media/cts/
DUtils.java50 Instrumentation instrumentation) { in enableAppOps()
55 Instrumentation instrumentation) { in disableAppOps()
66 Instrumentation instrumentation, boolean enable) { in setAppOps()
106 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestUtils.java53 public static void assertRunAnimation(final Instrumentation instrumentation, in assertRunAnimation()
70 public static void assertRunAnimation(final Instrumentation instrumentation, in assertRunAnimation()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAlwaysOnHotwordDetectorTest.java303 SoundTriggerInstrumentation instrumentation = in testRecognitionResumedFailed_onFailureReceived() local
345 SoundTriggerInstrumentation instrumentation = in testAbortRecognitionAndOnResourceAvailable_recognitionPausedAndResumed() local
686 SoundTriggerInstrumentation instrumentation = in testOnPhoneCall_recognitionPausedAndResumed() local
738 SoundTriggerInstrumentation instrumentation = in testStartRecognitionDuringContention_succeedsPausesThenResumes() local
826 SoundTriggerInstrumentation instrumentation = in testStartRecognitionFail_leavesModelUnrequested() local
964 SoundTriggerInstrumentation instrumentation = in testAppOpsLostReacquired_recognitionPausedResumed() local
1017 SoundTriggerInstrumentation instrumentation = in testRecognitionNotRequested_afterResumeFailed() local
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt51 val instrumentation = InstrumentationRegistry.getInstrumentation() in fling() constant
81 val instrumentation = InstrumentationRegistry.getInstrumentation() in dragStretches() constant
115 val instrumentation = InstrumentationRegistry.getInstrumentation() in dragAndHoldExecute() constant
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20112/src/android/security/cts/CVE_2022_20112/
DDeviceTest.java47 final Instrumentation instrumentation = getInstrumentation(); in testPrivateDnsPreferenceController() local
98 Instrumentation instrumentation, String permission) { in withAdoptShellPermissionIdentity()
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DLauncher.java25 public static void setAsDefaultLauncher(Instrumentation instrumentation, Context context) { in setAsDefaultLauncher()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DLauncher.java25 public static void setAsDefaultLauncher(Instrumentation instrumentation, Context context) { in setAsDefaultLauncher()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21288/src/android/security/cts/CVE_2023_21288/
DDeviceTest.java54 Instrumentation instrumentation = getInstrumentation(); in testPocCVE_2023_21288() local
154 Instrumentation instrumentation, String permission) { in withAdoptShellPermissionIdentity()
/cts/tests/tests/view/src/android/view/cts/
DView_InitialFocusTest.java66 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in setup() local
71 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in getInitialAndFirstFocus() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0595/test-app/src/android/security/cts/CVE_2021_0595_test/
DDeviceTest.java45 Instrumentation instrumentation = getInstrumentation(); in testCVE_2021_0595() local
/cts/hostsidetests/angle/app/nativeDriverCheck/src/com/android/angleIntegrationTest/nativeDriverCheck/
DNativeDriverCheckActivity.java45 final Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in checkNativeDriver() local
/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_20959.java48 Instrumentation instrumentation = getInstrumentation(); in testPocCVE_2023_20959() local

12345678910