Home
last modified time | relevance | path

Searched refs:VolumeInfoCompat (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DStorageManagerCompat.java49 List<VolumeInfoCompat> getVolumes() { in getVolumes()
50 return VolumeInfoCompat.convert(mManager.getVolumes()); in getVolumes()
69 VolumeInfoCompat findVolumeByUuid(String fsUuid) { in findVolumeByUuid()
70 return new VolumeInfoCompat(mManager.findVolumeByUuid(fsUuid)); in findVolumeByUuid()
78 String getBestVolumeDescription(VolumeInfoCompat vol) { in getBestVolumeDescription()
83 VolumeInfoCompat findEmulatedForPrivate(VolumeInfoCompat privateVol) { in findEmulatedForPrivate()
84 return new VolumeInfoCompat(mManager.findEmulatedForPrivate(privateVol.mVolumeInfo)); in findEmulatedForPrivate()
88 VolumeInfoCompat findVolumeById(String id) { in findVolumeById()
89 return new VolumeInfoCompat(mManager.findVolumeById(id)); in findVolumeById()
DVolumeInfoCompat.java27 public class VolumeInfoCompat { class
56 VolumeInfoCompat(VolumeInfo volumeInfo) { in VolumeInfoCompat() method in VolumeInfoCompat
61 static List<VolumeInfoCompat> convert(List<VolumeInfo> infos) { in convert()
62 List<VolumeInfoCompat> list = new ArrayList<>(); in convert()
64 list.add(new VolumeInfoCompat(info)); in convert()
105 Comparator<VolumeInfoCompat> getDescriptionComparator() { in getDescriptionComparator()
106 return new Comparator<VolumeInfoCompat>() { in getDescriptionComparator()
108 public int compare(VolumeInfoCompat o1, VolumeInfoCompat o2) { in getDescriptionComparator()
DPackageManagerCompat.java89 public int movePackage(@NonNull String packageName, @NonNull VolumeInfoCompat vol) { in movePackage()
93 public int movePrimaryStorage(@NonNull VolumeInfoCompat vol) { in movePrimaryStorage()
98 List<VolumeInfoCompat> getPrimaryStorageCandidateVolumes() { in getPrimaryStorageCandidateVolumes()
99 return VolumeInfoCompat.convert(this.mManager.getPrimaryStorageCandidateVolumes()); in getPrimaryStorageCandidateVolumes()
141 public List<VolumeInfoCompat> getPackageCandidateVolumes(@NonNull ApplicationInfo app) { in getPackageCandidateVolumes()
142 return VolumeInfoCompat.convert(mManager.getPackageCandidateVolumes(app)); in getPackageCandidateVolumes()
165 VolumeInfoCompat getPackageCurrentVolume(@NonNull ApplicationInfo app) { in getPackageCurrentVolume()
166 return new VolumeInfoCompat(mManager.getPackageCurrentVolume(app)); in getPackageCurrentVolume()
183 public VolumeInfoCompat getPrimaryStorageCurrentVolume() { in getPrimaryStorageCurrentVolume()
184 return new VolumeInfoCompat(this.mManager.getPrimaryStorageCurrentVolume()); in getPrimaryStorageCurrentVolume()
DStorageEventListenerCompat.java35 new VolumeInfoCompat(vol), oldState, newState); in StorageEventListenerCompat()
64 public void onVolumeStateChanged(VolumeInfoCompat vol, int oldState, int newState) { in onVolumeStateChanged()