Home
last modified time | relevance | path

Searched refs:CompatibilityPermissionInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/permission/
DCompatibilityPermissionInfo.java38 public class CompatibilityPermissionInfo { class
52 public static final CompatibilityPermissionInfo[] COMPAT_PERMS =
53 new CompatibilityPermissionInfo[]{
54 new CompatibilityPermissionInfo(Manifest.permission.POST_NOTIFICATIONS,
56 new CompatibilityPermissionInfo(Manifest.permission.WRITE_EXTERNAL_STORAGE,
58 new CompatibilityPermissionInfo(Manifest.permission.READ_PHONE_STATE,
78 public CompatibilityPermissionInfo( in CompatibilityPermissionInfo() method in CompatibilityPermissionInfo
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java29 import static com.android.internal.pm.permission.CompatibilityPermissionInfo.COMPAT_PERMS;
83 import com.android.internal.pm.permission.CompatibilityPermissionInfo;
737 Arrays.stream(COMPAT_PERMS).map(CompatibilityPermissionInfo::getName) in testParseModernPackageHasNoCompatPermissions()
763 .that(Arrays.stream(COMPAT_PERMS).map(CompatibilityPermissionInfo::getName) in testParseLegacyPackageHasCompatPermissions()
770 .that(Arrays.stream(COMPAT_PERMS).map(CompatibilityPermissionInfo::getName) in testParseLegacyPackageHasCompatPermissions()
775 .that(Arrays.stream(COMPAT_PERMS).map(CompatibilityPermissionInfo::getName) in testParseLegacyPackageHasCompatPermissions()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt28 import com.android.internal.pm.permission.CompatibilityPermissionInfo in <lambda>()
1174 for (compatibilityPermission in CompatibilityPermissionInfo.COMPAT_PERMS) { in <lambda>()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java92 import com.android.internal.pm.permission.CompatibilityPermissionInfo;
3087 for (int i = 0, size = CompatibilityPermissionInfo.COMPAT_PERMS.length; i < size; i++) {
3088 final CompatibilityPermissionInfo info = CompatibilityPermissionInfo.COMPAT_PERMS[i];
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java123 import com.android.internal.pm.permission.CompatibilityPermissionInfo;
3242 for (int i = 0, size = CompatibilityPermissionInfo.COMPAT_PERMS.length; i < size; i++) {
3243 final CompatibilityPermissionInfo info = CompatibilityPermissionInfo.COMPAT_PERMS[i];