Home
last modified time | relevance | path

Searched refs:mUiAutomation (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberBackupRestoreTest.java43 private UiAutomation mUiAutomation; field in BlockedNumberBackupRestoreTest
54 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
59 ProviderTestUtils.setDefaultSmsApp(true, mContext.getPackageName(), mUiAutomation); in setUp()
62 LOCAL_BACKUP_COMPONENT, mUiAutomation); in setUp()
63 mOldBackupEnabled = ProviderTestUtils.setBackupEnabled(true, mUiAutomation); in setUp()
74 ProviderTestUtils.setBackupEnabled(mOldBackupEnabled, mUiAutomation); in tearDown()
75 ProviderTestUtils.setBackupTransport(mOldTransport, mUiAutomation); in tearDown()
76 ProviderTestUtils.setDefaultSmsApp(false, mContext.getPackageName(), mUiAutomation); in tearDown()
134 return ProviderTestUtils.hasBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation) in isFeatureSupported()
167 ProviderTestUtils.runBackup(BLOCKED_NUMBERS_PROVIDER_PACKAGE, mUiAutomation); in runBackup()
[all …]
DSmsBackupRestoreTest.java69 private UiAutomation mUiAutomation; field in SmsBackupRestoreTest
81 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
84 ProviderTestUtils.setDefaultSmsApp(true, mContext.getPackageName(), mUiAutomation); in setUp()
86 ProviderTestUtils.setBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation); in setUp()
87 mOldBackupEnabled = ProviderTestUtils.setBackupEnabled(true, mUiAutomation); in setUp()
98 ProviderTestUtils.setBackupEnabled(mOldBackupEnabled, mUiAutomation); in tearDown()
99 ProviderTestUtils.setBackupTransport(mOldTransport, mUiAutomation); in tearDown()
100 ProviderTestUtils.setDefaultSmsApp(false, mContext.getPackageName(), mUiAutomation); in tearDown()
107 return (ProviderTestUtils.hasBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation) in isFeatureSupported()
156 ProviderTestUtils.runBackup(TELEPHONY_PROVIDER_PACKAGE, mUiAutomation); in testSmsBackupRestore()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DShellCommandBuilder.java35 private final UiAutomation mUiAutomation; field in ShellCommandBuilder
43 mUiAutomation = mInstrumentation.getUiAutomation( in ShellCommandBuilder()
65 mUiAutomation.grantRuntimePermission(packageName, permission); in grantPermission()
72 execShellCommand(mUiAutomation, command); in addCommand()
DAccessibilitySoftKeyboardModesTest.java76 private UiAutomation mUiAutomation; field in AccessibilitySoftKeyboardModesTest
97 mUiAutomation = getInstrumentation() in setUp()
99 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setUp()
101 mUiAutomation.setServiceInfo(info); in setUp()
DAccessibilityTextActionTest.java61 UiAutomation mUiAutomation; field in AccessibilityTextActionTest
69 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
74 mUiAutomation.destroy(); in tearDown()
82 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testNotEditableTextView_shouldNotExposeOrRespondToSetTextAction()
110 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testEditableTextView_shouldExposeAndRespondToSetTextAction()
135 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testEditText_shouldExposeAndRespondToSetTextAction()
205 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testTextLocations_textViewShouldProvideWhenRequested()
222 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull()
275 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()
334 final AccessibilityNodeInfo text = mUiAutomation.getRootInActiveWindow() in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()
[all …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DCaptioningManagerTest.java46 private UiAutomation mUiAutomation; field in CaptioningManagerTest
57 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
138 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(cmd); in execShellCommand()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java65 private final UiAutomation mUiAutomation; field in MockImeSession
193 mUiAutomation = uiAutomation; in MockImeSession()
202 executeShellCommand(mUiAutomation, "ime reset"); in initialize()
218 executeShellCommand(mUiAutomation, "ime enable " + getMockImeId()); in initialize()
219 executeShellCommand(mUiAutomation, "ime set " + getMockImeId()); in initialize()
260 executeShellCommand(mUiAutomation, "ime reset"); in close()
/cts/tests/tests/toast/src/android/widget/toast/cts/
DBaseToastTest.java39 protected UiAutomation mUiAutomation; field in BaseToastTest
45 mUiAutomation = mInstrumentation.getUiAutomation(); in setUp()
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java61 private UiAutomation mUiAutomation; field in NumberPickerTest
72 mUiAutomation = mInstrumentation.getUiAutomation(); in setup()
289 mUiAutomation.executeAndWaitForEvent(() -> in testAccessValue()
391 mUiAutomation.executeAndWaitForEvent(() -> in testInteractionWithSwipeUp()
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastTest.java147 mUiAutomation.executeAndWaitForEvent( in finishActivity()