Home
last modified time | relevance | path

Searched refs:automation (Results 1 – 23 of 23) sorted by relevance

/packages/modules/NetworkStack/tests/integration/root/android/net/ip/
DIpClientRootTest.kt66 private val automation by lazy { InstrumentationRegistry.getInstrumentation().uiAutomation } in <lambda>() constant
86 automation.adoptShellPermissionIdentity(NETWORK_SETTINGS) in <lambda>()
88 automation.executeShellCommand("su root service call network_stack " + in <lambda>()
100 automation.dropShellPermissionIdentity() in <lambda>()
128 automation.adoptShellPermissionIdentity(NETWORK_SETTINGS) in <lambda>()
134 automation.executeShellCommand("su root service call network_stack " + in <lambda>()
137 automation.dropShellPermissionIdentity() in <lambda>()
172 automation.adoptShellPermissionIdentity(READ_DEVICE_CONFIG) in <lambda>()
177 automation.dropShellPermissionIdentity() in <lambda>()
191 automation.adoptShellPermissionIdentity(READ_DEVICE_CONFIG, WRITE_DEVICE_CONFIG) in <lambda>()
[all …]
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/
DTestUtils.java151 UiAutomation automation) { in runJobAndWaitUntilCompleted() argument
155 String result = runShellCommand(automation, runJobCmd); in runJobAndWaitUntilCompleted()
161 awaitJobUntilRequestedState(packageName, jobId, timeout, automation, "waiting"); in runJobAndWaitUntilCompleted()
168 UiAutomation automation, in awaitJobUntilRequestedState() argument
174 String jobState = runShellCommand(automation, statusCmd).trim(); in awaitJobUntilRequestedState()
187 UiAutomation automation, in awaitJobUntilRequestedState() argument
194 String jobState = runShellCommand(automation, statusCmd).trim(); in awaitJobUntilRequestedState()
DPermissionUtils.java353 public static void resetPermissionControllerJob(@NonNull UiAutomation automation, in resetPermissionControllerJob() argument
357 awaitJobUntilRequestedState(packageName, jobId, timeout, automation, "unknown"); in resetPermissionControllerJob()
358 scheduleJob(automation, packageName, jobId, timeout, intentAction, onBootReceiver); in resetPermissionControllerJob()
368 public static void scheduleJob(@NonNull UiAutomation automation, in scheduleJob() argument
380 jobStatus = runShellCommand(automation, cmd).trim(); in scheduleJob()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSafetyCenterUtils.kt105 automation: UiAutomation = instrumentation.uiAutomation in getSafetyCenterIssues()
110 runWithShellPermissionIdentity(automation) { in getSafetyCenterIssues()
122 automation: UiAutomation = instrumentation.uiAutomation in assertSafetyCenterIssueExist()
127 getSafetyCenterIssues(automation).any { safetyCenterIssueId == it.id } in assertSafetyCenterIssueExist()
136 automation: UiAutomation = instrumentation.uiAutomation in assertSafetyCenterIssueDoesNotExist()
141 getSafetyCenterIssues(automation).none { safetyCenterIssueId == it.id } in assertSafetyCenterIssueDoesNotExist()
DAccessibilityPrivacySourceTest.kt180 val automation = getAutomation() in testAccessibilityListenerSendsIssueToSafetyCenter() constant
188 automation in testAccessibilityListenerSendsIssueToSafetyCenter()
193 automation.destroy() in testAccessibilityListenerSendsIssueToSafetyCenter()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DScreenRecordRule.java56 UiAutomation automation = inst.getUiAutomation(); in apply()
63 automation.executeShellCommand("screenrecord " + outputFile); in apply()
74 automation.executeShellCommand("rm " + outputFile); in apply()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DBots.java52 public Bots(UiDevice device, UiAutomation automation, Context context, int timeout) { in Bots() argument
56 directory = new DirectoryListBot(device, automation, context, TIMEOUT); in Bots()
60 gesture = new GestureBot(device, automation, context, TIMEOUT); in Bots()
DGestureBot.java52 public GestureBot(UiDevice device, UiAutomation automation, Context context, int timeout) { in GestureBot() argument
56 mAutomation = automation; in GestureBot()
DDirectoryListBot.java71 UiDevice device, UiAutomation automation, Context context, int timeout) { in DirectoryListBot() argument
73 mAutomation = automation; in DirectoryListBot()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActivityTest.java75 public UiAutomation automation; field in ActivityTest
125 automation = getInstrumentation().getUiAutomation(); in setUp()
128 bots = new Bots(device, automation, context, TIMEOUT); in setUp()
DDialogUiTest.java363 public static String runShellCommand(UiAutomation automation, String cmd) in runShellCommand() argument
369 ParcelFileDescriptor pfd = automation.executeShellCommand(cmd); in runShellCommand()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesJankPerfTest.java51 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUpInLoop() local
53 mDirListBot = new DirectoryListBot(device, automation, context, BOT_TIMEOUT); in setUpInLoop()
/packages/modules/Bluetooth/system/gd/docs/testing/
Dcert_test.md24 automation hook through a **Device Specific Driver**. The server will then
35 : A set of automation APIs of a specific profile (HFP, AVRCP, etc) or function
45 : A concrete implementation of the gRPC automation APIs, which will convert
46 RPC requests into invocations of device specific automation hook using a
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiTestBase.java213 UiAutomation automation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in waitForLogcatMessage() local
214 ParcelFileDescriptor output = automation.executeShellCommand(cmd); in waitForLogcatMessage()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java295 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUp() local
296 automation.adoptShellPermissionIdentity(MANAGE_TEST_NETWORKS); in setUp()
301 automation.dropShellPermissionIdentity(); in setUp()
/packages/modules/adb/
DSERVICES.TXT195 useful for allowing test automation running on host (not Android
199 control (cuttlefish) for test automation.
/packages/modules/Bluetooth/system/gd/docs/architecture/
Dstyle_guide.md122 * facade.proto: gRPC automation interface definition for this layer
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz