Home
last modified time | relevance | path

Searched refs:executeShellCommand (Results 1 – 7 of 7) sorted by relevance

/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DUiDeviceTest.java92 String densityCmdOutput = mDevice.executeShellCommand("wm density"); in testGetDisplayMetrics()
103 mDevice.executeShellCommand(String.format("wm size %dx%d", width, height)); in testGetDisplayMetrics()
112 mDevice.executeShellCommand("wm size reset"); in testGetDisplayMetrics()
205 String output = mDevice.executeShellCommand("pm list packages"); in testExecuteShellCommand()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiDevice.java884 executeShellCommand(String.format("cmd window user-rotation -d %d lock", in freezeRotation()
888 executeShellCommand(String.format("cmd window set-user-rotation lock -d %d %d", in freezeRotation()
926 executeShellCommand(String.format("cmd window user-rotation -d %d free", in unfreezeRotation()
929 executeShellCommand(String.format("cmd window set-user-rotation free -d %d", in unfreezeRotation()
1112 executeShellCommand(String.format("cmd window user-rotation -d %d lock %d", in rotateWithCommand()
1115 executeShellCommand(String.format("cmd window set-user-rotation lock -d %d %d", in rotateWithCommand()
1360 public @NonNull String executeShellCommand(@NonNull String cmd) throws IOException { in executeShellCommand() method in UiDevice
1362 try (ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(cmd); in executeShellCommand()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DMultiDisplayTest.java122 mDevice.executeShellCommand( in testMultiDisplay_displayMetrics()
128 mDevice.executeShellCommand( in testMultiDisplay_displayMetrics()
/test/uiautomator/uiautomator/api/
Drestricted_2.3.0-beta01.txt172 …lCommandRwe or similar utilities.") @RequiresApi(21) public String executeShellCommand(String) thr…
D2.3.0-beta01.txt172 …lCommandRwe or similar utilities.") @RequiresApi(21) public String executeShellCommand(String) thr…
Dcurrent.txt283 …ation#executeShellCommandRwe or similar utilities.") public String executeShellCommand(String) thr…
Drestricted_current.txt283 …ation#executeShellCommandRwe or similar utilities.") public String executeShellCommand(String) thr…