Home
last modified time | relevance | path

Searched refs:mHeader (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp60 mHeader(NULL), in SoftOpus()
78 if (mHeader != NULL) { in ~SoftOpus()
79 delete mHeader; in ~SoftOpus()
80 mHeader = NULL; in ~SoftOpus()
180 opusParams->nChannels = mHeader->channels; in internalGetParameter()
211 pcmParams->nChannels = mHeader->channels; in internalGetParameter()
397 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in handleEOS()
407 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in handleEOS()
425 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
446 delete mHeader; in onQueueFilled()
[all …]
DSoftOpus.h71 OpusHeader *mHeader; member
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp118 memset(&mHeader, 0, sizeof(mHeader)); in onStop()
141 memset(&mHeader, 0, sizeof(mHeader)); in initDecoder()
266 if (!ParseOpusHeader((uint8_t *)opusHeadBuf, opusHeadSize, &mHeader)) { in process()
273 if (mHeader.channels <= kMaxChannelsWithDefaultLayout) { in process()
279 mHeader.stream_map, in process()
280 mHeader.channels); in process()
284 mHeader.channels, in process()
285 mHeader.num_streams, in process()
286 mHeader.num_coupled, in process()
297 OPUS_SET_GAIN(mHeader.gain_db)); in process()
[all …]
DC2SoftOpusDec.h53 OpusHeader mHeader; member
/frameworks/base/core/java/android/app/backup/
DBackupDataInput.java67 private EntityHeader mHeader = new EntityHeader(); field in BackupDataInput
107 int result = readNextHeader_native(mBackupReader, mHeader); in readNextHeader()
130 return mHeader.key; in getKey()
145 return mHeader.dataSize; in getDataSize()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DDnsPacket.java487 protected final DnsHeader mHeader; field in DnsPacket
498 mHeader = new DnsHeader(buffer); in DnsPacket()
506 final int count = mHeader.getRecordCount(i); in DnsPacket()
525 mHeader = Objects.requireNonNull(header); in DnsPacket()
532 if (mHeader.mRecordCount[i] != mRecords[i].size()) { in DnsPacket()
534 + mHeader.mRecordCount[i] + " but was " + mRecords[i]); in DnsPacket()
544 buf.write(mHeader.getBytes()); in getBytes()
556 return "DnsPacket{" + "header=" + mHeader + ", records='" + Arrays.toString(mRecords) + '}'; in toString()
564 return Objects.equals(mHeader, other.mHeader) in equals()
570 int result = Objects.hash(mHeader); in hashCode()
/frameworks/native/libs/binder/
DRecordedTransaction.cpp119 t.mData.mHeader = {code, in fromDetails()
265 t.mData.mHeader = *reinterpret_cast<TransactionHeader*>(payloadMap); in fromFile()
341 reinterpret_cast<const uint8_t*>(&(mData.mHeader)))) { in dumpToFile()
372 return mData.mHeader.code; in getCode()
376 return mData.mHeader.flags; in getFlags()
380 return mData.mHeader.statusReturned; in getReturnedStatus()
384 time_t sec = mData.mHeader.timestampSeconds; in getTimestamp()
385 int32_t nsec = mData.mHeader.timestampNanoseconds; in getTimestamp()
390 return mData.mHeader.version; in getVersion()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1162 private final PhotoView mHeader; field in PhotoView.ScaleRunnable
1178 mHeader = header; in ScaleRunnable()
1200 mHeader.post(this); in start()
1222 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1226 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()
1231 mHeader.post(this); in run()
1244 private final PhotoView mHeader; field in PhotoView.TranslateRunnable
1258 mHeader = header; in TranslateRunnable()
1278 mHeader.post(this); in start()
1300 final int translateResult = mHeader.translate(mVelocityX * delta, mVelocityY * delta); in run()
[all …]
/frameworks/libs/net/common/device/com/android/net/module/util/netlink/
DNetlinkMessage.java90 protected final StructNlMsgHdr mHeader; field in NetlinkMessage
93 mHeader = nlmsghdr; in NetlinkMessage()
98 return mHeader; in getHeader()
108 return "NetlinkMessage{" + mHeader.toString() + "}"; in toString()
DNetlinkErrorMessage.java65 + "nlmsghdr{" + (mHeader == null ? "" : mHeader.toString()) + "}, " in toString()
DConntrackMessage.java210 ctmsg.mHeader.nlmsg_len = bytes.length; in newIPv4TimeoutUpdateRequest()
211 ctmsg.mHeader.nlmsg_type = (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8) in newIPv4TimeoutUpdateRequest()
213 ctmsg.mHeader.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newIPv4TimeoutUpdateRequest()
214 ctmsg.mHeader.nlmsg_seq = 1; in newIPv4TimeoutUpdateRequest()
467 mHeader.pack(byteBuffer); in pack()
551 + (mHeader == null ? "" : mHeader.toString(OsConstants.NETLINK_NETFILTER)) in toString()
DRtNetlinkNeighborMessage.java96 neighMsg.mHeader.nlmsg_len - kMinConsumed); in parse()
234 + (mHeader == null ? "" : mHeader.toString(OsConstants.NETLINK_ROUTE)) + "}, " in toString()
/frameworks/base/core/java/android/service/autofill/
DFillResponse.java101 private final @Nullable RemoteViews mHeader; field in FillResponse
136 r.mHeader, in shallowCopy()
175 mHeader = header; in FillResponse()
204 mHeader = builder.mHeader; in FillResponse()
273 return mHeader; in getHeader()
384 private RemoteViews mHeader; field in FillResponse.Builder
505 if (mHeader != null || mFooter != null) { in setAuthentication()
689 if (mHeader != null || mFooter != null) { in setAuthentication()
974 mHeader = Objects.requireNonNull(header); in setHeader()
1108 if (mDatasets == null && (mHeader != null || mFooter != null)) { in build()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java101 protected QuickStatusBarHeader mHeader; field in QSFragment
242 mHeader = view.findViewById(R.id.header); in onViewCreated()
374 return mHeader; in getHeader()
453 mHeader.disable(state1, state2, animate); in disable()
463 mHeader.setVisibility((mQsExpanded || !keyguardShowing || mHeaderAnimating in updateQsState()
467 mHeader.setExpanded((keyguardShowing && !mHeaderAnimating && !mShowCollapsedOnKeyguard) in updateQsState()
614 return mQSPanelScrollView.getBottom() - mHeader.getBottom() in getHeightDiff()
615 + mHeader.getPaddingBottom(); in getHeightDiff()
637 ? translationScaleY * mHeader.getHeight() in setQsExpansion()
663 mHeader.updateResources(); in setQsExpansion()
[all …]
DQSContainerImpl.java50 private QuickStatusBarHeader mHeader; field in QSContainerImpl
70 mHeader = findViewById(R.id.header); in onFinishInflate()
204 : Math.round(mQsExpansion * (heightOverride - mHeader.getHeight())) in calculateContainerHeight()
205 + mHeader.getHeight(); in calculateContainerHeight()
234 } else if (view == mHeader) { in updatePaddingsAndMargins()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp287 buffer->mHeader = *header; in useBuffer()
339 if (buffer->mHeader == header) { in freeBuffer()
433 if (buffer->mHeader == header) { in onMessageReceived()
568 notifyEmptyBufferDone(buffer->mHeader); in onPortEnable()
571 notifyFillBufferDone(buffer->mHeader); in onPortEnable()
618 buffer->mHeader->nFilledLen = 0; in onPortFlush()
619 buffer->mHeader->nOffset = 0; in onPortFlush()
620 buffer->mHeader->nFlags = 0; in onPortFlush()
625 notifyEmptyBufferDone(buffer->mHeader); in onPortFlush()
629 notifyFillBufferDone(buffer->mHeader); in onPortFlush()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp384 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
436 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
476 if (mHeaderOffset + bytes > sizeof(mHeader) || mHeaderComplete) { in onEncodedFlacAvailable()
481 memcpy(mHeader + mHeaderOffset, buffer, bytes); in onEncodedFlacAvailable()
500 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onEncodedFlacAvailable()
505 mHeader, mHeaderOffset); in onEncodedFlacAvailable()
517 outHeader = outInfo->mHeader; in onEncodedFlacAvailable()
DSoftFlacEncoder.h93 char mHeader[128]; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp451 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
456 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
479 mHeader = (const ResStringPool_header*) header; in setToEmpty()
529 mHeader = header.verified(); in setTo()
531 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader.unsafe_ptr()); in setTo()
532 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo()
533 h->header.type = dtohs(mHeader->header.type); in setTo()
534 h->header.size = dtohl(mHeader->header.size); in setTo()
535 h->stringCount = dtohl(mHeader->stringCount); in setTo()
536 h->styleCount = dtohl(mHeader->styleCount); in setTo()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp96 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
106 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader; in onQueueFilled()
120 while (it != outQueue.end() && (*it)->mHeader != outHeader) { in onQueueFilled()
207 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader; in onQueueFilled()
315 while ((*it)->mHeader != outHeader) { in onQueueFilled()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java111 private final @Nullable View mHeader; field in FillUi
223 mHeader = null; in FillUi()
276 mHeader = headerPresentation.applyWithTheme( in FillUi()
280 applyCancelAction(mHeader, response.getCancelIds()); in FillUi()
282 headerContainer.addView(mHeader); in FillUi()
285 mHeader = null; in FillUi()
524 if (mHeader != null) { in updateContentSize()
525 mHeader.measure(widthMeasureSpec, heightMeasureSpec); in updateContentSize()
526 changed |= updateWidth(mHeader, maxSize); in updateContentSize()
527 changed |= updateHeight(mHeader, maxSize); in updateContentSize()
[all …]
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DTestDnsServer.kt149 if (mHeader.isResponse) {
162 val header = DnsHeader(mHeader.id, flags, qr.size, ar.size) in getAnswerPacket()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp159 outHeader = outInfo->mHeader; in outputBuffers()
209 outHeader = outInfo->mHeader; in outputBuffers()
269 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java99 @Mock private QuickStatusBarHeader mHeader; field in QSFragmentTest
320 when(mHeader.getHeight()).thenReturn(1234); in getQsMinExpansionHeight_notInSplitShade_returnsHeaderHeight()
324 assertThat(height).isEqualTo(mHeader.getHeight()); in getQsMinExpansionHeight_notInSplitShade_returnsHeaderHeight()
359 when(mHeader.getHeight()).thenReturn(555); in hideImmediately_notInSplitShade_movesViewUpByHeaderHeight()
363 assertThat(mQsFragmentView.getY()).isEqualTo(-mHeader.getHeight()); in hideImmediately_notInSplitShade_movesViewUpByHeaderHeight()
563 when(mQsFragmentView.findViewById(R.id.header)).thenReturn(mHeader); in setUpViews()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp321 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in handleEOS()
331 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in handleEOS()
351 inHeader = inInfo->mHeader; in onQueueFilled()
355 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()

123