Home
last modified time | relevance | path

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

123456789

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DPhotoPickerCloudTestUtils.java96 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(READ_DEVICE_CONFIG); in readDeviceConfigProp()
100 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in readDeviceConfigProp()
111 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(WRITE_DEVICE_CONFIG); in writeDeviceConfigProp()
116 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in writeDeviceConfigProp()
121 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(WRITE_DEVICE_CONFIG); in deleteDeviceConfigProp()
137 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in deleteDeviceConfigProp()
DPhotoPickerComponentTestUtils.java78 inst.getUiAutomation().adoptShellPermissionIdentity( in updateComponentEnabledSetting()
84 inst.getUiAutomation().dropShellPermissionIdentity(); in updateComponentEnabledSetting()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java128 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setup()
148 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in teardown()
183 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testGetSpecificationInfo()
198 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testGetSpecificationInfoWithChipId()
214 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testGetChipInfos()
230 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testGetSpecificationInfoWithInvalidChipId()
271 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testElapsedRealtimeResolutionNanos()
284 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testElapsedRealtimeResolutionNanosWithChipId()
298 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testElapsedRealtimeResolutionNanosWithInvalidChipId()
533 UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in testUnregisterVendorUciCallbackWithoutUwbPrivileged()
[all …]
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/
DBluetoothServiceBinderTest.java107 .getUiAutomation() in setUp()
121 .getUiAutomation() in tearDown()
236 .getUiAutomation() in getAddress()
245 .getUiAutomation() in getAddress()
264 .getUiAutomation() in getName()
282 .getUiAutomation() in onFactoryReset()
287 .getUiAutomation() in onFactoryReset()
344 .getUiAutomation() in setBtHciSnoopLogMode()
356 .getUiAutomation() in getBtHciSnoopLogMode()
414 .getUiAutomation() in checkGranted()
/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/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectManagerTest.java753 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAutoDeleteApis()
801 .getUiAutomation() in testStageRemoteData_withValidInput_noExceptionsReturned()
820 .getUiAutomation() in testStageRemoteData_withValidInput_noExceptionsReturned()
857 .getUiAutomation() in testStageRemoteData_whenNotReadMode_errorIoReturned()
877 .getUiAutomation() in testStageRemoteData_whenNotReadMode_errorIoReturned()
928 .getUiAutomation() in testStageRemoteData_whenStagingStagedData_noExceptionsReturned()
962 .getUiAutomation() in testStageRemoteData_whenStagingStagedData_noExceptionsReturned()
1059 .getUiAutomation() in testGetHealthConnectDataState_beforeDownload_returnsIdleState()
1075 .getUiAutomation() in testGetHealthConnectDataState_beforeDownload_returnsIdleState()
1097 .getUiAutomation() in testGetHealthConnectDataState_beforeDownload_withMigrationPermission_returnsIdleState()
[all …]
/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/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DRevokedHealthPermissionRule.java45 .getUiAutomation() in before()
54 .getUiAutomation() in after()
/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/Virtualization/compos/benchmark/src/java/com/android/compos/benchmark/
DComposBenchmark.java69 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(); in setup()
74 mInstrumentation.getUiAutomation().dropShellPermissionIdentity(); in tearDown()
139 String output = runInShellWithStderr(TAG, mInstrumentation.getUiAutomation(), command); in testGuestCompileTime()
199 return runInShell(TAG, mInstrumentation.getUiAutomation(), command); in executeCommand()
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/test_utils/
DTestUtils.java62 .getUiAutomation() in adoptPermissionAsShellUid()
69 .getUiAutomation() in dropPermissionAsShellUid()
78 .getUiAutomation() in getAdoptedShellPermissions()
/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/Nfc/testutils/src/com/android/nfc/utils/
DHceUtils.java366 .getUiAutomation() in setDefaultWalletRoleHolder()
383 .getUiAutomation() in setDefaultWalletRoleHolder()
394 .getUiAutomation() in disableSecureNfc()
399 .getUiAutomation() in disableSecureNfc()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
DTestUtils.java39 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp()
52 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplDigitalWellBeingToastTest.java101 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in runWithShellPermission()
105 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in runWithShellPermission()
DTaplTestsTrackpad.java84 instrumentation.getUiAutomation().adoptShellPermissionIdentity( in pressBack()
91 instrumentation.getUiAutomation().dropShellPermissionIdentity(); in pressBack()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java456 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAggregateRecords_onlyWritePermissions_requestsOwnDataOnly_succeeds()
689 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testGrantingCorrectPermsPutsTheAppInPriorityList()
723 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testRevokingOnlyOneCorrectPermissionDoesntRemoveAppFromPriorityList()
762 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testRevokingAllCorrectPermissionsRemovesAppFromPriorityList()
825 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAppWithManageHealthDataPermissionCanUpdatePriority()
875 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAppWithManageHealthDataPermsCanReadAnotherAppEntry()
890 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAppWithManageHealthDataPermsCanDeleteAnotherAppEntry()
898 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testToVerifyGetContributorApplicationsInfo()
932 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()
1023 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/helpers/
DPackageManagerHelperUnitTest.java102 .getUiAutomation() in testGetApplicationInfoForSharedLibrary()
116 .getUiAutomation() in testGetApplicationInfoForSharedLibrary()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DNetworkPolicyTestUtils.java213 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in getWifiSsid()
231 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation(); in setWifiMeteredStatus()
468 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation();
478 final UiAutomation uiAutomation = getInstrumentation().getUiAutomation();
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDelegatorTest.java140 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in setOwner()
148 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in clearOwner()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreApiTest.java196 .getUiAutomation() in restoreBackupData()
214 .getUiAutomation() in restoreBackupData()
252 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in verifyDeleteRecords()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DLocalCallingIdentityTest.java46 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
55 .getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/profiles/
DMeasurementDefaultProfileSuite.java123 .getUiAutomation() in setup()
127 .getUiAutomation() in setup()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DAssistantSettingsTest.java67 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
79 .getUiAutomation() in tearDown()
/packages/modules/Bluetooth/framework/tests/metrics/device/android/bluetooth/
DBluetoothMetricsHelperTest.kt68 .getUiAutomation() in setUpClass()
96 val uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()

123456789