Searched refs:executeShellCommand (Results 1 – 7 of 7) sorted by relevance
92 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()
884 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 UiDevice1362 try (ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(cmd); in executeShellCommand()
122 mDevice.executeShellCommand( in testMultiDisplay_displayMetrics()128 mDevice.executeShellCommand( in testMultiDisplay_displayMetrics()
172 …lCommandRwe or similar utilities.") @RequiresApi(21) public String executeShellCommand(String) thr…
283 …ation#executeShellCommandRwe or similar utilities.") public String executeShellCommand(String) thr…