Searched refs:permissionFlag (Results 1 – 2 of 2) sorted by relevance
587 public void readPermissions(File libraryDir, int permissionFlag) { in readPermissions() argument590 if (permissionFlag == ALLOW_ALL) { in readPermissions()622 readPermissionsFromXml(f, permissionFlag); in readPermissions()627 readPermissionsFromXml(platformFile, permissionFlag); in readPermissions()636 private void readPermissionsFromXml(File permFile, int permissionFlag) { in readPermissionsFromXml() argument667 final boolean allowAll = permissionFlag == ALLOW_ALL; in readPermissionsFromXml()668 final boolean allowLibs = (permissionFlag & ALLOW_LIBS) != 0; in readPermissionsFromXml()669 final boolean allowFeatures = (permissionFlag & ALLOW_FEATURES) != 0; in readPermissionsFromXml()670 final boolean allowPermissions = (permissionFlag & ALLOW_PERMISSIONS) != 0; in readPermissionsFromXml()671 final boolean allowAppConfigs = (permissionFlag & ALLOW_APP_CONFIGS) != 0; in readPermissionsFromXml()[all …]
157 final int permissionFlag = PermissionChecker.checkPermissionForPreflight( in startActivityAsUser() local163 if (permissionFlag != PermissionChecker.PERMISSION_GRANTED in startActivityAsUser()