/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
D | PhotoPickerCloudTestUtils.java | 96 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()
|
D | PhotoPickerComponentTestUtils.java | 78 inst.getUiAutomation().adoptShellPermissionIdentity( in updateComponentEnabledSetting() 84 inst.getUiAutomation().dropShellPermissionIdentity(); in updateComponentEnabledSetting()
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 128 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/ |
D | BluetoothServiceBinderTest.java | 107 .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/ |
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/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 753 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/ |
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/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | RevokedHealthPermissionRule.java | 45 .getUiAutomation() in before() 54 .getUiAutomation() in after()
|
/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/Virtualization/compos/benchmark/src/java/com/android/compos/benchmark/ |
D | ComposBenchmark.java | 69 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/ |
D | TestUtils.java | 62 .getUiAutomation() in adoptPermissionAsShellUid() 69 .getUiAutomation() in dropPermissionAsShellUid() 78 .getUiAutomation() in getAdoptedShellPermissions()
|
/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/Nfc/testutils/src/com/android/nfc/utils/ |
D | HceUtils.java | 366 .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/ |
D | TestUtils.java | 39 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp() 52 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplDigitalWellBeingToastTest.java | 101 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in runWithShellPermission() 105 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in runWithShellPermission()
|
D | TaplTestsTrackpad.java | 84 instrumentation.getUiAutomation().adoptShellPermissionIdentity( in pressBack() 91 instrumentation.getUiAutomation().dropShellPermissionIdentity(); in pressBack()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 456 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/ |
D | PackageManagerHelperUnitTest.java | 102 .getUiAutomation() in testGetApplicationInfoForSharedLibrary() 116 .getUiAutomation() in testGetApplicationInfoForSharedLibrary()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | NetworkPolicyTestUtils.java | 213 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/ |
D | DelegatorTest.java | 140 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in setOwner() 148 InstrumentationRegistry.getInstrumentation().getUiAutomation()); in clearOwner()
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreApiTest.java | 196 .getUiAutomation() in restoreBackupData() 214 .getUiAutomation() in restoreBackupData() 252 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in verifyDeleteRecords()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | LocalCallingIdentityTest.java | 46 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/ |
D | MeasurementDefaultProfileSuite.java | 123 .getUiAutomation() in setup() 127 .getUiAutomation() in setup()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
D | AssistantSettingsTest.java | 67 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 79 .getUiAutomation() in tearDown()
|
/packages/modules/Bluetooth/framework/tests/metrics/device/android/bluetooth/ |
D | BluetoothMetricsHelperTest.kt | 68 .getUiAutomation() in setUpClass() 96 val uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp()
|