Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_device_fuzzer.cpp49 struct usb_endpoint_descriptor ep[kEndpointsCount]; member
64 desc.ep[idx].bLength = sizeof(desc.ep[idx]); in writeDescriptorsToFd()
65 desc.ep[idx].bDescriptorType = USB_DT_ENDPOINT; in writeDescriptorsToFd()
66 desc.ep[idx].bEndpointAddress = idx | (fdp.ConsumeBool() ? USB_DIR_OUT : USB_DIR_IN); in writeDescriptorsToFd()
67 desc.ep[idx].bmAttributes = in writeDescriptorsToFd()
69 desc.ep[idx].wMaxPacketSize = kWMaxPacketSize; in writeDescriptorsToFd()
81 MtpDevice mtpDevice(device, fdp.ConsumeIntegral<int32_t>(), &descriptor.ep[0], in LLVMFuzzerTestOneInput()
82 &descriptor.ep[1], &descriptor.ep[2]); in LLVMFuzzerTestOneInput()
/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.cpp278 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.cpp54 expectPointer(buffer->ep(), 0); in TEST()
97 expectPointer(buffer->ep(), 0); in TEST()
105 expectPointer(buffer->ep(), expected_buffer_size); in TEST()
115 buffer->ep()->rewind(); // rewind ep for readRawFixed64 from 0 in TEST()
121 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.java146 SyncStorageEngine.EndPoint ep = new SyncStorageEngine.EndPoint(new Account("name", "type"), in testFailedPeriodicConversion() local
149 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();
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dindex9674 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
945 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1112 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex13673 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
944 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1111 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex15686 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
957 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1124 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex11674 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
945 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1112 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex10678 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
949 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1116 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex18672 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
943 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1110 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex16691 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
962 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1129 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex12677 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
948 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1115 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���
Dindex17674 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
Dmaster_playlist1470 …m�v���\��>Ȋ�O�G���A�Ty��*fX1X�1�����o㟗�C�Q%��/S���=����}�x�u������H�*b��)=J������ep���ϥ
1741 r�U�H7jJ�̤�h���L�b�۳ep��V���Yc����G��[�r"�wB�*V����u�L],�ĶY��;�QD'�T,�Vq:��hC�:r�…
1908 �"��āYU��O7���^��k�K�TK�@��=B�5�G*%� �O�;)h5�g��3C[~j��ep\�r�Q���