Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java148 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmDelNeigh() local
149 assertNotNull(hdr); in testParseRtmDelNeigh()
150 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh()
151 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh()
152 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
153 assertEquals(0, hdr.nlmsg_seq); in testParseRtmDelNeigh()
154 assertEquals(0, hdr.nlmsg_pid); in testParseRtmDelNeigh()
175 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmNewNeigh() local
176 assertNotNull(hdr); in testParseRtmNewNeigh()
177 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()
[all …]
DNetlinkErrorMessageTest.java66 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk() local
67 assertNotNull(hdr); in testParseNlmErrorOk()
68 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk()
69 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk()
70 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
71 assertEquals(13606, hdr.nlmsg_seq); in testParseNlmErrorOk()
72 assertEquals(4196, hdr.nlmsg_pid); in testParseNlmErrorOk()
DNetlinkSocketTest.java71 final StructNlMsgHdr hdr = msg.getHeader(); in testBasicWorkingGetNeighborsQuery() local
72 assertNotNull(hdr); in testBasicWorkingGetNeighborsQuery()
74 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in testBasicWorkingGetNeighborsQuery()
79 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
81 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()
82 assertEquals(TEST_SEQNO, hdr.nlmsg_seq); in testBasicWorkingGetNeighborsQuery()
83 assertEquals(localAddr.getPortId(), hdr.nlmsg_pid); in testBasicWorkingGetNeighborsQuery()
/frameworks/rs/
DrsThreadIO.cpp51 CoreCmdHeader *hdr = (CoreCmdHeader *)&mSendBuffer[0]; in coreHeader() local
52 hdr->bytes = dataLen; in coreHeader()
53 hdr->cmdID = cmdID; in coreHeader()
203 ClientCmdHeader hdr; in sendToClient() local
204 hdr.bytes = (uint32_t)dataLen; in sendToClient()
205 hdr.cmdID = cmdID; in sendToClient()
206 hdr.userID = usrID; in sendToClient()
208 mToClient.writeAsync(&hdr, sizeof(hdr)); in sendToClient()
/frameworks/wilhelm/src/itf/
DIAndroidBufferQueue.cpp534 const AdvancedBufferHeader *hdr;
535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
536 SLuint32 i = hdr - thiz->mBufferArray;
540 switch (hdr->mItems.mTsCmdData.mTsCmdCode) {
552 hdr->mItems.mTsCmdData.mPts);
558 snprintf(itemString, sizeof(itemString), "0x%x", hdr->mItems.mTsCmdData.mTsCmdCode);
563 switch (hdr->mItems.mAdtsCmdData.mAdtsCmdCode) {
572 hdr->mItems.mAdtsCmdData.mAdtsCmdCode);
581 i, hdr->mDataBuffer, hdr->mDataSize, hdr->mDataSizeConsumed,
582 hdr->mBufferContext, itemString);
[all …]
/frameworks/compile/mclinker/lib/LD/
DELFReader.cpp46 const llvm::ELF::Elf32_Ehdr* hdr = in isELF() local
48 if (memcmp(llvm::ELF::ElfMagic, hdr, 4) == 0) in isELF()
261 const llvm::ELF::Elf32_Ehdr* hdr = in isMyEndian() local
264 return (hdr->e_ident[llvm::ELF::EI_DATA] == llvm::ELF::ELFDATA2LSB); in isMyEndian()
269 const llvm::ELF::Elf32_Ehdr* hdr = in isMyMachine() local
273 return (hdr->e_machine == target().getInfo().machine()); in isMyMachine()
274 return (mcld::bswap16(hdr->e_machine) == target().getInfo().machine()); in isMyMachine()
279 const llvm::ELF::Elf32_Ehdr* hdr = in fileType() local
283 type = hdr->e_type; in fileType()
285 type = mcld::bswap16(hdr->e_type); in fileType()
[all …]
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp823 uint32_t hdr[2]; in parseChunk() local
824 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
827 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
828 int32_t chunk_type = ntohl(hdr[1]); in parseChunk()
3882 uint32_t hdr[2]; in parseChunk() local
3883 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
3886 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
3887 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()
3928 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
3932 chunk_size = ntohl(hdr[0]); in parseChunk()
[all …]
/frameworks/compile/mclinker/tools/mcld/
DOptions.td207 def EHFrameHdr : Flag<["--"], "eh-frame-hdr">,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2672 const int hdr = colorMode & MASK_HDR; in match() local
2674 if (hdr != 0 && hdr != setHdr) { in match()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt14646 field public static final java.lang.String SCENE_MODE_HDR = "hdr";
22502 field public static final java.lang.String KEY_HDR_STATIC_INFO = "hdr-static-info";
Dsystem-current.txt15426 field public static final java.lang.String SCENE_MODE_HDR = "hdr";
24344 field public static final java.lang.String KEY_HDR_STATIC_INFO = "hdr-static-info";
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12304 field public static final java.lang.String SCENE_MODE_HDR = "hdr";