Home
last modified time | relevance | path

Searched refs:oldPackageName (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionRegistry.java90 public void transferPermissions(@NonNull String oldPackageName, in transferPermissions() argument
95 permission.transfer(oldPackageName, newPackageName); in transferPermissions()
DPermission.java349 public void transfer(@NonNull String oldPackageName, @NonNull String newPackageName) { in transfer() argument
350 if (!oldPackageName.equals(mPermissionInfo.packageName)) { in transfer()
DPermissionManagerService.java4843 private boolean canAdoptPermissionsInternal(@NonNull String oldPackageName,
4845 final PackageSetting oldPs = mPackageManagerInt.getPackageSetting(oldPackageName);
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java623 String oldPackageName = getDefaultSmsPackage(context, userId); in setDefaultApplicationInternal() local
626 Log.i(LOG_TAG, "setDefaultApplicationInternal old=" + oldPackageName + in setDefaultApplicationInternal()
630 if (packageName != null && oldPackageName != null && packageName.equals(oldPackageName)) { in setDefaultApplicationInternal()
640 SmsApplicationData oldAppData = oldPackageName != null ? in setDefaultApplicationInternal()
641 getApplicationForPackage(applications, oldPackageName) : null; in setDefaultApplicationInternal()
646 if (oldPackageName != null) { in setDefaultApplicationInternal()
648 int uid = packageManager.getPackageInfo(oldPackageName, 0).applicationInfo.uid; in setDefaultApplicationInternal()
649 setExclusiveAppops(oldPackageName, appOps, uid, AppOpsManager.MODE_DEFAULT); in setDefaultApplicationInternal()
651 Log.w(LOG_TAG, "Old SMS package not found: " + oldPackageName); in setDefaultApplicationInternal()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java237 final String oldPackageName = getNetworkRecommendationsPackage(); in setActiveScorer() local
239 if (TextUtils.equals(oldPackageName, packageName)) { in setActiveScorer()
245 Log.i(TAG, "Network scorer forced off, was: " + oldPackageName); in setActiveScorer()
254 Log.i(TAG, "Changing network scorer from " + oldPackageName + " to " + packageName); in setActiveScorer()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java1348 String oldPackageName = getDeviceConfiguration(featureType); in overrideDeviceService() local
1349 if (!TextUtils.equals(oldPackageName, overridePackageName)) { in overrideDeviceService()
1351 + oldPackageName + " -> " + overridePackageName); in overrideDeviceService()
1353 + oldPackageName + " -> " + overridePackageName); in overrideDeviceService()
1404 String oldPackageName = getCarrierConfiguredPackageName(slotId, f); in updateBoundServices() local
1422 + oldPackageName + " -> " + newPackageName + " on slot " + slotId in updateBoundServices()
1425 + oldPackageName + " -> " + newPackageName + " on slot " + slotId in updateBoundServices()