Searched refs:permissionFlag (Results 1 – 2 of 2) sorted by relevance
450 void readPermissions(File libraryDir, int permissionFlag) { in readPermissions() argument453 if (permissionFlag == ALLOW_ALL) { in readPermissions()485 readPermissionsFromXml(f, permissionFlag); in readPermissions()490 readPermissionsFromXml(platformFile, permissionFlag); in readPermissions()499 private void readPermissionsFromXml(File permFile, int permissionFlag) { in readPermissionsFromXml() argument529 final boolean allowAll = permissionFlag == ALLOW_ALL; in readPermissionsFromXml()530 final boolean allowLibs = (permissionFlag & ALLOW_LIBS) != 0; in readPermissionsFromXml()531 final boolean allowFeatures = (permissionFlag & ALLOW_FEATURES) != 0; in readPermissionsFromXml()532 final boolean allowPermissions = (permissionFlag & ALLOW_PERMISSIONS) != 0; in readPermissionsFromXml()533 final boolean allowAppConfigs = (permissionFlag & ALLOW_APP_CONFIGS) != 0; in readPermissionsFromXml()[all …]
131 final int permissionFlag = ActivityManager.checkComponentPermission( in startActivityAsUser() local134 if (permissionFlag != PackageManager.PERMISSION_GRANTED in startActivityAsUser()