Home
last modified time | relevance | path

Searched refs:platformPackage (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt210 val platformPackage = mockPackageState( in testEvaluatePermissionState_signaturePrivilegedPermissionNotAllowlisted_isNotGranted() constant
215 addPackageState(platformPackage) in testEvaluatePermissionState_signaturePrivilegedPermissionNotAllowlisted_isNotGranted()
242 val platformPackage = mockPackageState( in testEvaluatePermissionState_nonPrivilegedShouldGrantBySignature_getsProtectionGranted() constant
247 addPackageState(platformPackage) in testEvaluatePermissionState_nonPrivilegedShouldGrantBySignature_getsProtectionGranted()
272 val platformPackage = mockPackageState( in testEvaluatePermissionState_privilegedAllowlistShouldGrantByProtectionFlags_getsGranted() constant
277 addPackageState(platformPackage) in testEvaluatePermissionState_privilegedAllowlistShouldGrantByProtectionFlags_getsGranted()
/frameworks/base/services/core/java/com/android/server/pm/
DInstallPackageHelper.java3918 final AndroidPackage platformPackage; in prepareInitialScanRequest() local
3927 platformPackage = mPm.getPlatformPackage(); in prepareInitialScanRequest()
3971 final boolean isPlatformPackage = platformPackage != null in prepareInitialScanRequest()
3972 && platformPackage.getPackageName().equals(parsedPackage.getPackageName()); in prepareInitialScanRequest()