Home
last modified time | relevance | path

Searched refs:newId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java114 public static boolean renameSdDir(String oldId, String newId) { in renameSdDir() argument
116 int rc = getMountService().renameSecureContainer(oldId, newId); in renameSdDir()
119 newId + "with rc " + rc); in renameSdDir()
124 Log.i(TAG, "Failed ot rename " + oldId + " to " + newId + in renameSdDir()
/frameworks/base/include/storage/
DIMountService.h57 const String16& newId) = 0;
/frameworks/base/core/java/android/os/storage/
DIMountService.java391 public int renameSecureContainer(String oldId, String newId) throws RemoteException { in renameSecureContainer() argument
398 _data.writeString(newId); in renameSecureContainer()
974 String newId; in onTransact() local
975 newId = data.readString(); in onTransact()
976 int resultCode = renameSecureContainer(oldId, newId); in onTransact()
1226 public int renameSecureContainer(String oldId, String newId) throws RemoteException; in renameSecureContainer() argument
/frameworks/base/libs/storage/
DIMountService.cpp345 int32_t renameSecureContainer(const String16& oldId, const String16& newId) in renameSecureContainer() argument
350 data.writeString16(newId); in renameSecureContainer()
/frameworks/base/services/java/com/android/server/
DMountService.java1607 public int renameSecureContainer(String oldId, String newId) { in renameSecureContainer() argument
1617 if (mAsecMountSet.contains(oldId) || mAsecMountSet.contains(newId)) { in renameSecureContainer()
1623 String cmd = String.format("asec rename %s %s", oldId, newId); in renameSecureContainer()