Searched refs:mParser (Results 1 - 21 of 21) sorted by relevance

/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java69 private BmsgTokenizer mParser; field in class:BluetoothMapBmessageParser
109 return new ParseException("Expected: " + sb.toString(), mParser.pos());
121 mParser = new BmsgTokenizer(str + CRLF);
123 prop = mParser.next();
156 mParser = null;
174 prop = mParser.next();
216 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos());
224 prop = mParser.next();
253 return mParser.next();
276 prop = mParser
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java41 private final XmlPullParser mParser; field in class:BridgeXmlBlockParser
62 mParser = parser;
74 return mParser;
82 if (mParser instanceof ILayoutPullParser) {
83 return ((ILayoutPullParser)mParser).getViewCookie();
133 mParser.setInput(in);
139 mParser.setInput(inputStream, inputEncoding);
186 return mParser.getDepth();
191 return mParser.getText();
196 return mParser
[all...]
/frameworks/base/core/java/android/util/
H A DXmlPullAttributes.java30 mParser = parser;
34 return mParser.getAttributeCount();
38 return mParser.getAttributeName(index);
42 return mParser.getAttributeValue(index);
46 return mParser.getAttributeValue(namespace, name);
50 return mParser.getPositionDescription();
146 /*package*/ XmlPullParser mParser; field in class:XmlPullAttributes
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.cpp31 mParser = XML_ParserCreateNS(nullptr, kXmlNamespaceSep);
32 XML_SetUserData(mParser, this);
33 XML_SetElementHandler(mParser, startElementHandler, endElementHandler);
34 XML_SetNamespaceDeclHandler(mParser, startNamespaceHandler, endNamespaceHandler);
35 XML_SetCharacterDataHandler(mParser, characterDataHandler);
36 XML_SetCommentHandler(mParser, commentDataHandler);
41 XML_ParserFree(mParser);
61 if (XML_Parse(mParser, mBuffer, mIn.gcount(), done) == XML_STATUS_ERROR) {
62 mLastError = XML_ErrorString(XML_GetErrorCode(mParser));
211 XML_GetCurrentLineNumber(parser->mParser),
[all...]
H A DXmlPullParser.h164 XML_Parser mParser; member in class:aapt::xml::XmlPullParser
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
H A DExpressionVisitorTest.java46 ExpressionParser mParser = new ExpressionParser(new ExprModel()); field in class:ExpressionVisitorTest
54 final Expr parsed = mParser.parse(input, null);
62 assertEquals(1, mParser.getModel().size());
71 ExpressionParser mParser = new ExpressionParser(new ExprModel()); field in class:ExpressionVisitorTest.ComparisonExprTests
92 final Expr res = mParser.parse("3 " + mOp + " 5", null);
93 assertEquals(3, mParser.getModel().size());
105 assertEquals(2, mParser.mModel.size());
119 assertEquals(1, mParser.mModel.size());
128 assertEquals(6, mParser.getModel().size());
183 assertSame(mParser
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DXMLParser.java21 private final SAXParser mParser; field in class:XMLParser
28 mParser = SAXParserFactory.newInstance().newSAXParser();
34 mParser.parse(mInputSource, this);
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java358 private XmlPullParser mParser; field in class:TtmlParser
375 mParser = null;
384 mParser = factory.newPullParser();
386 mParser.setInput(in);
402 int eventType = mParser.getEventType();
406 if (!isSupportedTag(mParser.getName())) {
407 Log.w(TAG, "Unsupported tag " + mParser.getName() + " is ignored.");
418 String text = TtmlUtils.applyDefaultSpacePolicy(mParser.getText());
426 if (mParser.getName().equals(TtmlUtils.TAG_P)) {
428 } else if (mParser
530 private final TtmlParser mParser = new TtmlParser(this); field in class:TtmlTrack
[all...]
H A DWebVttRenderer.java983 private final WebVttParser mParser = new WebVttParser(this); field in class:WebVttTrack
1011 synchronized(mParser) {
1018 mParser.parse(str);
1021 mParser.eos();
1033 synchronized (mParser) {
1081 synchronized(mParser) {
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp59 sp<FLACParser> mParser; member in class:android::FLACSource
712 mParser(0),
733 mParser->allocateBuffers();
744 mParser->releaseBuffers();
768 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
769 if (sample >= mParser->getTotalSamples()) {
770 sample = mParser->getTotalSamples();
773 buffer = mParser->readBuffer(sample);
776 buffer = mParser->readBuffer();
786 mParser
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp114 mParser(new ATSParser),
161 (AnotherPacketSource *)mParser->getSource(
174 (AnotherPacketSource *)mParser->getSource(
199 ? (AnotherPacketSource *)mParser->getSource(
201 : (AnotherPacketSource *)mParser->getSource(
262 mParser->signalEOS(ERROR_END_OF_STREAM);
269 status_t err = mParser->feedTSPacket(packet, kTSPacketSize, &event);
397 mParser->signalDiscontinuity(ATSParser::DISCONTINUITY_TIME, extra);
H A DATSParser.cpp90 return mParser->mFlags;
99 ATSParser *mParser; member in struct:android::ATSParser::Program
226 : mParser(parser),
558 if (!(mParser->mFlags & TS_TIMESTAMPS_ARE_ABSOLUTE)) {
572 if (mParser->mAbsoluteTimeAnchorUs >= 0ll) {
573 timeUs += mParser->mAbsoluteTimeAnchorUs;
576 if (mParser->mTimeOffsetValid) {
577 timeUs += mParser->mTimeOffsetUs;
/frameworks/av/media/libstagefright/include/
H A DFLACExtractor.h46 sp<FLACParser> mParser; member in class:android::FLACExtractor
H A DMPEG2TSExtractor.h58 sp<ATSParser> mParser; member in struct:android::MPEG2TSExtractor
/frameworks/base/services/core/java/com/android/server/
H A DDeviceIdleController.java766 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:DeviceIdleController.Constants
788 mParser.setString(Settings.Global.getString(mResolver,
797 LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT = mParser.getLong(
800 LIGHT_PRE_IDLE_TIMEOUT = mParser.getLong(KEY_LIGHT_PRE_IDLE_TIMEOUT,
802 LIGHT_IDLE_TIMEOUT = mParser.getLong(KEY_LIGHT_IDLE_TIMEOUT,
804 LIGHT_IDLE_FACTOR = mParser.getFloat(KEY_LIGHT_IDLE_FACTOR,
806 LIGHT_MAX_IDLE_TIMEOUT = mParser.getLong(KEY_LIGHT_MAX_IDLE_TIMEOUT,
808 LIGHT_IDLE_MAINTENANCE_MIN_BUDGET = mParser.getLong(
811 LIGHT_IDLE_MAINTENANCE_MAX_BUDGET = mParser.getLong(
814 MIN_LIGHT_MAINTENANCE_TIME = mParser
[all...]
H A DAlarmManagerService.java236 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:AlarmManagerService.Constants
274 mParser.setString(Settings.Global.getString(mResolver,
282 MIN_FUTURITY = mParser.getLong(KEY_MIN_FUTURITY, DEFAULT_MIN_FUTURITY);
283 MIN_INTERVAL = mParser.getLong(KEY_MIN_INTERVAL, DEFAULT_MIN_INTERVAL);
284 ALLOW_WHILE_IDLE_SHORT_TIME = mParser.getLong(KEY_ALLOW_WHILE_IDLE_SHORT_TIME,
286 ALLOW_WHILE_IDLE_LONG_TIME = mParser.getLong(KEY_ALLOW_WHILE_IDLE_LONG_TIME,
288 ALLOW_WHILE_IDLE_WHITELIST_DURATION = mParser.getLong(
291 LISTENER_TIMEOUT = mParser.getLong(KEY_LISTENER_TIMEOUT,
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerService.java281 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:JobSchedulerService.Constants
302 mParser.setString(Settings.Global.getString(mResolver,
310 MIN_IDLE_COUNT = mParser.getInt(KEY_MIN_IDLE_COUNT,
312 MIN_CHARGING_COUNT = mParser.getInt(KEY_MIN_CHARGING_COUNT,
314 MIN_CONNECTIVITY_COUNT = mParser.getInt(KEY_MIN_CONNECTIVITY_COUNT,
316 MIN_CONTENT_COUNT = mParser.getInt(KEY_MIN_CONTENT_COUNT,
318 MIN_READY_JOBS_COUNT = mParser.getInt(KEY_MIN_READY_JOBS_COUNT,
320 HEAVY_USE_FACTOR = mParser.getFloat(KEY_HEAVY_USE_FACTOR,
322 MODERATE_USE_FACTOR = mParser.getFloat(KEY_MODERATE_USE_FACTOR,
324 FG_JOB_COUNT = mParser
[all...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java614 XmlResourceParser mParser; field in class:TestService.ReadXmlAttrsOp
623 mParser = mContext.getResources().getLayout(R.xml.simple);
624 mAttrs = Xml.asAttributeSet(mParser);
629 eventType = mParser.getEventType();
633 tagName = mParser.getName();
638 eventType = mParser.next();
648 mParser.close();
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1154 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:UsageStatsService.SettingsObserver
1176 mParser.setString(Settings.Global.getString(getContext().getContentResolver(),
1180 // fallthrough, mParser is empty and all defaults will be returned.
1184 mAppIdleScreenThresholdMillis = mParser.getLong(KEY_IDLE_DURATION,
1187 mAppIdleWallclockThresholdMillis = mParser.getLong(KEY_WALLCLOCK_THRESHOLD,
1194 mAppIdleParoleIntervalMillis = mParser.getLong(KEY_PAROLE_INTERVAL,
1197 mAppIdleParoleDurationMillis = mParser.getLong(KEY_PAROLE_DURATION,
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java59 String ns = mParser.getAttributeNamespace(index);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1117 , mParser(parser) {}
1120 return mParser->getAttributeNameResID(index);
1124 const ResXMLParser* mParser; member in class:android::XmlAttributeFinder

Completed in 154 milliseconds