Searched refs:shouldRunAsRoot (Results 1 – 3 of 3) sorted by relevance
89 public Builder asRoot(boolean shouldRunAsRoot) { in asRoot() argument90 mShouldRunAsRootWithSuperUser = shouldRunAsRoot && in asRoot()
379 boolean shouldRunAsRoot = Tags.hasTag("adb-root"); in grantPermission()382 .asRoot(shouldRunAsRoot) in grantPermission()392 + (shouldRunAsRoot ? "" : " If this test requires permissions that can only " in grantPermission()
2352 boolean shouldRunAsRoot = Tags.hasTag("adb-root");2353 if (shouldRunAsRoot) {2369 "Infra cannot set user restriction " + restriction + (shouldRunAsRoot ? ""2554 boolean shouldRunAsRoot = Tags.hasTag("adb-root");2555 if (shouldRunAsRoot) {2574 "Infra cannot remove user restriction " + restriction + (shouldRunAsRoot ? ""