Home
last modified time | relevance | path

Searched refs:permissionFlag (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/server/
DSystemConfig.java408 void readPermissions(File libraryDir, int permissionFlag) { in readPermissions() argument
411 if (permissionFlag == ALLOW_ALL) { in readPermissions()
443 readPermissionsFromXml(f, permissionFlag); in readPermissions()
448 readPermissionsFromXml(platformFile, permissionFlag); in readPermissions()
457 private void readPermissionsFromXml(File permFile, int permissionFlag) { in readPermissionsFromXml() argument
487 final boolean allowAll = permissionFlag == ALLOW_ALL; in readPermissionsFromXml()
488 final boolean allowLibs = (permissionFlag & ALLOW_LIBS) != 0; in readPermissionsFromXml()
489 final boolean allowFeatures = (permissionFlag & ALLOW_FEATURES) != 0; in readPermissionsFromXml()
490 final boolean allowPermissions = (permissionFlag & ALLOW_PERMISSIONS) != 0; in readPermissionsFromXml()
491 final boolean allowAppConfigs = (permissionFlag & ALLOW_APP_CONFIGS) != 0; in readPermissionsFromXml()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java131 final int permissionFlag = ActivityManager.checkComponentPermission( in startActivityAsUser() local
134 if (permissionFlag != PackageManager.PERMISSION_GRANTED in startActivityAsUser()