Searched refs:PLATFORM_PACKAGE_NAME (Results 1 – 4 of 4) sorted by relevance
34 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest2540 .getPackageInfo(PLATFORM_PACKAGE_NAME, PackageManager.GET_PERMISSIONS); in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
76 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PrivappPermissionsTest88 PackageInfo platformPackage = pm.getPackageInfo(PLATFORM_PACKAGE_NAME, in privappPermissionsNeedToBeWhitelisted()107 || PLATFORM_PACKAGE_NAME.equals(packageName)) { in privappPermissionsNeedToBeWhitelisted()
70 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest91 getPermissionsForPackage(sContext, PLATFORM_PACKAGE_NAME); in platformPermissionPolicyIsUnaltered()209 if (declaredGroup.packageName.equals(PLATFORM_PACKAGE_NAME) in platformPermissionPolicyIsUnaltered()
67 private static final String PLATFORM_PACKAGE_NAME = "android"; field in BasePermissionsTest255 Context platformContext = mContext.createPackageContext(PLATFORM_PACKAGE_NAME, 0); in beforeTest()