Home
last modified time | relevance | path

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

/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp296 mBuffer->ep()->rewind()->move(sizePos); in end()
327 mBuffer->ep()->rewind(); in compact()
334 mBuffer->ep()->rewind(); in compact()
357 size_t objectStart = mBuffer->ep()->pos(); in editEncodedSize()
363 while (mBuffer->ep()->pos() < objectEnd) { in editEncodedSize()
374 mBuffer->ep()->move(8); in editEncodedSize()
378 childEncodedSizePos = mBuffer->ep()->pos(); in editEncodedSize()
381 mBuffer->ep()->move(childRawSize); in editEncodedSize()
394 mBuffer->ep()->move(4); in editEncodedSize()
413 size_t objectStart = mBuffer->ep()->pos(); in compactSize()
[all …]
DEncodedBuffer.cpp276 EncodedBuffer::ep() in ep() function in android::util::EncodedBuffer
/frameworks/av/services/oboeservice/
DAAudioEndpointManager.cpp114 for (const auto& ep : mExclusiveStreams) { in findExclusiveEndpoint_l() local
115 if (ep->matches(configuration)) { in findExclusiveEndpoint_l()
117 endpoint = ep; in findExclusiveEndpoint_l()
132 for (const auto& ep : mSharedStreams) { in findSharedEndpoint_l() local
133 if (ep->matches(configuration)) { in findSharedEndpoint_l()
135 endpoint = ep; in findSharedEndpoint_l()
/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp50 expectPointer(buffer->ep(), 0); in TEST()
93 expectPointer(buffer->ep(), 0); in TEST()
101 expectPointer(buffer->ep(), expected_buffer_size); in TEST()
111 buffer->ep()->rewind(); // rewind ep for readRawFixed64 from 0 in TEST()
117 buffer->ep()->rewind(); // rewind ep for readRawFixed64 from 0 in TEST()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java116 UsbEndpoint ep = iface.getEndpoint(i); in ReaderThread() local
117 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in ReaderThread()
119 bulkIn = ep; in ReaderThread()
123 bulkOut = ep; in ReaderThread()
/frameworks/av/media/mtp/
DMtpDevice.cpp159 struct usb_endpoint_descriptor *ep; in open() local
166 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter); in open()
167 if (ep && ep->bDescriptorType == USB_DT_SS_ENDPOINT_COMP) { in open()
169 ep_ss_ep_comp_desc = (usb_ss_ep_comp_descriptor*)ep; in open()
170 ep = (struct usb_endpoint_descriptor *)usb_descriptor_iter_next(&iter); in open()
173 if (!ep || ep->bDescriptorType != USB_DT_ENDPOINT) { in open()
179 if (ep->bmAttributes == USB_ENDPOINT_XFER_BULK) { in open()
180 if (ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) in open()
181 ep_in_desc = ep; in open()
183 ep_out_desc = ep; in open()
[all …]
DMtpDataPacket.h111 int readDataHeader(struct usb_request *ep);
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java145 SyncStorageEngine.EndPoint ep = new SyncStorageEngine.EndPoint(new Account("name", "type"), in testFailedPeriodicConversion() local
148 SyncOperation periodic = new SyncOperation(ep, 0, "package", 0, 0, extras, false, true, in testFailedPeriodicConversion()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java203 UsbEndpoint ep = iface.getEndpoint(i); in connect() local
204 if (ep.getDirection() == UsbConstants.USB_DIR_IN) { in connect()
207 bulkIn = ep; in connect()
212 bulkOut = ep; in connect()
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h148 Pointer* ep();