Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/storage/
DIStorageManager.aidl161 void partitionPublic(in String diskId) = 50; field
162 void partitionPrivate(in String diskId) = 51; field
163 void partitionMixed(in String diskId, int ratio) = 52; in partitionMixed() argument
DStorageManager.java1078 public void partitionPublic(String diskId) { in partitionPublic() argument
1080 mStorageManager.partitionPublic(diskId); in partitionPublic()
1087 public void partitionPrivate(String diskId) { in partitionPrivate() argument
1089 mStorageManager.partitionPrivate(diskId); in partitionPrivate()
1096 public void partitionMixed(String diskId, int ratio) { in partitionMixed() argument
1098 mStorageManager.partitionMixed(diskId, ratio); in partitionMixed()
1112 final String diskId = disk.getId(); in wipeAdoptableDisks() local
1114 Slog.d(TAG, "Found adoptable " + diskId + "; wiping"); in wipeAdoptableDisks()
1118 mStorageManager.partitionPublic(diskId); in wipeAdoptableDisks()
1120 Slog.w(TAG, "Failed to wipe " + diskId + ", but soldiering onward", e); in wipeAdoptableDisks()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java208 final String diskId = nextArg(); in runPartition() local
211 mSm.partitionPublic(diskId); in runPartition()
213 mSm.partitionPrivate(diskId); in runPartition()
216 mSm.partitionMixed(diskId, ratio); in runPartition()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java549 private CountDownLatch findOrCreateDiskScanLatch(String diskId) { in findOrCreateDiskScanLatch() argument
551 CountDownLatch latch = mDiskScanLatches.get(diskId); in findOrCreateDiskScanLatch()
554 mDiskScanLatches.put(diskId, latch); in findOrCreateDiskScanLatch()
1326 public void onDiskCreated(String diskId, int flags) {
1337 mDisks.put(diskId, new DiskInfo(diskId, flags));
1342 public void onDiskScanned(String diskId) {
1344 final DiskInfo disk = mDisks.get(diskId);
1352 public void onDiskMetadataChanged(String diskId, long sizeBytes, String label,
1355 final DiskInfo disk = mDisks.get(diskId);
1365 public void onDiskDestroyed(String diskId) {
[all …]