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()
71 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest95 getPermissionsForPackage(sContext, PLATFORM_PACKAGE_NAME); in platformPermissionPolicyIsUnaltered()220 if (declaredGroup.packageName.equals(PLATFORM_PACKAGE_NAME) in platformPermissionPolicyIsUnaltered()
74 private static final String PLATFORM_PACKAGE_NAME = "android"; field in BasePermissionsTest263 Context platformContext = mContext.createPackageContext(PLATFORM_PACKAGE_NAME, 0); in beforeTest()