Searched refs:permissions (Results 1 – 25 of 242) sorted by relevance
12345678910
25 class ShellPrivilege(vararg permissions: String) : AutoCloseable {33 permissionsGranted = grantMissingPermissions(*permissions)40 private fun grantMissingPermissions(vararg permissions: String): Boolean { in grantMissingPermissions()41 if (permissions.isEmpty()) { in grantMissingPermissions()45 val missingPermissions = permissions.filter { !it.isGranted() }.toTypedArray() in grantMissingPermissions()
31 readonly permissions="$2"40 sed -r 's!(.*)! <uses-permission android:name="\1"/>!g' "$permissions" >> "$output"
155 fun <T> callWithShellIdentityPermissions(vararg permissions: String, callable: () -> T): T { in callWithShellIdentityPermissions()159 uiAutomation.adoptShellPermissionIdentity(*permissions) in callWithShellIdentityPermissions()
12 # See the License for the specific language governing permissions and
13 // See the License for the specific language governing permissions and
12 // See the License for the specific language governing permissions and