Searched refs:oldPackageState (Results 1 – 2 of 2) sorted by relevance
326 val oldPackageState = mockPackageState( in testPermissionChanged() constant330 addPackageState(oldPackageState) in testPermissionChanged()408 val oldPackageState = mockPackageState(APP_ID_0, mockSimpleAndroidPackage()) in testPermissionDeclaration() constant409 addPackageState(oldPackageState) in testPermissionDeclaration()429 val oldPackageState = mockPackageState( in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked() constant437 addPackageState(oldPackageState) in testTrimPermissionStates_permissionsNoLongerRequested_getsFlagsRevoked()565 val oldPackageState = if (isOldPackageMissing) { in testRevokePermissionsOnPackageUpdate() constant579 addPackageState(oldPackageState) in testRevokePermissionsOnPackageUpdate()
1705 final PackageSetting oldPackageState; in preparePackageLI() local1717 oldPackageState = mPm.mSettings.getPackageLPr(pkgName11); in preparePackageLI()1719 oldPackage = oldPackageState.getAndroidPackage(); in preparePackageLI()1741 + ", old=" + oldPackageState.getName()); in preparePackageLI()1758 SigningDetails oldPkgSigningDetails = oldPackageState.getSigningDetails(); in preparePackageLI()1778 if (oldPackageState.getRestrictUpdateHash() != null in preparePackageLI()1779 && oldPackageState.isSystem()) { in preparePackageLI()1794 if (!Arrays.equals(oldPackageState.getRestrictUpdateHash(), digestBytes)) { in preparePackageLI()1800 oldPackageState.getRestrictUpdateHash()); in preparePackageLI()1874 removedInfo.mIsExternal = oldPackageState.isExternalStorage(); in preparePackageLI()[all …]