Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionRegistry.java91 public void transferPermissions(@NonNull String oldPackageName, in transferPermissions() argument
96 permission.transfer(oldPackageName, newPackageName); in transferPermissions()
DPermission.java354 public void transfer(@NonNull String oldPackageName, @NonNull String newPackageName) { in transfer() argument
355 if (!oldPackageName.equals(mPermissionInfo.packageName)) { in transfer()
DPermissionManagerServiceImpl.java4715 private boolean canAdoptPermissionsInternal(@NonNull String oldPackageName,
4718 mPackageManagerInt.getPackageStateInternal(oldPackageName);
/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/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java632 String oldPackageName = getDefaultSmsPackage(context, userId); in setDefaultApplicationInternal() local
635 Log.i(LOG_TAG, "setDefaultApplicationInternal old=" + oldPackageName + in setDefaultApplicationInternal()
639 if (packageName != null && oldPackageName != null && packageName.equals(oldPackageName)) { in setDefaultApplicationInternal()
649 SmsApplicationData oldAppData = oldPackageName != null ? in setDefaultApplicationInternal()
650 getApplicationForPackage(applications, oldPackageName) : null; in setDefaultApplicationInternal()
655 if (oldPackageName != null) { in setDefaultApplicationInternal()
657 int uid = packageManager.getPackageInfo(oldPackageName, 0).applicationInfo.uid; in setDefaultApplicationInternal()
658 setExclusiveAppops(oldPackageName, appOps, uid, AppOpsManager.MODE_DEFAULT); in setDefaultApplicationInternal()
660 Log.w(LOG_TAG, "Old SMS package not found: " + oldPackageName); in setDefaultApplicationInternal()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt411 val oldPackageName = oldPermissionGroup.packageName in <lambda>() constant
421 " package $oldPackageName" in <lambda>()
425 if (newState.externalState.packageStates[oldPackageName]?.isSystem == true) { in <lambda>()
430 " system package $oldPackageName" in <lambda>()
438 " declared in another package $oldPackageName" in <lambda>()
488 val oldPackageName = oldPermission.packageName in <lambda>() constant
495 " $oldPackageName" in <lambda>()
499 if (newState.externalState.packageStates[oldPackageName]?.isSystem == true) { in <lambda>()
504 " $oldPackageName" in <lambda>()
512 " package $oldPackageName" in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java378 String oldPackageName = mPackageName; in handleScreenshot() local
399 prepareViewForNewScreenshot(screenshot, oldPackageName); in handleScreenshot()
470 void prepareViewForNewScreenshot(@NonNull ScreenshotData screenshot, String oldPackageName) { in prepareViewForNewScreenshot() argument
495 oldPackageName); in prepareViewForNewScreenshot()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java1396 String oldPackageName = getDeviceConfiguration(featureType); in overrideDeviceService() local
1397 if (!TextUtils.equals(oldPackageName, overridePackageName)) { in overrideDeviceService()
1399 + oldPackageName + " -> " + overridePackageName); in overrideDeviceService()
1401 + oldPackageName + " -> " + overridePackageName); in overrideDeviceService()
1452 String oldPackageName = getCarrierConfiguredPackageName(slotId, f); in updateBoundServices() local
1470 + oldPackageName + " -> " + newPackageName + " on slot " + slotId in updateBoundServices()
1473 + oldPackageName + " -> " + newPackageName + " on slot " + slotId in updateBoundServices()