Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java156 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmDelNeigh() local
157 assertNotNull(hdr); in testParseRtmDelNeigh()
158 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh()
159 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh()
160 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
161 assertEquals(0, hdr.nlmsg_seq); in testParseRtmDelNeigh()
162 assertEquals(0, hdr.nlmsg_pid); in testParseRtmDelNeigh()
183 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmNewNeigh() local
184 assertNotNull(hdr); in testParseRtmNewNeigh()
185 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()
[all …]
DNetlinkErrorMessageTest.java76 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk() local
77 assertNotNull(hdr); in testParseNlmErrorOk()
78 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk()
79 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk()
80 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
81 assertEquals(13606, hdr.nlmsg_seq); in testParseNlmErrorOk()
82 assertEquals(4196, hdr.nlmsg_pid); in testParseNlmErrorOk()
DNetlinkSocketTest.java82 final StructNlMsgHdr hdr = msg.getHeader(); in testBasicWorkingGetNeighborsQuery() local
83 assertNotNull(hdr); in testBasicWorkingGetNeighborsQuery()
85 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in testBasicWorkingGetNeighborsQuery()
90 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
92 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()
93 assertEquals(TEST_SEQNO, hdr.nlmsg_seq); in testBasicWorkingGetNeighborsQuery()
94 assertEquals(localAddr.getPortId(), hdr.nlmsg_pid); in testBasicWorkingGetNeighborsQuery()
DInetDiagSocketTest.java316 final StructNlMsgHdr hdr = inetDiagMsg.getHeader(); in testParseInetDiagResponse() local
317 assertNotNull(hdr); in testParseInetDiagResponse()
318 assertEquals(NetlinkConstants.SOCK_DIAG_BY_FAMILY, hdr.nlmsg_type); in testParseInetDiagResponse()
319 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseInetDiagResponse()
320 assertEquals(0, hdr.nlmsg_seq); in testParseInetDiagResponse()
321 assertEquals(8949, hdr.nlmsg_pid); in testParseInetDiagResponse()
/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/av/media/codec2/sfplugin/
DCCodecConfig.cpp1209 C2HdrStaticMetadataStruct hdr; in getSdkFormatForDomain() local
1210 if (msg->findFloat("smpte2086.red.x", &hdr.mastering.red.x) in getSdkFormatForDomain()
1211 && msg->findFloat("smpte2086.red.y", &hdr.mastering.red.y) in getSdkFormatForDomain()
1212 && msg->findFloat("smpte2086.green.x", &hdr.mastering.green.x) in getSdkFormatForDomain()
1213 && msg->findFloat("smpte2086.green.y", &hdr.mastering.green.y) in getSdkFormatForDomain()
1214 && msg->findFloat("smpte2086.blue.x", &hdr.mastering.blue.x) in getSdkFormatForDomain()
1215 && msg->findFloat("smpte2086.blue.y", &hdr.mastering.blue.y) in getSdkFormatForDomain()
1216 && msg->findFloat("smpte2086.white.x", &hdr.mastering.white.x) in getSdkFormatForDomain()
1217 && msg->findFloat("smpte2086.white.y", &hdr.mastering.white.y) in getSdkFormatForDomain()
1218 && msg->findFloat("smpte2086.max-luminance", &hdr.mastering.maxLuminance) in getSdkFormatForDomain()
[all …]
DCCodecBufferChannel.cpp669 HdrMetadata hdr; in renderOutputBuffer() local
693 hdr.validTypes = HdrMetadata::SMPTE2086 | HdrMetadata::CTA861_3; in renderOutputBuffer()
694 hdr.smpte2086 = smpte2086_meta; in renderOutputBuffer()
695 hdr.cta8613 = cta861_meta; in renderOutputBuffer()
698 hdr.validTypes |= HdrMetadata::HDR10PLUS; in renderOutputBuffer()
699 hdr.hdr10plus.assign( in renderOutputBuffer()
703 qbi.setHdrMetadata(hdr); in renderOutputBuffer()
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp64 struct msghdr hdr = { in onDataAvailable() local
74 ssize_t n = recvmsg(socket, &hdr, 0); in onDataAvailable()
83 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&hdr); in onDataAvailable()
89 cmsg = CMSG_NXTHDR(&hdr, cmsg); in onDataAvailable()
/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/native/libs/binder/
DParcel.cpp99 switch (obj.hdr.type) { in acquire_object()
135 ALOGD("Invalid object type 0x%08x", obj.hdr.type); in acquire_object()
147 switch (obj.hdr.type) { in release_object()
189 ALOGE("Invalid object type 0x%08x", obj.hdr.type); in release_object()
225 obj.hdr.type = BINDER_TYPE_HANDLE; in flatten_binder()
233 obj.hdr.type = BINDER_TYPE_BINDER; in flatten_binder()
238 obj.hdr.type = BINDER_TYPE_BINDER; in flatten_binder()
262 obj.hdr.type = BINDER_TYPE_WEAK_HANDLE; in flatten_binder()
267 obj.hdr.type = BINDER_TYPE_WEAK_BINDER; in flatten_binder()
282 obj.hdr.type = BINDER_TYPE_BINDER; in flatten_binder()
[all …]
/frameworks/base/services/net/java/android/net/netlink/
DInetDiagMessage.java98 final StructNlMsgHdr hdr = nlMsg.getHeader(); in lookupUidByFamily() local
99 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in lookupUidByFamily()
/frameworks/native/cmds/servicemanager/
Dbinder.c543 obj->hdr.type = BINDER_TYPE_BINDER; in bio_put_obj()
561 obj->hdr.type = BINDER_TYPE_HANDLE; in bio_put_ref()
678 if (obj->hdr.type == BINDER_TYPE_HANDLE) in bio_get_ref()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp803 uint32_t hdr[2]; in parseChunk() local
804 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
807 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
808 int32_t chunk_type = ntohl(hdr[1]); in parseChunk()
4848 uint32_t hdr[2]; in parseChunk() local
4849 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
4852 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
4853 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()
4894 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
4898 chunk_size = ntohl(hdr[0]); in parseChunk()
[all …]
DItemTable.cpp126 uint32_t hdr[2]; in parseChunk() local
127 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
130 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
131 int32_t chunk_type = ntohl(hdr[1]); in parseChunk()
/frameworks/base/tools/aapt2/
DConfiguration.proto168 Hdr hdr = 14; field
/frameworks/compile/mclinker/tools/mcld/
DOptions.td207 def EHFrameHdr : Flag<["--"], "eh-frame-hdr">,
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp173 switch (pb_config.hdr()) { in DeserializeConfigFromPb()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp842 EXPECT_EQ(BINDER_TYPE_HANDLE, fb->hdr.type); in TEST_F()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2778 const int hdr = colorMode & MASK_HDR; in match() local
2780 if (hdr != 0 && hdr != setHdr) { in match()
/frameworks/base/cmds/statsd/src/
Datoms.proto1313 // Contains information about the color gamut and hdr mode of the screen.
/frameworks/base/api/
Dcurrent.txt16218 field @Deprecated public static final String SCENE_MODE_HDR = "hdr";
25082 field public static final 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";