Home
last modified time | relevance | path

Searched refs:oldName (Results 1 – 9 of 9) sorted by relevance

/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DRenameClassAdapter.java42 public RenameClassAdapter(ClassVisitor cv, String oldName, String newName) { in RenameClassAdapter() argument
44 mOldBase = mOldName = oldName; in RenameClassAdapter()
/frameworks/base/core/java/android/animation/
DObjectAnimator.java113 String oldName = valuesHolder.getPropertyName(); in setPropertyName() local
115 mValuesMap.remove(oldName); in setPropertyName()
135 String oldName = valuesHolder.getPropertyName(); in setProperty() local
137 mValuesMap.remove(oldName); in setProperty()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java320 String[] oldName = mPm.canonicalToCurrentPackageNames(new String[] { pkgName }); in initiateInstall() local
321 if (oldName != null && oldName.length > 0 && oldName[0] != null) { in initiateInstall()
322 pkgName = oldName[0]; in initiateInstall()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallRepository.kt712 val oldName = packageManager.canonicalToCurrentPackageNames(arrayOf(pkgName)) in <lambda>() constant
713 if (oldName != null && oldName.isNotEmpty() && oldName[0] != null) { in <lambda>()
714 pkgName = oldName[0] in <lambda>()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java993 public synchronized boolean endRenameObject(MtpObject obj, String oldName, boolean success) { in endRenameObject() argument
997 MtpObject oldObj = parent.getChild(oldName); in endRenameObject()
1006 oldObj.setName(oldName); in endRenameObject()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java2254 final String oldName = oldFile.getName(); in renameScreenshots() local
2255 final String newName = oldName.replaceFirst(initialName, name); in renameScreenshots()
2257 if (!newName.equals(oldName)) { in renameScreenshots()
2262 Log.w(TAG, "Name didn't change: " + oldName); in renameScreenshots()
/frameworks/base/services/core/java/com/android/server/pm/
DInstallPackageHelper.java1357 String oldName = mPm.mSettings.getRenamedPackageLPr(pkgName); in preparePackageLI() local
1358 if (parsedPackage.getOriginalPackages().contains(oldName) in preparePackageLI()
1359 && mPm.mPackages.containsKey(oldName)) { in preparePackageLI()
1364 parsedPackage.setPackageName(oldName); in preparePackageLI()
1369 + oldName + " pkgName=" + pkgName); in preparePackageLI()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4924 uint32_t oldName = 0; in getBagLocked() local
4926 && (oldName=entries[curEntry].map.name.ident) < newName) { in getBagLocked()
4934 if ((!isInside) || oldName != newName) { in getBagLocked()
4965 ALOGI("#%zu: Replacing existing attribute: 0x%08x\n", curEntry, oldName); in getBagLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java5293 final String oldName = "gnss_satellite_blacklist";
5294 final Setting oldSetting = globalSettings.getSettingLocked(oldName);
5299 globalSettings.deleteSettingLocked(oldName);