Home
last modified time | relevance | path

Searched refs:diskId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java179 final String diskId = nextArg(); in runPartition() local
182 mSm.partitionPublic(diskId); in runPartition()
184 mSm.partitionPrivate(diskId); in runPartition()
187 mSm.partitionMixed(diskId, ratio); in runPartition()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java714 public void partitionPublic(String diskId) { in partitionPublic() argument
716 mMountService.partitionPublic(diskId); in partitionPublic()
723 public void partitionPrivate(String diskId) { in partitionPrivate() argument
725 mMountService.partitionPrivate(diskId); in partitionPrivate()
732 public void partitionMixed(String diskId, int ratio) { in partitionMixed() argument
734 mMountService.partitionMixed(diskId, ratio); in partitionMixed()
748 final String diskId = disk.getId(); in wipeAdoptableDisks() local
750 Slog.d(TAG, "Found adoptable " + diskId + "; wiping"); in wipeAdoptableDisks()
754 mMountService.partitionPublic(diskId); in wipeAdoptableDisks()
756 Slog.w(TAG, "Failed to wipe " + diskId + ", but soldiering onward", e); in wipeAdoptableDisks()
DIMountService.java1045 public void partitionPublic(String diskId) throws RemoteException { in partitionPublic() argument
1050 _data.writeString(diskId); in partitionPublic()
1060 public void partitionPrivate(String diskId) throws RemoteException { in partitionPrivate() argument
1065 _data.writeString(diskId); in partitionPrivate()
1075 public void partitionMixed(String diskId, int ratio) throws RemoteException { in partitionMixed() argument
1080 _data.writeString(diskId); in partitionMixed()
1998 String diskId = data.readString(); in onTransact() local
1999 partitionPublic(diskId); in onTransact()
2005 String diskId = data.readString(); in onTransact() local
2006 partitionPrivate(diskId); in onTransact()
[all …]
/frameworks/base/services/core/java/com/android/server/
DMountService.java412 private CountDownLatch findOrCreateDiskScanLatch(String diskId) { in findOrCreateDiskScanLatch() argument
414 CountDownLatch latch = mDiskScanLatches.get(diskId); in findOrCreateDiskScanLatch()
417 mDiskScanLatches.put(diskId, latch); in findOrCreateDiskScanLatch()
1109 final String diskId = TextUtils.nullIfEmpty(cooked[3]); in onEventLocked() local
1112 final DiskInfo disk = mDisks.get(diskId); in onEventLocked()
1800 public void partitionPublic(String diskId) { in partitionPublic() argument
1804 final CountDownLatch latch = findOrCreateDiskScanLatch(diskId); in partitionPublic()
1806 mConnector.execute("volume", "partition", diskId, "public"); in partitionPublic()
1816 public void partitionPrivate(String diskId) { in partitionPrivate() argument
1821 final CountDownLatch latch = findOrCreateDiskScanLatch(diskId); in partitionPrivate()
[all …]