/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 18 import com.android.internal.util.XmlUtils; 70 stats.mLastTimeUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 72 stats.mTotalTimeInForeground = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadUsageStats() 73 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats() 84 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute( in loadConfigStats() 87 configStats.mTotalTimeActive = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadConfigStats() 88 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats() 89 if (XmlUtils.readBooleanAttribute(parser, ACTIVE_ATTR)) { in loadConfigStats() 96 final String packageName = XmlUtils.readStringAttribute(parser, PACKAGE_ATTR); in loadEvent() 101 final String className = XmlUtils.readStringAttribute(parser, CLASS_ATTR); in loadEvent() [all …]
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 23 import com.android.internal.util.XmlUtils; 59 return XmlUtils.convertValueToList( in getAttributeListValue() 65 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue() 71 return XmlUtils.convertValueToInt( in getAttributeResourceValue() 77 return XmlUtils.convertValueToInt( in getAttributeIntValue() 83 return XmlUtils.convertValueToUnsignedInt( in getAttributeUnsignedIntValue() 98 return XmlUtils.convertValueToList( in getAttributeListValue() 103 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue() 108 return XmlUtils.convertValueToInt( in getAttributeResourceValue() 113 return XmlUtils.convertValueToInt( in getAttributeIntValue() [all …]
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 34 import com.android.internal.util.XmlUtils; 282 XmlUtils.nextElement(parser); in readPermissionsFromXml() 298 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 305 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 316 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 323 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 331 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 341 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 356 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 361 int fversion = XmlUtils.readIntAttribute(parser, "version", 0); in readPermissionsFromXml() [all …]
|
/frameworks/base/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 11 import com.android.internal.util.XmlUtils; 153 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parsePinSet() 158 XmlUtils.skipCurrentTag(parser); in parsePinSet() 206 XmlUtils.skipCurrentTag(parser); in parseCertificatesEntry() 215 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseTrustAnchors() 220 XmlUtils.skipCurrentTag(parser); in parseTrustAnchors() 257 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseConfigEntry() 291 XmlUtils.skipCurrentTag(parser); in parseConfigEntry() 323 XmlUtils.beginDocument(parser, "network-security-config"); in parseNetworkSecurityConfig() 325 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseNetworkSecurityConfig() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 21 import com.android.internal.util.XmlUtils; 93 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 110 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 134 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue() 151 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue() 177 return XmlUtils.convertValueToList( in getAttributeListValue() 191 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 217 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue() 233 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 19 import com.android.internal.util.XmlUtils; 1936 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs() 1937 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs() 1938 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs() 1940 final String localesStr = XmlUtils.readStringAttribute(parser, XML_ATTR_LOCALES); in readXmlAttrs() 1944 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs() 1946 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs() 1948 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs() 1951 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs() 1953 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PersistableBundle.java | 22 import com.android.internal.util.XmlUtils; 38 XmlUtils.WriteMapCallback { 220 XmlUtils.writeMapXml(mMap, out, this); in saveToXml() 224 static class MyReadMapCallback implements XmlUtils.ReadMapCallback { 269 XmlUtils.readThisArrayMapXml(in, startTag, tagName, in restoreFromXml()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PersistentPreferredActivity.java | 19 import com.android.internal.util.XmlUtils; 70 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity() 80 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity()
|
D | CrossProfileIntentFilter.java | 19 import com.android.internal.util.XmlUtils; 87 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter() 97 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter()
|
D | PreferredActivity.java | 19 import com.android.internal.util.XmlUtils; 69 XmlUtils.skipCurrentTag(parser); in onReadTag()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SpnOverride.java | 32 import com.android.internal.util.XmlUtils; 91 XmlUtils.beginDocument(parser, "spnOverrides"); in loadSpnOverrides() 94 XmlUtils.nextElement(parser); in loadSpnOverrides()
|
D | VoiceMailConstants.java | 32 import com.android.internal.util.XmlUtils; 91 XmlUtils.beginDocument(parser, "voicemail"); in loadVoiceMail() 94 XmlUtils.nextElement(parser); in loadVoiceMail()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | FilterList.java | 19 import com.android.internal.util.XmlUtils; 31 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in readFromXml()
|
D | NotFilter.java | 21 import com.android.internal.util.XmlUtils; 47 while (XmlUtils.nextElementWithin(parser, outerDepth)) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | TestConferenceEventPackageParser.java | 20 import com.android.internal.util.XmlUtils; 97 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parse() 136 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseParticipant()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | XmlUtilsTest.java | 34 XmlUtils.writeMapXml(map, baos); in testMapWithNullKeys() 37 HashMap<String, ?> deserialized = XmlUtils.readMapXml(mapInput); in testMapWithNullKeys()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalKeyManager.java | 28 import com.android.internal.util.XmlUtils; 96 XmlUtils.beginDocument(parser, TAG_GLOBAL_KEYS); in loadGlobalKeys() 100 XmlUtils.nextElement(parser); in loadGlobalKeys()
|
D | ShortcutManager.java | 31 import com.android.internal.util.XmlUtils; 109 XmlUtils.beginDocument(parser, TAG_BOOKMARKS); in loadShortcuts() 112 XmlUtils.nextElement(parser); in loadShortcuts()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | PersistentDataStore.java | 20 import com.android.internal.util.XmlUtils; 237 XmlUtils.beginDocument(parser, "display-manager-state"); in loadFromXml() 239 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 249 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadRememberedWifiDisplaysFromXml()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | PersistentDataStore.java | 32 import com.android.internal.util.XmlUtils; 243 XmlUtils.beginDocument(parser, TAG_TV_INPUT_MANAGER_STATE); in loadFromXml() 245 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 262 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadBlockedRatingsFromXml()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | SystemImpl.java | 40 import com.android.internal.util.XmlUtils; 83 XmlUtils.beginDocument(parser, TAG_START); in SystemImpl() 85 XmlUtils.nextElement(parser); in SystemImpl() 168 while(XmlUtils.nextElementWithin(parser, outerDepth)) { in readSignatures()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 27 import com.android.internal.util.XmlUtils; 186 XmlUtils.beginDocument(parser, XML_START_TAG); in load7BitTranslationTableFromXml() 188 XmlUtils.nextElement(parser); in load7BitTranslationTableFromXml()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceInflater.java | 19 import com.android.internal.util.XmlUtils; 91 XmlUtils.skipCurrentTag(parser); in onCreateCustomFromTag()
|
/frameworks/base/core/java/android/text/ |
D | AutoText.java | 22 import com.android.internal.util.XmlUtils; 170 XmlUtils.beginDocument(parser, "words"); in init() 175 XmlUtils.nextElement(parser); in init()
|
/frameworks/base/core/java/android/app/ |
D | AliasActivity.java | 30 import com.android.internal.util.XmlUtils; 117 XmlUtils.skipCurrentTag(parser); in parseAlias()
|