Searched refs:runAsResult (Results 1 – 1 of 1) sorted by relevance
35 String runAsResult = getDevice().executeShellCommand("run-as android.cpptools.app id -u"); in testRunAs() local36 assertNotNull("adb shell command failed", runAsResult); in testRunAs()37 runAsResult = runAsResult.trim(); in testRunAs()38 Matcher appIdMatcher = Pattern.compile("^([0-9]+)$").matcher(runAsResult); in testRunAs()39 assertTrue("unexpected result returned by adb shell command: \"" + runAsResult + "\"", in testRunAs()