Home
last modified time | relevance | path

Searched refs:PLATFORM_PACKAGE_NAME (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java52 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PrivappPermissionsTest
57 PackageInfo platformPackage = pm.getPackageInfo(PLATFORM_PACKAGE_NAME, in testPrivappPermissionsEnforcement()
73 || PLATFORM_PACKAGE_NAME.equals(packageName)) { in testPrivappPermissionsEnforcement()
DPermissionPolicyTest.java57 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest
71 getPermissionsForPackage(getContext(), PLATFORM_PACKAGE_NAME); in testPlatformPermissionPolicyUnaltered()
164 if (declaredGroup.packageName.equals(PLATFORM_PACKAGE_NAME) in testPlatformPermissionPolicyUnaltered()
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/
DPermissionPolicyTest25.java32 private static final String PLATFORM_PACKAGE_NAME = "android"; field in PermissionPolicyTest25
38 .getPackageInfo(PLATFORM_PACKAGE_NAME, PackageManager.GET_PERMISSIONS); in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java59 private static final String PLATFORM_PACKAGE_NAME = "android"; field in BasePermissionsTest
247 Context platformContext = mContext.createPackageContext(PLATFORM_PACKAGE_NAME, 0); in beforeTest()