Home
last modified time | relevance | path

Searched refs:getUiAutomation (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Settings/tests/componenttests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverButtonPreferenceControllerComponentTest.java66 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/
DLiveChannelsTestController.java80 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/
DIdleServiceTest.java72 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()
DLocalCallingIdentityTest.java46 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
55 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
DMediaProviderForFuseTest.java58 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setUp()
82 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
DMediaDocumentsProviderTest.java64 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
73 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DTestUtils.java38 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/
DNetworkPolicyTestUtils.java203 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/
DRebootReadinessTest.java50 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/
DTestUtils.java38 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp()
51 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DDigitalWellBeingToastTest.java86 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in runWithShellPermission()
90 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in runWithShellPermission()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTestNetworkBase.java56 .getUiAutomation() in setUpPermissionBeforeClass()
66 .getUiAutomation() in tearDownPermissionAfterClass()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDelegatorTest.java140 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in setOwner()
148 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in clearOwner()
DLegacyProviderMigrationTest.java259 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/
DAssistantSettingsTest.java67 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
79 .getUiAutomation() in tearDown()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarBugreportManagerTest.java142 InstrumentationRegistry.getInstrumentation().getUiAutomation() in getPermissions()
147 InstrumentationRegistry.getInstrumentation().getUiAutomation() in dropPermissions()
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java77 .getUiAutomation() in setUp()
90 .getUiAutomation() in tearDown()
/packages/modules/Scheduling/tests/src/com/android/cts/scheduling/
DRebootReadinessManagerTest.java265 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in adoptShellPermissions()
273 .getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in dropShellPermissions()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java310 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in getCarrierId()
348 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in getCarrierId()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java233 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/
DAdbUtils.java39 .getUiAutomation() in checkStringInAdbCommandOutput()
/packages/modules/Permission/PermissionController/tests/outofprocess/src/com/android/permissioncontroller/tests/outofprocess/
DDumpTest.kt39 val dumpFile = instrumentation.getUiAutomation() in getDump()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt74 instrumentation.getUiAutomation().adoptShellPermissionIdentity() in <lambda>()
81 instrumentation.getUiAutomation().dropShellPermissionIdentity() in <lambda>()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DScreenRecordRule.java56 UiAutomation automation = inst.getUiAutomation(); in apply()
DFailureWatcher.java80 .getUiAutomation().executeShellCommand(cmd))) { in dumpCommand()

123