Home
last modified time | relevance | path

Searched refs:BipImageDescriptor (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageDescriptorTest.java40 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_encodingConstants()
45 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_encodingConstants()
58 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_encodingObject()
63 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_encodingObject()
76 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_proprietaryEncoding()
81 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_proprietaryEncoding()
94 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_transformationConstantStretch()
99 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantStretch()
112 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_transformationConstantCrop()
117 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantCrop()
[all …]
DRequestGetImageTest.java36 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in constructor_withDescriptorNotNull()
39 BipImageDescriptor descriptor = builder.build(); in constructor_withDescriptorNotNull()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageDescriptor.java51 public class BipImageDescriptor { class
57 private BipImageDescriptor mImageDescriptor = new BipImageDescriptor();
143 public BipImageDescriptor build() { in build()
170 private BipImageDescriptor() {} in BipImageDescriptor() method in BipImageDescriptor
172 public BipImageDescriptor(InputStream inputStream) { in BipImageDescriptor() method in BipImageDescriptor
258 if (!(o instanceof BipImageDescriptor)) return false; in equals()
260 BipImageDescriptor d = (BipImageDescriptor) o; in equals()
DRequestGetImage.java33 @VisibleForTesting final BipImageDescriptor mImageDescriptor;
39 public RequestGetImage(String imageHandle, BipImageDescriptor descriptor) { in RequestGetImage()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DCoverArtTest.java31 import com.android.bluetooth.avrcpcontroller.BipImageDescriptor;
89 private BipImageDescriptor getDescriptor(int encoding, int width, int height) { in getDescriptor()
90 return new BipImageDescriptor.Builder() in getDescriptor()
222 BipImageDescriptor descriptor = getDescriptor(BipEncoding.JPEG, 200, 200); in testGetImageWithValidDescriptor()
231 BipImageDescriptor descriptor = getDescriptor(BipEncoding.JPEG, 200, 200); in testGetImageWithThumbnailDescriptor()
242 BipImageDescriptor descriptor = getDescriptor(BipEncoding.BMP, 1200, 1200); in testGetImageWithInvalidDescriptor()
DAvrcpBipObexServerTest.java37 import com.android.bluetooth.avrcpcontroller.BipImageDescriptor;
173 return new BipImageDescriptor.Builder() in makeDescriptor()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java24 import com.android.bluetooth.avrcpcontroller.BipImageDescriptor;
114 public byte[] getImage(BipImageDescriptor descriptor) { in getImage()
129 private boolean isDescriptorValid(BipImageDescriptor descriptor) { in isDescriptorValid()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtManager.java375 private BipImageDescriptor determineImageDescriptor(BipImageProperties properties) { in determineImageDescriptor()
379 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in determineImageDescriptor()
435 BipImageDescriptor descriptor = determineImageDescriptor(properties); in onGetImagePropertiesComplete()
DAvrcpBipClient.java211 public boolean getImage(String imageHandle, BipImageDescriptor descriptor) { in getImage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java21 import com.android.bluetooth.avrcpcontroller.BipImageDescriptor;
264 BipImageDescriptor descriptor = null; in handleGetImage()
267 descriptor = new BipImageDescriptor(new ByteArrayInputStream(descriptorBytes)); in handleGetImage()