/platform_testing/utils/permissions/src/com/android/permissionutils/ |
D | PermissionInstrumentation.java | 47 String command = arguments.getString(PARAM_COMMAND); in onCreate() local 48 if (command == null) { in onCreate() 51 if (COMMAND_DUMP.equals(command)) { in onCreate() 53 } else if (COMMAND_GRANTALL.equals(command)) { in onCreate() 57 String.format("unrecognized command \"%s\"", command)); in onCreate()
|
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
D | AppLinkTests.java | 246 private String executeShellCommand(String command) { in executeShellCommand() argument 247 if (command == null || command.isEmpty()) { in executeShellCommand() 250 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); in executeShellCommand() 254 Log.d(TEST_TAG, String.format("Executing command: %s", command)); in executeShellCommand()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | DataCollector.java | 308 private void saveProcessOutput(String command, String filenameTemplate) in saveProcessOutput() argument 313 command, file.getAbsolutePath())); in saveProcessOutput() 316 saveProcessOutput(command, out); in saveProcessOutput() 325 public void saveProcessOutput(String command, OutputStream out) throws IOException { in saveProcessOutput() argument 329 mInstrumentation.getUiAutomation().executeShellCommand(command); in saveProcessOutput()
|
D | ProcessStatusTracker.java | 231 public BufferedReader executeShellCommand (String command) { in executeShellCommand() argument 232 ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand()
|
D | AuptTestCase.java | 489 String command = String.format("am dumpheap %s %s", proc, tempFilename); in recordDumpheap() local 490 getProcessOutput(command); in recordDumpheap() 495 public String getProcessOutput(String command) throws IOException { in getProcessOutput() argument 497 mDataCollector.saveProcessOutput(command, baos); in getProcessOutput()
|
D | GraphicsStatsMonitor.java | 295 public BufferedReader executeShellCommand (String command) { in executeShellCommand() argument 296 ParcelFileDescriptor stdout = getUiAutomation().executeShellCommand(command); in executeShellCommand()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationHelper.java | 138 String command = String.format(" %s %s %s", "input", "text", Integer.toString(pin)); in unlockScreenByPin() local 139 executeAdbCommand(command); in unlockScreenByPin() 145 String command = String.format(" %s %s %s %s %s", "settings", "put", "secure", in enableNotificationViaAdb() local 148 executeAdbCommand(command); in enableNotificationViaAdb() 151 public void executeAdbCommand(String command) { in executeAdbCommand() argument 152 Log.i(LOG_TAG, String.format("executing - %s", command)); in executeAdbCommand() 153 mInst.getUiAutomation().executeShellCommand(command); in executeAdbCommand()
|
/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/ |
D | ExternalStorageHelper.java | 118 public String executeShellCommand(String command) { in executeShellCommand() argument 119 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); in executeShellCommand() 123 Log.d(TEST_TAG, String.format("Executing command: %s", command)); in executeShellCommand()
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | SysUILockScreenTests.java | 179 String command = String.format(" %s %s %s", "input", "text", pwd); in unlockScreen() local 180 mDevice.executeShellCommand(command); in unlockScreen()
|
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/ |
D | PermissionHelper.java | 323 String command = String.format("pm %s %s %s", permissionOp.toString().toLowerCase(), in grantOrRevokePermissionViaAdb() local 325 Log.d(TEST_TAG, String.format("executing - %s", command)); in grantOrRevokePermissionViaAdb() 326 mUiAutomation.executeShellCommand(command); in grantOrRevokePermissionViaAdb()
|