Searched refs:PLATFORM_PACKAGE_NAME (Results 1 – 4 of 4) sorted by relevance
52 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PrivappPermissionsTest57 PackageInfo platformPackage = pm.getPackageInfo(PLATFORM_PACKAGE_NAME, in testPrivappPermissionsEnforcement()73 || PLATFORM_PACKAGE_NAME.equals(packageName)) { in testPrivappPermissionsEnforcement()
57 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest71 getPermissionsForPackage(getContext(), PLATFORM_PACKAGE_NAME); in testPlatformPermissionPolicyUnaltered()164 if (declaredGroup.packageName.equals(PLATFORM_PACKAGE_NAME) in testPlatformPermissionPolicyUnaltered()
32 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest2538 .getPackageInfo(PLATFORM_PACKAGE_NAME, PackageManager.GET_PERMISSIONS); in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
59 private static final String PLATFORM_PACKAGE_NAME = "android"; field in BasePermissionsTest247 Context platformContext = mContext.createPackageContext(PLATFORM_PACKAGE_NAME, 0); in beforeTest()