Home
last modified time | relevance | path

Searched defs:packet (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/mtp/
DMtpProperty.cpp130 bool MtpProperty::read(MtpDataPacket& packet) { in read()
182 void MtpProperty::write(MtpDataPacket& packet) { in write()
253 void MtpProperty::setCurrentValue(MtpDataPacket& packet) { in setCurrentValue()
448 bool MtpProperty::readValue(MtpDataPacket& packet, MtpPropertyValue& value) { in readValue()
503 void MtpProperty::writeValue(MtpDataPacket& packet, MtpPropertyValue& value) { in writeValue()
558 MtpPropertyValue* MtpProperty::readArrayValues(MtpDataPacket& packet, uint32_t& length) { in readArrayValues()
578 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length… in writeArrayValues()
DMtpDeviceInfo.cpp62 bool MtpDeviceInfo::read(MtpDataPacket& packet) { in read()
DMtpStorageInfo.cpp48 bool MtpStorageInfo::read(MtpDataPacket& packet) { in read()
DMtpObjectInfo.cpp58 bool MtpObjectInfo::read(MtpDataPacket& packet) { in read()
DMtpStringBuffer.cpp83 bool MtpStringBuffer::readFromPacket(MtpDataPacket* packet) { in readFromPacket()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java419 final ByteBuffer packet = buildIpv4Packet(SRC_MAC, DST_MAC, IPPROTO_TCP, null /* data */); in testBuildPacketEtherIPv4Tcp() local
426 final ByteBuffer packet = buildIpv4Packet(SRC_MAC, DST_MAC, IPPROTO_TCP, DATA); in testBuildPacketEtherIPv4TcpData() local
434 final ByteBuffer packet = buildIpv4Packet(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4Tcp() local
442 final ByteBuffer packet = buildIpv4Packet(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4TcpData() local
450 final ByteBuffer packet = buildIpv4Packet(SRC_MAC, DST_MAC, IPPROTO_UDP, null /* data */); in testBuildPacketEtherIPv4Udp() local
457 final ByteBuffer packet = buildIpv4Packet(SRC_MAC, DST_MAC, IPPROTO_UDP, DATA); in testBuildPacketEtherIPv4UdpData() local
464 final ByteBuffer packet = buildIpv4Packet(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4Udp() local
472 final ByteBuffer packet = buildIpv4Packet(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4UdpData() local
DIpUtilsTest.java81 ByteBuffer packet = ByteBuffer.wrap(new byte[] { in testIpv6TcpChecksum() local
127 ByteBuffer packet = ByteBuffer.wrap(new byte[] { in testIpv4UdpChecksum() local
DDnsPacketTest.java99 TestDnsPacket packet = new TestDnsPacket(v4blob); in testV4Answer() local
141 TestDnsPacket packet = new TestDnsPacket(v6blob); in testV6Answer() local
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanCommissioningSession.java53 public void onReceiveFromCommissioner(@NonNull byte[] packet) {}; in onReceiveFromCommissioner()
73 public void onReceiveFromCommissioner(byte[] packet) { in onReceiveFromCommissioner()
165 public void sendToCommissioner(@NonNull byte[] packet) { in sendToCommissioner()
DILowpanInterfaceListener.aidl44 oneway void onReceiveFromCommissioner(in byte[] packet); in onReceiveFromCommissioner()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.cpp117 MtpDataPacket& packet) { in getObjectPropertyValue()
125 MtpDataPacket& packet) { in setObjectPropertyValue()
132 MtpDataPacket& packet) { in getDevicePropertyValue()
138 MtpDataPacket& packet) { in setDevicePropertyValue()
150 MtpDataPacket& packet) { in getObjectPropertyList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DKeepaliveTracker.java190 @NonNull KeepalivePacketData packet) { in onStartSocketKeepaliveRequested()
195 mPhone.mCi.startNattKeepalive(mDataNetwork.getId(), packet, in onStartSocketKeepaliveRequested() local
DTelephonyNetworkAgent.java131 @NonNull KeepalivePacketData packet) {} in onStartSocketKeepalive()
241 @NonNull KeepalivePacketData packet) { in onStartSocketKeepalive()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DRouterAdvertisementResponder.java88 private static boolean isRsOrNs(byte[] packet) { in isRsOrNs()
184 protected void replyToPacket(byte[] packet, TapPacketReader reader) { in replyToPacket()
DTapPacketReader.java129 public void sendResponse(final ByteBuffer packet) throws IOException { in sendResponse()
DTestableNetworkAgent.kt78 val packet: KeepalivePacketData constant in CallbackEntry.OnAddKeepalivePacketFilter
84 val packet: KeepalivePacketData constant in CallbackEntry.OnStartSocketKeepalive
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp627 auto packet = ctx.NewTracePacket(); in tracePredictions() local
646 auto packet = ctx.NewTracePacket(); in tracePredictions() local
663 auto packet = ctx.NewTracePacket(); in traceActuals() local
709 auto packet = ctx.NewTracePacket(); in traceActuals() local
1027 auto packet = ctx.NewTracePacket(); in tracePredictions() local
1043 auto packet = ctx.NewTracePacket(); in tracePredictions() local
1061 auto packet = ctx.NewTracePacket(); in traceActuals() local
1084 auto packet = ctx.NewTracePacket(); in traceActuals() local
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp88 for (const auto& packet : trace.packet()) { in readGraphicsFramePacketsBlocking() local
184 const auto& packet = packets[0]; in TEST_F() local
240 const auto& packet = packets[1]; in TEST_F() local
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DBluetoothMidiDecoderTest.java75 void decodePacket(byte[] packet) throws IOException { in decodePacket()
/frameworks/native/services/gpuservice/tracing/
DGpuMemTracer.cpp112 auto packet = ctx.NewTracePacket(); in traceInitialCounters() local
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp437 MtpDataPacket& packet) { in getObjectPropertyValue()
536 static bool readLongValue(int type, MtpDataPacket& packet, jlong& longValue) { in readLongValue()
595 MtpDataPacket& packet) { in setObjectPropertyValue()
625 MtpDataPacket& packet) { in getDevicePropertyValue()
691 MtpDataPacket& packet) { in setDevicePropertyValue()
727 MtpDataPacket& packet) { in getObjectPropertyList()
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp84 for (const auto& packet : trace.packet()) { in readGpuMemTotalPacketsBlocking() local
/frameworks/av/media/libstagefright/mpeg2ts/test/
DMpeg2tsUnitTest.cpp114 uint8_t packet[kTSPacketSize]; in TEST_P() local
/frameworks/libs/net/common/device/com/android/net/module/util/
DIpv6Utils.java60 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv6HeaderLen in buildIcmpv6Packet() local
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.cpp137 auto packet = ctx.NewTracePacket(); in traceLocked() local

12