/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberBackupRestoreTest.java | 44 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 …]
|
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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AdoptShellPermissionsRule.java | 39 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/ |
D | AdoptShellPermissionsRule.java | 38 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/ |
D | ShellCommandBuilder.java | 39 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/ |
D | TouchHelper.java | 29 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/ |
D | MockImeSessionRule.java | 40 private final UiAutomation mUiAutomation; field in MockImeSessionRule 52 mUiAutomation = uiAutomation; in MockImeSessionRule() 65 mMockImeSession = MockImeSession.create(mContext, mUiAutomation, mImeSettings); in apply()
|
D | MockImeSession.java | 70 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/ |
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/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AccessibilityEventFilterUtils.java | 144 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/ |
D | BaseToastTest.java | 41 protected UiAutomation mUiAutomation; field in BaseToastTest 47 mUiAutomation = mInstrumentation.getUiAutomation(); in setUp()
|
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/ |
D | ToastTest.java | 149 mUiAutomation.executeAndWaitForEvent( in finishActivity()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 145 private UiAutomation mUiAutomation; field in ConnectivityManagerTest 175 mUiAutomation = mInstrumentation.getUiAutomation(); in setUp() 863 mUiAutomation.adoptShellPermissionIdentity(); in adoptShellPermissionIdentity() 869 mUiAutomation.dropShellPermissionIdentity(); in dropShellPermissionIdentity()
|