Searched refs:automation (Results 1 – 23 of 23) sorted by relevance
66 private val automation by lazy { InstrumentationRegistry.getInstrumentation().uiAutomation } in <lambda>() constant86 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 …]
151 UiAutomation automation) { in runJobAndWaitUntilCompleted() argument155 String result = runShellCommand(automation, runJobCmd); in runJobAndWaitUntilCompleted()161 awaitJobUntilRequestedState(packageName, jobId, timeout, automation, "waiting"); in runJobAndWaitUntilCompleted()168 UiAutomation automation, in awaitJobUntilRequestedState() argument174 String jobState = runShellCommand(automation, statusCmd).trim(); in awaitJobUntilRequestedState()187 UiAutomation automation, in awaitJobUntilRequestedState() argument194 String jobState = runShellCommand(automation, statusCmd).trim(); in awaitJobUntilRequestedState()
353 public static void resetPermissionControllerJob(@NonNull UiAutomation automation, in resetPermissionControllerJob() argument357 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() argument380 jobStatus = runShellCommand(automation, cmd).trim(); in scheduleJob()
105 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()
180 val automation = getAutomation() in testAccessibilityListenerSendsIssueToSafetyCenter() constant188 automation in testAccessibilityListenerSendsIssueToSafetyCenter()193 automation.destroy() in testAccessibilityListenerSendsIssueToSafetyCenter()
56 UiAutomation automation = inst.getUiAutomation(); in apply()63 automation.executeShellCommand("screenrecord " + outputFile); in apply()74 automation.executeShellCommand("rm " + outputFile); in apply()
52 public Bots(UiDevice device, UiAutomation automation, Context context, int timeout) { in Bots() argument56 directory = new DirectoryListBot(device, automation, context, TIMEOUT); in Bots()60 gesture = new GestureBot(device, automation, context, TIMEOUT); in Bots()
52 public GestureBot(UiDevice device, UiAutomation automation, Context context, int timeout) { in GestureBot() argument56 mAutomation = automation; in GestureBot()
71 UiDevice device, UiAutomation automation, Context context, int timeout) { in DirectoryListBot() argument73 mAutomation = automation; in DirectoryListBot()
75 public UiAutomation automation; field in ActivityTest125 automation = getInstrumentation().getUiAutomation(); in setUp()128 bots = new Bots(device, automation, context, TIMEOUT); in setUp()
363 public static String runShellCommand(UiAutomation automation, String cmd) in runShellCommand() argument369 ParcelFileDescriptor pfd = automation.executeShellCommand(cmd); in runShellCommand()
51 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUpInLoop() local53 mDirListBot = new DirectoryListBot(device, automation, context, BOT_TIMEOUT); in setUpInLoop()
24 automation hook through a **Device Specific Driver**. The server will then35 : A set of automation APIs of a specific profile (HFP, AVRCP, etc) or function45 : A concrete implementation of the gRPC automation APIs, which will convert46 RPC requests into invocations of device specific automation hook using a
213 UiAutomation automation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in waitForLogcatMessage() local214 ParcelFileDescriptor output = automation.executeShellCommand(cmd); in waitForLogcatMessage()
295 final UiAutomation automation = getInstrumentation().getUiAutomation(); in setUp() local296 automation.adoptShellPermissionIdentity(MANAGE_TEST_NETWORKS); in setUp()301 automation.dropShellPermissionIdentity(); in setUp()
195 useful for allowing test automation running on host (not Android199 control (cuttlefish) for test automation.
122 * facade.proto: gRPC automation interface definition for this layer
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...