Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java737 public void readPermissions(final XmlPullParser parser, File libraryDir, int permissionFlag) { in readPermissions() argument
740 if (permissionFlag == ALLOW_ALL) { in readPermissions()
772 readPermissionsFromXml(parser, f, permissionFlag); in readPermissions()
777 readPermissionsFromXml(parser, platformFile, permissionFlag); in readPermissions()
787 int permissionFlag) { in readPermissionsFromXml() argument
817 final boolean allowAll = permissionFlag == ALLOW_ALL; in readPermissionsFromXml()
818 final boolean allowLibs = (permissionFlag & ALLOW_LIBS) != 0; in readPermissionsFromXml()
819 final boolean allowFeatures = (permissionFlag & ALLOW_FEATURES) != 0; in readPermissionsFromXml()
820 final boolean allowPermissions = (permissionFlag & ALLOW_PERMISSIONS) != 0; in readPermissionsFromXml()
821 final boolean allowAppConfigs = (permissionFlag & ALLOW_APP_CONFIGS) != 0; in readPermissionsFromXml()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/systemconfig/
DSystemConfigTest.java94 private void readPermissions(File libraryDir, int permissionFlag) { in readPermissions() argument
96 mSysConfig.readPermissions(parser, libraryDir, permissionFlag); in readPermissions()