Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtStorage.java54 public boolean doesImageExist(BluetoothDevice device, String imageUuid) { in doesImageExist() argument
55 if (device == null || imageUuid == null || "".equals(imageUuid)) return false; in doesImageExist()
58 return images.containsKey(imageUuid); in doesImageExist()
68 public Bitmap getImage(BluetoothDevice device, String imageUuid) { in getImage() argument
69 if (device == null || imageUuid == null || "".equals(imageUuid)) return null; in getImage()
72 return images.get(imageUuid); in getImage()
82 public Uri addImage(BluetoothDevice device, String imageUuid, Bitmap image) { in addImage() argument
83 debug("Storing image '" + imageUuid + "' from device " + device); in addImage()
84 if (device == null || imageUuid == null || "".equals(imageUuid) || image == null) { in addImage()
95 newImageSet.put(imageUuid, image); in addImage()
[all …]
DAvrcpCoverArtProvider.java65 public static Uri getImageUri(BluetoothDevice device, String imageUuid) { in getImageUri() argument
66 if (device == null || imageUuid == null || "".equals(imageUuid)) return null; in getImageUri()
71 .appendQueryParameter("uuid", imageUuid) in getImageUri()
77 private Bitmap getImage(BluetoothDevice device, String imageUuid) { in getImage() argument
89 return manager.getImage(device, imageUuid); in getImage()
92 private ParcelFileDescriptor getImageDescriptor(BluetoothDevice device, String imageUuid) in getImageDescriptor() argument
94 debug("getImageDescriptor(" + device + ", " + imageUuid + ")"); in getImageDescriptor()
95 Bitmap image = getImage(device, imageUuid); in getImageDescriptor()
124 String imageUuid = null; in openFile() local
128 imageUuid = uri.getQueryParameter("uuid"); in openFile()
[all …]
DAvrcpCoverArtManager.java275 public Uri getImageUri(BluetoothDevice device, String imageUuid) { in getImageUri() argument
276 if (mCoverArtStorage.doesImageExist(device, imageUuid)) { in getImageUri()
277 return AvrcpCoverArtProvider.getImageUri(device, imageUuid); in getImageUri()
296 public Uri downloadImage(BluetoothDevice device, String imageUuid) { in downloadImage() argument
297 debug("Download Image - device: " + device + ", Handle: " + imageUuid); in downloadImage()
305 if (mCoverArtStorage.doesImageExist(device, imageUuid)) { in downloadImage()
307 return AvrcpCoverArtProvider.getImageUri(device, imageUuid); in downloadImage()
313 String imageHandle = getHandleForUuid(device, imageUuid); in downloadImage()
322 return AvrcpCoverArtProvider.getImageUri(device, imageUuid); in downloadImage()
331 public Bitmap getImage(BluetoothDevice device, String imageUuid) { in getImage() argument
[all …]
DBrowseTree.java237 String imageUuid = node.getCoverArtUuid(); in addChild() local
238 if (imageUuid != null) { in addChild()
239 indicateCoverArtUsed(node.getID(), imageUuid); in addChild() local