Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcp/
H A DAvrcpBipObexServerTest.java183 private byte[] makeDescriptor(int encoding, int width, int height) { in makeDescriptor() method in AvrcpBipObexServerTest
385 mRequest.setHeader(HEADER_ID_IMG_DESCRIPTOR, makeDescriptor(BipEncoding.JPEG, 200, 200)); in testGetImageWithValidHandleAndValidDescriptor()
400 makeDescriptor(BipEncoding.WBMP /* No Android support, won't work */, 200, 200)); in testGetImageWithValidHandleAndInvalidDescriptor()
414 mRequest.setHeader(HEADER_ID_IMG_DESCRIPTOR, makeDescriptor(BipEncoding.JPEG, 200, 200)); in testGetImageWithValidUnstoredHandle()
427 mRequest.setHeader(HEADER_ID_IMG_DESCRIPTOR, makeDescriptor(BipEncoding.JPEG, 200, 200)); in testGetImageWithInvalidHandle()
440 mRequest.setHeader(HEADER_ID_IMG_DESCRIPTOR, makeDescriptor(BipEncoding.JPEG, 200, 200)); in testGetImageWithNullHandle()