Searched refs:oldPackage (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdater.java | 176 PackageInfo oldPackage = null; in updateCurrentWebViewPackage() local 180 oldPackage = mCurrentWebViewPackage; in updateCurrentWebViewPackage() 188 providerChanged = (oldPackage == null) in updateCurrentWebViewPackage() 189 || !newPackage.packageName.equals(oldPackage.packageName); in updateCurrentWebViewPackage() 203 if (providerChanged && oldPackage != null) { in updateCurrentWebViewPackage() 204 mSystemInterface.killPackageDependents(oldPackage.packageName); in updateCurrentWebViewPackage()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 655 public synchronized boolean prepare(String oldPackage, String newPackage) { in prepare() argument 656 if (oldPackage != null) { in prepare() 658 if (mAlwaysOn && !isCurrentPreparedPackage(oldPackage)) { in prepare() 663 if (!isCurrentPreparedPackage(oldPackage)) { in prepare() 666 if (!oldPackage.equals(VpnConfig.LEGACY_VPN) && isVpnUserPreConsented(oldPackage)) { in prepare() 667 prepareInternal(oldPackage); in prepare() 671 } else if (!oldPackage.equals(VpnConfig.LEGACY_VPN) in prepare() 672 && !isVpnUserPreConsented(oldPackage)) { in prepare()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerInternal.java | 106 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument
|
D | PermissionManagerService.java | 407 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument 410 final int numOldPackagePermissions = oldPackage.permissions.size(); in revokeRuntimePermissionsIfGroupChanged() 415 final PackageParser.Permission permission = oldPackage.permissions.get(i); in revokeRuntimePermissionsIfGroupChanged() 2061 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged() argument 2065 oldPackage, allPackageNames, permissionCallback); in revokeRuntimePermissionsIfGroupChanged()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 111 boolean prepareVpn(String oldPackage, String newPackage, int userId); in prepareVpn() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 16346 final PackageParser.Package oldPackage; 16353 oldPackage = mPackages.get(pkgName); 16354 if (DEBUG_INSTALL) Slog.d(TAG, "replacePackageLI: new=" + pkg + ", old=" + oldPackage); 16357 final boolean oldTargetsPreRelease = oldPackage.applicationInfo.targetSdkVersion 16383 if (!pkg.mSigningDetails.checkCapability(oldPackage.mSigningDetails, 16385 && !oldPackage.mSigningDetails.checkCapability( 16395 if (oldPackage.restrictUpdateHash != null && oldPackage.isSystem()) { 16411 if (!Arrays.equals(oldPackage.restrictUpdateHash, digestBytes)) { 16417 pkg.restrictUpdateHash = oldPackage.restrictUpdateHash; 16422 getParentOrChildPackageChangedSharedUser(oldPackage, pkg); [all …]
|
D | Settings.java | 902 void writeUserRestrictionsLPw(PackageSetting newPackage, PackageSetting oldPackage) { in writeUserRestrictionsLPw() argument 913 final PackageUserState oldUserState = oldPackage == null in writeUserRestrictionsLPw() 915 : oldPackage.readUserState(user.id); in writeUserRestrictionsLPw()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 614 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3638 public boolean prepareVpn(@Nullable String oldPackage, @Nullable String newPackage, in prepareVpn() argument 3646 return vpn.prepare(oldPackage, newPackage); in prepareVpn()
|