Home
last modified time | relevance | path

Searched refs:UiAutomation (Results 1 – 25 of 88) sorted by relevance

1234

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSafetyCenterUtils.kt20 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()
DAccessibilityPrivacySourceTest.kt23 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/
DUwbManagerTest.java42 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/
DTestUtils.java21 import android.app.UiAutomation;
151 UiAutomation automation) { in runJobAndWaitUntilCompleted()
168 UiAutomation automation, in awaitJobUntilRequestedState()
187 UiAutomation automation, in awaitJobUntilRequestedState()
DPermissionUtils.java47 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/
DShellPermissions.kt19 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/
DTestUtils.java20 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/
DPermissionsCheckerRule.java23 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/
DShellHelper.java18 import android.app.UiAutomation;
37 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in invokeWithShellPermissions()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleHalLargeParcelableTest.java26 import android.app.UiAutomation;
39 private UiAutomation mUiAutomation;
DCarApiTestBase.java29 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/
DPermissions.kt18 import android.app.UiAutomation
65 if (UiAutomation.ALL_PERMISSIONS.equals(permissions)) { in restorePermissions()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java29 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/
DReviewAccessibilityServicesTest.kt21 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/
DAppsIndexerRealDocumentsTest.java31 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/
DAppSearchMaintenanceServiceTest.java34 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/
DNetworkPolicyTestUtils.java39 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/
DTestUtils.java19 import android.app.UiAutomation;
85 final UiAutomation uiAutomation = in runWithShellPermissionIdentity()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DScreenRecordRule.java22 import android.app.UiAutomation;
56 UiAutomation automation = inst.getUiAutomation(); in apply()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesShellCommandHelper.java21 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/
DHealthConnectDeviceTest.java63 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/
DGestureBot.java19 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/
DFilesJankPerfTest.java22 import android.app.UiAutomation;
51 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUpInLoop()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java27 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/
DExerciseRouteDisabledFeatureTest.java23 import android.app.UiAutomation;
44 private final UiAutomation mUiAutomation =

1234