/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | SafetyCenterUtils.kt | 20 import android.app.UiAutomation 79 uiAutomation: UiAutomation = instrumentation.uiAutomation in setDeviceConfigPrivacyProperty() 96 uiAutomation: UiAutomation = instrumentation.uiAutomation in deleteDeviceConfigPrivacyProperty() 105 automation: UiAutomation = instrumentation.uiAutomation in getSafetyCenterIssues() 122 automation: UiAutomation = instrumentation.uiAutomation in assertSafetyCenterIssueExist() 136 automation: UiAutomation = instrumentation.uiAutomation in assertSafetyCenterIssueDoesNotExist()
|
D | AccessibilityPrivacySourceTest.kt | 23 import android.app.UiAutomation 265 private fun getAutomation(): UiAutomation { in getAutomation() 267 UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES in getAutomation()
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 42 import android.app.UiAutomation; 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() [all …]
|
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | TestUtils.java | 21 import android.app.UiAutomation; 151 UiAutomation automation) { in runJobAndWaitUntilCompleted() 168 UiAutomation automation, in awaitJobUntilRequestedState() 187 UiAutomation automation, in awaitJobUntilRequestedState()
|
D | PermissionUtils.java | 47 import android.app.UiAutomation; 78 private static final UiAutomation sUiAutomation = 353 public static void resetPermissionControllerJob(@NonNull UiAutomation automation, in resetPermissionControllerJob() 368 public static void scheduleJob(@NonNull UiAutomation automation, in scheduleJob()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | ShellPermissions.kt | 19 import android.app.UiAutomation 20 import android.app.UiAutomation.ALL_PERMISSIONS 66 private fun UiAutomation.adoptShellPermissionIdentityFor(permissionsToAdopt: Set<String>) { in UiAutomation() method
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
D | TestUtils.java | 20 import android.app.UiAutomation; 39 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setUp() 52 final UiAutomation uiAutomation = instrumentation.getUiAutomation(); in tearDown()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | PermissionsCheckerRule.java | 23 import android.app.UiAutomation; 53 private final UiAutomation mUiAutomation; 60 PermissionsCheckerRule(UiAutomation uiAutomation) { in PermissionsCheckerRule()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/ |
D | ShellHelper.java | 18 import android.app.UiAutomation; 37 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeWithShellPermissions()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleHalLargeParcelableTest.java | 26 import android.app.UiAutomation; 39 private UiAutomation mUiAutomation;
|
D | CarApiTestBase.java | 29 import android.app.UiAutomation; 213 UiAutomation automation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in waitForLogcatMessage() 291 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in executeShellCommand() 295 private static String executeShellCommand(UiAutomation uiAutomation, String commandFormat, in executeShellCommand()
|
/packages/modules/Bluetooth/framework/tests/util/src/ |
D | Permissions.kt | 18 import android.app.UiAutomation 65 if (UiAutomation.ALL_PERMISSIONS.equals(permissions)) { in restorePermissions()
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | LegacyProviderMigrationTest.java | 29 import android.app.UiAutomation; 259 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testLegacy_PlaylistMap() 392 private static void prepareProviders(Context context, UiAutomation ui) throws Exception { in prepareProviders() 409 private static void clearProviders(Context context, UiAutomation ui) throws Exception { in clearProviders() 428 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testLegacy_Extreme() 468 final UiAutomation ui = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in doLegacy() 596 public static String executeShellCommand(String command, UiAutomation uiAutomation) in executeShellCommand() 611 public static String executeShellCommandInternal(String command, UiAutomation uiAutomation) in executeShellCommandInternal()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | ReviewAccessibilityServicesTest.kt | 21 import android.app.UiAutomation 73 UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES 143 .getUiAutomation(UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES) in startAccessibilityActivity()
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerRealDocumentsTest.java | 31 import android.app.UiAutomation; 76 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testRealDocuments_check() 117 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testRealIndexing()
|
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchMaintenanceServiceTest.java | 34 import android.app.UiAutomation; 92 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testScheduleFullPersistJob() 167 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testCancelPendingFullPersistJob_succeeds()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | NetworkPolicyTestUtils.java | 39 import android.app.UiAutomation; 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/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | TestUtils.java | 19 import android.app.UiAutomation; 85 final UiAutomation uiAutomation = in runWithShellPermissionIdentity()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | ScreenRecordRule.java | 22 import android.app.UiAutomation; 56 UiAutomation automation = inst.getUiAutomation(); in apply()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesShellCommandHelper.java | 21 import android.app.UiAutomation; 88 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in executeShellCommandRwe()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 63 import android.app.UiAutomation; 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() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | GestureBot.java | 19 import android.app.UiAutomation; 49 private final UiAutomation mAutomation; 52 public GestureBot(UiDevice device, UiAutomation automation, Context context, int timeout) { in GestureBot()
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | FilesJankPerfTest.java | 22 import android.app.UiAutomation; 51 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUpInLoop()
|
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/ |
D | MicrodroidDeviceTestBase.java | 27 import android.app.UiAutomation; 100 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in grantPermission() 107 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in revokePermission() 114 UiAutomation uiAutomation = instrumentation.getUiAutomation(); in setMaxPerformanceTaskProfile() 510 protected String runInShell(String tag, UiAutomation uiAutomation, String command) { in runInShell() 526 protected String runInShellWithStderr(String tag, UiAutomation uiAutomation, String command) { in runInShellWithStderr()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | ExerciseRouteDisabledFeatureTest.java | 23 import android.app.UiAutomation; 44 private final UiAutomation mUiAutomation =
|