/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 312 PackageInfo oldPackage = null; in updateCurrentWebViewPackage() local 316 oldPackage = mCurrentWebViewPackage; in updateCurrentWebViewPackage() 324 providerChanged = (oldPackage == null) in updateCurrentWebViewPackage() 325 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage() 339 if (providerChanged && oldPackage != null) { in updateCurrentWebViewPackage() 340 mSystemInterface.killPackageDependents(oldPackage.packageName); in updateCurrentWebViewPackage()
|
D | WebViewUpdateServiceImpl2.java | 357 PackageInfo oldPackage = null; in updateCurrentWebViewPackage() local 362 oldPackage = mCurrentWebViewPackage; in updateCurrentWebViewPackage() 370 providerChanged = (oldPackage == null) in updateCurrentWebViewPackage() 371 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage() 390 if (providerChanged && oldPackage != null) { in updateCurrentWebViewPackage() 391 mSystemInterface.killPackageDependents(oldPackage.packageName); in updateCurrentWebViewPackage()
|
/frameworks/base/core/java/android/net/ |
D | IVpnManager.aidl | 32 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
|
D | VpnManager.java | 485 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 488 return mService.prepareVpn(oldPackage, newPackage, userId); in prepareVpn()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 924 final String oldPackage = mPackage; in setAlwaysOnPackage() local 925 final boolean isPackageChanged = !Objects.equals(packageName, oldPackage); in setAlwaysOnPackage() 928 final boolean shouldNotifyOldPkg = isVpnApp(oldPackage) && mAlwaysOn in setAlwaysOnPackage() 944 -1 /* errorClass */, -1 /* errorCode*/, oldPackage, in setAlwaysOnPackage() 1205 String oldPackage, String newPackage, @VpnManager.VpnType int vpnType) { in prepare() argument 1210 if (oldPackage != null) { in prepare() 1211 verifyCallingUidAndPackage(oldPackage); in prepare() 1218 if (oldPackage != null) { in prepare() 1220 if (mAlwaysOn && !isCurrentPreparedPackage(oldPackage)) { in prepare() 1225 if (!isCurrentPreparedPackage(oldPackage)) { in prepare() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstallPackageHelper.java | 1706 final AndroidPackage oldPackage; in preparePackageLI() local 1719 oldPackage = oldPackageState.getAndroidPackage(); in preparePackageLI() 1724 if (oldPackage != null in preparePackageLI() 1803 if (oldPackage != null) { in preparePackageLI() 1805 final var oldSharedUid = oldPackage.getSharedUserId() != null in preparePackageLI() 1806 ? oldPackage.getSharedUserId() : "<nothing>"; in preparePackageLI() 1817 if (oldPackage.isLeavingSharedUser() in preparePackageLI() 2187 AndroidPackage oldPackage = mPm.mPackages.get(packageName); in commitPackagesLocked() local 2205 mRemovePackageHelper.removePackage(oldPackage, true); in commitPackagesLocked() 2206 if (!disableSystemPackageLPw(oldPackage)) { in commitPackagesLocked() [all …]
|
D | Settings.java | 1347 void writeUserRestrictionsLPw(PackageSetting newPackage, PackageSetting oldPackage) { 1358 final PackageUserState oldUserState = oldPackage == null 1360 : oldPackage.readUserState(user.id);
|
/frameworks/base/services/core/java/com/android/server/ |
D | VpnManagerService.java | 219 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 227 return vpn.prepare(oldPackage, newPackage, VpnManager.TYPE_VPN_SERVICE); in prepareVpn()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 2072 @NonNull AndroidPackage oldPackage) { in revokeStoragePermissionsIfScopeExpandedInternal() argument 2073 boolean downgradedSdk = oldPackage.getTargetSdkVersion() >= Build.VERSION_CODES.Q in revokeStoragePermissionsIfScopeExpandedInternal() 2075 boolean upgradedSdk = oldPackage.getTargetSdkVersion() < Build.VERSION_CODES.Q in revokeStoragePermissionsIfScopeExpandedInternal() 2077 boolean newlyRequestsLegacy = !upgradedSdk && !oldPackage.isRequestLegacyExternalStorage() in revokeStoragePermissionsIfScopeExpandedInternal() 2133 @NonNull AndroidPackage oldPackage) { 2134 if (oldPackage.getTargetSdkVersion() >= Build.VERSION_CODES.M 2172 @NonNull AndroidPackage oldPackage) { 2173 final int numOldPackagePermissions = ArrayUtils.size(oldPackage.getPermissions()); 2178 final ParsedPermission permission = oldPackage.getPermissions().get(i);
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 705 UserHandle userHandle, @Nullable String oldPackage, @Nullable String newPackage) { in broadcastSmsAppChange() argument 709 getApplicationForPackage(apps, oldPackage), in broadcastSmsAppChange()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 2336 oldPackage: AndroidPackage? in <lambda>()
|