/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberBackupRestoreTest.java | 43 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 …]
|
D | SmsBackupRestoreTest.java | 69 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/ |
D | ShellCommandBuilder.java | 35 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()
|
D | AccessibilitySoftKeyboardModesTest.java | 76 private UiAutomation mUiAutomation; field in AccessibilitySoftKeyboardModesTest 97 mUiAutomation = getInstrumentation() in setUp() 99 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setUp() 101 mUiAutomation.setServiceInfo(info); in setUp()
|
D | AccessibilityTextActionTest.java | 61 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/ |
D | CaptioningManagerTest.java | 46 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/ |
D | MockImeSession.java | 65 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/ |
D | BaseToastTest.java | 39 protected UiAutomation mUiAutomation; field in BaseToastTest 45 mUiAutomation = mInstrumentation.getUiAutomation(); in setUp()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | NumberPickerTest.java | 61 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/ |
D | ToastTest.java | 147 mUiAutomation.executeAndWaitForEvent( in finishActivity()
|