Searched refs:diskInfo (Results 1 – 6 of 6) sorted by relevance
142 final DiskInfo diskInfo = mock(DiskInfo.class); in isDiskInfoUnsupported_shouldReturnTrueForDiskInfo() local143 final StorageEntry storage = new StorageEntry(diskInfo); in isDiskInfoUnsupported_shouldReturnTrueForDiskInfo()175 final DiskInfo diskInfo = mock(DiskInfo.class); in isMounted_nonVolumeInfo_shouldReturnFalse() local176 final StorageEntry diskStorage = new StorageEntry(diskInfo); in isMounted_nonVolumeInfo_shouldReturnFalse()195 final DiskInfo diskInfo = mock(DiskInfo.class); in isUnmountable_nonVolumeInfo_shouldReturnFalse() local196 final StorageEntry diskStorage = new StorageEntry(diskInfo); in isUnmountable_nonVolumeInfo_shouldReturnFalse()224 final DiskInfo diskInfo = mock(DiskInfo.class); in isPrivate_nonVolumeInfo_shouldReturnFalse() local225 final StorageEntry diskStorage = new StorageEntry(diskInfo); in isPrivate_nonVolumeInfo_shouldReturnFalse()239 final DiskInfo diskInfo = mock(DiskInfo.class); in getDescription_shouldReturnDescription() local240 final StorageEntry diskStorage = new StorageEntry(diskInfo); in getDescription_shouldReturnDescription()[all …]
30 DiskInfoCompat(DiskInfo diskInfo) { in DiskInfoCompat() argument31 this.mDiskInfo = diskInfo; in DiskInfoCompat()32 this.mId = diskInfo.id; in DiskInfoCompat()33 this.mSize = diskInfo.size; in DiskInfoCompat()34 this.mVolumeCount = diskInfo.volumeCount; in DiskInfoCompat()
127 for (DiskInfo diskInfo : diskInfos) { in handleSetupComplete()128 Log.d(TAG, "Scanning disk: " + diskInfo); in handleSetupComplete()129 if (diskInfo.size <= 0) { in handleSetupComplete()130 Log.d(TAG, "Disk ID " + diskInfo.id + " has no media"); in handleSetupComplete()133 if (diskInfo.volumeCount != 0) { in handleSetupComplete()134 Log.d(TAG, "Disk ID " + diskInfo.id + " has usable volumes, deferring"); in handleSetupComplete()139 NewStorageActivity.getNewStorageLaunchIntent(context, null, diskInfo.id); in handleSetupComplete()
237 for (DiskInfo diskInfo : diskInfos) { in checkForUnmount()238 if (TextUtils.equals(diskInfo.getId(), mDiskId)) { in checkForUnmount()
231 for (final DiskInfo diskInfo : unsupportedDisks) { in refresh()232 final String key = StorageSummaryFragment.UnsupportedDiskPreference.makeKey(diskInfo); in refresh()238 themedContext, diskInfo); in refresh()
61 public StorageEntry(@NonNull DiskInfo diskInfo) { in StorageEntry() argument63 mUnsupportedDiskInfo = diskInfo; in StorageEntry()