Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberBackupRestoreTest.java44 private UiAutomation mUiAutomation; field in BlockedNumberBackupRestoreTest
56 mUiAutomation = getInstrumentation().getUiAutomation(); in setUp()
62 ProviderTestUtils.setDefaultSmsApp(true, mContext.getPackageName(), mUiAutomation); in setUp()
65 LOCAL_BACKUP_COMPONENT, mUiAutomation); in setUp()
66 mOldBackupEnabled = ProviderTestUtils.setBackupEnabled(true, mUiAutomation); in setUp()
77 ProviderTestUtils.setBackupEnabled(mOldBackupEnabled, mUiAutomation); in tearDown()
78 ProviderTestUtils.setBackupTransport(mOldTransport, mUiAutomation); in tearDown()
79 ProviderTestUtils.setDefaultSmsApp(false, mContext.getPackageName(), mUiAutomation); in tearDown()
137 return ProviderTestUtils.hasBackupTransport(LOCAL_BACKUP_COMPONENT, mUiAutomation) in isFeatureSupported()
170 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/common/device-side/util/src/com/android/compatibility/common/util/
DAdoptShellPermissionsRule.java39 private final UiAutomation mUiAutomation; field in AdoptShellPermissionsRule
53 mUiAutomation = uiAutomation; in AdoptShellPermissionsRule()
64 mUiAutomation.adoptShellPermissionIdentity(mPermissions); in apply()
66 mUiAutomation.adoptShellPermissionIdentity(); in apply()
71 mUiAutomation.dropShellPermissionIdentity(); in apply()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAdoptShellPermissionsRule.java38 private final UiAutomation mUiAutomation; field in AdoptShellPermissionsRule
52 mUiAutomation = uiAutomation; in AdoptShellPermissionsRule()
63 mUiAutomation.adoptShellPermissionIdentity(mPermissions); in apply()
65 mUiAutomation.adoptShellPermissionIdentity(); in apply()
70 mUiAutomation.dropShellPermissionIdentity(); in apply()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java39 private final UiAutomation mUiAutomation; field in ShellCommandBuilder
58 mUiAutomation = uiAutomation; in ShellCommandBuilder()
79 mUiAutomation.grantRuntimePermission(packageName, permission); in grantPermission()
86 execShellCommand(mUiAutomation, command); in addCommand()
/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java29 private final UiAutomation mUiAutomation; field in TouchHelper
33 mUiAutomation = instrumentation.getUiAutomation(); in TouchHelper()
86 return mUiAutomation.injectInputEvent(event, true); in injectEventSync()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSessionRule.java40 private final UiAutomation mUiAutomation; field in MockImeSessionRule
52 mUiAutomation = uiAutomation; in MockImeSessionRule()
65 mMockImeSession = MockImeSession.create(mContext, mUiAutomation, mImeSettings); in apply()
DMockImeSession.java70 private final UiAutomation mUiAutomation; field in MockImeSession
186 mUiAutomation = uiAutomation; in MockImeSession()
195 executeShellCommand(mUiAutomation, "ime reset"); in initialize()
211 executeShellCommand(mUiAutomation, "ime enable " + getMockImeId()); in initialize()
212 executeShellCommand(mUiAutomation, "ime set " + getMockImeId()); in initialize()
264 executeShellCommand(mUiAutomation, "ime reset"); in close()
/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/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java144 private final UiAutomation mUiAutomation; field in AccessibilityEventFilterUtils.WindowTitleMatcher
149 mUiAutomation = uiAutomation; in WindowTitleMatcher()
155 final List<AccessibilityWindowInfo> windows = mUiAutomation.getWindows(); in matchesSafely()
/cts/tests/tests/toast/src/android/widget/toast/cts/
DBaseToastTest.java41 protected UiAutomation mUiAutomation; field in BaseToastTest
47 mUiAutomation = mInstrumentation.getUiAutomation(); in setUp()
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastTest.java149 mUiAutomation.executeAndWaitForEvent( in finishActivity()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java145 private UiAutomation mUiAutomation; field in ConnectivityManagerTest
175 mUiAutomation = mInstrumentation.getUiAutomation(); in setUp()
863 mUiAutomation.adoptShellPermissionIdentity(); in adoptShellPermissionIdentity()
869 mUiAutomation.dropShellPermissionIdentity(); in dropShellPermissionIdentity()