/cts/tests/tests/batteryhealth/src/android/os/cts/batteryhealth/ |
D | BatteryHealthTest.java | 64 private UiAutomation mAutomation; field in BatteryHealthTest 76 mAutomation = getInstrumentation().getUiAutomation(); in testManufacturingDate_dataInRange() 77 mAutomation.adoptShellPermissionIdentity(android.Manifest.permission.BATTERY_STATS); in testManufacturingDate_dataInRange() 86 mAutomation.dropShellPermissionIdentity(); in testManufacturingDate_dataInRange() 92 mAutomation = getInstrumentation().getUiAutomation(); in testFirstUsageDate_dataInRange() 93 mAutomation.adoptShellPermissionIdentity(android.Manifest.permission.BATTERY_STATS); in testFirstUsageDate_dataInRange() 102 mAutomation.dropShellPermissionIdentity(); in testFirstUsageDate_dataInRange() 108 mAutomation = getInstrumentation().getUiAutomation(); in testChargingPolicy_dataInRange() 109 mAutomation.adoptShellPermissionIdentity(android.Manifest.permission.BATTERY_STATS); in testChargingPolicy_dataInRange() 117 mAutomation.dropShellPermissionIdentity(); in testChargingPolicy_dataInRange() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 77 private UiAutomation mAutomation; field in VerifyInputEventTest 94 mAutomation = instrumentation.getUiAutomation(); in setup() 105 mAutomation.injectInputEvent(downEvent, true); in testKeyEvent() 114 mAutomation.injectInputEvent(upEvent, true); in testKeyEvent() 129 mAutomation.injectInputEvent(downEvent, true); in testKeyEventWithoutHmac() 137 mAutomation.injectInputEvent(upEvent, true); in testKeyEventWithoutHmac() 151 mAutomation.injectInputEvent(downEvent, true); in testTamperedKeyEvent() 160 mAutomation.injectInputEvent(upEvent, true); in testTamperedKeyEvent() 172 mAutomation.injectInputEvent(downEvent, true); in testMotionEvent() 183 mAutomation.injectInputEvent(upEvent, true); in testMotionEvent() [all …]
|
D | KeyEventInjectionTest.java | 59 private UiAutomation mAutomation; field in KeyEventInjectionTest 77 mAutomation = mInstrumentation.getUiAutomation(); in setUp() 167 mAutomation.injectInputEvent(downEvent, true); in sendKeyViaInstrumentation() 172 mAutomation.injectInputEvent(repeatEvent, true); in sendKeyViaInstrumentation() 176 mAutomation.injectInputEvent(upEvent, true); in sendKeyViaInstrumentation()
|
D | ViewUnbufferedTest.java | 94 private UiAutomation mAutomation; field in ViewUnbufferedTest 134 mAutomation = mInstrumentation.getUiAutomation(); in setUp() 144 mAutomation.syncInputTransactions(true /* waitForAnimations */); in setUp() 236 mAutomation.injectInputEvent(moveEvent, true /* sync */); in sendJoystickEvents()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20420/ |
D | CVE_2022_20420.java | 57 private UiAutomation mAutomation; field in CVE_2022_20420 62 mAutomation.dropShellPermissionIdentity(); in tearDown() 75 mAutomation = getInstrumentation().getUiAutomation(); in testDeviceAdminAppRestricted() 76 mAutomation.adoptShellPermissionIdentity(android.Manifest.permission.DEVICE_POWER, in testDeviceAdminAppRestricted()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | TestUtils.java | 51 private final UiAutomation mAutomation; field in TestUtils 61 mAutomation = mInstrumentation.getUiAutomation(); in TestUtils() 73 Bitmap bt = mAutomation.takeScreenshot(mRule.getActivity().getWindow()); in takeScreenshot()
|
/cts/helpers/default/src/com/android/cts/helpers/aosp/ |
D | DefaultCtsPrintHelper.java | 47 protected UiAutomation mAutomation; field in DefaultCtsPrintHelper 57 mAutomation = ui; in DefaultCtsPrintHelper() 61 if (mAutomation == null) { in DefaultCtsPrintHelper()
|
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/ |
D | CtsNfcResolverDeviceTest.java | 86 private UiAutomation mAutomation; field in CtsNfcResolverDeviceTest
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DragDropTest.java | 77 final UiAutomation mAutomation = mInstrumentation.getUiAutomation(); field in DragDropTest 273 mAutomation.injectInputEvent(event, false); in injectMouseWithOffset()
|