Home
last modified time | relevance | path

Searched refs:mDepth (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/core/java/android/util/proto/
H A DProtoInputStream.java109 private int mDepth = -1; field in ProtoInputStream
248 if ((mDepth >= 0) && (getOffset() == getOffsetFromToken( in nextField()
249 mExpectedObjectTokenStack.get(mDepth)))) { in nextField()
506 if (++mDepth == mExpectedObjectTokenStack.size()) { in start()
514 mExpectedObjectTokenStack.set(mDepth, makeToken(0, in start()
520 if (mDepth > 0 in start()
531 return mExpectedObjectTokenStack.get(mDepth); in start()
543 if (mExpectedObjectTokenStack.get(mDepth) != token) { in end()
553 mDepth--; in end()
856 if (mDepth >= 0 && getOffset() > getOffsetFromToken(
[all …]
H A DProtoOutputStream.java126 private int mDepth; field in ProtoOutputStream
2069 mDepth++; in startObjectImpl()
2080 mExpectedObjectToken = makeToken(getTagSize(id), repeated, mDepth, mNextObjectId, sizePos); in startObjectImpl()
2110 if ((mDepth & 0x01ff) != depth || mExpectedObjectToken != token) { in endObjectImpl()
2114 + " Current depth " + mDepth in endObjectImpl()
2123 mDepth--; in endObjectImpl()
2332 if (mDepth != 0) { in compactIfNecessary()
2333 throw new IllegalArgumentException("Trying to compact with " + mDepth in compactIfNecessary()
2503 if (mDepth != 0) { in flush()
/aosp14/frameworks/base/libs/protoutil/src/
H A DProtoOutputStream.cpp37 mDepth(0), in ProtoOutputStream()
54 mDepth = 0; in clear()
265 mDepth++; in start()
270 (bool)(fieldId & FIELD_COUNT_REPEATED), mDepth, mObjectId, sizePos); in start()
279 mDepth = UINT32_C(-1); // make depth invalid in end()
284 if (depth != (mDepth & 0x01ff)) { in end()
285 ALOGE("Unexpected depth: %" PRIu32 ", should be %" PRIu32, depth, mDepth); in end()
286 mDepth = UINT32_C(-1); // make depth invalid in end()
289 mDepth--; in end()
318 if (mDepth != 0) { in compact()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A Dpseudolocalize.h33 PseudoMethodAccent() : mDepth(0), mWordCount(0), mLength(0) {} in PseudoMethodAccent()
39 size_t mDepth;
H A Dpseudolocalize.cpp209 if (mDepth == 0) { in start()
213 mDepth++; in start()
225 mDepth--; in end()
226 if (mDepth == 0) { in end()
/aosp14/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java177 return mDepth; in getDepth()
320 mDepth--; in next()
325 mDepth++; in next()
605 private int mDepth = 0; field in XmlBlock.Parser
/aosp14/frameworks/base/libs/protoutil/include/android/util/
H A DProtoOutputStream.h146 uint32_t mDepth; variable
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt13997 Landroid/content/res/XmlBlock$Parser;->mDepth:I
58193 Landroid/util/proto/ProtoOutputStream;->mDepth:I