/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 121 private static void writeUsageStats(XmlSerializer xml, final IntervalStats stats, in writeUsageStats() argument 123 xml.startTag(null, PACKAGE_TAG); in writeUsageStats() 126 XmlUtils.writeLongAttribute(xml, LAST_TIME_ACTIVE_ATTR, in writeUsageStats() 129 XmlUtils.writeStringAttribute(xml, PACKAGE_ATTR, usageStats.mPackageName); in writeUsageStats() 130 XmlUtils.writeLongAttribute(xml, TOTAL_TIME_ACTIVE_ATTR, usageStats.mTotalTimeInForeground); in writeUsageStats() 131 XmlUtils.writeIntAttribute(xml, LAST_EVENT_ATTR, usageStats.mLastEvent); in writeUsageStats() 133 xml.endTag(null, PACKAGE_TAG); in writeUsageStats() 136 private static void writeConfigStats(XmlSerializer xml, final IntervalStats stats, in writeConfigStats() argument 138 xml.startTag(null, CONFIG_TAG); in writeConfigStats() 141 XmlUtils.writeLongAttribute(xml, LAST_TIME_ACTIVE_ATTR, in writeConfigStats() [all …]
|
D | UsageStatsXml.java | 112 FastXmlSerializer xml = new FastXmlSerializer(); in write() local 113 xml.setOutput(out, "utf-8"); in write() 114 xml.startDocument("utf-8", true); in write() 115 xml.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in write() 116 xml.startTag(null, USAGESTATS_TAG); in write() 117 xml.attribute(null, VERSION_ATTR, Integer.toString(CURRENT_VERSION)); in write() 119 UsageStatsXmlV1.write(xml, stats); in write() 121 xml.endTag(null, USAGESTATS_TAG); in write() 122 xml.endDocument(); in write()
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 75 <?xml version="1.0" encoding="utf-8"?> 126 <li><code>res/layout/main.xml</code>,单面板(默认)布局: 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 130 <li><code>res/layout-large/main.xml</code>,双面板布局: 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 146 <li><code>res/layout/main.xml</code>,单面板(默认)布局: 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 150 <li><code>res/layout-sw600dp/main.xml</code>,双面板布局: 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} [all …]
|
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 75 <?xml version="1.0" encoding="utf-8"?> 126 <li><code>res/layout/main.xml</code>, 단일 창(기본값) 레이아웃: 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 130 <li><code>res/layout-large/main.xml</code>, 이중 창 레이아웃: 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 146 <li><code>res/layout/main.xml</code>, 단일 창(기본값) 레이아웃: 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 150 <li><code>res/layout-sw600dp/main.xml</code>, 이중 창 레이아웃: 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} [all …]
|
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 75 <?xml version="1.0" encoding="utf-8"?> 126 <li><code>res/layout/main.xml</code>、シングルペイン(デフォルト)レイアウト: 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 130 <li><code>res/layout-large/main.xml</code>、2 ペイン レイアウト: 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 146 <li><code>res/layout/main.xml</code>、シングルペイン(デフォルト)レイアウト: 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 150 <li><code>res/layout-sw600dp/main.xml</code>、2 ペイン レイアウト: 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} [all …]
|
/frameworks/base/core/tests/coretests/apks/keyset/ |
D | Android.mk | 8 LOCAL_MANIFEST_FILE := uNone/AndroidManifest.xml 15 LOCAL_MANIFEST_FILE := uA/AndroidManifest.xml 22 LOCAL_MANIFEST_FILE := uB/AndroidManifest.xml 29 LOCAL_MANIFEST_FILE := uAB/AndroidManifest.xml 36 LOCAL_MANIFEST_FILE := uAuB/AndroidManifest.xml 43 LOCAL_MANIFEST_FILE := permDef/AndroidManifest.xml 50 LOCAL_MANIFEST_FILE := permUse/AndroidManifest.xml 58 LOCAL_MANIFEST_FILE := uA/AndroidManifest.xml 65 LOCAL_MANIFEST_FILE := uB/AndroidManifest.xml 72 LOCAL_MANIFEST_FILE := permUse/AndroidManifest.xml [all …]
|
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 75 <?xml version="1.0" encoding="utf-8"?> 126 <li><code>res/layout/main.xml</code>, однопанельный макет (по умолчанию): 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 130 <li><code>res/layout-large/main.xml</code>, двухпанельный макет: 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 146 <li><code>res/layout/main.xml</code>, однопанельный макет (по умолчанию): 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 150 <li><code>res/layout-sw600dp/main.xml</code>, двухпанельный макет: 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 57 assertEquals(R.xml.metadata, md.getInt("com.android.frameworks.coretests.reference")); in checkMetaData() 59 XmlResourceParser xml = ci.loadXmlMetaData(mContext.getPackageManager(), in checkMetaData() local 61 assertNotNull(xml); in checkMetaData() 64 while ((type = xml.next()) != XmlPullParser.START_TAG in checkMetaData() 68 assertEquals("thedata", xml.getName()); in checkMetaData() 71 final String rawAttr = xml.getAttributeValue(null, "rawText"); in checkMetaData() 75 final int rawColorIntAttr = xml.getAttributeIntValue(null, "rawColor", 0); in checkMetaData() 77 final String rawColorStrAttr = xml.getAttributeValue(null, "rawColor"); in checkMetaData() 82 final int colorIntAttr = xml.getAttributeIntValue(nameSpace, "color", 0); in checkMetaData() 84 final String colorStrAttr = xml.getAttributeValue(nameSpace, "color"); in checkMetaData() [all …]
|
/frameworks/base/data/fonts/ |
D | fonts.mk | 18 frameworks/base/data/fonts/system_fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/system_fonts.xml \ 19 frameworks/base/data/fonts/fallback_fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/fallback_fonts.xml \ 20 frameworks/base/data/fonts/fonts.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/fonts.xml
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 24 import org.apache.harmony.xml.ExpatReader; 26 import org.xml.sax.ContentHandler; 27 import org.xml.sax.InputSource; 28 import org.xml.sax.SAXException; 29 import org.xml.sax.XMLReader; 52 public static void parse(String xml, ContentHandler contentHandler) in parse() argument 57 reader.parse(new InputSource(new StringReader(xml))); in parse()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 136 ResXMLTree xml; in getAppInfo() local 137 if (xml.setTo(asset->getBuffer(true), asset->getLength(), false) != NO_ERROR) { in getAppInfo() 151 while ((event = xml.next()) != ResXMLParser::BAD_DOCUMENT && in getAppInfo() 158 const char16_t* name = xml.getElementName(&len); in getAppInfo() 161 ssize_t idx = xml.indexOfAttribute( in getAppInfo() 165 outInfo.versionCode = xml.getAttributeData(idx); in getAppInfo() 169 ssize_t idx = xml.indexOfAttribute( in getAppInfo() 173 outInfo.multiArch = xml.getAttributeData(idx) != 0; in getAppInfo() 177 ssize_t idx = xml.indexOfAttribute( in getAppInfo() 181 uint16_t type = xml.getAttributeDataType(idx); in getAppInfo() [all …]
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screensizes.jd | 67 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 98 <?xml version="1.0" encoding="utf-8"?> 163 <li><code>res/layout/main.xml</code>, single-pane (default) layout: 165 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 167 <li><code>res/layout-large/main.xml</code>, two-pane layout: 169 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 196 <li><code>res/layout/main.xml</code>, single-pane (default) layout: 198 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 200 <li><code>res/layout-sw600dp/main.xml</code>, two-pane layout: 202 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} [all …]
|
/frameworks/base/sax/java/android/sax/ |
D | RootElement.java | 19 import org.xml.sax.helpers.DefaultHandler; 20 import org.xml.sax.Attributes; 21 import org.xml.sax.SAXException; 22 import org.xml.sax.ContentHandler; 23 import org.xml.sax.Locator;
|
D | BadXmlException.java | 19 import org.xml.sax.SAXParseException; 20 import org.xml.sax.Locator;
|
/frameworks/base/docs/html-intl/intl/es/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 75 <?xml version="1.0" encoding="utf-8"?> 126 <li><code>res/layout/main.xml</code>, diseño de panel único (predeterminado): 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 130 <li><code>res/layout-large/main.xml</code>, diseño de panel dual: 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 146 <li><code>res/layout/main.xml</code>, diseño de panel único (predeterminado): 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 150 <li><code>res/layout-sw600dp/main.xml</code>, diseño de panel dual: 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} [all …]
|
/frameworks/base/docs/html/training/basics/supporting-devices/ |
D | languages.jd | 34 types. There are also a few default files such as <code>res/values/strings.xml</code>, which holds 54 strings.xml 56 strings.xml 58 strings.xml 69 <p>English (default locale), <code>/values/strings.xml</code>:</p> 72 <?xml version="1.0" encoding="utf-8"?> 80 <p>Spanish, <code>/values-es/strings.xml</code>:</p> 83 <?xml version="1.0" encoding="utf-8"?> 91 <p>French, <code>/values-fr/strings.xml</code>:</p> 94 <?xml version="1.0" encoding="utf-8"?>
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 538 XmlResourceParser xml = in getManifestRestrictions() local 540 List<RestrictionEntry> restrictions = loadManifestRestrictions(packageName, xml); in getManifestRestrictions() 546 XmlResourceParser xml) { in loadManifestRestrictions() argument 557 int tagType = xml.next(); in loadManifestRestrictions() 560 if (xml.getName().equals(TAG_RESTRICTION)) { in loadManifestRestrictions() 561 AttributeSet attrSet = Xml.asAttributeSet(xml); in loadManifestRestrictions() 572 tagType = xml.next(); in loadManifestRestrictions()
|
D | ContentInsertHandler.java | 20 import org.xml.sax.ContentHandler; 21 import org.xml.sax.SAXException;
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 33 import org.xml.sax.Attributes; 34 import org.xml.sax.ContentHandler; 35 import org.xml.sax.SAXException; 36 import org.xml.sax.helpers.DefaultHandler; 82 String xml = "<feed xmlns='http://www.w3.org/2005/Atom'>\n" in testListener() local 103 Xml.parse(xml, root.getContentHandler()); in testListener() 115 String xml = "<feed></feed>"; in testMissingRequiredChild() local 120 Xml.parse(xml, root.getContentHandler()); in testMissingRequiredChild() 129 String xml = "<feed><entry></entry></feed>"; in testMixedContent() local 138 Xml.parse(xml, root.getContentHandler()); in testMixedContent()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | more-resources.jd | 39 <dl class="xml"> 42 <dd><code>res/values/<em>filename</em>.xml</code><br/> 55 <?xml version="1.0" encoding="utf-8"?> 85 <dd>XML file saved at <code>res/values-small/bools.xml</code>: 87 <?xml version="1.0" encoding="utf-8"?> 135 <dl class="xml"> 138 <dd><code>res/values/colors.xml</code><br/> 151 <?xml version="1.0" encoding="utf-8"?> 182 <dd>XML file saved at <code>res/values/colors.xml</code>: 184 <?xml version="1.0" encoding="utf-8"?> [all …]
|
/frameworks/base/core/java/android/app/ |
D | SearchableInfo.java | 526 XmlResourceParser xml = in getActivityMetaData() local 528 if (xml == null) { in getActivityMetaData() 533 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData() 534 xml.close(); in getActivityMetaData() 562 private static SearchableInfo getActivityMetaData(Context context, XmlPullParser xml, in getActivityMetaData() argument 571 int tagType = xml.next(); in getActivityMetaData() 574 if (xml.getName().equals(MD_XML_ELEMENT_SEARCHABLE)) { in getActivityMetaData() 575 AttributeSet attr = Xml.asAttributeSet(xml); in getActivityMetaData() 585 } else if (xml.getName().equals(MD_XML_ELEMENT_SEARCHABLE_ACTION_KEY)) { in getActivityMetaData() 590 AttributeSet attr = Xml.asAttributeSet(xml); in getActivityMetaData() [all …]
|
/frameworks/base/tools/aapt/tests/plurals/ |
D | run.sh | 9 aapt package -v -x -m -z -J $TEST_OUT_DIR/java -M $TEST_DIR/AndroidManifest.xml \ 11 -P $TEST_OUT_DIR/public_resources.xml \
|
/frameworks/base/packages/DocumentsUI/ |
D | wrap_alpha.py | 44 with open("res/drawable/%s.xml" % (src), 'w') as xml: 45 xml.write("""<?xml version="1.0" encoding="utf-8"?>
|
/frameworks/base/packages/Keyguard/scripts/ |
D | copy_profile_icons.sh | 3 for user in `adb $* shell ls /data/system/users | grep -v xml` 7 for photo in `adb $* shell ls /data/system/users | grep -v xml`
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/ |
D | Android.mk | 37 LOCAL_MANIFEST_FILE := dual/AndroidManifest.xml 51 LOCAL_MANIFEST_FILE := multiarch/AndroidManifest.xml
|