Home
last modified time | relevance | path

Searched refs:asRoot (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DShellCommandTest.java201 assertThat(ShellCommand.builder(LIST_USERS_COMMAND).asRoot(/* shouldRunAsRoot= */ true) in buildCommand_asRoot_commandStartsWithRootPrefix()
207 assertThat(ShellCommand.builder(LIST_USERS_COMMAND).asRoot(/* shouldRunAsRoot= */ false) in buildCommand_notAsRoot_commandDoesNotStartWithRootPrefix()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DUserRestrictions.java69 .asRoot(true) in set()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommand.java89 public Builder asRoot(boolean shouldRunAsRoot) { in asRoot() method in ShellCommand.Builder
DShellCommandUtils.java428 String output = ShellCommand.builder("cat /system/build.prop").asRoot(true) in canRunAsRootWithSuperUser()
/cts/tests/tests/content/src/android/content/pm/cts/
DLauncherAppsForHiddenProfilesTest.java398 .asRoot(true) in setAppAsDistracting()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java382 .asRoot(shouldRunAsRoot) in grantPermission()