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.aidl160 void partitionPublic(in String diskId) = 50; field
161 void partitionPrivate(in String diskId) = 51; field
162 void partitionMixed(in String diskId, int ratio) = 52; in partitionMixed() argument
DStorageManager.java927 public void partitionPublic(String diskId) { in partitionPublic() argument
929 mStorageManager.partitionPublic(diskId); in partitionPublic()
936 public void partitionPrivate(String diskId) { in partitionPrivate() argument
938 mStorageManager.partitionPrivate(diskId); in partitionPrivate()
945 public void partitionMixed(String diskId, int ratio) { in partitionMixed() argument
947 mStorageManager.partitionMixed(diskId, ratio); in partitionMixed()
961 final String diskId = disk.getId(); in wipeAdoptableDisks() local
963 Slog.d(TAG, "Found adoptable " + diskId + "; wiping"); in wipeAdoptableDisks()
967 mStorageManager.partitionPublic(diskId); in wipeAdoptableDisks()
969 Slog.w(TAG, "Failed to wipe " + diskId + ", but soldiering onward", e); in wipeAdoptableDisks()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java200 final String diskId = nextArg(); in runPartition() local
203 mSm.partitionPublic(diskId); in runPartition()
205 mSm.partitionPrivate(diskId); in runPartition()
208 mSm.partitionMixed(diskId, ratio); in runPartition()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java390 private CountDownLatch findOrCreateDiskScanLatch(String diskId) { in findOrCreateDiskScanLatch() argument
392 CountDownLatch latch = mDiskScanLatches.get(diskId); in findOrCreateDiskScanLatch()
395 mDiskScanLatches.put(diskId, latch); in findOrCreateDiskScanLatch()
1007 public void onDiskCreated(String diskId, int flags) {
1018 mDisks.put(diskId, new DiskInfo(diskId, flags));
1023 public void onDiskScanned(String diskId) {
1025 final DiskInfo disk = mDisks.get(diskId);
1033 public void onDiskMetadataChanged(String diskId, long sizeBytes, String label,
1036 final DiskInfo disk = mDisks.get(diskId);
1046 public void onDiskDestroyed(String diskId) {
[all …]