/packages/apps/Settings/tests/componenttests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceControllerComponentTest.java | 66 mInstrumentation.getUiAutomation().executeShellCommand("dumpsys battery unplug"); in setUp() 67 mInstrumentation.getUiAutomation().executeShellCommand("settings get global low_power 0"); in setUp() 96 mInstrumentation.getUiAutomation().executeShellCommand("settings get global low_power 0"); in tearDown() 97 mInstrumentation.getUiAutomation().executeShellCommand("dumpsys battery reset"); in tearDown()
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
D | LiveChannelsTestController.java | 80 private UiAutomation getUiAutomation() { in getUiAutomation() method in LiveChannelsTestController 83 return mInstrumentation.getUiAutomation(flags); in getUiAutomation() 85 return mInstrumentation.getUiAutomation(); in getUiAutomation() 169 return getUiAutomation().injectInputEvent(event, sync); in injectEvent()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IdleServiceTest.java | 72 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 85 .getUiAutomation().dropShellPermissionIdentity(); in tearDown() 209 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runIdleMaintenance() 238 ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation().getUiAutomation() in executeShellCommand()
|
D | LocalCallingIdentityTest.java | 46 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 55 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
D | MediaProviderForFuseTest.java | 58 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setUp() 82 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
D | MediaDocumentsProviderTest.java | 64 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 73 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | TestUtils.java | 38 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(perms); in adoptShellPermission() 42 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in dropShellPermission()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | NetworkPolicyTestUtils.java | 203 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in getWifiSsid() 221 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setWifiMeteredStatus() 443 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); 453 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation();
|
/packages/modules/Scheduling/tests/hostsidetests/testapp/src/com/android/tests/scheduling/ |
D | RebootReadinessTest.java | 50 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testRebootReadyBroadcastReceived() 72 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setTestConfigurations()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
D | TestUtils.java | 38 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp() 51 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | DigitalWellBeingToastTest.java | 86 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in runWithShellPermission() 90 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in runWithShellPermission()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeTestNetworkBase.java | 56 .getUiAutomation() in setUpPermissionBeforeClass() 66 .getUiAutomation() in tearDownPermissionAfterClass()
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | DelegatorTest.java | 140 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in setOwner() 148 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in clearOwner()
|
D | LegacyProviderMigrationTest.java | 259 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testLegacy_PlaylistMap() 428 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testLegacy_Extreme() 468 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in doLegacy()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
D | AssistantSettingsTest.java | 67 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 79 .getUiAutomation() in tearDown()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarBugreportManagerTest.java | 142 InstrumentationRegistry.getInstrumentation().getUiAutomation() in getPermissions() 147 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropPermissions()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplUnitTest.java | 77 .getUiAutomation() in setUp() 90 .getUiAutomation() in tearDown()
|
/packages/modules/Scheduling/tests/src/com/android/cts/scheduling/ |
D | RebootReadinessManagerTest.java | 265 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in adoptShellPermissions() 273 .getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in dropShellPermissions()
|
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/ |
D | CarrierConfigTest.java | 310 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in getCarrierId() 348 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in getCarrierId()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LauncherInstrumentation.java | 233 mInstrumentation.getUiAutomation().grantRuntimePermission( in LauncherInstrumentation() 439 mInstrumentation.getUiAutomation().grantRuntimePermission( in formatSystemHealthMessage() 441 mInstrumentation.getUiAutomation().grantRuntimePermission( in formatSystemHealthMessage() 672 mInstrumentation.getUiAutomation().executeAndWaitForEvent( in executeAndWaitForEvent() 1278 mInstrumentation.getUiAutomation().injectInputEvent(event, true, false)); in sendPointer()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | AdbUtils.java | 39 .getUiAutomation() in checkStringInAdbCommandOutput()
|
/packages/modules/Permission/PermissionController/tests/outofprocess/src/com/android/permissioncontroller/tests/outofprocess/ |
D | DumpTest.kt | 39 val dumpFile = instrumentation.getUiAutomation() in getDump()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkProviderTest.kt | 74 instrumentation.getUiAutomation().adoptShellPermissionIdentity() in <lambda>() 81 instrumentation.getUiAutomation().dropShellPermissionIdentity() in <lambda>()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | ScreenRecordRule.java | 56 UiAutomation automation = inst.getUiAutomation(); in apply()
|
D | FailureWatcher.java | 80 .getUiAutomation().executeShellCommand(cmd))) { in dumpCommand()
|