Home
last modified time | relevance | path

Searched refs:mExpectedObjectToken (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp33 mExpectedObjectToken(UINT64_C(-1)) in ProtoOutputStream()
50 mExpectedObjectToken = UINT64_C(-1); in clear()
272 mBuffer.writeRawFixed64(mExpectedObjectToken); // push previous token into stack. in start()
274 mExpectedObjectToken = makeToken(sizePos - prevPos, in start()
276 return mExpectedObjectToken; in start()
282 if (token != mExpectedObjectToken) { in end()
283 ALOGE("Unexpected token: 0x%" PRIx64 ", should be 0x%" PRIx64, token, mExpectedObjectToken); in end()
300 mExpectedObjectToken = mBuffer.readRawFixed64(); in end()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java216 private long mExpectedObjectToken; field in ProtoOutputStream
2157 mBuffer.writeRawFixed32((int)(mExpectedObjectToken >> 32)); in startObjectImpl()
2158 mBuffer.writeRawFixed32((int)mExpectedObjectToken); in startObjectImpl()
2160 long old = mExpectedObjectToken; in startObjectImpl()
2162 mExpectedObjectToken = makeToken(getTagSize(id), repeated, mDepth, mNextObjectId, sizePos); in startObjectImpl()
2163 return mExpectedObjectToken; in startObjectImpl()
2192 if ((mDepth & 0x01ff) != depth || mExpectedObjectToken != token) { in endObjectImpl()
2198 + " expectedToken=" + token2String(mExpectedObjectToken)); in endObjectImpl()
2202 mExpectedObjectToken = (((long)mBuffer.getRawFixed32At(sizePos)) << 32) in endObjectImpl()
/frameworks/base/libs/protoutil/include/android/util/
DProtoOutputStream.h142 uint64_t mExpectedObjectToken; variable