Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java158 public static boolean renameSdDir(String oldId, String newId) { in renameSdDir() argument
160 int rc = getMountService().renameSecureContainer(oldId, newId); in renameSdDir()
163 newId + "with rc " + rc); in renameSdDir()
168 Log.i(TAG, "Failed ot rename " + oldId + " to " + newId + in renameSdDir()
/frameworks/base/include/storage/
DIMountService.h59 const String16& newId) = 0;
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3907 newIds[nextPending] = r.newId; in restoreFinished()
3910 Slog.i(TAG, " " + r.oldId + " => " + r.newId); in restoreFinished()
3941 newIds[nextPending] = r.newId; in restoreFinished()
3944 Slog.i(TAG, " " + r.oldId + " => " + r.newId); in restoreFinished()
4018 private void stashProviderRestoreUpdateLocked(Provider provider, int oldId, int newId) { in stashProviderRestoreUpdateLocked() argument
4025 if (alreadyStashed(r, oldId, newId)) { in stashProviderRestoreUpdateLocked()
4027 Slog.i(TAG, "ID remap " + oldId + " -> " + newId in stashProviderRestoreUpdateLocked()
4033 r.add(new RestoreUpdateRecord(oldId, newId)); in stashProviderRestoreUpdateLocked()
4037 final int oldId, final int newId) { in alreadyStashed() argument
4041 if (r.oldId == oldId && r.newId == newId) { in alreadyStashed()
[all …]
/frameworks/base/core/java/android/service/notification/
DCondition.java158 public static Uri.Builder newId(Context context) { in newId() method in Condition
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java319 int newId = UserHandle.USER_OWNER; in exitGuest() local
323 newId = info.id; in exitGuest()
326 switchToUserId(newId); in exitGuest()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DSystemMediaRouteProvider.java341 String newId = String.format(Locale.US, "%s_%d", id, i); in assignRouteId() local
342 if (findSystemRouteRecordByDescriptorId(newId) < 0) { in assignRouteId()
343 return newId; in assignRouteId()
/frameworks/base/libs/storage/
DIMountService.cpp354 int32_t renameSecureContainer(const String16& oldId, const String16& newId) in renameSecureContainer() argument
359 data.writeString16(newId); in renameSecureContainer()
/frameworks/base/core/java/android/os/storage/
DIMountService.java392 public int renameSecureContainer(String oldId, String newId) throws RemoteException { in renameSecureContainer() argument
399 _data.writeString(newId); in renameSecureContainer()
1493 String newId; in onTransact() local
1494 newId = data.readString(); in onTransact()
1495 int resultCode = renameSecureContainer(oldId, newId); in onTransact()
1968 public int renameSecureContainer(String oldId, String newId) throws RemoteException; in renameSecureContainer() argument
/frameworks/base/tools/aidl/
Daidl.cpp920 int newId = 0; local
925 method_item->assigned_id = newId++;
/frameworks/base/services/core/java/com/android/server/
DMountService.java2158 public int renameSecureContainer(String oldId, String newId) { in renameSecureContainer() argument
2168 if (mAsecMountSet.contains(oldId) || mAsecMountSet.contains(newId)) { in renameSecureContainer()
2175 mConnector.execute("asec", "rename", oldId, newId); in renameSecureContainer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java129 mForeverId = Condition.newId(mContext).appendPath("forever").build(); in ZenModePanel()
/frameworks/base/api/
Dsystem-current.txt30733 method public static android.net.Uri.Builder newId(android.content.Context);