/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapBmessageParser.java | 69 private BmsgTokenizer mParser; field in BluetoothMapBmessageParser 109 return new ParseException("Expected: " + sb.toString(), mParser.pos()); in expected() 121 mParser = new BmsgTokenizer(str + CRLF); in parse() 123 prop = mParser.next(); in parse() 156 mParser = null; in parse() 174 prop = mParser.next(); in parseProperties() 216 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos()); in parseEnvelope() 224 prop = mParser.next(); in parseEnvelope() 253 return mParser.next(); in parseEnvelope() 276 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/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 31 mParser = XML_ParserCreateNS(nullptr, kXmlNamespaceSep); in XmlPullParser() 32 XML_SetUserData(mParser, this); in XmlPullParser() 33 XML_SetElementHandler(mParser, startElementHandler, endElementHandler); in XmlPullParser() 34 XML_SetNamespaceDeclHandler(mParser, startNamespaceHandler, endNamespaceHandler); in XmlPullParser() 35 XML_SetCharacterDataHandler(mParser, characterDataHandler); in XmlPullParser() 36 XML_SetCommentHandler(mParser, commentDataHandler); in XmlPullParser() 41 XML_ParserFree(mParser); in ~XmlPullParser() 61 if (XML_Parse(mParser, mBuffer, mIn.gcount(), done) == XML_STATUS_ERROR) { in next() 62 mLastError = XML_ErrorString(XML_GetErrorCode(mParser)); in next() 211 XML_GetCurrentLineNumber(parser->mParser), in startNamespaceHandler() [all …]
|
D | XmlPullParser.h | 164 XML_Parser mParser; variable
|
/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 712 mParser(0), in FLACSource() 733 mParser->allocateBuffers(); in start() 744 mParser->releaseBuffers(); in stop() 768 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL; in read() 769 if (sample >= mParser->getTotalSamples()) { in read() 770 sample = mParser->getTotalSamples(); in read() 773 buffer = mParser->readBuffer(sample); in read() 776 buffer = mParser->readBuffer(); in read() 786 mParser = new FLACParser(mDataSource); in init() [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | XMLParser.java | 21 private final SAXParser mParser; field in XMLParser 28 mParser = SAXParserFactory.newInstance().newSAXParser(); in XMLParser() 34 mParser.parse(mInputSource, this); in getRoot()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 114 mParser(new ATSParser), in MPEG2TSExtractor() 161 (AnotherPacketSource *)mParser->getSource( in init() 174 (AnotherPacketSource *)mParser->getSource( in init() 199 ? (AnotherPacketSource *)mParser->getSource( in init() 201 : (AnotherPacketSource *)mParser->getSource( in init() 262 mParser->signalEOS(ERROR_END_OF_STREAM); in feedMore() 269 status_t err = mParser->feedTSPacket(packet, kTSPacketSize, &event); in feedMore() 397 mParser->signalDiscontinuity(ATSParser::DISCONTINUITY_TIME, extra); in queueDiscontinuityForSeek()
|
D | ATSParser.cpp | 90 return mParser->mFlags; in parserFlags() 99 ATSParser *mParser; member 226 : 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 | 769 private final KeyValueListParser mParser = new KeyValueListParser(','); field in DeviceIdleController.Constants 791 mParser.setString(Settings.Global.getString(mResolver, in updateConstants() 800 LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT = mParser.getLong( in updateConstants() 803 LIGHT_PRE_IDLE_TIMEOUT = mParser.getLong(KEY_LIGHT_PRE_IDLE_TIMEOUT, in updateConstants() 805 LIGHT_IDLE_TIMEOUT = mParser.getLong(KEY_LIGHT_IDLE_TIMEOUT, in updateConstants() 807 LIGHT_IDLE_FACTOR = mParser.getFloat(KEY_LIGHT_IDLE_FACTOR, in updateConstants() 809 LIGHT_MAX_IDLE_TIMEOUT = mParser.getLong(KEY_LIGHT_MAX_IDLE_TIMEOUT, in updateConstants() 811 LIGHT_IDLE_MAINTENANCE_MIN_BUDGET = mParser.getLong( in updateConstants() 814 LIGHT_IDLE_MAINTENANCE_MAX_BUDGET = mParser.getLong( in updateConstants() 817 MIN_LIGHT_MAINTENANCE_TIME = mParser.getLong( in updateConstants() [all …]
|
D | AlarmManagerService.java | 236 private final KeyValueListParser mParser = new KeyValueListParser(','); field in AlarmManagerService.Constants 274 mParser.setString(Settings.Global.getString(mResolver, in updateConstants() 282 MIN_FUTURITY = mParser.getLong(KEY_MIN_FUTURITY, DEFAULT_MIN_FUTURITY); in updateConstants() 283 MIN_INTERVAL = mParser.getLong(KEY_MIN_INTERVAL, DEFAULT_MIN_INTERVAL); in updateConstants() 284 ALLOW_WHILE_IDLE_SHORT_TIME = mParser.getLong(KEY_ALLOW_WHILE_IDLE_SHORT_TIME, in updateConstants() 286 ALLOW_WHILE_IDLE_LONG_TIME = mParser.getLong(KEY_ALLOW_WHILE_IDLE_LONG_TIME, in updateConstants() 288 ALLOW_WHILE_IDLE_WHITELIST_DURATION = mParser.getLong( in updateConstants() 291 LISTENER_TIMEOUT = mParser.getLong(KEY_LISTENER_TIMEOUT, in updateConstants()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 284 private final KeyValueListParser mParser = new KeyValueListParser(','); field in JobSchedulerService.Constants 305 mParser.setString(Settings.Global.getString(mResolver, in updateConstants() 313 MIN_IDLE_COUNT = mParser.getInt(KEY_MIN_IDLE_COUNT, in updateConstants() 315 MIN_CHARGING_COUNT = mParser.getInt(KEY_MIN_CHARGING_COUNT, in updateConstants() 317 MIN_CONNECTIVITY_COUNT = mParser.getInt(KEY_MIN_CONNECTIVITY_COUNT, in updateConstants() 319 MIN_CONTENT_COUNT = mParser.getInt(KEY_MIN_CONTENT_COUNT, in updateConstants() 321 MIN_READY_JOBS_COUNT = mParser.getInt(KEY_MIN_READY_JOBS_COUNT, in updateConstants() 323 HEAVY_USE_FACTOR = mParser.getFloat(KEY_HEAVY_USE_FACTOR, in updateConstants() 325 MODERATE_USE_FACTOR = mParser.getFloat(KEY_MODERATE_USE_FACTOR, in updateConstants() 327 FG_JOB_COUNT = mParser.getInt(KEY_FG_JOB_COUNT, in updateConstants() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | FLACExtractor.h | 46 sp<FLACParser> mParser; variable
|
D | MPEG2TSExtractor.h | 58 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/retaildemo/java/com/android/server/retaildemo/ |
D | RetailDemoModeService.java | 223 private final KeyValueListParser mParser = new KeyValueListParser(','); field in RetailDemoModeService.SettingsObserver 268 mParser.setString(Settings.Global.getString(getContext().getContentResolver(), in refreshTimeoutConstants() 274 mWarningDialogTimeout = mParser.getLong(KEY_WARNING_DIALOG_TIMEOUT, in refreshTimeoutConstants() 276 mUserInactivityTimeout = mParser.getLong(KEY_USER_INACTIVITY_TIMEOUT, in refreshTimeoutConstants()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1184 private final KeyValueListParser mParser = new KeyValueListParser(','); field in UsageStatsService.SettingsObserver 1206 mParser.setString(Settings.Global.getString(getContext().getContentResolver(), in updateSettings() 1214 mAppIdleScreenThresholdMillis = mParser.getLong(KEY_IDLE_DURATION, in updateSettings() 1217 mAppIdleWallclockThresholdMillis = mParser.getLong(KEY_WALLCLOCK_THRESHOLD, in updateSettings() 1224 mAppIdleParoleIntervalMillis = mParser.getLong(KEY_PAROLE_INTERVAL, in updateSettings() 1227 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()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1127 , mParser(parser) {} in XmlAttributeFinder() 1130 return mParser->getAttributeNameResID(index); in getAttribute() 1134 const ResXMLParser* mParser; member in android::XmlAttributeFinder
|