Searched refs:volumeRecord (Results 1 – 9 of 9) sorted by relevance
152 final VolumeRecord volumeRecord = mock(VolumeRecord.class); in isVolumeRecordMissed_shouldReturnTrueForVolumeRecord() local153 final StorageEntry storage = new StorageEntry(volumeRecord); in isVolumeRecordMissed_shouldReturnTrueForVolumeRecord()177 final VolumeRecord volumeRecord = mock(VolumeRecord.class); in isMounted_nonVolumeInfo_shouldReturnFalse() local178 final StorageEntry recordStorage2 = new StorageEntry(volumeRecord); in isMounted_nonVolumeInfo_shouldReturnFalse()197 final VolumeRecord volumeRecord = mock(VolumeRecord.class); in isUnmountable_nonVolumeInfo_shouldReturnFalse() local198 final StorageEntry recordStorage2 = new StorageEntry(volumeRecord); in isUnmountable_nonVolumeInfo_shouldReturnFalse()226 final VolumeRecord volumeRecord = mock(VolumeRecord.class); in isPrivate_nonVolumeInfo_shouldReturnFalse() local227 final StorageEntry recordStorage2 = new StorageEntry(volumeRecord); in isPrivate_nonVolumeInfo_shouldReturnFalse()242 final VolumeRecord volumeRecord = mock(VolumeRecord.class); in getDescription_shouldReturnDescription() local243 final StorageEntry recordStorage = new StorageEntry(volumeRecord); in getDescription_shouldReturnDescription()[all …]
192 for (final VolumeRecord volumeRecord : privateMissingVolumes) { in refresh()193 final String key = StorageSummaryFragment.MissingPreference.makeKey(volumeRecord); in refresh()199 themedContext, volumeRecord); in refresh()290 MissingPreference(Context context, VolumeRecord volumeRecord) { in MissingPreference() argument292 setKey(makeKey(volumeRecord)); in MissingPreference()293 setTitle(volumeRecord.getNickname()); in MissingPreference()296 MissingStorageFragment.prepareArgs(getExtras(), volumeRecord.getFsUuid()); in MissingPreference()299 public static String makeKey(VolumeRecord volumeRecord) { in makeKey() argument300 return "MissingPref:" + volumeRecord.getFsUuid(); in makeKey()
70 .filter(volumeRecord -> isVolumeRecordMissed(storageManager, volumeRecord)) in getAllStorageEntries()71 .map(volumeRecord -> new StorageEntry(volumeRecord)) in getAllStorageEntries()95 VolumeRecord volumeRecord) { in isVolumeRecordMissed() argument96 return volumeRecord.getType() == VolumeInfo.TYPE_PRIVATE in isVolumeRecordMissed()97 && storageManager.findVolumeByUuid(volumeRecord.getFsUuid()) == null; in isVolumeRecordMissed()
68 public StorageEntry(@NonNull VolumeRecord volumeRecord) { in StorageEntry() argument71 mMissingVolumeRecord = volumeRecord; in StorageEntry()
106 VolumeRecord volumeRecord = null; in handleUnmount() local108 volumeRecord = mStorageManager.findRecordByUuid(fsUuid); in handleUnmount()112 if (volumeRecord == null) { in handleUnmount()115 Log.d(TAG, "Found ejected volume: " + volumeRecord + " for FSUUID: " + fsUuid); in handleUnmount()116 if (volumeRecord.getType() == VolumeInfo.TYPE_PRIVATE) { in handleUnmount()
292 final VolumeRecord volumeRecord = storageManager.findRecordByUuid(mFsUuid); in onCreate() local293 mDescription = volumeRecord.getNickname(); in onCreate()
122 public void onVolumeRecordChanged(VolumeRecord volumeRecord) {123 if (StorageUtils.isVolumeRecordMissed(mStorageManager, volumeRecord)) {127 final StorageEntry storageEntry = new StorageEntry(volumeRecord);136 mStorageManager.findVolumeByUuid(volumeRecord.getFsUuid());143 && TextUtils.equals(storageEntry.getFsUuid(), volumeRecord.getFsUuid())
25 VolumeRecordCompat(VolumeRecord volumeRecord) { in VolumeRecordCompat() argument26 mVolumeRecord = volumeRecord; in VolumeRecordCompat()
160 public void onVolumeRecordChanged(VolumeRecord volumeRecord) {161 if (StorageUtils.isVolumeRecordMissed(mStorageManager, volumeRecord)) {165 final StorageEntry storageEntry = new StorageEntry(volumeRecord);174 mStorageManager.findVolumeByUuid(volumeRecord.getFsUuid());181 && TextUtils.equals(storageEntry.getFsUuid(), volumeRecord.getFsUuid())