FileDocCategorySizeDatePackage
BasePermission.javaAPI DocAndroid 5.1 API1565Thu Mar 12 22:22:42 GMT 2015com.android.server.pm

BasePermission

public final class BasePermission extends Object

Fields Summary
static final int
TYPE_NORMAL
static final int
TYPE_BUILTIN
static final int
TYPE_DYNAMIC
final String
name
String
sourcePackage
PackageSettingBase
packageSetting
final int
type
int
protectionLevel
PackageParser.Permission
perm
android.content.pm.PermissionInfo
pendingInfo
int
uid
int[]
gids
Constructors Summary
BasePermission(String _name, String _sourcePackage, int _type)


          
        name = _name;
        sourcePackage = _sourcePackage;
        type = _type;
        // Default to most conservative protection level.
        protectionLevel = PermissionInfo.PROTECTION_SIGNATURE;
    
Methods Summary
public java.lang.StringtoString()

        return "BasePermission{" + Integer.toHexString(System.identityHashCode(this)) + " " + name
                + "}";