Searched refs:diskId (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | SdCardEjectionTests.kt | 63 val diskId: String, in parameters() constant in com.android.server.pm.test.SdCardEjectionTests.Companion.Volume 149 val diskId = retryUntilNonNull { in initializeVirtualDisk() constant 157 device.executeShellCommand("sm partition $diskId private") in initializeVirtualDisk() 173 return Volume(diskId = sections.first(), fsUuid = sections.last()).also { in retrieveNewVolume() 174 assertThat(it.diskId).isNotEmpty() in retrieveNewVolume()
|
/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 163 void partitionPublic(in String diskId) = 50; field 164 void partitionPrivate(in String diskId) = 51; field 165 void partitionMixed(in String diskId, int ratio) = 52; in partitionMixed() argument
|
D | StorageManager.java | 1097 public void partitionPublic(String diskId) { in partitionPublic() argument 1099 mStorageManager.partitionPublic(diskId); in partitionPublic() 1106 public void partitionPrivate(String diskId) { in partitionPrivate() argument 1108 mStorageManager.partitionPrivate(diskId); in partitionPrivate() 1115 public void partitionMixed(String diskId, int ratio) { in partitionMixed() argument 1117 mStorageManager.partitionMixed(diskId, ratio); in partitionMixed() 1131 final String diskId = disk.getId(); in wipeAdoptableDisks() local 1133 Slog.d(TAG, "Found adoptable " + diskId + "; wiping"); in wipeAdoptableDisks() 1137 mStorageManager.partitionPublic(diskId); in wipeAdoptableDisks() 1139 Slog.w(TAG, "Failed to wipe " + diskId + ", but soldiering onward", e); in wipeAdoptableDisks()
|
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
D | Sm.java | 211 final String diskId = nextArg(); in runPartition() local 214 mSm.partitionPublic(diskId); in runPartition() 216 mSm.partitionPrivate(diskId); in runPartition() 219 mSm.partitionMixed(diskId, ratio); in runPartition()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 553 private CountDownLatch findOrCreateDiskScanLatch(String diskId) { in findOrCreateDiskScanLatch() argument 555 CountDownLatch latch = mDiskScanLatches.get(diskId); in findOrCreateDiskScanLatch() 558 mDiskScanLatches.put(diskId, latch); in findOrCreateDiskScanLatch() 1380 public void onDiskCreated(String diskId, int flags) { 1391 mDisks.put(diskId, new DiskInfo(diskId, flags)); 1396 public void onDiskScanned(String diskId) { 1398 final DiskInfo disk = mDisks.get(diskId); 1406 public void onDiskMetadataChanged(String diskId, long sizeBytes, String label, 1409 final DiskInfo disk = mDisks.get(diskId); 1419 public void onDiskDestroyed(String diskId) { [all …]
|