Home
last modified time | relevance | path

Searched refs:diskInfo (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageEntryTest.java142 final DiskInfo diskInfo = mock(DiskInfo.class); in isDiskInfoUnsupported_shouldReturnTrueForDiskInfo() local
143 final StorageEntry storage = new StorageEntry(diskInfo); in isDiskInfoUnsupported_shouldReturnTrueForDiskInfo()
175 final DiskInfo diskInfo = mock(DiskInfo.class); in isMounted_nonVolumeInfo_shouldReturnFalse() local
176 final StorageEntry diskStorage = new StorageEntry(diskInfo); in isMounted_nonVolumeInfo_shouldReturnFalse()
195 final DiskInfo diskInfo = mock(DiskInfo.class); in isUnmountable_nonVolumeInfo_shouldReturnFalse() local
196 final StorageEntry diskStorage = new StorageEntry(diskInfo); in isUnmountable_nonVolumeInfo_shouldReturnFalse()
224 final DiskInfo diskInfo = mock(DiskInfo.class); in isPrivate_nonVolumeInfo_shouldReturnFalse() local
225 final StorageEntry diskStorage = new StorageEntry(diskInfo); in isPrivate_nonVolumeInfo_shouldReturnFalse()
239 final DiskInfo diskInfo = mock(DiskInfo.class); in getDescription_shouldReturnDescription() local
240 final StorageEntry diskStorage = new StorageEntry(diskInfo); in getDescription_shouldReturnDescription()
[all …]
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDiskInfoCompat.java30 DiskInfoCompat(DiskInfo diskInfo) { in DiskInfoCompat() argument
31 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DDiskReceiver.java127 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()
DNewStorageActivity.java237 for (DiskInfo diskInfo : diskInfos) { in checkForUnmount()
238 if (TextUtils.equals(diskInfo.getId(), mDiskId)) { in checkForUnmount()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java231 for (final DiskInfo diskInfo : unsupportedDisks) { in refresh()
232 final String key = StorageSummaryFragment.UnsupportedDiskPreference.makeKey(diskInfo); in refresh()
238 themedContext, diskInfo); in refresh()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageEntry.java61 public StorageEntry(@NonNull DiskInfo diskInfo) { in StorageEntry() argument
63 mUnsupportedDiskInfo = diskInfo; in StorageEntry()