Home
last modified time | relevance | path

Searched refs:imageHandle (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtStorage.java52 public boolean doesImageExist(BluetoothDevice device, String imageHandle) { in doesImageExist() argument
53 if (device == null || imageHandle == null || "".equals(imageHandle)) return false; in doesImageExist()
54 String path = getImagePath(device, imageHandle); in doesImageExist()
67 public File getImageFile(BluetoothDevice device, String imageHandle) { in getImageFile() argument
68 if (device == null || imageHandle == null || "".equals(imageHandle)) return null; in getImageFile()
69 String path = getImagePath(device, imageHandle); in getImageFile()
82 public Uri addImage(BluetoothDevice device, String imageHandle, Bitmap image) { in addImage() argument
83 debug("Storing image '" + imageHandle + "' from device " + device); in addImage()
84 if (device == null || imageHandle == null || "".equals(imageHandle) || image == null) { in addImage()
89 String path = getImagePath(device, imageHandle); in addImage()
[all …]
DAvrcpCoverArtProvider.java66 public static Uri getImageUri(BluetoothDevice device, String imageHandle) { in getImageUri() argument
67 if (device == null || imageHandle == null || "".equals(imageHandle)) return null; in getImageUri()
69 .appendQueryParameter("handle", imageHandle) in getImageUri()
75 private ParcelFileDescriptor getImageDescriptor(BluetoothDevice device, String imageHandle) in getImageDescriptor() argument
77 debug("getImageDescriptor(" + device + ", " + imageHandle + ")"); in getImageDescriptor()
78 File file = mStorage.getImageFile(device, imageHandle); in getImageDescriptor()
89 String imageHandle = null; in openFile() local
93 imageHandle = uri.getQueryParameter("handle"); in openFile()
104 return getImageDescriptor(device, imageHandle); in openFile()
DAvrcpCoverArtManager.java300 String imageHandle = getHandleForUuid(device, imageUuid); in downloadImage() local
301 if (imageHandle == null) { in downloadImage()
305 boolean status = client.getImageProperties(imageHandle); in downloadImage()
400 public void onGetImagePropertiesComplete(int status, String imageHandle, in onGetImagePropertiesComplete() argument
403 warn(mDevice.getAddress() + ": GetImageProperties() failed - Handle: " + imageHandle in onGetImagePropertiesComplete()
408 debug(mDevice.getAddress() + ": Download image - handle='" + imageHandle + "'"); in onGetImagePropertiesComplete()
412 warn(mDevice.getAddress() + ": Could not getImage() for " + imageHandle in onGetImagePropertiesComplete()
416 client.getImage(imageHandle, descriptor); in onGetImagePropertiesComplete()
420 public void onGetImageComplete(int status, String imageHandle, BipImage image) { in onGetImageComplete() argument
422 warn(mDevice.getAddress() + ": GetImage() failed - Handle: " + imageHandle in onGetImageComplete()
[all …]
DAvrcpBipClient.java108 void onGetImagePropertiesComplete(int status, String imageHandle, in onGetImagePropertiesComplete() argument
117 void onGetImageComplete(int status, String imageHandle, BipImage image); in onGetImageComplete() argument
207 public boolean getImageProperties(String imageHandle) { in getImageProperties() argument
208 RequestGetImageProperties request = new RequestGetImageProperties(imageHandle); in getImageProperties()
220 public boolean getImage(String imageHandle, BipImageDescriptor descriptor) { in getImage() argument
221 RequestGetImage request = new RequestGetImage(imageHandle, descriptor); in getImage()
372 String imageHandle = null; in notifyCaller() local
377 imageHandle = ((RequestGetImageProperties) request).getImageHandle(); in notifyCaller()
380 mCallback.onGetImagePropertiesComplete(responseCode, imageHandle, properties); in notifyCaller()
383 imageHandle = ((RequestGetImage) request).getImageHandle(); in notifyCaller()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImage.java34 public BipImage(String imageHandle, InputStream inputStream) { in BipImage() argument
35 mImageHandle = imageHandle; in BipImage()
39 public BipImage(String imageHandle, Bitmap image) { in BipImage() argument
40 mImageHandle = imageHandle; in BipImage()
DRequestGetImageProperties.java37 public RequestGetImageProperties(String imageHandle) { in RequestGetImageProperties() argument
40 mImageHandle = imageHandle; in RequestGetImageProperties()
DRequestGetImage.java38 public RequestGetImage(String imageHandle, BipImageDescriptor descriptor) { in RequestGetImage() argument
42 mImageHandle = imageHandle; in RequestGetImage()