/frameworks/base/tools/aapt2/ |
D | XliffXmlPullParser.cpp | 24 mParser(parser) { in XliffXmlPullParser() 28 while (XmlPullParser::isGoodEvent(mParser->next())) { in next() 29 Event event = mParser->getEvent(); in next() 34 if (mParser->getElementNamespace() != in next() 39 const std::u16string& name = mParser->getElementName(); in next() 53 return mParser->getEvent(); in next() 57 return mParser->getEvent(); in getEvent() 61 return mParser->getLastError(); in getLastError() 65 return mParser->getComment(); in getComment() 69 return mParser->getLineNumber(); in getLineNumber() [all …]
|
D | ScopedXmlPullParser.cpp | 24 mParser(parser), mDepth(parser->getDepth()), mDone(false) { in ScopedXmlPullParser() 36 const Event event = mParser->next(); in next() 37 if (mParser->getDepth() <= mDepth) { in next() 44 return mParser->getEvent(); in getEvent() 48 return mParser->getLastError(); in getLastError() 52 return mParser->getComment(); in getComment() 56 return mParser->getLineNumber(); in getLineNumber() 60 const size_t depth = mParser->getDepth(); in getDepth() 68 return mParser->getText(); in getText() 72 return mParser->getNamespacePrefix(); in getNamespacePrefix() [all …]
|
D | BindingXmlPullParser.cpp | 33 mParser(parser), mOverride(false), mNextTagId(0) { in BindingXmlPullParser() 39 const auto endAttrIter = mParser->endAttributes(); in readVariableDeclaration() 40 for (auto attrIter = mParser->beginAttributes(); attrIter != endAttrIter; ++attrIter) { in readVariableDeclaration() 52 XmlPullParser::skipCurrentElement(mParser.get()); in readVariableDeclaration() 73 const auto endAttrIter = mParser->endAttributes(); in readExpressions() 74 for (auto attr = mParser->beginAttributes(); attr != endAttrIter; ++attr) { in readExpressions() 101 util::utf16ToUtf8(mParser->getElementName()), in readExpressions() 124 Event event = mParser->next(); in next() 126 if (mParser->getElementNamespace().empty() && in next() 127 mParser->getElementName() == kVariableTagName) { in next() [all …]
|
D | SourceXmlPullParser.cpp | 29 mParser = XML_ParserCreateNS(nullptr, kXmlNamespaceSep); in SourceXmlPullParser() 30 XML_SetUserData(mParser, this); in SourceXmlPullParser() 31 XML_SetElementHandler(mParser, startElementHandler, endElementHandler); in SourceXmlPullParser() 32 XML_SetNamespaceDeclHandler(mParser, startNamespaceHandler, endNamespaceHandler); in SourceXmlPullParser() 33 XML_SetCharacterDataHandler(mParser, characterDataHandler); in SourceXmlPullParser() 34 XML_SetCommentHandler(mParser, commentDataHandler); in SourceXmlPullParser() 39 XML_ParserFree(mParser); in ~SourceXmlPullParser() 59 if (XML_Parse(mParser, mBuffer, mIn.gcount(), done) == XML_STATUS_ERROR) { in next() 60 mLastError = XML_ErrorString(XML_GetErrorCode(mParser)); in next() 206 XML_GetCurrentLineNumber(parser->mParser), in startNamespaceHandler() [all …]
|
D | XliffXmlPullParser.h | 59 std::shared_ptr<XmlPullParser> mParser;
|
D | ScopedXmlPullParser.h | 78 XmlPullParser* mParser;
|
D | BindingXmlPullParser.h | 79 std::shared_ptr<XmlPullParser> mParser; variable
|
D | SourceXmlPullParser.h | 79 XML_Parser mParser; variable
|
D | ResourceParser.cpp | 483 mParser(std::make_shared<XliffXmlPullParser>(parser)) { in ResourceParser() 565 while (XmlPullParser::isGoodEvent(mParser->next())) { in parse() 566 if (mParser->getEvent() != XmlPullParser::Event::kStartElement) { in parse() 570 ScopedXmlPullParser parser(mParser.get()); in parse() 584 if (mParser->getEvent() == XmlPullParser::Event::kBadDocument) { in parse() 585 mLogger.error(mParser->getLineNumber()) in parse() 586 << mParser->getLastError() in parse()
|
D | ResourceParser.h | 190 std::shared_ptr<XmlPullParser> mParser; variable
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapBmessageParser.java | 67 private BmsgTokenizer mParser; field in BluetoothMapBmessageParser 103 return new ParseException("Expected: " + sb.toString(), mParser.pos()); in expected() 115 mParser = new BmsgTokenizer(str + CRLF); in parse() 117 prop = mParser.next(); in parse() 150 mParser = null; in parse() 168 prop = mParser.next(); in parseProperties() 210 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos()); in parseEnvelope() 218 prop = mParser.next(); in parseEnvelope() 247 return mParser.next(); in parseEnvelope() 270 prop = mParser.next(); in parseBody() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParser.java | 41 private final XmlPullParser mParser; field in BridgeXmlBlockParser 62 mParser = parser; in BridgeXmlBlockParser() 74 return mParser; in getParser() 82 if (mParser instanceof ILayoutPullParser) { in getViewCookie() 83 return ((ILayoutPullParser)mParser).getViewCookie(); in getViewCookie() 133 mParser.setInput(in); in setInput() 139 mParser.setInput(inputStream, inputEncoding); in setInput() 186 return mParser.getDepth(); in getDepth() 191 return mParser.getText(); in getText() 196 return mParser.getLineNumber(); in getLineNumber() [all …]
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 30 mParser = parser; in XmlPullAttributes() 34 return mParser.getAttributeCount(); in getAttributeCount() 38 return mParser.getAttributeName(index); in getAttributeName() 42 return mParser.getAttributeValue(index); in getAttributeValue() 46 return mParser.getAttributeValue(namespace, name); in getAttributeValue() 50 return mParser.getPositionDescription(); in getPositionDescription() 146 /*package*/ XmlPullParser mParser; field in XmlPullAttributes
|
/frameworks/base/media/java/android/media/ |
D | TtmlRenderer.java | 358 private XmlPullParser mParser; field in TtmlParser 375 mParser = null; in parse() 384 mParser = factory.newPullParser(); in loadParser() 386 mParser.setInput(in); in loadParser() 402 int eventType = mParser.getEventType(); in parseTtml() 406 if (!isSupportedTag(mParser.getName())) { in parseTtml() 407 Log.w(TAG, "Unsupported tag " + mParser.getName() + " is ignored."); in parseTtml() 418 String text = TtmlUtils.applyDefaultSpacePolicy(mParser.getText()); in parseTtml() 426 if (mParser.getName().equals(TtmlUtils.TAG_P)) { in parseTtml() 428 } else if (mParser.getName().equals(TtmlUtils.TAG_TT)) { in parseTtml() [all …]
|
D | WebVttRenderer.java | 983 private final WebVttParser mParser = new WebVttParser(this); field in WebVttTrack 1011 synchronized(mParser) { in onData() 1018 mParser.parse(str); in onData() 1021 mParser.eos(); in onData() 1033 synchronized (mParser) { in onCueParsed() 1081 synchronized(mParser) { in onRegionParsed()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
D | ExpressionVisitorTest.java | 46 ExpressionParser mParser = new ExpressionParser(new ExprModel()); field in ExpressionVisitorTest 54 final Expr parsed = mParser.parse(input, null); in parse() 62 assertEquals(1, mParser.getModel().size()); in testSymbol() 71 ExpressionParser mParser = new ExpressionParser(new ExprModel()); field in ExpressionVisitorTest.ComparisonExprTests 92 final Expr res = mParser.parse("3 " + mOp + " 5", null); in testComparison() 93 assertEquals(3, mParser.getModel().size()); in testComparison() 105 assertEquals(2, mParser.mModel.size()); in testSimpleFieldAccess() 119 assertEquals(1, mParser.mModel.size()); in testIdentifier() 128 assertEquals(6, mParser.getModel().size()); in testTernary() 183 assertSame(mParser.parse("user", null), dep.getOther()); in testMethodCall()
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 59 sp<FLACParser> mParser; member in android::FLACSource 711 mParser(0), in FLACSource() 732 mParser->allocateBuffers(); in start() 743 mParser->releaseBuffers(); in stop() 767 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read() 768 if (sample >= mParser->getTotalSamples()) { in read() 769 sample = mParser->getTotalSamples(); in read() 772 buffer = mParser->readBuffer(sample); in read() 775 buffer = mParser->readBuffer(); in read() 785 mParser = new FLACParser(mDataSource); in init() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 114 mParser(new ATSParser), in MPEG2TSExtractor() 158 (AnotherPacketSource *)mParser->getSource( in init() 171 (AnotherPacketSource *)mParser->getSource( in init() 193 ? (AnotherPacketSource *)mParser->getSource( in init() 195 : (AnotherPacketSource *)mParser->getSource( in init() 256 mParser->signalEOS(ERROR_END_OF_STREAM); in feedMore() 263 status_t err = mParser->feedTSPacket(packet, kTSPacketSize, &event); in feedMore() 379 mParser->signalDiscontinuity(ATSParser::DISCONTINUITY_TIME, extra); in queueDiscontinuityForSeek()
|
D | ATSParser.cpp | 90 return mParser->mFlags; in parserFlags() 99 ATSParser *mParser; member 223 : mParser(parser), in Program() 558 if (!(mParser->mFlags & TS_TIMESTAMPS_ARE_ABSOLUTE)) { in convertPTSToTimestamp() 572 if (mParser->mAbsoluteTimeAnchorUs >= 0ll) { in convertPTSToTimestamp() 573 timeUs += mParser->mAbsoluteTimeAnchorUs; in convertPTSToTimestamp() 576 if (mParser->mTimeOffsetValid) { in convertPTSToTimestamp() 577 timeUs += mParser->mTimeOffsetUs; in convertPTSToTimestamp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 476 private final KeyValueListParser mParser = new KeyValueListParser(','); field in DeviceIdleController.Constants 494 mParser.setString(Settings.Global.getString(mResolver, in updateConstants() 502 INACTIVE_TIMEOUT = mParser.getLong(KEY_INACTIVE_TIMEOUT, in updateConstants() 504 SENSING_TIMEOUT = mParser.getLong(KEY_SENSING_TIMEOUT, in updateConstants() 506 LOCATING_TIMEOUT = mParser.getLong(KEY_LOCATING_TIMEOUT, in updateConstants() 508 LOCATION_ACCURACY = mParser.getFloat(KEY_LOCATION_ACCURACY, 20); in updateConstants() 509 MOTION_INACTIVE_TIMEOUT = mParser.getLong(KEY_MOTION_INACTIVE_TIMEOUT, in updateConstants() 511 IDLE_AFTER_INACTIVE_TIMEOUT = mParser.getLong(KEY_IDLE_AFTER_INACTIVE_TIMEOUT, in updateConstants() 513 IDLE_PENDING_TIMEOUT = mParser.getLong(KEY_IDLE_PENDING_TIMEOUT, in updateConstants() 515 MAX_IDLE_PENDING_TIMEOUT = mParser.getLong(KEY_MAX_IDLE_PENDING_TIMEOUT, in updateConstants() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | FLACExtractor.h | 45 sp<FLACParser> mParser; variable
|
D | MPEG2TSExtractor.h | 55 sp<ATSParser> mParser; member
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 614 XmlResourceParser mParser; field in TestService.ReadXmlAttrsOp 623 mParser = mContext.getResources().getLayout(R.xml.simple); in onInit() 624 mAttrs = Xml.asAttributeSet(mParser); in onInit() 629 eventType = mParser.getEventType(); in onInit() 633 tagName = mParser.getName(); in onInit() 638 eventType = mParser.next(); in onInit() 648 mParser.close(); in onTerm()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1097 private final KeyValueListParser mParser = new KeyValueListParser(','); field in UsageStatsService.SettingsObserver 1119 mParser.setString(Settings.Global.getString(getContext().getContentResolver(), in updateSettings() 1127 mAppIdleDurationMillis = mParser.getLong(KEY_IDLE_DURATION, in updateSettings() 1130 mAppIdleWallclockThresholdMillis = mParser.getLong(KEY_WALLCLOCK_THRESHOLD, in updateSettings() 1137 mAppIdleParoleIntervalMillis = mParser.getLong(KEY_PAROLE_INTERVAL, in updateSettings() 1140 mAppIdleParoleDurationMillis = mParser.getLong(KEY_PAROLE_DURATION, in updateSettings()
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 59 String ns = mParser.getAttributeNamespace(index); in getAttributeNameResource()
|