Searched defs:mParser (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/av/media/extractors/flac/
H A DFLACExtractor.h46 FLACParser *mParser; member in class:android::FLACExtractor
H A DFLACExtractor.cpp60 FLACParser *mParser; member in class:android::FLACSource
713 mParser(0),
719 mParser = new FLACParser(mDataSource);
720 mInitCheck = mParser->initCheck();
729 delete mParser;
737 mParser->allocateBuffers();
748 mParser->releaseBuffers();
773 sample = (seekTimeUs * mParser->getSampleRate()) / 1000000LL;
774 if (sample >= mParser->getTotalSamples()) {
775 sample = mParser
[all...]
/frameworks/av/media/extractors/mpeg2/
H A DMPEG2TSExtractor.h62 sp<ATSParser> mParser; member in struct:android::MPEG2TSExtractor
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
H A DOmx.h80 MediaCodecsXmlParser mParser; member in struct:android::hardware::media::omx::V1_0::implementation::Omx
/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyValueListParserTest.java39 private KeyValueListParser mParser; field in class:KeyValueListParserTest
43 mParser = new KeyValueListParser(',');
48 mParser.setString(null);
49 int[] result = mParser.getIntArray("test", DEFAULT);
55 mParser.setString("test=");
56 int[] result = mParser.getIntArray("test", DEFAULT);
62 mParser.setString("foo=bar,test=100:200,baz=123");
63 int[] result = mParser.getIntArray(null, DEFAULT);
69 mParser.setString("foo=bar,test=100:200,baz=123");
70 int[] result = mParser
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DParallelPackageParserTest.java40 private ParallelPackageParser mParser; field in class:ParallelPackageParserTest
44 mParser = new TestParallelPackageParser();
53 mParser.submit(file, 0);
58 ParallelPackageParser.ParseResult result = mParser.take();
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
H A DXMLParserTest.java36 XMLParser mParser; field in class:XMLParserTest
52 mParser = new XMLParser();
57 mParser.parse(null);
62 mParser.parse(new String());
68 mParser.parse(malformedXmlTree);
80 XMLNode actualRoot = mParser.parse(xmlTree);
/frameworks/base/core/java/android/util/
H A DKeyValueSettingObserver.java42 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:KeyValueSettingObserver
59 update(mParser);
77 mParser.setString(setting);
94 update(mParser);
H A DXmlPullAttributes.java30 mParser = parser;
34 return mParser.getAttributeCount();
38 return mParser.getAttributeNamespace(index);
42 return mParser.getAttributeName(index);
46 return mParser.getAttributeValue(index);
50 return mParser.getAttributeValue(namespace, name);
54 return mParser.getPositionDescription();
150 /*package*/ XmlPullParser mParser; field in class:XmlPullAttributes
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyConstants.java49 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:SmartReplyConstants
77 mParser.setString(Settings.Global.getString(mContext.getContentResolver(),
82 mEnabled = mParser.getBoolean(KEY_ENABLED, mDefaultEnabled);
83 mRequiresTargetingP = mParser.getBoolean(KEY_REQUIRES_TARGETING_P, mDefaultRequiresP);
84 mMaxSqueezeRemeasureAttempts = mParser.getInt(
/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, 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, 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/SystemUI/src/com/android/systemui/doze/
H A DAlwaysOnDisplayPolicy.java114 private final KeyValueListParser mParser; field in class:AlwaysOnDisplayPolicy
121 mParser = new KeyValueListParser(',');
153 mParser.setString(value);
158 proxScreenOffDelayMs = mParser.getLong(KEY_PROX_SCREEN_OFF_DELAY_MS,
160 proxCooldownTriggerMs = mParser.getLong(KEY_PROX_COOLDOWN_TRIGGER_MS,
162 proxCooldownPeriodMs = mParser.getLong(KEY_PROX_COOLDOWN_PERIOD_MS,
164 wallpaperFadeOutDuration = mParser.getLong(KEY_WALLPAPER_FADE_OUT_MS,
166 wallpaperVisibilityDuration = mParser.getLong(KEY_WALLPAPER_VISIBILITY_MS,
168 screenBrightnessArray = mParser.getIntArray(KEY_SCREEN_BRIGHTNESS_ARRAY,
171 dimmingScrimArray = mParser
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
H A DReportCanvas.java27 private final UsbDescriptorParser mParser; field in class:ReportCanvas
35 mParser = parser;
39 return mParser;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationSnooze.java94 private KeyValueListParser mParser; field in class:NotificationSnooze
107 mParser = new KeyValueListParser(',');
118 mParser = parser;
229 mParser.setString(config);
234 final int defaultSnooze = mParser.getInt(KEY_DEFAULT_SNOOZE,
236 final int[] snoozeTimes = mParser.getIntArray(KEY_OPTIONS,
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerConstants.java212 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:ActivityManagerConstants
274 mParser.setString(setting);
280 MAX_CACHED_PROCESSES = mParser.getInt(KEY_MAX_CACHED_PROCESSES,
282 BACKGROUND_SETTLE_TIME = mParser.getLong(KEY_BACKGROUND_SETTLE_TIME,
284 FGSERVICE_MIN_SHOWN_TIME = mParser.getLong(KEY_FGSERVICE_MIN_SHOWN_TIME,
286 FGSERVICE_MIN_REPORT_TIME = mParser.getLong(KEY_FGSERVICE_MIN_REPORT_TIME,
288 FGSERVICE_SCREEN_ON_BEFORE_TIME = mParser.getLong(KEY_FGSERVICE_SCREEN_ON_BEFORE_TIME,
290 FGSERVICE_SCREEN_ON_AFTER_TIME = mParser.getLong(KEY_FGSERVICE_SCREEN_ON_AFTER_TIME,
292 CONTENT_PROVIDER_RETAIN_TIME = mParser.getLong(KEY_CONTENT_PROVIDER_RETAIN_TIME,
294 GC_TIMEOUT = mParser
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java43 private final XmlPullParser mParser; field in class:BridgeXmlBlockParser
65 mParser = parser;
80 return mParser;
88 if (mParser instanceof ILayoutPullParser) {
89 return ((ILayoutPullParser)mParser).getViewCookie();
134 mParser.setInput(in);
140 mParser.setInput(inputStream, inputEncoding);
162 return mParser.getNamespace(prefix);
187 return mParser.getDepth();
192 return mParser
[all...]
/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/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/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp104 return mParser->mFlags;
108 return mParser->mCasManager;
126 ATSParser *mParser; member in struct:android::ATSParser::Program
299 : mParser(parser),
506 if (hasProgramCA && !mParser->mCasManager->addProgram(
535 if (hasStreamCA && !mParser->mCasManager->addStream(
597 if (mParser->mCasManager->isCAPid(info.mPID)) {
678 if (!(mParser->mFlags & TS_TIMESTAMPS_ARE_ABSOLUTE)) {
692 if (mParser->mAbsoluteTimeAnchorUs >= 0ll) {
693 timeUs += mParser
[all...]
/frameworks/base/services/usage/java/com/android/server/usage/
H A DAppStandbyController.java1778 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:AppStandbyController.SettingsObserver
1816 mParser.setString(mInjector.getAppIdleSettings());
1819 // fallthrough, mParser is empty and all defaults will be returned.
1825 mAppIdleParoleIntervalMillis = mParser.getDurationMillis(KEY_PAROLE_INTERVAL,
1829 mAppIdleParoleWindowMillis = mParser.getDurationMillis(KEY_PAROLE_WINDOW,
1832 mAppIdleParoleDurationMillis = mParser.getDurationMillis(KEY_PAROLE_DURATION,
1835 String screenThresholdsValue = mParser.getString(KEY_SCREEN_TIME_THRESHOLDS, null);
1839 String elapsedThresholdsValue = mParser.getString(KEY_ELAPSED_TIME_THRESHOLDS,
1845 mStrongUsageTimeoutMillis = mParser.getDurationMillis
1848 mNotificationSeenTimeoutMillis = mParser
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java243 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:AppOpsService.Constants
270 mParser.setString(value);
276 TOP_STATE_SETTLE_TIME = mParser.getDurationMillis(
278 FG_SERVICE_STATE_SETTLE_TIME = mParser.getDurationMillis(
280 BG_STATE_SETTLE_TIME = mParser.getDurationMillis(
H A DAlarmManagerService.java339 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:AlarmManagerService.Constants
371 mParser.setString(Settings.Global.getString(mResolver,
379 MIN_FUTURITY = mParser.getLong(KEY_MIN_FUTURITY, DEFAULT_MIN_FUTURITY);
380 MIN_INTERVAL = mParser.getLong(KEY_MIN_INTERVAL, DEFAULT_MIN_INTERVAL);
381 MAX_INTERVAL = mParser.getLong(KEY_MAX_INTERVAL, DEFAULT_MAX_INTERVAL);
382 ALLOW_WHILE_IDLE_SHORT_TIME = mParser.getLong(KEY_ALLOW_WHILE_IDLE_SHORT_TIME,
384 ALLOW_WHILE_IDLE_LONG_TIME = mParser.getLong(KEY_ALLOW_WHILE_IDLE_LONG_TIME,
386 ALLOW_WHILE_IDLE_WHITELIST_DURATION = mParser.getLong(
389 LISTENER_TIMEOUT = mParser.getLong(KEY_LISTENER_TIMEOUT,
391 APP_STANDBY_MIN_DELAYS[ACTIVE_INDEX] = mParser
[all...]
H A DDeviceIdleController.java785 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:DeviceIdleController.Constants
805 mParser.setString(Settings.Global.getString(mResolver,
813 LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT = mParser.getDurationMillis(
816 LIGHT_PRE_IDLE_TIMEOUT = mParser.getDurationMillis(KEY_LIGHT_PRE_IDLE_TIMEOUT,
818 LIGHT_IDLE_TIMEOUT = mParser.getDurationMillis(KEY_LIGHT_IDLE_TIMEOUT,
820 LIGHT_IDLE_FACTOR = mParser.getFloat(KEY_LIGHT_IDLE_FACTOR,
822 LIGHT_MAX_IDLE_TIMEOUT = mParser.getDurationMillis(KEY_LIGHT_MAX_IDLE_TIMEOUT,
824 LIGHT_IDLE_MAINTENANCE_MIN_BUDGET = mParser.getDurationMillis(
827 LIGHT_IDLE_MAINTENANCE_MAX_BUDGET = mParser.getDurationMillis(
830 MIN_LIGHT_MAINTENANCE_TIME = mParser
[all...]
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerService.java498 private final KeyValueListParser mParser = new KeyValueListParser(','); field in class:JobSchedulerService.Constants
502 mParser.setString(value);
509 MIN_IDLE_COUNT = mParser.getInt(KEY_MIN_IDLE_COUNT,
511 MIN_CHARGING_COUNT = mParser.getInt(KEY_MIN_CHARGING_COUNT,
513 MIN_BATTERY_NOT_LOW_COUNT = mParser.getInt(KEY_MIN_BATTERY_NOT_LOW_COUNT,
515 MIN_STORAGE_NOT_LOW_COUNT = mParser.getInt(KEY_MIN_STORAGE_NOT_LOW_COUNT,
517 MIN_CONNECTIVITY_COUNT = mParser.getInt(KEY_MIN_CONNECTIVITY_COUNT,
519 MIN_CONTENT_COUNT = mParser.getInt(KEY_MIN_CONTENT_COUNT,
521 MIN_READY_JOBS_COUNT = mParser.getInt(KEY_MIN_READY_JOBS_COUNT,
523 HEAVY_USE_FACTOR = mParser
[all...]

Completed in 346 milliseconds

12